/* =========================================================
   Pabrik Jilbab Jember — Landing Page
   Tema: fashion muslimah — pastel blush & lavender, serif lembut, bingkai arch
   Palet: #FBEFEF · #FFE2E2 · #F5CBCB · #C5B3D3 (+ plum tua untuk teks & CTA)
   Mobile-first · CSS3 murni · Design tokens di :root
   ========================================================= */

:root {
  /* Base */
  --color-bg: #FFFFFF;
  --color-bg-soft: #FBEFEF;      /* blush — section selang-seling */
  --color-bg-pink: #FFE2E2;      /* pink lembut — highlight */
  --color-bg-deep: #3A2748;      /* plum tua — section gelap */
  --color-text: #2E2338;
  --color-text-muted: #64556E;
  --color-border: #F0D8DA;

  /* Brand — {{COLOR_PRIMARY}} */
  --color-primary: #6F4F8A;      /* plum */
  --color-primary-dark: #4B3260;
  --color-primary-light: #EFE7F5;

  /* Aksen (palet) */
  --color-rose: #F5CBCB;         /* rose — ornamen */
  --color-rose-deep: #D98F9A;    /* rose pekat — angka & kutipan dekoratif */
  --color-rose-light: #FFE2E2;
  --color-rose-ink: #8E3F4D;
  --color-lavender: #C5B3D3;     /* garis & ornamen tipis */
  --color-ivory: #FFF8F8;

  /* CTA WhatsApp — {{COLOR_ACCENT}} */
  --color-accent: #5A3D72;
  --color-accent-dark: #452C5A;
  --color-accent-ink: #FFFFFF;
  --color-wa: #1DA851;           /* hijau WhatsApp — tombol melayang */

  /* Typography */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-h1: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-small: .875rem;

  /* Spacing & radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-arch: 999px 999px var(--radius-md) var(--radius-md);
  --shadow-card: 0 1px 2px rgba(58, 39, 72, .04), 0 12px 32px rgba(58, 39, 72, .08);
  --shadow-cta: 0 10px 24px -6px rgba(90, 61, 114, .45);
  --container: 1200px;
  --gutter: 16px;
  --section-py: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-primary-dark); }
h1, h2, h3 {
  font-family: var(--font-heading); font-weight: 600; line-height: 1.15;
  letter-spacing: -.02em; margin: 0 0 .5em; color: var(--color-text);
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--color-primary-dark); }
em { font-style: italic; }
ul, .timeline { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--color-rose-light); color: var(--color-text); }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: currentColor; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  background: var(--color-accent); color: var(--color-accent-ink); padding: 12px 18px; border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-py) 0; background: var(--color-bg); }
.section--soft { background: var(--color-bg-soft); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__head p { color: var(--color-text-muted); margin-bottom: 0; }
.section__head h2::after {
  content: ""; display: block; width: 56px; height: 1px; margin: 22px auto 0;
  background: var(--color-lavender);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 14px; line-height: 1.5;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--color-lavender); flex-shrink: 0; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--color-lavender); flex-shrink: 0; }

.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 32px; }
}
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: .9688rem; line-height: 1.3;
  letter-spacing: .005em;
  text-decoration: none; text-align: center; border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--wa { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--shadow-cta); }
.btn--wa:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -6px rgba(90, 61, 114, .55); }
.btn--wa:active { transform: none; }
.btn--outline { background: transparent; color: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn--outline:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }
.btn--sm { min-height: 48px; padding: 10px 20px; }
.btn--lg { min-height: 56px; padding: 16px 34px; }
.btn--block { width: 100%; }

/* tombol di atas latar gelap */
.cta-final .btn--wa, .package--featured .btn--wa, .visit-banner .btn--wa { background: var(--color-bg-pink); color: var(--color-text); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.cta-final .btn--wa:hover, .package--featured .btn--wa:hover, .visit-banner .btn--wa:hover { background: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-size: .9688rem; font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: underline; text-decoration-color: var(--color-lavender); text-underline-offset: 8px; text-decoration-thickness: 1px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  background: #fff; color: var(--color-primary-dark); border: 1px solid var(--color-border);
  font-size: var(--fs-small); line-height: 1.4;
}

/* ---------- Card ---------- */
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-bg-pink); border: 1px solid var(--color-rose); color: var(--color-primary); margin-bottom: 20px;
}
.card__icon .icon { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1100;
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
/* blur dipasang di pseudo-element: backdrop-filter pada header akan "mengurung"
   menu off-canvas (position: fixed) setinggi header sehingga menu tampak kosong */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: 0 6px 24px rgba(58, 39, 72, .06); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  text-decoration: none; color: var(--color-text); min-height: 48px;
}
.logo img { width: 42px; height: 42px; border-radius: 50%; }
.logo span { font-family: var(--font-heading); font-weight: 600; font-size: 1.375rem; line-height: 1; letter-spacing: .01em; }
.logo span small {
  display: block; margin-top: 5px; font-family: var(--font-body); font-weight: 400; font-size: .625rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); white-space: nowrap;
}

