/* ============================================================
   Advokat TH & Partner — Obsidian & Emerald Luxury Edition
   Desain Modern, Berwibawa & Dinamis
   Hitam Pekat (#07090d) + Aksen Emerald Elegan (#10b981)
   100% CSS Murni, Ringan, Cepat & Responsif untuk Cloudflare Pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Palet Warna Hitam Pekat & Gelap Mewah */
  --bg-deepest: #050709;
  --bg-main: #090c10;
  --bg-surface: #0f141c;
  --bg-surface-elevated: #151c27;
  --bg-glass: rgba(15, 20, 28, 0.75);
  --header-bg: rgba(6, 8, 12, 0.88);

  /* Aksen Hijau Emerald Elegan (Anti-Norak) */
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-deep: #059669;
  --emerald-darker: #047857;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --emerald-subtle: rgba(16, 185, 129, 0.08);
  --emerald-border: rgba(16, 185, 129, 0.25);
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --emerald-gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.04));

  /* Teks & Kontras */
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Garis & Bayangan */
  --border-line: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.18);

  /* Tipografi */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Reset & Dasar */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-deepest);
  background-image: 
    radial-gradient(at 10% 20%, rgba(16, 185, 129, 0.04) 0px, transparent 40%),
    radial-gradient(at 90% 80%, rgba(5, 150, 105, 0.03) 0px, transparent 45%),
    linear-gradient(180deg, var(--bg-deepest) 0%, var(--bg-main) 100%);
  background-attachment: fixed;
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection {
  background: var(--emerald);
  color: #042014;
}

/* Container */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tautan */
a {
  color: var(--emerald-light);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #6ee7b7;
  text-decoration: none;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Tipografi Utama */
h1, h2, h3, h4 {
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 2.35rem;
  margin: 0.6em 0 0.4em;
}

h2 {
  font-size: 1.85rem;
  margin: 0 0 0.8em;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3.5px;
  margin-top: 12px;
  border-radius: var(--radius-full);
  background: var(--emerald-gradient);
  box-shadow: 0 0 14px var(--emerald);
}

h3 {
  font-size: 1.22rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1.15em;
  color: var(--text-muted);
}

section {
  scroll-margin-top: 100px;
}

main {
  padding: 36px 0 72px;
  position: relative;
}

main > section {
  margin: 80px 0;
}

main > section:first-child {
  margin-top: 36px;
}

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 12px;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ============================================================
   HEADER & NAVIGASI (Sticky Glassmorphism Elegan)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  transition: all 0.3s ease;
}

.site-header .wrap {
  max-width: 1240px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-pure);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(212, 160, 23, 0.45));
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-2deg);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--emerald-gradient);
  color: #041f14;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-pure);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav > a,
.nav-drop-btn {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.main-nav > a:hover,
.nav-drop-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.main-nav > a.active,
.nav-drop-btn.active {
  color: var(--emerald-light);
  background: var(--emerald-subtle);
}

/* Dropdown Menu */
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-toggle {
  display: none;
}

.nav-drop-caret {
  color: var(--text-subtle);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 8px 6px 8px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-drop:hover .nav-drop-caret {
  color: var(--emerald);
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 110;
  min-width: 320px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(16, 185, 129, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drop:hover > .nav-drop-panel,
.nav-drop:focus-within > .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all 0.18s ease;
}

.nav-drop-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.nav-drop-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-subtle);
  color: var(--emerald-light);
  border-radius: 8px;
  border: 1px solid var(--emerald-border);
}

.nav-drop-icon svg {
  width: 18px;
  height: 18px;
}

.nav-drop-text {
  flex: 1;
  min-width: 0;
}

.nav-drop-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.nav-drop-text em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 1px;
}

