/* ===== Ayu Makeup Studio · Landing Page =====
   Warna & font ikut brand/brand.md */
:root {
  --rose: #E8B4B8;
  --rose-dark: #c98a90;
  --lavender: #6A4C93;
  --lavender-dark: #543a78;
  --gold: #C9A66B;
  --nude: #F1DCD3;
  --ivory: #FBF6F0;
  --cocoa: #3A2A2A;
  --muted: #6e5b5b;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(58, 42, 42, .08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--cocoa);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); }
h1, h2, h3 { font-family: var(--serif); color: var(--lavender); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.35rem; font-weight: 600; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.eyebrow {
  margin: 0 0 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lavender);
}
.sub { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

/* ===== Butang ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid var(--lavender);
  background: var(--lavender); color: var(--white);
  font: 600 .95rem var(--sans); text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--lavender-dark); border-color: var(--lavender-dark); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--lavender); }
.btn-ghost:hover { background: var(--lavender); color: var(--white); }
.btn-outline { background: var(--white); color: var(--lavender); }
.btn-outline:hover { color: var(--white); }
.btn-light { background: var(--ivory); border-color: var(--ivory); color: var(--lavender); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--lavender); }
.btn-ghost-light { background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--lavender); }

/* ===== Navigasi ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 240, .92);
  backdrop-filter: blur(8px); -webkit-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: 700 1.35rem var(--serif); color: var(--lavender); text-decoration: none; margin: 0; }
.logo span { font: 500 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cocoa); margin-left: 4px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--cocoa); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--lavender); }

/* ===== Hero ===== */
.hero {
  padding: 56px 0 72px;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--nude) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 18px 0 28px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; margin-top: 24px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; }
.hero-points li::before { content: "✦"; color: var(--gold); margin-right: 8px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 2px solid var(--gold); border-radius: 200px 200px var(--radius) var(--radius);
}
.hero-photo img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Seksyen umum ===== */
.section { padding: 80px 0; }
.section-soft { background: var(--nude); }

/* ===== Pakej ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); border: 1px solid transparent;
}
.card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; font-size: .92rem; }
.card li { padding: 7px 0; border-bottom: 1px dashed var(--nude); }
.card li::before { content: "✓"; color: var(--lavender); font-weight: 600; margin-right: 8px; }
.card .btn { width: 100%; }
.price { font: 700 2.4rem var(--serif); color: var(--cocoa); margin: 10px 0 18px; }
.price span { font: 500 1rem var(--sans); vertical-align: super; margin-right: 2px; }
.card-featured { border-color: var(--lavender); transform: translateY(-8px); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  margin: 0; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--rose); color: var(--cocoa); font-size: .75rem; font-weight: 600;
}
.note { margin: 36px auto 0; color: var(--muted); }

/* ===== Galeri ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.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 .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px; font-size: .85rem; font-weight: 500; color: var(--white);
  background: linear-gradient(transparent, rgba(58, 42, 42, .75));
}

/* ===== Testimoni ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote p { margin: 0 0 16px; }
.quote p:not(.stars) { flex: 1; font-style: italic; }
.stars { color: var(--gold); letter-spacing: 3px; }
.quote footer { font-weight: 600; color: var(--lavender); font-size: .9rem; }
.quote footer::before { content: "— "; }

/* ===== CTA akhir ===== */
.cta { background: var(--lavender); color: var(--ivory); }
.cta h2 { color: var(--ivory); }
.cta .sub { color: var(--nude); }

/* ===== Footer ===== */
.site-footer { background: var(--cocoa); color: var(--nude); padding: 40px 0 96px; text-align: center; font-size: .9rem; }
.site-footer p { margin: 4px 0; }
.site-footer .logo { color: var(--rose); }
.site-footer .logo span { color: var(--nude); }
.small { opacity: .7; font-size: .8rem; }

/* ===== Butang WhatsApp terapung ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .card-featured { transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
}

/* ===== Telefon ===== */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 32px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; max-width: 340px; margin: 0 auto; width: calc(100% - 28px); }
  .hero-text { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-points { justify-content: center; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .gallery { gap: 10px; }
  .gallery figcaption { font-size: .75rem; padding: 22px 10px 8px; }
}

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