/* Inside Studio — tampilan publik. Mobile-first. */
:root {
  --ink: #142037;
  --brand: #172a4b;
  --brand-2: #24406f;
  --accent: #f0a73a;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --muted: #5d6677;
  --line: #e8e3d8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 55, .04), 0 8px 24px rgba(20, 32, 55, .06);
  --shadow-lg: 0 2px 4px rgba(20, 32, 55, .05), 0 18px 40px rgba(20, 32, 55, .12);
  --tint-sky: #e3ecf8;
  --tint-sand: #f6ead6;
  --tint-mint: #e1f0e8;
  --tint-rose: #f6e3e3;
  --tint-lilac: #ebe6f5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { flex: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.3rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(23, 42, 75, .22); }
.btn--primary:hover { background: var(--brand-2); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--brand); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 240, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand img { height: 34px; width: auto; }
.topnav { display: none; margin-left: auto; gap: 1.75rem; }
.topnav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.topnav a:hover { color: var(--ink); }
.topbar .btn { margin-left: auto; }
@media (min-width: 820px) {
  .topnav { display: flex; }
  .topbar .btn { margin-left: 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; margin-bottom: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-2);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 36em; }

/* Warna latar kartu */
.tint-sky { background: var(--tint-sky); }
.tint-sand { background: var(--tint-sand); }
.tint-mint { background: var(--tint-mint); }
.tint-rose { background: var(--tint-rose); }
.tint-lilac { background: var(--tint-lilac); }

/* Section */
.section { padding: 56px 0; }
.section--tight { padding: 8px 0 24px; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 28px; }
.section__head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
main > .section:first-child { padding-top: 32px; }
@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 40px; }
  main > .section:first-child { padding-top: 48px; }
}

/* Kartu layanan */
.services { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.service-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16 / 10; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.service-card__media img { height: 92%; width: auto; max-width: 88%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; transition: transform .35s ease; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.service-card__body h3 { margin-bottom: .25rem; }
.service-card__body p { margin-bottom: .8rem; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .75rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .5rem; list-style: none; }
.chips li { padding: .25rem .65rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }

.price-tag { font-weight: 800; font-size: 1.25rem; color: var(--brand); margin: 0; }
.price-tag small { font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: .15rem; }
.price-tag--soft { font-size: .95rem; color: var(--muted); }
.price-tag--lg { font-size: 1.6rem; margin-bottom: .75rem; }
.circle-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; transition: transform .2s ease; }
.service-card:hover .circle-arrow { transform: translateX(3px); }

/* Langkah booking */
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 12px; background: var(--accent); color: var(--brand); font-weight: 800; }
.step p { margin: 0; }

/* CTA lokasi */
.cta-band {
  display: grid; gap: 24px; align-items: center;
  padding: 32px 24px; border-radius: 28px;
  background: radial-gradient(120% 140% at 100% 0%, #2f5390 0%, var(--brand) 55%);
  color: #fff;
}
.cta-band h2 { margin-bottom: .25rem; }
.cta-band p { margin: 0; opacity: .8; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; padding: 48px; } }

