/* Ayu Makeup Studio · landing page
   Warna & font ikut brand/brand.md */
:root {
  --melur: #FAF7F5;      /* latar utama */
  --jambu: #E3B7B4;      /* latar kedua */
  --jambu-soft: #F3E4E2;
  --mauve: #8E4E5F;      /* warna utama brand */
  --mauve-dark: #6F3A49;
  --emas: #C8A46B;       /* aksen */
  --sirih: #9BA88C;
  --plum: #2F2228;       /* teks */
  --muted: #6E5A62;
  --line: #E6D3D1;
  --wa: #25D366;

  --display: "Bodoni Moda", Didot, Georgia, serif;
  --body: "Jost", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--melur);
  color: var(--plum);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h1 em { color: var(--mauve); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 36px; }
h3 { font-size: 1.6rem; }

.eyebrow {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mauve); font-weight: 600; margin: 0 0 12px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--emas); vertical-align: middle; margin-right: 10px;
}

/* Butang */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  background: var(--mauve); color: #fff; border: 1.5px solid var(--mauve);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--mauve-dark); border-color: var(--mauve-dark); transform: translateY(-1px); }
.btn:focus-visible, .wa-float:focus-visible, .nav a:focus-visible { outline: 2px solid var(--emas); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--mauve); }
.btn-ghost:hover { background: var(--jambu-soft); color: var(--mauve-dark); }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-light { background: #fff; color: var(--mauve); border-color: #fff; }
.btn-light:hover { background: var(--jambu-soft); border-color: var(--jambu-soft); color: var(--mauve-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo {
  font-family: var(--display); font-size: 1.35rem; font-weight: 600;
  text-decoration: none; color: var(--mauve); margin: 0;
}
.logo em { font-weight: 500; color: var(--plum); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--mauve); }

/* Hero */
.hero { padding: 56px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: .9rem; color: var(--muted); margin: 16px 0 0; }
.hero-photo {
  position: relative; border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--jambu-soft);
  box-shadow: 0 24px 60px -30px rgba(142, 78, 95, .5);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(200, 164, 107, .7);
  border-radius: 190px 190px 10px 10px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Seksyen */
.section { padding: 88px 0; }
.section-soft { background: var(--jambu-soft); }

/* Pakej */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pkg {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px;
  display: flex; flex-direction: column;
}
.pkg-desc { color: var(--muted); margin: 6px 0 18px; }
.price {
  font-family: var(--display); font-size: 2.6rem; font-weight: 600;
  color: var(--mauve); margin: 0 0 18px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span { font-family: var(--body); font-size: 1rem; font-weight: 500; vertical-align: top; margin-right: 2px; }
.pkg ul { list-style: none; padding: 18px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.pkg li { padding-left: 22px; position: relative; margin-bottom: 6px; color: var(--plum); }
.pkg li::before { content: "✦"; position: absolute; left: 0; color: var(--emas); font-size: .8rem; top: 4px; }
.pkg-featured { background: var(--mauve); border-color: var(--mauve); color: #fff; }
.pkg-featured .pkg-desc, .pkg-featured li { color: rgba(255,255,255,.88); }
.pkg-featured .price { color: #fff; }
.pkg-featured ul { border-color: rgba(255,255,255,.25); }
.badge {
  position: absolute; top: -13px; left: 24px; margin: 0;
  background: var(--emas); color: var(--plum);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 999px;
}

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 4 / 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(250, 247, 245, .92); color: var(--plum);
  font-size: .85rem; font-weight: 500; padding: 4px 12px; border-radius: 999px;
}

/* Testimoni */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.t-card p { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.5; }
.t-card footer { margin-top: auto; font-size: .9rem; color: var(--muted); font-weight: 500; }
.t-card footer::before { content: "— "; color: var(--emas); }

/* CTA */
.cta { background: var(--mauve); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.85); margin: 0 0 28px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { padding: 40px 0 100px; text-align: center; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: 4px 0; }
.site-footer .small { font-size: .85rem; margin-top: 12px; }

/* WhatsApp terapung */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .packages { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .testimonials { grid-template-columns: 1fr; max-width: 640px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .btn-small { margin-left: auto; }
  .hero { padding: 32px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 380px; width: 100%; margin-inline: auto; order: -1; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .section { padding: 64px 0; }
  h2 { margin-bottom: 28px; }
  .packages { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta { padding: 64px 0; }
}

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