/* ===== VARIABLES ===== */
:root {
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dark: #8b6914;
  --gold-glow: rgba(201, 162, 39, 0.45);
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --darker: #111;
  --white: #fafafa;
  --gray: #e0e0e0;
  --text: #333;
  --text-light: #666;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background-color: #f7f5f0;
  background-image:
    linear-gradient(rgba(255,255,255,0.32), rgba(255,248,235,0.40)),
    url('latar-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
p, .welcome-content p, .content-block p, .philosophy-item p, .team-info p, .card-item p, .why-card p, .edu-card p {
  text-align: justify;
  text-justify: inter-word;
}
.section-header p, .page-header p, .hero-subtitle, .hero-tagline, .text-center, .text-center p {
  text-align: center !important;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5cm; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}
h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 3.2vw, 1.85rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #e8d48b, var(--gold) 40%, var(--gold-dark));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 20px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: transparent;
}
.btn-outline:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px var(--gold-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== MARQUEE / RUNNING TEXT ===== */
.marquee-bar {
  background: linear-gradient(90deg, #0a0a0a 0%, #1a1508 50%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(201, 162, 39, 0.5);
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.15);
}
.marquee-bar::before,
.marquee-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee-bar::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0a, transparent);
}
.marquee-bar::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0a, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-text {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}
.header .container.header-inner {
  padding-left: 20px;
  padding-right: 20px;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 0;
  background: transparent !important;
  padding: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(201,162,39,0.45));
  transition: filter 0.35s ease, transform 0.35s ease;
}
.logo-link:hover .logo-img {
  filter: drop-shadow(0 4px 16px rgba(201,162,39,0.65));
  transform: translateY(-1px);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
  white-space: nowrap;
}
.logo-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 500;
}
.logo-name {
  font-size: 0.7rem;
  color: #e8d48b;
  font-weight: 600;
}
.logo-role {
  font-size: 0.68rem;
  color: #d4c48a;
}
.logo-latin {
  font-size: 0.6rem;
  color: var(--gold);
  font-style: italic;
  opacity: 0.95;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}
