/* ============================================================
   Salon Nabilah Muslimah — stylesheet
   Palet: teal tua, krem, terakota, emas. Tipografi: Cormorant + Jost.
   ============================================================ */

:root {
  --teal: #14433F;
  --teal-2: #1D5A55;
  --teal-3: #0B2B29;
  --rose: #C08472;
  --rose-2: #A9665B;
  --rose-soft: #E9D3C9;
  --cream: #FAF8F4;
  --sand: #EDE8DF;
  --gold: #C2A15C;
  --ink: #2A1A24;
  --muted: #7A6672;
  --line: rgba(20, 67, 63, .14);

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --r: 4px;
  --shadow: 0 18px 50px -24px rgba(20, 67, 63, .32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--teal);
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1rem; }

em { font-style: italic; color: var(--rose-2); }

.wrap {
  width: min(100% - 2.6rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { max-width: 780px; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; fill: none; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--teal);
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar p {
  margin: 0;
  padding: .55rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
}
.topbar .ico { width: .95em; height: .95em; opacity: .8; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 38px; height: 38px;
  color: var(--teal);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--ff-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--teal);
}
.brand__text small {
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-2);
  margin-top: .28rem;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--teal);
  position: relative;
  padding: .25rem 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--rose-2);
  transition: width .3s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav__close { display: none; }

.menu {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.menu span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--teal);
  transition: transform .3s, opacity .3s;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .92rem 1.7rem;
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
.btn--solid { background: var(--teal); color: #fff; }
.btn--solid:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(20, 67, 63, .3); color: var(--teal); background: none; }
.btn--ghost:hover { border-color: var(--teal); background: rgba(20, 67, 63, .05); }
.btn--sm { padding: .62rem 1.15rem; font-size: .78rem; }
.btn--block { width: 100%; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-2);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle at 70% 30%, rgba(233, 211, 201, .5), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
}
.hero__copy h1 { margin-bottom: 1.5rem; }
.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 2.6rem;
}
.hero__stats {
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  margin: 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-family: var(--ff-display);
  font-size: 1.85rem;
  color: var(--teal);
  line-height: 1;
}
.hero__stats dd {
  margin: .35rem 0 0;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- arch (ilustrasi) ---------- */
.hero__art { position: relative; display: grid; place-items: center; }
.arch {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px;
  background: linear-gradient(170deg, var(--rose-soft), var(--sand));
  overflow: hidden;
  display: grid;
  place-items: end center;
  box-shadow: var(--shadow);
}
.arch__figure { width: 88%; height: 92%; display: block; }
.arch__tag {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(250, 248, 244, .94);
  color: var(--teal);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .45rem .95rem;
  border-radius: 999px;
  white-space: nowrap;
}
.arch--sm { max-width: none; width: 100%; aspect-ratio: 4 / 4.6; box-shadow: none; }
.arch--dark { background: linear-gradient(170deg, #1D5A55, #0B2B29); width: 330px; max-width: 100%; }

.hero__ornament {
  position: absolute;
  width: 125%; max-width: 470px;
  color: var(--rose);
  pointer-events: none;
  z-index: -1;
}

/* ---------- strip ---------- */
.strip {
  background: var(--teal);
  color: rgba(255, 255, 255, .9);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
}
.strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-size: .82rem;
  letter-spacing: .03em;
  text-align: center;
}
.strip__item .ico { color: var(--rose-soft); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tint { background: var(--sand); }
.section--dark { background: var(--teal-3); color: rgba(255, 255, 255, .78); }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--rose-soft); }

.sec-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__sub { margin-top: 1rem; color: var(--muted); font-size: .98rem; }
.section--dark .sec-head__sub { color: rgba(255, 255, 255, .62); }

/* ---------- grid & cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.7rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(192, 132, 114, .5);
}
.card__ico {
  width: 30px; height: 30px;
  color: var(--rose-2);
  margin-bottom: 1.2rem;
  display: block;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__price {
  margin-top: 1.1rem !important;
  font-size: .8rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

/* ---------- paket ---------- */
.paket { align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  background: var(--teal);
  color: rgba(255, 255, 255, .8);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__note { color: rgba(255, 255, 255, .6); }
.plan h3 {
  font-size: .82rem;
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-2);
  margin-bottom: 1rem;
}
.plan__badge {
  position: absolute;
  top: 0; right: 1.5rem;
  transform: translateY(-50%);
  background: var(--gold);
  color: #fff;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.plan__price {
  font-family: var(--ff-display);
  font-size: 2.9rem;
  line-height: 1;
  color: var(--teal);
  margin: 0 0 .3rem;
}
.plan__price span { font-size: 1.1rem; vertical-align: .5rem; margin-right: .15rem; }
.plan__note { font-size: .8rem; color: var(--muted); margin: 0 0 1.5rem; }
.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.9rem;
  display: grid;
  gap: .7rem;
  font-size: .93rem;
  flex: 1;
}
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan__list .ico { color: var(--gold); margin-top: .3rem; }
.plan--featured .plan__list .ico { color: var(--rose-soft); }