.nav-toggle {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--color-border);
  border-radius: 50%; background: #fff; color: var(--color-text);
}
.site-header__inner > .nav-toggle { margin-left: auto; }
.nav-toggle .icon { width: 20px; height: 20px; }

.nav {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 1100;
  background: var(--color-ivory); padding: 20px 24px; transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s; box-shadow: -10px 0 40px rgba(58, 39, 72, .14);
  display: flex; flex-direction: column; overflow-y: auto;
}
.nav.is-open { transform: none; visibility: visible; }
.nav__close { align-self: flex-end; }
.nav__list { display: flex; flex-direction: column; margin-top: 16px; }
.nav__list a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--color-border);
  color: var(--color-text); text-decoration: none; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 500;
}
.nav__list a[aria-current="true"] { color: var(--color-primary); }
.nav__cta { margin-top: 28px; }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 1050; background: rgba(46, 35, 56, .4);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .nav-toggle, .nav__close, .nav__cta, .nav-backdrop { display: none; }
  /* menu rata kanan */
  .nav {
    position: static; transform: none; visibility: visible; width: auto; padding: 0; margin-left: auto;
    box-shadow: none; background: transparent; flex-direction: row; overflow: visible;
  }
  .nav__list { flex-direction: row; margin: 0; gap: 4px; }
  .nav__list li:last-child a { padding-right: 0; }
  .nav__list li:last-child a::after { right: 0; }
  .nav__list a {
    position: relative; min-height: 48px; padding: 0 12px; border: 0; font-family: var(--font-body);
    font-size: .875rem; font-weight: 600; color: var(--color-text-muted);
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px;
    background: var(--color-lavender); transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--color-text); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(48% 60% at 85% 30%, rgba(197, 179, 211, .55) 0%, transparent 70%),
    radial-gradient(40% 50% at 8% 0%, rgba(255, 226, 226, .9) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
}
/* lengkung tipis dekoratif di belakang visual */
.hero__deco {
  position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; right: -260px; top: -120px; border-radius: 50%;
  border: 1px solid rgba(111, 79, 138, .14);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .18), 0 0 0 71px rgba(111, 79, 138, .08);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(58, 39, 72, .06);
  font-size: .8125rem; font-weight: 600; color: var(--color-primary-dark); line-height: 1.3;
}
.hero__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-wa); flex-shrink: 0; }
.hero__pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--color-wa); opacity: .35;
  animation: pulse 2s ease-out infinite;
}

.hero h1 { font-size: clamp(2.375rem, 1.55rem + 3.4vw, 4rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 22px; }
.hero__kicker {
  display: block; margin-bottom: 10px;
  font-family: var(--font-body); font-size: clamp(.9375rem, .9rem + .25vw, 1.0625rem); font-weight: 700;
  letter-spacing: .02em; line-height: 1.4; color: var(--color-primary);
}
.hero h1 em {
  font-style: italic; font-weight: 500; color: var(--color-primary);
  background: linear-gradient(transparent 64%, var(--color-rose) 64%, var(--color-rose) 90%, transparent 90%);
  padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--color-text-muted); max-width: 540px; margin-bottom: 26px; }
.hero__lead strong { color: var(--color-text); }

.hero__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 32px; max-width: 520px; }
.hero__benefits li, .check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; }
.hero__benefits li { align-items: center; line-height: 1.4; }
.hero__benefits .icon, .check-list .icon { color: var(--color-primary); margin-top: .3em; width: 18px; height: 18px; }
.hero__benefits .icon { margin-top: 0; width: 20px; height: 20px; }

.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px 28px; }
.hero__actions .link-arrow { justify-content: center; }
.hero__micro { margin: 16px 0 0; font-size: .8125rem; color: var(--color-text-muted); }

