/* Ayu MakeUp Studio — palet "Sage & Nude" (rujuk brand/brand.md) */
:root {
  --sage: #9CAF88;
  --sage-soft: #E4EADD;
  --nude: #E8D5C4;
  --ivory: #FAF7F2;
  --olive: #3F4A3C;
  --olive-soft: #5E6A5A;
  --terracotta: #C47A5A;
  --terracotta-dark: #A55E40; /* versi lebih gelap untuk butang supaya teks putih senang dibaca */
  --wa: #25D366;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(63, 74, 60, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--olive);
  background: var(--ivory);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

/* ---------- Butang ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--terracotta-dark);
  background: var(--terracotta-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #8F4F34; border-color: #8F4F34; }

.btn--ghost { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--ghost:hover { background: var(--olive); color: #fff; border-color: var(--olive); }

.btn--light { background: var(--ivory); color: var(--olive); border-color: var(--ivory); }
.btn--light:hover { background: #fff; border-color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--small { min-height: 40px; padding: 8px 18px; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nude);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
}
.logo span { font-style: italic; font-weight: 500; color: var(--terracotta-dark); }

.nav__links { display: none; gap: 28px; }
.nav__links a { text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav__links a:hover { color: var(--terracotta-dark); }

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, var(--ivory) 0%, #F3ECE3 100%);
}
.hero__inner { display: grid; gap: 36px; align-items: center; }

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--terracotta-dark); font-weight: 500; }

.hero__lead { font-size: 1.05rem; margin: 0 0 28px; color: var(--olive-soft); max-width: 34em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 200px; }

.hero__points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__points li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sage-soft);
}

.hero__image { position: relative; isolation: isolate; }
.hero__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__image::before {
  content: "";
  position: absolute;
  inset: 18px -12px -12px 18px;
  border: 2px solid var(--sage);
  border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}

/* ---------- Seksyen umum ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--nude); }
.section__head { text-align: center; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }

/* ---------- Pakej ---------- */
.packages { display: grid; gap: 18px; }

.package {
  position: relative;
  background: #fff;
  border: 1px solid var(--nude);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.package h3 { font-size: 1.35rem; margin-bottom: 8px; }
.package__price {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1;
}
.package__price span { font-size: 1rem; font-weight: 500; margin-right: 4px; vertical-align: top; }
.package ul { list-style: none; padding: 0; margin: 0; }
.package li { padding: 6px 0 6px 26px; position: relative; font-size: 0.95rem; }
.package li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.package--featured {
  background: var(--olive);
  color: var(--ivory);
  border-color: var(--olive);
}
.package--featured li::before { border-color: var(--nude); }
.package__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.extras {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}
.extras h3 { font-size: 1.15rem; margin-bottom: 10px; }
.extras dl { margin: 0; display: grid; gap: 8px; }
.extras dl div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.extras dt { font-size: 0.95rem; }
.extras dd { margin: 0; font-weight: 600; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Testimoni ---------- */
.testimonials { display: grid; gap: 18px; }
.quote {
  margin: 0;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--sage);
  box-shadow: var(--shadow);
}
.quote p {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 16px;
}
.quote footer { font-size: 0.88rem; color: var(--olive-soft); }
.quote footer strong { color: var(--olive); }

/* ---------- CTA / Cara tempah ---------- */
.cta {
  padding: 64px 0;
  background: var(--olive);
  color: var(--ivory);
}
.cta__inner { text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 28px; }
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 auto 32px;
  max-width: 900px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 64px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--olive);
  font-weight: 600;
}
.cta__actions { justify-content: center; max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 100px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--olive-soft);
}
.footer__inner p { margin: 4px 0; }
.footer .logo { color: var(--olive); margin-bottom: 8px; }
.footer a { color: var(--terracotta-dark); }
.footer__small { font-size: 0.8rem; margin-top: 12px !important; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { display: none; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .packages { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .wa-float { padding: 12px 20px 12px 14px; }
  .wa-float span { display: inline; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .hero { padding: 72px 0 88px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .section, .cta { padding: 96px 0; }
  .packages { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .extras { max-width: 640px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