/* Halaman detail */
.detail-hero { padding: 20px 0 32px; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.25rem; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.detail-hero__grid { display: grid; gap: 28px; align-items: center; }
.detail-hero__media { border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.detail-hero__media img { height: 90%; width: auto; max-width: 90%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; }
.detail-hero .chips { margin-bottom: 1.25rem; }
@media (min-width: 900px) { .detail-hero__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } .detail-hero { padding: 32px 0 48px; } }

.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; cursor: pointer; box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--brand); padding-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Paket harga */
.packages { display: grid; gap: 18px; }
@media (min-width: 700px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .packages { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.packages--single { max-width: 460px; grid-template-columns: 1fr !important; }
.package {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.package h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.package__desc { font-size: .92rem; color: var(--muted); margin-bottom: .5rem; }
.package__prices { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: .5rem 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px dashed var(--line); }
.package__prices small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.package__prices strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ticks { display: grid; gap: .6rem; padding: 0; margin: 0 0 1.25rem; list-style: none; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.ticks .icon { margin-top: 3px; color: #2f9e68; }
.ticks--plus .icon { color: var(--accent); }
.package__addons { margin-bottom: 1.25rem; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); }
.package__addons-title { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.package__addons .ticks { margin: 0; gap: .4rem; }
.package__addons .ticks li { font-size: .9rem; }
.package .btn { margin-top: auto; }
.package__badge { position: absolute; top: 18px; right: 18px; padding: .2rem .65rem; border-radius: 999px; background: var(--accent); color: var(--brand); font-size: .75rem; font-weight: 800; }
.package--featured { background: var(--brand); color: #fff; border-color: var(--brand); }
.package--featured .package__desc, .package--featured .package__prices small { color: rgba(255, 255, 255, .7); }
.package--featured .package__prices { border-color: rgba(255, 255, 255, .2); }
.package--featured .ticks .icon { color: #7ee2ad; }
.package--featured .package__addons { background: rgba(255, 255, 255, .08); }
.package--featured .package__addons-title { color: rgba(255, 255, 255, .7); }

.empty-pricing { max-width: 640px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }

.mini-services { display: grid; gap: 12px; }
@media (min-width: 700px) { .mini-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mini-services { grid-template-columns: repeat(4, 1fr); } }
.mini-service { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.mini-service:hover { border-color: var(--ink); }
.mini-service img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; mix-blend-mode: multiply; }
.mini-service span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.mini-service small { color: var(--muted); }

/* Booking */
.booking .back-link { margin-bottom: 1rem; }
.booking__head { display: flex; align-items: center; gap: 16px; margin-bottom: .75rem; }
.booking__head h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 0 0 .2rem; }
.booking__thumb { flex: none; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.booking__thumb img { height: 92%; width: auto; mix-blend-mode: multiply; }
.booking__meta { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.booking__note { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--tint-sand); font-size: .95rem; margin-bottom: 1.5rem; }
.booking__step { margin-top: 28px; }
.booking__step h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: 1.15rem; margin-bottom: 14px; }
.booking__step h2 small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: var(--brand); font-size: .9rem; font-weight: 800; align-self: center; }

.date-strip {
  display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 10px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.date-chip {
  flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center;
  width: 66px; padding: 10px 0; border-radius: 16px; text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--line); line-height: 1.2;
  transition: border-color .15s, background-color .15s;
}
.date-chip small { font-size: .75rem; font-weight: 600; color: var(--muted); }
.date-chip strong { font-size: 1.35rem; font-weight: 800; margin: 2px 0; }
.date-chip:hover { border-color: var(--ink); }
.date-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.date-chip.is-active small { color: rgba(255, 255, 255, .75); }

.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.time-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 14px; text-decoration: none; font-weight: 700;
  background: var(--surface); border: 1.5px solid var(--line); transition: border-color .15s, background-color .15s;
}
.time-chip:hover { border-color: var(--ink); }
.time-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.time-chip.is-full { color: #a8a395; background: transparent; border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.time-chip.is-full small { font-size: .7rem; text-decoration: none; }

.booking__summary { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--tint-sky); margin-bottom: 18px; }
.booking-form { padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.booking-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 16px; }
.booking-form label small { font-weight: 500; color: var(--muted); }
.booking-form input, .booking-form select, .booking-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: .8rem .9rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
}
.booking-form select {
  -webkit-appearance: none; appearance: none; height: auto; line-height: inherit; padding-right: 2.8rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23142037' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center;
}
.booking-form select:invalid { color: var(--muted); }
.booking-form select option { color: var(--ink); }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--brand); }
.booking__fine { font-size: .82rem; margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #a5281b; border: 1px solid #f5c6c0; margin: 16px 0; }
.alert ul { margin: 0; padding-left: 1.1rem; }

.done-card { padding: 32px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.done-card__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: #e1f0e8; color: #1f8a57; font-size: 2rem; font-weight: 800; }
.done-card__icon--cancel { background: #fdecea; color: #a5281b; }
.done-card h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.done-card .lead { margin: 0 auto 20px; }
.done-card__details { display: grid; gap: 0; margin: 0 auto 20px; max-width: 420px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.done-card__details div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; }
.done-card__details div + div { border-top: 1px solid var(--line); }
.done-card__details dt { color: var(--muted); font-size: .9rem; }
.done-card__details dd { margin: 0; font-weight: 700; text-align: right; }
.done-card__details .code { font-size: 1.2rem; letter-spacing: .12em; color: var(--brand); }
.done-card .actions { justify-content: center; margin-top: 18px; }

/* Carousel di HP: kartu digeser ke samping, kartu berikutnya mengintip di tepi
   kanan supaya pengunjung tahu masih ada kartu lain. Di layar lebar tetap grid. */
.swipe-hint, .carousel-dots { display: none; }
@media (max-width: 639px) {
  .carousel {
    display: flex; gap: 14px;
    margin: 0 -16px; padding: 4px 16px 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 84%; scroll-snap-align: start; }
  .carousel .reveal { opacity: 1; transform: none; }

  .swipe-hint {
    display: flex; align-items: center; gap: .35rem;
    margin: -12px 0 14px; font-size: .88rem; font-weight: 600; color: var(--muted);
  }
  .swipe-hint .icon { animation: nudge 1.4s ease-in-out infinite; }

  .carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .carousel-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: #cfc8b8; cursor: pointer; transition: width .2s ease, background-color .2s ease;
  }
  .carousel-dots button[aria-current="true"] { width: 22px; background: var(--brand); }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Footer */
.footer { padding: 40px 0 96px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo { height: 30px; width: auto; margin-bottom: .5rem; }
.footer__bottom { margin-top: 20px; font-size: .85rem; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: background-color .15s, color .15s; }
.socials a:hover { background: var(--brand); color: #fff; }
@media (min-width: 820px) { .footer { padding-bottom: 40px; } }

/* Tombol WhatsApp melayang */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.06); }

/* Animasi muncul saat discroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .swipe-hint .icon { animation: none; }
  * { transition: none !important; }
}