/* visual: arch produk + foto workshop + chip */
.hero__visual { position: relative; width: 100%; max-width: 460px; margin: 0 auto; padding: 0 22px 36px 34px; }
.hero__visual::before {
  content: ""; position: absolute; z-index: -1; inset: 26px 0 8px 58px;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(165deg, var(--color-lavender) 0%, var(--color-rose) 100%);
}
.hero__arch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #fff;
  border-radius: 999px 999px 28px 28px; border: 6px solid #fff;
  box-shadow: 0 34px 60px -24px rgba(58, 39, 72, .45);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1;
  border-radius: 22px; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 18px 36px -12px rgba(58, 39, 72, .45); transform: rotate(-4deg);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset figcaption {
  position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px;
  background: rgba(46, 35, 56, .72); color: #fff; font-size: .6875rem; font-weight: 600; text-align: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: 16px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px -12px rgba(58, 39, 72, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .75rem; color: var(--color-text-muted); line-height: 1.25; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.hero__chip strong { display: block; font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 600; color: var(--color-text); }
.hero__chip-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: var(--color-bg-pink); color: var(--color-primary);
}
.hero__chip-ico .icon { width: 18px; height: 18px; }
.hero__chip--a { top: 13%; right: 0; }
.hero__chip--b { top: 52%; right: 0; animation-delay: -3s; }
.hero__chip--b .hero__chip-ico { background: var(--color-primary-light); }
.hero__sparkle { position: absolute; fill: var(--color-primary); opacity: .55; }
.hero__sparkle--a { width: 26px; height: 26px; top: 2%; left: 6px; }
.hero__sparkle--b { width: 16px; height: 16px; top: 36%; right: -2px; fill: var(--color-rose-deep); opacity: .8; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* strip kepercayaan */
.hero__strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: clamp(40px, 5vw, 64px);
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--color-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__strip li { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; color: var(--color-text); line-height: 1.35; }
.hero__strip .icon { width: 20px; height: 20px; color: var(--color-primary); }

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero__chip--a { right: -18px; }
  .hero__chip--b { right: -30px; }
}
@media (min-width: 900px) {
  .hero__strip { grid-template-columns: repeat(4, 1fr); padding: 20px 28px; }
  .hero__strip li { justify-content: center; font-size: .875rem; }
  .hero__strip li + li { border-left: 1px solid var(--color-border); }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__visual { margin-right: 0; }
}
@media (max-width: 420px) {
  .hero__benefits { grid-template-columns: 1fr; }
  .hero__chip { padding: 8px 12px 8px 8px; }
  .hero__chip strong { font-size: 1rem; }
  .hero__chip-ico { width: 32px; height: 32px; }
}

/* ---------- Masalah ---------- */
.problem-list { display: grid; max-width: 960px; margin: 0 auto; border-top: 1px solid var(--color-border); }
.problem-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--color-border);
}
.problem-item__num { font-family: var(--font-heading); font-size: 1.75rem; font-style: italic; color: var(--color-rose-deep); line-height: 1; }
.problem-item p { margin: 0; }
@media (min-width: 900px) {
  .problem-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .problem-item:last-child { grid-column: 1 / -1; }
}
.agitation {
  max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: center; position: relative;
}
.agitation::before {
  content: "\201C"; display: block; font-family: var(--font-heading); font-size: 5rem; line-height: .6;
  color: var(--color-rose-deep); margin-bottom: 8px;
}
.agitation p {
  margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: 500;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.45; color: var(--color-primary-dark);
}

/* ---------- Solusi ---------- */
.solution { display: grid; gap: 48px; align-items: center; }
.solution > div:first-child p { color: var(--color-text-muted); }
.solution > div:first-child p strong { color: var(--color-text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.stat { padding: 32px 18px; text-align: center; }
.stat:nth-child(odd) { border-right: 1px solid var(--color-border); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
.stat__value { display: block; font-family: var(--font-heading); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); color: var(--color-primary-dark); line-height: 1.1; }
.stat__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 8px; }
@media (min-width: 1024px) {
  .solution { grid-template-columns: 1.1fr .9fr; gap: 80px; }
}

/* ---------- Layanan ---------- */
.service { display: flex; flex-direction: column; padding: 14px 14px 28px; background: #fff; }
.service img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 50% 50% var(--radius-md) var(--radius-md) / 34% 34% var(--radius-md) var(--radius-md); }
.service__body { padding: 24px 14px 0; display: flex; flex-direction: column; flex: 1; text-align: center; }
.service__body p { color: var(--color-text-muted); flex: 1; }
.service__body .btn { margin-top: 12px; align-self: center; }
.support-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }

