/* =========================================================
   Mitra Fashion Muslim — stylesheet utama
   Karakter: Elegan · Profesional · Hangat · Terpercaya
   ========================================================= */

:root {
  --green-950: #0F2A1F;
  --green-900: #143628;
  --green-800: #1B4332;
  --green-700: #245A41;
  --green-600: #2F6E51;
  --green-100: #E2ECE5;
  --green-50:  #F0F5F1;

  --beige-300: #E4D6C1;
  --beige-200: #EFE5D6;
  --beige-100: #F6F0E6;

  --gold-600: #A07D47;
  --gold-500: #B8925A;
  --gold-300: #D9BC86;

  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1D2924;
  --ink-soft: #3A4A42;
  --muted: #61706A;
  --line: #E6DDCE;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 54, 40, .06), 0 2px 8px rgba(20, 54, 40, .05);
  --shadow: 0 2px 6px rgba(20, 54, 40, .06), 0 12px 32px rgba(20, 54, 40, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 31, .16);

  --container: 1180px;
  --header-h: 76px;

  --pattern-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B8925A' stroke-opacity='.22' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l22 22M80 0L58 22M0 80l22-22M80 80L58 58'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D9BC86' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l22 22M80 0L58 22M0 80l22-22M80 80L58 58'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--green-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--green-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-beige { background: var(--beige-100); }
.section-green { background: var(--green-800); color: #E8EFEA; background-image: var(--pattern-light); }
.section-green h2, .section-green h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-green .section-head p { color: #C9D8CF; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section-green .eyebrow { color: var(--gold-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.text-gold { color: var(--gold-500); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1.2 var(--font-body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 6px 18px rgba(27, 67, 50, .25); }
.btn-primary:hover { background: var(--green-900); color: #fff; box-shadow: 0 10px 26px rgba(27, 67, 50, .3); }
.btn-gold { background: var(--gold-500); color: var(--green-950); box-shadow: 0 6px 18px rgba(184, 146, 90, .3); }
.btn-gold:hover { background: var(--gold-300); color: var(--green-950); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--green-900); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: .14em; }
.logo-text small { font-size: .6rem; font-weight: 700; letter-spacing: .26em; color: var(--gold-600); margin-top: 4px; }
.brand-light { color: #fff; }
.brand-light .logo-text small { color: var(--gold-300); }
.brand-light .logo-mark rect { fill: #245A41; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 54, 40, .05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; list-style: none; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.site-nav ul a:hover { color: var(--green-800); background: var(--green-50); }
.site-nav ul a.active { color: var(--green-800); background: var(--green-100); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 28px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
  .site-nav .btn { padding: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(217, 188, 134, .22), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(36, 90, 65, .08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 32px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

.hero-visual { position: relative; max-width: 460px; margin-left: auto; width: 100%; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden;
  background: var(--pattern-light), linear-gradient(160deg, var(--green-700) 0%, var(--green-900) 70%, var(--green-950) 100%);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero-arch::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 188, 134, .45); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.hero-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-arch-inner { text-align: center; color: var(--beige-200); padding: 32px; }
.hero-arch-inner .logo-mark { width: 104px; height: 104px; margin: 0 auto 18px; }
.hero-arch-inner .logo-mark rect { fill: rgba(255, 255, 255, .06); stroke: rgba(217, 188, 134, .5); stroke-width: .6; }
.hero-arch-inner p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: #fff; margin: 0 0 6px; }
.hero-arch-inner span { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; color: var(--muted); line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-800); }
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-weight: 800; flex: none; }
.float-card .fc-icon.gold { background: #F5EAD6; color: var(--gold-600); }
.float-card.fc-1 { top: 14%; left: -12%; }
.float-card.fc-2 { bottom: 13%; right: -6%; animation-delay: -2s; }
.float-card.fc-3 { bottom: -4%; left: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 24px auto 0; max-width: 380px; }
  .float-card.fc-1 { left: -4%; }
  .float-card.fc-2 { right: -4%; }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { width: 100%; }
  .float-card { padding: 10px 12px; font-size: .78rem; }
  .float-card strong { font-size: 1.1rem; }
  .float-card .fc-icon { width: 32px; height: 32px; }
  .float-card.fc-1 { left: 0; }
  .float-card.fc-2 { right: 0; }
}

/* Hero halaman dalam */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--beige-100); background-image: var(--pattern-gold); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 680px; }
.page-hero-center { text-align: center; }
.page-hero-center .lead { margin-left: auto; margin-right: auto; }
.page-hero-center .btn-row { justify-content: center; }
.page-hero-dark { background-color: var(--green-800); background-image: var(--pattern-light); color: #DCE7E0; border: 0; }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark .lead { color: #C9D8CF; }
.page-hero-dark .eyebrow { color: var(--gold-300); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-800); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--green-100); color: var(--green-800); }
.badge-gold { background: #F5EAD6; color: var(--gold-600); }

/* ---------- Kartu program ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.program-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card .program-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.program-card .program-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.program-discount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 8px; }
.program-discount strong { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 4.6rem); line-height: 1; color: var(--green-800); font-weight: 700; }
.program-discount span { font-weight: 700; color: var(--muted); }
.program-card > p { color: var(--muted); }
.check-list { list-style: none; margin: 8px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.program-card .btn { margin-top: auto; }

.program-card.featured { background: var(--green-800); background-image: var(--pattern-light); border-color: var(--green-800); color: #DCE7E0; }
.program-card.featured .program-tag { color: var(--gold-300); }
.program-card.featured .program-discount strong { color: #fff; }
.program-card.featured .program-discount span, .program-card.featured > p { color: #C2D3C9; }
.program-card.featured .check-list li::before { background-color: rgba(217, 188, 134, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9BC86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.ribbon { position: absolute; top: 24px; right: 24px; padding: 6px 14px; border-radius: 999px; background: var(--gold-500); color: var(--green-950); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }

@media (max-width: 820px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- Fitur / keunggulan ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--gold-300); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Simulasi keuntungan ---------- */
.sim { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.sim-controls, .sim-results { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.sim-controls { background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 188, 134, .25); }
.sim-field { margin-bottom: 28px; }
.sim-field:last-child { margin-bottom: 0; }
.sim-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: #DCE7E0; margin-bottom: 12px; }
.sim-field output { font-family: var(--font-display); font-size: 1.6rem; color: #fff; font-weight: 600; }
.sim-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sim-presets button {
  font: 600 .82rem var(--font-body); padding: 7px 13px; border-radius: 999px; cursor: pointer;
  background: transparent; color: #C9D8CF; border: 1px solid rgba(255, 255, 255, .22);
}
.sim-presets button:hover, .sim-presets button.on { background: var(--gold-500); color: var(--green-950); border-color: var(--gold-500); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-300); border: 4px solid var(--green-800); box-shadow: 0 0 0 2px var(--gold-300); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-300); border: 4px solid var(--green-800); box-shadow: 0 0 0 2px var(--gold-300); }

.sim-results { background: var(--surface); color: var(--ink); display: grid; gap: 14px; }
.sim-retail { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); color: var(--muted); font-weight: 600; }
.sim-retail strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.sim-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.sim-row.agen { background: #FBF5EA; border-color: #EEDFC4; }
.sim-row .sim-label { font-weight: 700; color: var(--green-800); }
.sim-row.agen .sim-label { color: var(--gold-600); }
.sim-row .sim-price { text-align: right; color: var(--muted); font-size: .9rem; }
.sim-row .sim-price b { color: var(--ink); font-size: 1rem; }
.sim-row .sim-margin { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.sim-row .sim-margin span { color: var(--muted); font-size: .9rem; }
.sim-row .sim-margin strong { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-800); }
.sim-row.agen .sim-margin strong { color: var(--gold-600); }
.sim-row .sim-month { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid rgba(0, 0, 0, .06); padding-top: 10px; }
.sim-note { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.sim-agen-status { font-size: .82rem; font-weight: 600; margin-top: 4px; }
.sim-agen-status.ok { color: var(--green-700); }
.sim-agen-status.warn { color: var(--gold-600); }
.disclaimer { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: .85rem; color: #A9BDB1; }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }

/* ---------- Langkah ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--green-800);
  background: var(--bg); border: 2px solid var(--green-800); border-radius: 50%;
}
.section-beige .step-num { background: var(--beige-100); }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-300) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-align: left; padding: 0 0 28px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step h3 { align-self: end; margin-top: 8px; }
}

/* ---------- Testimoni ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.testi-stars { color: var(--gold-500); letter-spacing: 3px; }
.testi blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-person img, .testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; font-weight: 800; }
.testi-person strong { display: block; color: var(--green-900); }
.testi-person span { font-size: .85rem; color: var(--muted); }
.testi-empty {
  max-width: 680px; margin: 0 auto; text-align: center; padding: 40px 32px; border-radius: var(--radius-lg);
  border: 1.5px dashed var(--gold-300); background: var(--surface);
}
.testi-empty p { color: var(--muted); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; color: var(--green-900); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/13px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 32px; overflow: hidden; background: var(--green-800); background-image: var(--pattern-light); color: #C9D8CF; }
.cta-band::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(217, 188, 134, .3); border-radius: 24px; pointer-events: none; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Layout umum 2 kolom ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.card-soft { background: var(--beige-100); border-color: var(--beige-300); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--green-800); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* Perbandingan */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-900); background: var(--beige-100); }
.compare thead th.hl { background: var(--green-800); color: #fff; }
.compare tbody th { font-weight: 600; color: var(--muted); width: 32%; }
.compare tbody td.hl { background: var(--green-50); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Timeline agen 3 bulan */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.timeline > div { padding: 26px 22px; background: var(--surface); border-right: 1px solid var(--line); }
.timeline > div:last-child { border-right: 0; background: var(--green-800); color: #DCE7E0; }
.timeline > div.free { background: #FBF5EA; }
.timeline .tl-month { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.timeline > div:last-child .tl-month { color: var(--gold-300); }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-900); margin: 6px 0 4px; }
.timeline > div:last-child strong { color: #fff; }
.timeline p { margin: 0; font-size: .9rem; color: var(--muted); }
.timeline > div:last-child p { color: #C2D3C9; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline > div:nth-child(2) { border-right: 0; } .timeline > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 420px) { .timeline { grid-template-columns: 1fr; } .timeline > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Produk / kategori */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-visual { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; background: var(--pattern-gold), var(--beige-200); }
.cat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-visual .cat-initial { width: 84px; height: 84px; display: grid; place-items: center; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-300); background: var(--green-800); border-radius: 999px 999px 14px 14px; box-shadow: var(--shadow); }
.cat-card:nth-child(even) .cat-visual { background: var(--pattern-light), var(--green-700); }
.cat-card:nth-child(even) .cat-initial { background: var(--beige-100); color: var(--green-800); }
.cat-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { margin: 0; }
.cat-body p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.cat-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* Nilai brand */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border-top: 3px solid var(--gold-500); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* Funnel / alur pendaftaran */
.flow { list-style: none; display: grid; gap: 12px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.flow .flow-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--green-800); color: var(--gold-300); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.flow strong { display: block; color: var(--green-900); }
.flow span { color: var(--muted); font-size: .94rem; }

/* ---------- Form pendaftaran ---------- */
.form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; color: var(--green-900); margin-bottom: 8px; padding: 0; }
.field .req { color: #B4532A; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 4px rgba(36, 90, 65, .12); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.field .error { font-size: .82rem; color: #B4532A; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #B4532A; }
.field.invalid .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block; height: 100%; margin: 0; padding: 16px 18px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); transition: border-color .15s ease, background .15s ease;
}
.choice label b { display: block; font-size: 1rem; color: var(--green-900); }
.choice label span { display: block; font-size: .84rem; color: var(--muted); font-weight: 500; }
.choice label em { font-style: normal; font-family: var(--font-display); font-size: 1.5rem; color: var(--green-800); }
.choice input:checked + label { border-color: var(--green-800); background: var(--green-50); box-shadow: 0 0 0 3px rgba(27, 67, 50, .1); }
.choice input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: inline-block; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.chip input:checked + label { border-color: var(--green-800); background: var(--green-800); color: #fff; }
.chip input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green-800); flex: none; }
.form-status { margin-top: 14px; font-size: .9rem; color: var(--green-700); font-weight: 600; min-height: 1.4em; }
.form-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .form-side { position: static; } }
@media (max-width: 560px) { .form-grid, .choice-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); color: var(--ink); }
.blog-card-cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.blog-card h3 { font-size: 1.28rem; margin: 0; }
.blog-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.blog-card-meta { margin-top: auto; padding-top: 10px; font-size: .84rem; font-weight: 600; color: var(--green-700); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); background: var(--beige-100); background-image: var(--pattern-gold); border-bottom: 1px solid var(--line); }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.post-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.post-body { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(56px, 7vw, 88px); font-size: 1.08rem; color: var(--ink-soft); }
.post-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-body li { margin-bottom: .5em; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.post-body th, .post-body td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: var(--beige-100); color: var(--green-900); }
.post-body .callout { padding: 18px 22px; border-left: 4px solid var(--gold-500); background: var(--beige-100); border-radius: 0 12px 12px 0; margin: 0 0 1.4em; }
.post-body .callout p:last-child { margin: 0; }
.post-cta { margin-top: 48px; padding: 32px; border-radius: var(--radius-lg); background: var(--green-800); background-image: var(--pattern-light); color: #C9D8CF; }
.post-cta h2 { color: #fff; margin-top: 0; }
.post-cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.post-cta .btn-outline:hover { background: #fff; color: var(--green-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #A9BDB1; padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: .94rem; max-width: 360px; }
.footer-tagline { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300); margin: 18px 0 8px; }
.site-footer h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #A9BDB1; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Tombol WhatsApp melayang */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animasi masuk ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold-300); line-height: 1; margin-bottom: 8px; }
@media (min-width: 901px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }
.field .form-consent { display: flex; margin: 0; }
@media (max-width: 560px) {
  .float-card.fc-1 { top: 2%; left: 0; }
  .float-card.fc-2 { bottom: -4%; right: 0; }
  .float-card.fc-3 { display: none; }
}