.nav-drop-arrow {
  color: var(--text-subtle);
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-drop-item:hover .nav-drop-arrow {
  color: var(--emerald);
  transform: translateX(4px);
}

.nav-drop-all {
  border-top: 1px solid var(--border-line);
  margin-top: 4px;
  padding-top: 10px;
}

.nav-drop-all .nav-drop-text strong {
  color: var(--emerald-light);
}

/* Burger Menu Mobile */
.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  margin-left: auto;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

/* ============================================================
   TOMBOL (Modern Pill & Glass)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--emerald-gradient);
  color: #03180f !important;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.5);
  color: #02120a !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-pure) !important;
  border: 1px solid var(--border-line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--emerald-border);
  color: var(--emerald-light) !important;
}

.btn-black {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-light) !important;
  border: 1px solid var(--emerald-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-black:hover {
  background: var(--emerald-gradient);
  color: #042014 !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-dark {
  background: var(--bg-surface-elevated);
  color: var(--text-pure) !important;
  border: 1px solid var(--border-line);
}

.btn-dark:hover {
  background: var(--emerald-gradient);
  color: #042014 !important;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

/* ============================================================
   HERO SECTION (Megah, Elegan, Dinamis)
   ============================================================ */
.hero-photo {
  position: relative;
  background: radial-gradient(circle at 65% 30%, rgba(16, 185, 129, 0.14) 0%, transparent 60%),
              radial-gradient(circle at 20% 70%, rgba(5, 150, 105, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #06080b 0%, #0c1017 100%);
  border-bottom: 1px solid var(--border-line);
  overflow: hidden;
  padding: 30px 0 0;
}

/* Grid Latar Belakang Halus */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 60% 50%, rgba(0, 0, 0, 0.8), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, rgba(0, 0, 0, 0.8), transparent 75%);
  pointer-events: none;
}

.hero-photo-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 60px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 18px;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.hero-photo h1 {
  color: var(--text-pure);
  font-size: 3.35rem;
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-photo h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-photo-sub {
  color: var(--text-muted);
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 0 32px;
}

.hero-photo-sub strong {
  color: var(--emerald-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

/* Foto Figur Hero (Duo Advokat diperbesar gagah & proporsional) */
.hero-team {
  margin: 0;
  align-self: end;
  line-height: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 15;
  max-width: 480px;
  justify-self: end;
}

.hero-team img {
  width: 340%;
  max-width: none;
  display: block;
  margin-left: -240%;
  margin-top: -65%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(16, 185, 129, 0.2));
  transition: transform 0.4s ease;
}

.hero-team:hover img {
  transform: scale(1.03);
}

/* ============================================================
   KARTU (Glassmorphism & Border Glow Halus)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Garis aksen hijau di atas kartu */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald-gradient);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface-elevated);
  border-color: var(--emerald-border);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--text-pure);
  margin-top: 0;
  font-size: 1.25rem;
}

.card h3 a {
  color: var(--text-pure);
}

.card h3 a:hover {
  color: var(--emerald-light);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.8em;
}

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

/* Ikon Kartu Modern */
.card-icon,
.layanan-icon,
.h2-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--emerald-subtle);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  transition: all 0.25s ease;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-right: 12px;
  flex-shrink: 0;
}

.card:hover .card-icon {
  background: var(--emerald);
  color: #042014;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon-sm {
  width: 38px;
  height: 38px;
}

.card-icon-sm svg {
  width: 20px;
  height: 20px;
}

.layanan-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 14px;
}

.layanan-icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .layanan-icon {
  background: var(--emerald);
  color: #042014;
  transform: rotate(-3deg) scale(1.05);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.h2-ico {
  width: 42px;
  height: 42px;
  margin-right: 14px;
  vertical-align: middle;
}

.h2-ico svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   GRID KENAPA & LAYANAN (3 Kolom)
   ============================================================ */
.kenapa .cards,
.layanan .cards {
  grid-template-columns: repeat(3, 1fr);
}

.kenapa .card h3 {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.layanan .card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--emerald-light);
  margin-top: 14px;
}

.layanan .card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.layanan .card a:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   STATISTIK (Modern Data Dashboard Style)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 3.5em 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

.stat {
  text-align: center;
  padding: 12px 14px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--border-line);
}

.stat-icon {
  display: inline-flex;
  color: var(--emerald-light);
  margin-bottom: 8px;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-num {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--text-pure);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 40%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   SEKSI TUJUAN & MENGAPA
   ============================================================ */
.tujuan {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 34px 36px;
  box-shadow: var(--shadow-sm);
}

.tujuan p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.founder {
  margin-top: 1.6em;
  border-top: 1px solid var(--border-line);
  padding-top: 16px;
}

.founder strong {
  color: var(--text-pure);
  font-size: 1.05rem;
}

.founder span {
  color: var(--emerald-light);
  font-size: 0.9rem;
}

.mengapa h3 {
  display: flex;
  align-items: center;
  margin-top: 1.6em;
  font-size: 1.28rem;
}

/* ============================================================
   CTA BAND (Pita Ajakan Elegan)
   ============================================================ */
.cta-band {
  background: radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.18) 0%, transparent 60%),
              linear-gradient(135deg, #0e151d 0%, #080d12 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  color: var(--text-pure);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: var(--text-pure);
  margin-top: 0;
  font-size: 2.1rem;
}

.cta-band p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 700px;
}

.cta-band .btn {
  margin-top: 14px;
}

/* ============================================================
   TIM KAMI (Salam Hormat)
   ============================================================ */
.salam .cards {
  grid-template-columns: repeat(2, 1fr);
}

.team-card {
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

.team-card .team-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--border-line);
}

.team-card h3,
.team-card .meta,
.team-card p {
  padding-left: 28px;
  padding-right: 28px;
}

.team-card h3 {
  margin-top: 24px;
  font-size: 1.35rem;
}

.team-card .meta {
  color: var(--emerald-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.team-card p:last-child {
  padding-bottom: 28px;
}

.quote-ico {
  display: inline-flex;
  color: var(--emerald-light);
  margin-right: 10px;
  vertical-align: -3px;
}

.quote-ico svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   ARTIKEL & BERITA TERBARU
   ============================================================ */
.news .card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--emerald-border);
  padding: 34px;
}