/* ---------- Paket ---------- */
.packages { max-width: 1000px; margin: 0 auto; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 40px 32px 32px; }
.package h3 { font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); }
.package--featured { background: var(--color-bg-deep); border-color: var(--color-bg-deep); color: #E9DEF0; box-shadow: 0 24px 48px -16px rgba(58, 39, 72, .45); }
.package--featured h3, .package--featured strong { color: var(--color-ivory); }
.package--featured .card__icon { background: rgba(255, 255, 255, .08); border-color: var(--color-lavender); color: var(--color-lavender); }
.package--featured .check-list li { border-color: rgba(255, 255, 255, .12); }
.package--featured .check-list .icon { color: var(--color-rose); }
.package__badge {
  position: absolute; top: 24px; right: 24px; background: var(--color-rose-light); color: var(--color-rose-ink);
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.check-list { display: grid; margin: 4px 0 28px; flex: 1; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.check-list li:last-child { border-bottom: 0; }
.price-note { margin-top: 28px; font-size: var(--fs-small); color: var(--color-text-muted); font-style: italic; }

/* ---------- Keunggulan ---------- */
.usp { text-align: center; background: transparent; border-color: transparent; padding: 24px 16px; }
.usp:hover { box-shadow: none; transform: none; }
.usp .card__icon { margin: 0 auto 20px; }
.usp h3 { margin-bottom: .35em; }
.usp p { color: var(--color-text-muted); }
@media (min-width: 1024px) {
  .grid--3 > .usp:not(:nth-child(3n)) { border-right: 1px solid var(--color-border); border-radius: 0; }
}
.visit-banner {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start; margin-top: 48px;
  background: var(--color-bg-deep); color: var(--color-ivory); border-radius: var(--radius-lg); padding: 32px 28px;
  background-image: radial-gradient(50% 120% at 100% 0%, rgba(197, 179, 211, .28) 0%, transparent 70%);
}
.visit-banner p { margin: 0; font-family: var(--font-heading); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height: 1.35; font-style: italic; }
@media (min-width: 768px) {
  .visit-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; gap: 32px; }
  .visit-banner .btn { flex-shrink: 0; }
}

/* ---------- Proses / Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--color-lavender); opacity: .5;
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-bg); border: 1px solid var(--color-lavender); color: var(--color-primary-dark);
  font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; font-weight: 500;
}
.step h3 { margin: 12px 0 .25em; font-size: 1.3125rem; }
.step p { margin: 0; color: var(--color-text-muted); font-size: .9375rem; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .timeline::before { left: 8%; right: 8%; top: 28px; bottom: auto; width: auto; height: 1px; }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10px; }
}

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-md); }
.gallery a:nth-child(4n+1) { border-radius: 999px 999px var(--radius-md) var(--radius-md); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .gallery a:nth-child(even) { transform: translateY(28px); }
}
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 6vw, 64px); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 820px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 35, 56, .92); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-md); }
.lightbox figcaption { color: var(--color-ivory); text-align: center; font-size: var(--fs-small); margin-top: 12px; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimoni ---------- */
.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
@media (min-width: 768px) { .slider__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 40px) / 3); } }
.slider__nav { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.slider__nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff;
  color: var(--color-text); display: grid; place-items: center; transition: border-color .3s ease;
}
.slider__nav button:hover { border-color: var(--color-primary); }
.testimonial { display: flex; flex-direction: column; gap: 20px; }
.testimonial::before {
  content: "\201C"; font-family: var(--font-heading); font-size: 4rem; line-height: .5; color: var(--color-rose-deep); height: 24px;
}
.testimonial blockquote { margin: 0; flex: 1; font-family: var(--font-heading); font-size: 1.3125rem; font-style: italic; line-height: 1.5; }
.testimonial__person { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--color-border); }
.avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-rose-light); color: var(--color-rose-ink); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
}
.testimonial__person strong { display: block; line-height: 1.3; color: var(--color-text); }
.testimonial__person span span { font-size: .8125rem; color: var(--color-text-muted); }
[data-placeholder="true"] { border-style: dashed; }

