/* Webnikahku — shared site chrome (navbar, footer, chat, page components). Tokens follow index.php */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary — maroon */
  --maroon:       #6E1E2B;
  --maroon-deep:  #4A121C;
  --maroon-ink:   #2B0E13;
  /* Secondary — rose gold (flat) */
  --rose:         #B7817A;
  --rose-deep:    #96615B;
  --rose-soft:    #E8D3CC;
  --blush:        #F5EBE7;
  /* Neutrals */
  --paper:        #FBF8F5;
  --white:        #FFFFFF;
  --ink:          #2A1C1E;
  --muted:        #6F5E5F;
  --line:         #EADDD7;
  --line-dark:    rgba(232, 211, 204, .18);

  --shadow-card:  0 1px 2px rgba(74, 18, 28, .04), 0 12px 32px -14px rgba(74, 18, 28, .22);
  --shadow-hover: 0 2px 4px rgba(74, 18, 28, .05), 0 22px 44px -16px rgba(74, 18, 28, .32);
  --radius: 14px;
  --font:   'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap:   1180px;
  --ease:   cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── Typography ───────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.title { font-weight: 300; line-height: 1.18; letter-spacing: -.02em; color: var(--ink); }
.title strong { font-weight: 500; color: var(--maroon); }
.title em { font-style: italic; font-weight: 300; color: var(--rose-deep); }
.lead { color: var(--muted); font-size: 15.5px; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-deep); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn-rose:hover { background: var(--rose-deep); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ── Promo strip ──────────────────────────── */

/* ── Navbar ───────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 245, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .35s var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--line); }
.navbar.nav-hidden { transform: translateY(-100%); }
.nav-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand img { height: 38px; width: auto; }
.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.nav-menu a:hover { color: var(--maroon); }
.nav-auth { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 13.5px; font-weight: 500; }
.nav-login:hover { color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; font-size: 19px; }
/* footer */
/* ── Footer ───────────────────────────────── */
.footer { background: var(--maroon-ink); color: rgba(232, 211, 204, .7); padding: 72px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.f-col-title { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin-bottom: 16px; }
.f-links { list-style: none; display: grid; gap: 9px; }
.f-links a:hover { color: var(--white); }
.f-links i { width: 18px; color: var(--rose); }
.chat-widget-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (max-width: 768px) {
  .chat-widget-wrapper {
    display: none; /* Tampil khusus desktop sesuai instruksi user */
  }
}
.chat-bubble-prompt {
  background: #FFFFFF;
  color: #1F2937;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  white-space: nowrap;
}
.chat-bubble-prompt:hover {
  transform: scale(1.05);
  background: #FFFFFF !important;
  color: #4A121C;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 0 16px rgba(37, 211, 102, 0.25);
}
.chat-widget-wrapper.popup-open .chat-bubble-prompt {
  display: none;
}
.chat-card-popup {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 36px);
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.28), 0 0 1px 1px rgba(0, 0, 0, 0.06);
  transform-origin: bottom right;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-card-popup.closed {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  pointer-events: none;
}
.chat-card-head {
  background: linear-gradient(135deg, #4A121C 0%, #6E1E2B 100%);
  color: #FFFFFF;
  padding: 24px 22px 20px;
  position: relative;
}
.chat-card-head h4 {
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}
.chat-card-head p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}
.chat-card-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-card-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}
.chat-card-body {
  padding: 16px 18px 20px;
  background: #FFFFFF;
}
.consultant-chat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #EADDD7;
  border-radius: 16px;
  background: #FFFFFF;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(74, 18, 28, 0.03);
}
.consultant-chat-item:hover {
  border-color: #6E1E2B;
  background: #FAF5F3;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(110, 30, 43, 0.15);
}
.consultant-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A121C 0%, #6E1E2B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(74, 18, 28, 0.25);
}
.consultant-info {
  flex: 1;
  min-width: 0;
}
.consultant-name {
  font-size: 16px;
  font-weight: 700;
  color: #2A1C1E;
  line-height: 1.2;
  margin-bottom: 4px;
}
.consultant-badge {
  display: inline-block;
  background: #6E1E2B;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
  line-height: 1;
}
.consultant-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6F5E5F;
  font-weight: 500;
}
.consultant-status .dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.btn-chat-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A121C 0%, #6E1E2B 100%);
  color: #FFFFFF !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(74, 18, 28, 0.42);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
}
/* Animasi Hijau Radar Sekitar Tombol WhatsApp */
.btn-chat-float::before,
.btn-chat-float::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2.5px solid #25D366;
  opacity: 0.85;
  pointer-events: none;
  animation: radarPulseGreen 2.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
  z-index: -1;
}
.btn-chat-float::after {
  animation-delay: 1.2s;
}
@keyframes radarPulseGreen {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  65% {
    transform: scale(1.48);
    opacity: 0;
    box-shadow: 0 0 18px 4px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.chat-widget-wrapper.popup-open .btn-chat-float::before,
.chat-widget-wrapper.popup-open .btn-chat-float::after {
  display: none;
}
.btn-chat-float:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #5B1622 0%, #7D2231 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 14px 34px rgba(74, 18, 28, 0.58), 0 0 24px rgba(37, 211, 102, 0.5);
}
.btn-chat-float i {
  color: #FFFFFF !important;
  transition: transform 0.25s ease;
}
.btn-chat-float:hover i {
  transform: scale(1.08);
  color: #FFFFFF !important;
}


.nav-menu a.active { color: var(--maroon); font-weight: 500; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu, .nav-auth { display: none; }
  .navbar.open .nav-menu, .navbar.open .nav-auth { display: flex; }
  .nav-inner { flex-wrap: wrap; height: auto; min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
  .nav-brand img { height: 34px; }
  .navbar.open .nav-menu { order: 3; width: 100%; flex-direction: column; gap: 0; padding-top: 6px; border-top: 1px solid var(--line); }
  .navbar.open .nav-menu a { display: block; padding: 12px 0; font-size: 15px; color: var(--ink); }
  .navbar.open .nav-menu a.active { color: var(--maroon); }
  .navbar.open .nav-auth { order: 4; width: 100%; padding: 8px 0 6px; justify-content: space-between; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Page hero (dark band) ────────────────── */
.ph { background: var(--maroon); color: var(--rose-soft); padding: 84px 0 92px; position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(232,211,204,.16); pointer-events: none; }
.ph-eyebrow { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 18px; }
.ph h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: var(--white); max-width: 900px; }
.ph p { margin-top: 18px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.82); max-width: 680px; }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn-accent { background: var(--white); color: var(--maroon); font-weight: 600; }
.btn-accent:hover { background: var(--blush); }
.btn-ghost { border-color: rgba(232,211,204,.35); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 15px; }

/* ── Sections ─────────────────────────────── */
.pg { padding: 64px 0 96px; }
.pg-sec { margin-top: 88px; }
.pg-sec:first-child { margin-top: 0; }
.kicker { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 12px; }
.h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); margin-bottom: 36px; }

/* ── Cards ────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; }
.ico { width: 54px; height: 54px; border-radius: 14px; background: var(--blush); color: var(--maroon); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.ico-dark { width: 42px; height: 42px; border-radius: 11px; background: var(--maroon-ink); color: var(--rose-soft); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid .card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 22px 0 8px; color: var(--ink); }
.feat-grid .card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 980px) { .feat-grid, .feat-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid, .feat-grid.cols-3 { grid-template-columns: 1fr; } }

/* ── CTA band ─────────────────────────────── */
.cta-band { background: var(--maroon); color: rgba(255,255,255,.82); border-radius: 26px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 64px; }
.cta-band h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--white); letter-spacing: -.02em; margin-bottom: 6px; }
.cta-band .ph-actions { margin-top: 0; }
@media (max-width: 560px) { .cta-band { padding: 30px 22px; } .cta-band .ph-actions .btn { flex: 1 1 100%; } }

/* ── Accordion (FAQ) ──────────────────────── */
.acc { display: grid; gap: 12px; }
.acc details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { color: var(--rose-deep); transition: transform .25s var(--ease); }
.acc details[open] summary i { transform: rotate(45deg); }
.acc details > div { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }
.acc ul { padding-left: 18px; display: grid; gap: 6px; }