.news .card-featured h3 {
  font-size: 1.65rem;
}

.news .card-featured p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .card-mini {
  padding: 22px;
}

.news .card-mini h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.news .card-mini > p:last-child {
  display: none;
}

.news .cards > article:nth-child(n+7) {
  display: none;
}

.news .card .meta a {
  display: inline-block;
  background: var(--emerald-subtle);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin: 3px 4px 3px 0;
}

.news .card .meta a:hover {
  background: var(--emerald);
  color: #042014;
}

.news-more {
  margin-top: 36px;
  text-align: center;
}

/* ============================================================
   HALAMAN DALAM / ARTIKEL INDIVIDUAL
   ============================================================ */
.hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  margin-bottom: 32px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
}

.hero-sub {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.meta {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--emerald-light);
}

.featured {
  margin: 0 0 2em;
}

.featured img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-sm);
}

.cat-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-list li a {
  display: inline-block;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cat-list li a:hover {
  background: var(--emerald-gradient);
  color: #042014;
  border-color: transparent;
}

.related {
  list-style: none;
  padding: 0;
}

.related li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-line);
}

.related li:last-child {
  border-bottom: none;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-line);
}

.archive-list li:last-child {
  border-bottom: none;
}

.archive-list .archive-date {
  color: var(--text-subtle);
  font-size: 0.85rem;
  white-space: nowrap;
}

.archive-list a.archive-cat {
  display: inline-block;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.archive-list a.archive-title {
  color: var(--text-pure);
  font-weight: 600;
}

.archive-list a.archive-title:hover {
  color: var(--emerald-light);
}

/* ============================================================
   FOOTER (Elegan & Berwibawa)
   ============================================================ */
.site-footer {
  background: #040608;
  color: var(--text-subtle);
  padding: 54px 0 40px;
  font-size: 0.92rem;
  border-top: 1px solid var(--border-line);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

.site-footer strong {
  color: var(--text-pure);
  font-size: 1.05rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--emerald-light);
}

.site-footer p {
  margin: 0 0 10px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 !important;
}

/* ============================================================
   WHATSAPP MENGAMBANG (Modern Animated Pulse)
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-float a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  position: relative;
}

.wa-float a::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: wa-wave 2.4s infinite;
}

.wa-float a:nth-child(2)::before {
  animation-delay: 1.2s;
}

.wa-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes wa-wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   RESPONSIF MOBILE & TABLET
   ============================================================ */
@media (max-width: 992px) {
  .nav-burger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-line);
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 16px 20px 24px;
    gap: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }

  .main-nav > a,
  .nav-drop-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav-drop {
    flex-wrap: wrap;
    align-self: auto;
  }

  .nav-drop-btn {
    flex: 1;
  }

  .nav-drop-caret {
    pointer-events: auto;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .nav-drop-panel {
    position: static;
    min-width: 0;
    flex: 1 1 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--emerald);
    background: rgba(0, 0, 0, 0.35);
    display: none;
    margin-top: 6px;
  }

  .nav-drop-toggle:checked ~ .nav-drop-panel {
    display: block;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-photo-inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 20px;
  }

  .hero-copy {
    padding-bottom: 24px;
    text-align: center;
  }

  .hero-kicker {
    margin: 0 auto 18px;
  }

  .hero-photo h1 {
    font-size: 2.65rem;
  }

  .hero-team {
    max-width: 440px;
    margin: 0 auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat + .stat::before {
    display: none;
  }

  .kenapa .cards,
  .layanan .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .cards,
  .kenapa .cards,
  .layanan .cards,
  .salam .cards {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .hero-photo h1 {
    font-size: 2.15rem;
  }

  .hero-photo-sub {
    font-size: 1.02rem;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .cta-band h2 {
    font-size: 1.65rem;
  }

  .team-card .team-photo {
    height: 300px;
  }
}

/* ============================================================
   HALAMAN ARTIKEL / POSTINGAN (Format Rata Kanan-Kiri & Tipografi Bersih)
   ============================================================ */
article p,
main article p,
.article-content p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.85;
  color: #cbd5e1;
  font-size: 1.04rem;
  margin-bottom: 1.4em;
}

article h2,
main article h2 {
  font-size: 1.55rem;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  color: var(--text-pure);
}

article h3,
main article h3 {
  font-size: 1.25rem;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}

/* ============================================================
   GALERI PENDAMPINGAN (Modern Photo Grid Showcase)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  margin: 36px 0;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald-border);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.gallery-card-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #040608;
}

.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-body h3 {
  font-size: 1.12rem;
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-pure);
}

.gallery-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ============================================================
   HALAMAN HUBUNGI KAMI & PROFIL TAMBAHAN
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 36px 0;
}

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s ease;
}

.contact-box:hover {
  border-color: var(--emerald-border);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--emerald-subtle);
  color: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-title {
  font-size: 1.3rem;
  color: var(--text-pure);
  margin: 0 0 10px;
}

.contact-info {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--emerald-gradient);
  color: #042014;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wa-float a::before,
  .eyebrow::before {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