/* ---------- Garansi ---------- */
.guarantee { display: flex; gap: 20px; align-items: flex-start; }
.guarantee .card__icon { margin: 0; width: 60px; height: 60px; }
.guarantee .card__icon .icon { width: 26px; height: 26px; }
.guarantee h3 { margin-top: 4px; }
.guarantee p { color: var(--color-text-muted); }
.fineprint { font-size: var(--fs-small); color: var(--color-text-muted); margin-top: 24px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; transition: color .3s ease; }
.faq summary:hover h3 { color: var(--color-primary); }
.faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; transition: transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: var(--color-text);
}
.faq__icon::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq details p { padding: 0 40px 24px 0; margin: 0; color: var(--color-text-muted); }

/* ---------- Kontak ---------- */
.cta-final {
  position: relative; overflow: hidden; background: var(--color-bg-deep); color: #E9DEF0;
  background-image: radial-gradient(55% 70% at 50% 0%, rgba(197, 179, 211, .3) 0%, transparent 75%);
  border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center;
}
.cta-final::before, .cta-final::after {
  content: ""; position: absolute; width: 360px; height: 480px; border: 1px solid rgba(197, 179, 211, .35);
  border-radius: 999px 999px 0 0; pointer-events: none;
}
.cta-final::before { left: -180px; bottom: -200px; }
.cta-final::after { right: -180px; top: -260px; transform: rotate(180deg); }
.cta-final > * { position: relative; }
.cta-final h2 { color: var(--color-ivory); max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-final p { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-final__urgency {
  display: inline-block; font-size: .875rem; font-weight: 600; color: var(--color-rose);
  border-top: 1px solid rgba(197, 179, 211, .4); border-bottom: 1px solid rgba(197, 179, 211, .4); padding: 12px 4px;
}
.cta-final .btn { margin-top: 16px; width: 100%; }
@media (min-width: 768px) { .cta-final .btn { width: auto; } }

.location {
  display: grid; margin-top: clamp(48px, 6vw, 72px); overflow: hidden;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.location__info { padding: clamp(28px, 4vw, 48px); }
.location__info h3 { font-size: clamp(1.625rem, 1.4rem + .9vw, 2.125rem); margin-bottom: .35em; }
.location__intro { color: var(--color-text-muted); margin-bottom: 24px; }
.location__list { display: grid; gap: 14px; margin-bottom: 28px; }
.location__list li { display: flex; gap: 14px; align-items: center; }
.location__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  background: var(--color-bg-pink); color: var(--color-primary);
}
.location__ico .icon { width: 20px; height: 20px; }
.location__list li > span:last-child { display: flex; flex-direction: column; font-weight: 600; color: var(--color-text); line-height: 1.4; }
.location__label { font-size: .75rem; font-weight: 600; color: var(--color-text-muted); letter-spacing: .02em; }
.location__list a { color: var(--color-primary-dark); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__actions .btn { flex: 1 1 auto; white-space: nowrap; padding-left: 24px; padding-right: 24px; }

.location__media { position: relative; min-height: 320px; padding: 0 16px 16px; }
.location__map {
  position: relative; display: grid; place-items: center; align-content: center; gap: 12px;
  width: 100%; height: 100%; min-height: 320px; border-radius: 14px; overflow: hidden; text-decoration: none;
  background-color: var(--color-bg-soft);
  background-image:
    linear-gradient(rgba(197, 179, 211, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 179, 211, .35) 1px, transparent 1px);
  background-size: 36px 36px;
}
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s ease; }
.location__map.is-loaded iframe { opacity: 1; }
.location__map-pin {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--color-accent); color: #fff; box-shadow: var(--shadow-cta);
}
.location__map-pin .icon { transform: rotate(45deg); width: 24px; height: 24px; }
.location__map-label { font-size: .875rem; font-weight: 600; color: var(--color-primary-dark); }
.location__store {
  position: absolute; left: 32px; bottom: 32px; width: 42%; max-width: 220px; margin: 0;
  border-radius: 14px; overflow: hidden; border: 4px solid #fff; background: #fff;
  box-shadow: 0 16px 32px -10px rgba(58, 39, 72, .4); pointer-events: none;
}
.location__store img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.location__store figcaption { padding: 6px 10px; font-size: .75rem; font-weight: 600; color: var(--color-text); text-align: center; }
@media (min-width: 1024px) {
  .location { grid-template-columns: .9fr 1.1fr; }
  .location__media { padding: 16px 16px 16px 0; min-height: 460px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #2E2338; color: #D9CCE2; padding: 72px 0 28px; font-size: .9375rem; }
.site-footer a { color: var(--color-ivory); text-decoration: none; }
.site-footer a:hover { color: var(--color-lavender); }
.footer__grid { display: grid; gap: 40px; }
.footer__brand .logo { color: var(--color-ivory); }
.footer__brand .logo span small { color: #B3A2C0; }
.footer__brand p { margin-top: 16px; max-width: 380px; }
.footer__title {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-lavender); margin-bottom: 14px;
}
.footer__links { display: grid; gap: 2px; }
.footer__links a, .footer__item { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); transition: border-color .3s ease;
}
.footer__social a:hover { border-color: var(--color-lavender); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .8125rem; color: #B3A2C0; letter-spacing: .02em; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Floating WhatsApp & to-top ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 999;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-wa); color: #fff; box-shadow: 0 10px 28px rgba(29, 168, 81, .38);
  transition: bottom .3s ease, transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--color-wa);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.45); opacity: 0; }
}


