:root {
  --cream: #f8eee9;
  --blush: #ecd9ce;
  --sand: #e3cdbf;
  --brown: #4a3a38;
  --brown-soft: #7a6661;
  --white: #fffaf7;
  --gold: #f2b01e;
  --radius: 14px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--sans);
  color: var(--brown);
  background: #262626;
  display: flex;
  justify-content: center;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- phone frame ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background: var(--cream);
  overflow: hidden;
}
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--blush);
  z-index: 0;
}
.phone::before { width: 340px; height: 340px; top: -150px; right: -120px; opacity: .8; }
.phone::after  { width: 420px; height: 260px; bottom: -120px; left: -80px; opacity: .7; }

/* ---------- top bar ---------- */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 8px;
}
.brand { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.burger { display: grid; gap: 4px; padding: 6px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--brown); border-radius: 2px; }

.menu {
  position: absolute;
  z-index: 10;
  top: 52px; right: 16px;
  display: none;
  flex-direction: column;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(74, 58, 56, .18);
  overflow: hidden;
}
.menu.open { display: flex; }
.menu a { padding: 13px 18px; font-size: 14px; }
.menu a:hover { background: var(--blush); }

main { position: relative; z-index: 1; padding: 8px 20px 40px; min-height: calc(100vh - 56px); }
.view { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
.page-title { font-size: 24px; line-height: 1.25; margin-top: 8px; }
.page-sub { font-size: 12px; color: var(--brown-soft); margin: 4px 0 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: 13px; font-weight: 500;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.block { width: 100%; }
.btn.outline { background: transparent; color: var(--brown); border: 1.3px solid var(--brown); }
.btn.center { display: flex; margin: 22px auto 0; width: fit-content; }

/* ---------- home ---------- */
.hero { position: relative; min-height: 330px; padding-top: 14px; }
.hero h1 { font-size: 26px; line-height: 1.2; max-width: 190px; margin-left: auto; text-align: left; position: relative; z-index: 2; }
.monogram {
  position: absolute; left: -6px; top: 70px;
  font-family: var(--serif);
  font-size: 150px; font-weight: 700; letter-spacing: -8px;
  color: rgba(122, 102, 97, .35);
  line-height: 1; user-select: none;
}
.monogram small {
  display: block; margin: -6px 0 0 70px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 6px; color: rgba(122, 102, 97, .6);
}
.hero .btn { position: absolute; left: 0; bottom: 0; }

.quick { display: flex; justify-content: space-around; margin: 26px 0 22px; }
.quick a { display: grid; justify-items: center; gap: 7px; font-size: 10px; color: var(--brown-soft); }
.quick .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(74, 58, 56, .1);
  display: grid; place-items: center;
  font-size: 18px;
}
.banner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 12px; font-weight: 500; line-height: 1.5;
  box-shadow: 0 6px 18px rgba(74, 58, 56, .08);
}
.banner b { font-size: 13px; display: block; }

/* ---------- photo placeholders ---------- */
.photo {
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
}
.ph-wisuda     { background-image: var(--img, none), linear-gradient(160deg, #e9c9b8, #b98c7b); }
.ph-pesta      { background-image: var(--img, none), linear-gradient(160deg, #efd2c5, #c79a8a); }
.ph-lamaran    { background-image: var(--img, none), linear-gradient(160deg, #f1d9cd, #c4a091); }
.ph-photoshoot { background-image: var(--img, none), linear-gradient(160deg, #ead0c2, #a97d6e); }

/* ---------- package grid ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-pkg {
  position: relative;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  box-shadow: 0 6px 14px rgba(74, 58, 56, .15);
  transition: transform .2s ease;
}
.card-pkg:hover { transform: translateY(-3px); }
.card-pkg span {
  width: 100%; text-align: center;
  padding: 8px 0 7px;
  background: rgba(236, 217, 206, .92);
  font-family: var(--serif); font-size: 13px; font-weight: 600;
}

/* ---------- price detail ---------- */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(74, 58, 56, .08);
  margin-top: 14px;
}
.pkg-head { display: flex; gap: 14px; }
.pkg-head .photo { width: 92px; height: 112px; border-radius: 10px; flex-shrink: 0; }
.pkg-head h3 { font-size: 14px; line-height: 1.3; }
.price { font-family: var(--serif); font-size: 15px; font-weight: 700; margin-top: 8px; }
.sub-label { font-size: 11px; font-weight: 600; margin: 14px 0 8px; }
.checks { list-style: none; display: grid; gap: 8px; font-size: 11px; }
.checks li::before { content: "✓"; margin-right: 8px; font-weight: 700; }
.extras { display: grid; gap: 8px; font-size: 11px; }
.extras div { display: flex; justify-content: space-between; gap: 10px; }
.extras div::before { content: "+"; margin-right: 8px; }
.extras span:first-child { flex: 1; }
.other-title { font-size: 12px; font-weight: 600; margin: 20px 0 8px; }
.other {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(74, 58, 56, .07);
}
.other .photo { width: 58px; height: 58px; border-radius: 10px; }
.other h4 { font-family: var(--serif); font-size: 13px; }
.other p { font-size: 11px; color: var(--brown-soft); margin-top: 3px; }
.other::after { content: "›"; margin-left: auto; font-size: 18px; }

/* ---------- review ---------- */
.ba-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.ba { position: relative; height: 210px; border-radius: 10px; overflow: hidden; }
.ba i {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font-style: normal; font-size: 11px;
  background: rgba(236, 217, 206, .92);
  padding: 4px 18px; border-radius: 999px;
}
.ba-next {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  font-size: 14px; line-height: 1;
}
.review-card { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blush);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.review-card b { font-size: 12px; display: block; }
.stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.review-card p { font-size: 11px; font-style: italic; margin-top: 2px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); transition: background .2s; }
.dots span.on { background: var(--brown-soft); }

/* ---------- confirm ---------- */
.confirm-card { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 14px 18px; }
.confirm-card .photo { width: 110px; height: 132px; border-radius: 10px; margin-bottom: 8px; }
.confirm-card h3 { font-size: 13px; }
.confirm-card .price { margin-top: 2px; }
.confirm-card .fac { justify-self: start; width: 100%; text-align: left; }
.actions { display: grid; gap: 12px; margin-top: 26px; padding: 0 10px; }

/* ---------- booking ---------- */
.done { display: grid; justify-items: center; text-align: center; padding-top: 70px; position: relative; }
.done .tick {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--brown); color: var(--white);
  display: grid; place-items: center; font-size: 32px;
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.done h2 { font-size: 22px; margin: 14px 0 12px; }
.done p { font-size: 11px; line-height: 1.7; max-width: 240px; }
.done .btn { margin-top: 26px; }
.spark { position: absolute; color: var(--sand); font-size: 18px; }
.spark.a { top: 56px; right: 70px; }
.spark.b { top: 98px; left: 62px; font-size: 14px; }

@media (min-width: 480px) {
  .phone { box-shadow: 0 0 60px rgba(0, 0, 0, .5); }
}
