/* =============================================
   PUSAT LAYANAN WALI SANTRI — Amtsilati
   style.css
   ============================================= */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --hijau-tua:   #1B4332;
  --hijau:       #2D6A4F;
  --hijau-mid:   #40916C;
  --hijau-muda:  #D8EDDF;
  --hijau-pale:  #F0F7F2;

  --emas:        #C9A84C;
  --emas-muda:   #FFF8E6;
  --emas-border: #E8D08A;

  --krem:        #F5F2EB;
  --putih:       #FFFFFF;

  --teks:        #1A1A1A;
  --teks-sub:    #555555;
  --teks-muted:  #909090;

  --border:      #E2DDD5;

  --wa:          #25D366;
  --wa-dark:     #128C7E;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.10);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;

  --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--krem);
  color: var(--teks);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.header {
  background: var(--hijau-tua);
  padding: 56px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpolygon points='30,3 57,16 57,44 30,57 3,44 3,16' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.12'/%3E%3Ccircle cx='30' cy='30' r='5' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.header-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: auto;
}

.header-emblem {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 6px rgba(201,168,76,.18), 0 8px 24px rgba(0,0,0,.25);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.header h1 {
  font-family: 'Lora', serif;
  font-size: clamp(22px, 5vw, 30px);
  color: #F5F0E8;
  margin-bottom: 8px;
  line-height: 1.3;
}

.header-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  color: #99C4A8;
  font-size: 14px;
}

.tagline {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 20px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.30);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--emas);
  text-transform: uppercase;
}

/* ── CONTAINER ── */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── INFO BOX ── */
.info-box {
  margin-top: -38px;
  position: relative;
  z-index: 5;
  background: var(--putih);
  border: 1px solid var(--border);
  border-left: 5px solid var(--emas);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
}

.info-title {
  font-family: 'Lora', serif;
  font-size: 19px;
  color: var(--hijau-tua);
  margin-bottom: 14px;
}

.info-box p {
  font-size: 14px;
  color: var(--teks-sub);
  margin-bottom: 12px;
}

.info-box ul {
  padding-left: 20px;
  margin-top: 8px;
}

.info-box li {
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--teks-sub);
}

.info-highlight {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--emas-muda);
  border-radius: var(--radius-sm);
  border: 1px solid var(--emas-border);
}

.info-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: #7A5B00;
  font-size: 13px;
}

/* ── SECTION ── */
.section { margin-top: 36px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teks-muted);
  font-weight: 600;
}

.section-count {
  font-size: 10px;
  background: var(--hijau-muda);
  color: var(--hijau);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.section-desc {
  font-size: 13px;
  color: var(--teks-sub);
  margin-bottom: 14px;
  padding-left: 2px;
  line-height: 1.5;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--putih);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
  transition: var(--transition);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--hijau-mid);
  opacity: 0;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64,145,108,.25);
}

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

/* номер карточки */
.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hijau-tua);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--hijau-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid var(--hijau-muda);
}

.contact-body {
  flex: 1;
  min-width: 0;
}

.contact-role {
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--hijau-mid);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--teks);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hijau);
  background: var(--hijau-pale);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--hijau-muda);
  margin-bottom: 8px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.contact-phone:hover {
  background: var(--hijau-muda);
  color: var(--hijau-tua);
}

.contact-phone svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.contact-desc {
  font-size: 12px;
  color: var(--teks-muted);
  line-height: 1.55;
}

.contact-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 2px;
}

/* ── WA BUTTON ── */
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37,211,102,.30);
}

.wa-btn:hover {
  background: var(--wa-dark);
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(37,211,102,.40);
}

.wa-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ── JAM & FOOTER ── */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.hour-chip {
  background: var(--hijau-pale);
  border: 1px solid var(--hijau-muda);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}

.hour-chip strong {
  display: block;
  font-size: 14px;
  color: var(--hijau-tua);
  font-weight: 700;
}

.hour-chip span {
  font-size: 11px;
  color: var(--teks-muted);
}

.footer-credit {
  margin-top: 36px;
  text-align: center;
  font-size: 12px;
  color: var(--teks-muted);
  line-height: 2;
}

.footer-credit strong {
  color: var(--teks-sub);
  display: block;
  font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .contact-card { flex-wrap: wrap; }
  .contact-actions { width: 100%; }
  .wa-btn { width: 100%; justify-content: center; }
  .hours-grid { grid-template-columns: 1fr; }
}