.to-top {
  position: fixed; right: 26px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 997;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--color-border); background: #fff; color: var(--color-text);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s, bottom .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--section-py) 0; background: var(--color-bg-soft); }
.error-page__code { font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: clamp(5rem, 4rem + 6vw, 9rem); color: var(--color-rose-deep); line-height: 1; margin-bottom: 8px; }
.error-page p { color: var(--color-text-muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.error-page__actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; margin-top: 28px; }
@media (min-width: 600px) { .error-page__actions { flex-direction: row; } }

/* ---------- Reveal animation (aktif hanya jika JS jalan) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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


/* =========================================================
   Mobile polish — keterbacaan, tap target, panjang scroll
   ========================================================= */
.btn { text-wrap: balance; }
.logo span, .hero__micro span, .hero__inset figcaption { white-space: nowrap; }
@media (max-width: 599px) {
  /* tombol: muat satu baris, mudah ditekan jempol */
  .btn { padding-left: 20px; padding-right: 20px; }
  .btn--lg { padding: 16px 20px; font-size: .9375rem; }
  .hero__actions .btn, .cta-final .btn { width: 100%; }
  .hero__micro { text-align: center; }

  /* hero: chip tidak menutupi wajah model */
  .hero__visual { max-width: 360px; }
  .hero__chip--b { top: auto; bottom: 16%; }

  /* masalah & agitasi lebih ringkas */
  .problem-item { grid-template-columns: 44px 1fr; padding: 18px 0; }
  .agitation p { font-size: 1.25rem; }

  /* keunggulan: daftar ringkas ikon-kiri, bukan 6 blok tinggi */
  #keunggulan .grid { gap: 12px; }
  .usp {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center;
    text-align: left; padding: 16px 18px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  }
  .usp .card__icon { grid-row: span 2; margin: 0; width: 48px; height: 48px; }
  .usp h3 { margin: 0; font-size: 1.1875rem; align-self: end; }
  .usp p { margin: 0; font-size: .9375rem; align-self: start; }
  .visit-banner { margin-top: 28px; }
  .visit-banner .btn { width: 100%; }

  /* garansi: ikon di atas agar teks tidak sempit */
  .guarantee { flex-direction: column; gap: 16px; }
  .guarantee h3 { margin-top: 0; }

  /* FAQ */
  .faq summary { min-height: 56px; padding: 16px 0; }
  .faq summary h3 { font-size: 1.125rem; }
  .faq details p { padding-right: 0; }

  /* CTA akhir: ornamen lengkung tidak memotong teks */
  .cta-final::before, .cta-final::after { display: none; }
  .cta-final__urgency { font-size: .8125rem; }

  /* lokasi */
  .location__media { min-height: 280px; padding: 0 12px 12px; }
  .location__map { min-height: 280px; }
  .location__store { left: 24px; bottom: 24px; width: 46%; }
  .location__actions .btn { flex-basis: 100%; }

  /* footer: navigasi 2 kolom agar tidak terlalu panjang */
  .site-footer { padding-top: 56px; }
  .site-footer nav .footer__links { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
@media (max-width: 359px) {
  .logo span small { display: none; }
  .logo img { width: 36px; height: 36px; }
  .logo { gap: 10px; }
  .logo span { font-size: 1.125rem; }
  .site-header__inner { gap: 8px; }
  .nav-toggle { width: 44px; height: 44px; }
  .btn--lg { font-size: .875rem; padding-left: 16px; padding-right: 16px; }
  .hero__chip { font-size: .6875rem; }
  .hero__inset figcaption { font-size: .625rem; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; }
}