.nav-link {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.15px;
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
  text-transform: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(201,162,39,0.12) 0%, transparent 50%),
    linear-gradient(165deg, #080808 0%, #14100a 35%, #1f1805 70%, #0d0d0d 100%);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(201,162,39,0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(201,162,39,0.1) 0%, transparent 35%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}
.hero-map-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-map {
  width: min(98%, 1400px);
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  opacity: 0.22;
  filter: drop-shadow(0 0 50px rgba(201, 162, 39, 0.3));
  animation: map-pulse 10s ease-in-out infinite alternate;
}
@keyframes map-pulse {
  0% { opacity: 0.16; transform: scale(1); }
  100% { opacity: 0.26; transform: scale(1.02); }
}
.hero-content { position: relative; z-index: 2; padding: 60px 20px; }
.hero-logo,
img.hero-logo {
  background: transparent !important;
  background-color: transparent !important;
}
.hero-logo {
  width: 300px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 28px rgba(201,162,39,0.6)) drop-shadow(0 0 55px rgba(201,162,39,0.3));
  animation: float 5s ease-in-out infinite;
  transition: filter 0.4s ease;
  background: transparent;
}
.hero-logo:hover {
  filter: drop-shadow(0 0 40px rgba(201,162,39,0.8)) drop-shadow(0 0 80px rgba(201,162,39,0.4));
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.02); }
}
.hero-title {
  color: var(--gold);
  letter-spacing: 5px;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(201,162,39,0.5), 0 2px 8px rgba(0,0,0,0.4);
  animation: title-shine 4s ease-in-out infinite;
}
@keyframes title-shine {
  0%, 100% { text-shadow: 0 0 30px rgba(201,162,39,0.45), 0 2px 8px rgba(0,0,0,0.4); }
  50% { text-shadow: 0 0 45px rgba(201,162,39,0.7), 0 0 80px rgba(201,162,39,0.25), 0 2px 8px rgba(0,0,0,0.4); }
}
@keyframes cta-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 22px;
  letter-spacing: 1px;
}
.hero-tagline {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
  opacity: 0.92;
  line-height: 1.85;
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Cinzel', serif;
  letter-spacing: 1.5px;
}
.content-block h2 {
  font-family: 'Cinzel', serif;
  letter-spacing: 1.2px;
}
.content-block h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}
.section-header.light h2,
.section-header.light p { color: #fff; }
.section-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* Welcome */
.welcome { background: transparent; }
.welcome-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.welcome-photo {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}
.pimpinan-img {
  width: 100%;
  max-width: 260px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 1px rgba(201,162,39,0.3), 0 0 24px rgba(201,162,39,0.2);
  border: 3px solid var(--gold);
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: var(--transition);
}
.pimpinan-img:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 0 0 1px rgba(201,162,39,0.5), 0 0 36px rgba(201,162,39,0.35);
  transform: scale(1.02);
}
.pimpinan-caption {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 260px;
  width: 100%;
  text-align: center;
  align-items: center;
}
.pimpinan-caption strong {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.15px;
  line-height: 1.35;
  max-width: 100%;
}
.pimpinan-caption span {
  font-size: 0.62rem;
  color: var(--text-light);
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.welcome-content {
  font-size: 1.08rem;
}
.welcome-content p { margin-bottom: 1.2rem; }
.welcome-content strong { color: var(--gold-dark); }
.salam-hangat {
  margin-top: 1.4rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Team Advokat */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  text-align: center;
  transition: var(--transition);
  padding: 12px;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
}
.team-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 4px;
  display: block;
}
.team-photo.photo-full {
  object-fit: cover;
  object-position: center 28%;
  background: transparent;
}
.team-card {
  overflow: visible;
  padding: 12px 12px 0;
  border: none;
}
.team-info {
  padding: 20px 18px 24px;
}
.team-info h3 {
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.35;
}
.team-role {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.team-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Gallery */
.gallery-logo-top {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery-logo-top .gallery-item {
  max-width: 180px;
  width: 100%;
}
.gallery-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
  margin: 0 auto 36px;
}
.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.gallery-item {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  text-align: center;
  transition: var(--transition);
  padding: 10px;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: block;
  border-radius: 4px;
}
.gallery-item img.photo-full {
  object-fit: cover;
  object-position: center 28%;
  background: transparent;
}
.gallery-item.gallery-logo img {
  object-fit: contain;
  background: transparent;
  height: 180px;
  box-shadow: none;
  border-radius: 0;
}

.gallery-item p {
  margin: 10px 0 0;
  padding: 0 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1.35;
}
@media (max-width: 600px) {
  .gallery-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .pimpinan-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .hero-map { width: 96%; max-height: 55vh; opacity: 0.16; }
}

/* Values Preview */
.values-preview {
  background: linear-gradient(165deg, #080808 0%, #14100a 50%, #0d0d0d 100%);
  color: #fff;
  position: relative;
}
.values-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.value-card:hover {
  background: rgba(201,162,39,0.12);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(201,162,39,0.15);
}
.value-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #e8d48b, var(--gold) 45%, var(--gold-dark));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
  transition: var(--transition);
}
.value-card:hover .value-letter {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(201,162,39,0.5);
}
.value-card h3 { color: var(--gold); margin-bottom: 10px; }
.value-card p { font-size: 0.92rem; opacity: 0.85; color: #ddd; }

/* Services Preview */
.services-preview { background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: transparent;
  border-radius: 0;
  padding: 28px 22px;
  text-align: center;
  box-shadow: none;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(201,162,39,0.06));
  transition: height 0.35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(201,162,39,0.18);
  border-top-color: var(--gold-light);
}
.service-card:hover::after { height: 100%; }
.service-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  transition: transform 0.35s ease;
  display: inline-block;
}
.service-card:hover .service-icon { transform: scale(1.15); }
.service-card h3 { color: var(--dark); margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { color: var(--text-light); font-size: 0.95rem; position: relative; z-index: 1; }

/* Excellence */
.excellence {
  background: linear-gradient(165deg, #14100a 0%, #0a0a0a 100%);
  color: #fff;
}
.excellence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.excellence-item {
  background: transparent;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  padding: 20px;
  margin-bottom: 12px;
}
.excellence-item:hover {
  background: rgba(201,162,39,0.1);
  border-left-width: 5px;
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.excellence-item h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.excellence-item p { opacity: 0.9; font-size: 0.95rem; }

/* Mengapa Memilih Kami */
.why-section {
  background: transparent;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.why-card {
  background: transparent;
  border-radius: 0;
  padding: 28px 20px;
  text-align: center;
  box-shadow: none;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  border-color: rgba(201,162,39,0.4);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.35s ease;
}
.why-card:hover .why-icon { transform: scale(1.15); }
.why-card h3 {
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.why-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #8b6914 0%, #c9a227 40%, #e8d48b 70%, #c9a227 100%);
  background-size: 200% 200%;
  animation: cta-shimmer 6s ease infinite;
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { margin-bottom: 24px; font-size: 1.1rem; }
.cta-section .btn-primary {
  background: transparent;
  color: var(--gold-dark);
}
.cta-section .btn-primary:hover {
  background: var(--dark);
  color: var(--gold);
}
.cta-phone {
  margin-top: 20px;
  font-size: 1.1rem;
}
.cta-phone a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: #aaa;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  width: 80px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(201,162,39,0.4));
}
.footer-brand p { margin-bottom: 8px; }
.footer-brand .motto {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  margin-top: 12px;
}
.footer-links h4, .footer-contact h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #bbb;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(160deg, #0d0d0d, #1a1508);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.page-map {
  width: min(96%, 1100px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  opacity: 0.2;
  filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.2));
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
  font-weight: 700;
}
.page-header p {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 60px 0;
}
.content-section:nth-child(even) { background: transparent; }
.content-block {
  max-width: 900px;
  margin: 0 auto;
}
.content-block h2 {
  color: var(--gold-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.content-block h3 {
  color: var(--dark);
  margin: 28px 0 12px;
}
.content-block p, .content-block li {
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.content-block ul {
  padding-left: 24px;
  list-style: disc;
}
.content-block ol {
  padding-left: 24px;
  list-style: decimal;
}
.content-block li { margin-bottom: 8px; }

/* Card lists */
.card-list {
  display: grid;
  gap: 20px;
}
.card-item {
  background: transparent;
  border-radius: 0;
  padding: 22px 20px;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
}
.card-item h3 {
  color: var(--gold-dark);
  margin: 0 0 10px;
}
.card-item p { margin: 0; color: var(--text-light); }

/* Values detailed */
.values-detailed .value-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  padding: 8px 0;
}
.values-detailed .value-letter {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Philosophy */
.philosophy-item {
  background: transparent;
  border-radius: 0;
  padding: 22px 20px;
  margin-bottom: 16px;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
}
.philosophy-item h3 {
  color: var(--gold-dark);
  margin-bottom: 12px;
}

/* Education articles */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.edu-card {
  background: transparent;
  border-radius: 0;
  padding: 24px 20px;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  transition: var(--transition);
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.edu-card h3 {
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.edu-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.edu-card a { color: var(--gold-dark); font-weight: 600; }

/* Contact form style */
.contact-box {
  background: transparent;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: none;
  max-width: 600px;
  margin: 0 auto;
}
.contact-info {
  text-align: center;
  margin-bottom: 32px;
}
.contact-info h3 { color: var(--gold-dark); margin-bottom: 8px; }
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 16px;
}
.wa-btn:hover { background: #1da851; transform: translateY(-2px); }

/* Contact page layout */
.contact-page { background: transparent; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-details { padding: 12px 8px; }
.contact-detail-item { margin-bottom: 28px; }
.contact-detail-item h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.contact-detail-item p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.contact-detail-item a { color: var(--text); text-decoration: none; }
.contact-detail-item a:hover { color: var(--gold-dark); }
.wa-label { font-size: 0.85rem; color: var(--text-light); }
.form-intro {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 20px;
  line-height: 1.5;
}
.contact-form-card {
  background: transparent;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: none;
  border: 1px solid rgba(201,162,39,0.15);
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0ddd5;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255,255,255,0.3);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
  background: rgba(255,255,255,0.45);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.btn-submit {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #c9a227, #a8841a);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,162,39,0.35);
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav { gap: 12px; }
  .nav-link { font-size: 0.8rem; }
  .logo-title { font-size: 0.88rem; }
  .logo-sub, .logo-name, .logo-role { font-size: 0.65rem; }
  .logo-latin { font-size: 0.55rem; }
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header .container.header-inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* Semua teks logo tetap tampil; navigasi jadi menu hamburger */
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    flex-wrap: wrap;
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(201,162,39,0.3);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-link { font-size: 0.95rem; }
  .menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .logo-text { display: none; }
  .hero-logo,
img.hero-logo {
  background: transparent !important;
  background-color: transparent !important;
}
.hero-logo { width: 240px; }
  .hero-map { width: 100%; max-height: 60vh; }
  .page-map { max-height: 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-detailed .value-row { flex-direction: column; align-items: center; text-align: center; }
}

/* ===== MUSIC PLAYER ===== */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
}
.music-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #1a1508, #0d0d0d);
  border: 1.5px solid rgba(201, 162, 39, 0.7);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 40px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(201, 162, 39, 0.2);
  transition: var(--transition);
}
.music-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px) scale(1.02);
}
.music-btn .music-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.music-btn.playing {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  border-color: var(--gold-light);
  animation: music-glow 2s ease-in-out infinite alternate;
}
@keyframes music-glow {
  0% { box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35); }
  100% { box-shadow: 0 8px 28px rgba(201, 162, 39, 0.55); }
}
@media (max-width: 768px) {
  .music-player { bottom: 18px; right: 18px; }
  .music-btn { padding: 7px 12px; font-size: 0.68rem; }
}


.contact-map-wrap {
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.map-title {
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  margin-bottom: 16px;
  text-align: center;
}
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(201,162,39,0.2);
  background: #eee;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
.map-address {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.5;
}


/* ===== Kegiatan marquee (toolbar foto berjalan) ===== */
.kegiatan-section {
  margin-top: 8px;
  padding: 8px 0 24px;
}
.kegiatan-title {
  text-align: center;
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.kegiatan-sub {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.kegiatan-track-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  border-top: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  padding: 14px 0;
  background: rgba(0,0,0,0.04);
}
.kegiatan-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: kegiatan-scroll 80s linear infinite;
}
.kegiatan-track:hover {
  animation-play-state: paused;
}
@keyframes kegiatan-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.kegiatan-item {
  flex: 0 0 auto;
  width: 148px;
  text-align: center;
}
.kegiatan-item img {
  width: 148px;
  height: 100px;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-radius: 3px;
}
.kegiatan-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 148px;
}
@media (max-width: 600px) {
  .kegiatan-item { width: 120px; }
  .kegiatan-item img { width: 120px; height: 82px; }
  .kegiatan-item span { max-width: 120px; font-size: 0.62rem; }
}


/* PERADI affiliation — footer only */
.footer-brand p {
  line-height: 1.15;
  margin-bottom: 6px;
}
.footer-brand .motto {
  line-height: 1.15;
  margin-top: 8px;
  margin-bottom: 4px;
}
.footer-peradi {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,162,39,0.25);
}
.peradi-logo {
  width: 120px;
  height: auto;
  flex-shrink: 0;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}
.footer-peradi span {
  font-size: 0.78rem;
  color: #ccc;
  line-height: 1.15;
}
.peradi-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 28px;
  padding: 16px 18px;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  background: transparent;
}
.peradi-logo-sm {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}
.peradi-badge p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  text-align: left;
  line-height: 1.55;
}
@media (max-width: 600px) {
  .peradi-badge { flex-direction: column; text-align: center; }
  .peradi-badge p { text-align: center; }
}


/* Nilai MATAHARI — 8 huruf rapi */
.matahari-intro {
  text-align: center !important;
  margin-bottom: 22px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.matahari-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.matahari-card {
  text-align: center;
  padding: 20px 14px 18px;
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(201,162,39,0.35);
  border-right: 1px solid rgba(201,162,39,0.35);
  border-bottom: 1px solid rgba(201,162,39,0.35);
  background: transparent;
}
.matahari-card .value-letter {
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}
.matahari-card h3 {
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}
.matahari-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  text-align: center !important;
}
@media (max-width: 900px) {
  .matahari-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .matahari-grid { grid-template-columns: 1fr; }
}


/* MATAHARI list — horizontal rows like reference */
.matahari-list {
  max-width: 900px;
  margin: 0 auto;
}
.matahari-list .value-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 8px 14px;
  border: none;
  background: transparent;
  box-shadow: none;
}
.matahari-list .value-letter {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, #e8d48b, #c9a227 50%, #8b6914);
  box-shadow: 0 2px 8px rgba(201,162,39,0.3);
  margin: 0;
  flex-shrink: 0;
}
.matahari-list .value-text h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--dark);
  font-family: 'Cinzel', serif;
}
.matahari-list .value-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  text-align: left !important;
}
@media (max-width: 600px) {
  .matahari-list .value-row { gap: 12px; }
  .matahari-list .value-letter { width: 30px; height: 30px; min-width: 30px; font-size: 0.85rem; }
}


/* Kegiatan pendampingan klien — static frame */
.gallery-activity-static {
  max-width: 420px;
  margin: 12px auto 28px;
  text-align: center;
}
.gallery-activity-card img {
  height: auto !important;
  max-height: 360px;
  object-fit: contain !important;
  object-position: center center !important;
}
.gallery-activity-card p {
  font-size: 0.88rem !important;
  color: var(--gold-dark) !important;
}