.fineprint {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 1.6rem;
}

/* ---------- galeri ---------- */
.galeri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.galeri__item { margin: 0; }
.galeri__item .arch {
  background: linear-gradient(170deg, #fff, var(--sand));
  border: 1px solid var(--line);
}
.galeri__item svg { width: 86%; height: 92%; }
.galeri__item figcaption {
  text-align: center;
  margin-top: .9rem;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- fasilitas ---------- */
.fasilitas {
  display: grid;
  grid-template-columns: 1.05fr .8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.fasilitas__copy p { color: rgba(255, 255, 255, .66); max-width: 48ch; }
.fasilitas__list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.3rem;
}
.fasilitas__list li { display: flex; gap: .85rem; }
.fasilitas__list .ico { color: var(--rose); margin-top: .25rem; }
.fasilitas__list strong { display: block; color: #fff; font-weight: 500; font-size: .98rem; }
.fasilitas__list span { font-size: .9rem; color: rgba(255, 255, 255, .55); }
.fasilitas__art { display: grid; gap: 1.8rem; justify-items: center; align-items: start; }
.quote {
  margin: 0;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(192, 132, 114, .55);
  max-width: 330px;
}
.quote p {
  font-family: var(--ff-display);
  font-size: 1.24rem;
  font-style: italic;
  color: rgba(255, 255, 255, .9);
  line-height: 1.45;
}
.quote cite {
  font-size: .76rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  font-style: normal;
}

/* ---------- alur ---------- */
.alur {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.alur li {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.alur__num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--rose);
  display: block;
  margin-bottom: .6rem;
}
.alur h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.alur p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- testi ---------- */
.testi {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.testi blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--teal);
  font-style: italic;
}
.testi figcaption {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  color: var(--muted);
  margin-top: auto;
}
.testi__av {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid; place-items: center;
  overflow: hidden;
  flex: none;
}
.testi__av svg { width: 26px; height: 26px; }

/* ---------- booking ---------- */
.booking {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.booking__copy p { color: var(--muted); max-width: 42ch; }
.booking__hours {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: .8rem;
  font-size: .9rem;
  color: var(--teal);
}
.booking__hours li { display: flex; gap: .6rem; align-items: center; }
.booking__hours .ico { color: var(--rose-2); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: .4rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.field label {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.field .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 300; }
.field input, .field select, .field textarea {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .78rem .9rem;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose-2);
  background: #fff;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #B03A48;
  background: #FDF3F4;
}
.field__err {
  font-size: .78rem;
  color: #B03A48;
  min-height: 0;
}
.form__note { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  padding: 1.15rem 2.2rem 1.15rem 0;
  font-family: var(--ff-display);
  font-size: 1.16rem;
  color: var(--teal);
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-body);
  font-size: 1.3rem;
  color: var(--rose-2);
  transition: transform .3s;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: .95rem;
  max-width: 62ch;
}

/* ---------- footer ---------- */
.footer {
  background: var(--teal-3);
  color: rgba(255, 255, 255, .62);
  padding: clamp(3rem, 5vw, 4.5rem) 0 0;
  font-size: .9rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer__brand .brand__text strong { color: #fff; font-size: 1.4rem; }
.footer__brand p { margin: 1rem 0 1.4rem; max-width: 30ch; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .25s, color .25s;
}
.footer__social a:hover { border-color: var(--rose); color: #fff; }
.footer__col h3 {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
.footer__col a, .footer__col p { display: block; margin: 0 0 .6rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
}
.footer__bottom p { margin: 0; }

/* ---------- fab ---------- */
.fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .7);
  z-index: 50;
  transition: transform .25s;
}
.fab:hover { transform: scale(1.06); }
.fab .ico { width: 27px; height: 27px; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; justify-items: start; }
  .arch { max-width: 290px; }
  .hero__ornament { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .galeri { grid-template-columns: repeat(2, 1fr); }
  .fasilitas { grid-template-columns: 1fr; }
  .fasilitas__art { justify-items: start; }
  .alur { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header { position: relative; }
  .menu { display: grid; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 340px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5.2rem 1.9rem 2rem;
    gap: 1.4rem;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transition: opacity .3s ease, visibility .3s, clip-path .42s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -20px 0 60px -30px rgba(20, 67, 63, .45);
    z-index: 70;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
  .nav a { font-size: 1.05rem; }
  .nav__cta { margin-top: .6rem; }

  .nav__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--teal);
    cursor: pointer;
    padding: 0;
  }

  body.nav-open { overflow: hidden; }

  .strip__inner { grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
  .strip__item { justify-content: flex-start; text-align: left; font-size: .76rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--3, .galeri { grid-template-columns: 1fr; }
  .alur { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 1.4rem 2rem; }
  .hero__stats dt { font-size: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
  .plan__price { font-size: 2.5rem; }
  .arch { max-width: 250px; }
  .btn { padding: .85rem 1.3rem; font-size: .82rem; }
  .topbar p { font-size: .68rem; letter-spacing: .06em; }
  .fab { width: 50px; height: 50px; }
}
