/* RR Hair Care — beranda, desain Des 2026.
   Warna dari brand RR di Instagram: blush + mawar tua. Judul Bodoni Moda,
   teks Schibsted Grotesk. Satu hal mencolok: helai rambut 3D di pembuka. */
:root {
  --blush: #F4DCD8;
  --blush-terang: #FBEFEC;
  --mawar: #6E1A33;
  --mawar-gelap: #4A0F22;
  --tinta: #2A1119;
  --redup: #73545C;
  --garis: rgba(42, 17, 25, .16);
  --judul: 'Bodoni Moda', 'Didot', Georgia, serif;
  --teks: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 4.5vw, 3.5rem);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--blush); color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--teks); -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--mawar); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.lewati { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--mawar); color: var(--blush-terang); padding: .6rem 1rem; border-radius: 8px; }
.lewati:focus { left: 8px; }

/* ── Tombol & tautan ── */
.tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--mawar); color: var(--blush-terang); text-decoration: none;
  font: 600 1rem/1 var(--teks); padding: 1.05rem 1.6rem; border-radius: 999px; border: 0;
  cursor: pointer; transition: background .25s, transform .25s var(--ease);
}
.tombol:hover { background: var(--mawar-gelap); }
.tombol:active { transform: scale(.98); }
.tombol-kecil { padding: .75rem 1.15rem; font-size: .92rem; }
.tombol-terang { background: var(--blush-terang); color: var(--mawar); }
.tombol-terang:hover { background: #fff; }
.tautan {
  color: var(--mawar); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .3em; transition: text-underline-offset .2s;
}
.tautan:hover { text-underline-offset: .45em; }

/* ── Navigasi ── */
#navbar {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad); transition: background .3s, box-shadow .3s;
}
#navbar.lewat { background: rgba(244, 220, 216, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--garis); }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 1.25rem/1 var(--judul); }
.logo img { border-radius: 50%; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: .7rem 1.4rem; border-radius: 999px; background: rgba(251, 239, 236, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#navbar.lewat .nav-links { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--mawar); }
.nav-kanan { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.hamburger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--tinta); transition: transform .3s var(--ease); }
.hamburger i:first-child { top: 17px; } .hamburger i:last-child { top: 25px; }
body.menu-open .hamburger i:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .hamburger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--blush); padding: 96px var(--pad) 2rem;
  display: flex; flex-direction: column; gap: .2rem; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu a { font: 500 2.3rem/1.25 var(--judul); text-decoration: none; }
.mobile-menu .mm-utama { color: var(--mawar); font-style: italic; }

/* ── Pembuka: rambut 3D ── */
.hero { position: relative; height: 185svh; }
.hero-pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  align-items: end; gap: 2rem; padding: 0 var(--pad) 8svh;
}
#rambut {
  position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 46%);
          mask-image: linear-gradient(to right, transparent 4%, #000 46%);
}
.hero-isi { position: relative; grid-column: 1; grid-row: 2; max-width: 40rem; }
.hero-h1 { font: 500 1rem/1.4 var(--teks); color: var(--redup); margin-bottom: 1.1rem; }
.hero-judul {
  font: 500 clamp(3.4rem, 7.6vw, 7.8rem)/.9 var(--judul); letter-spacing: -.025em;
  color: var(--mawar-gelap); font-variation-settings: 'opsz' 96;
}
.hero-lead { max-width: 30rem; margin-top: 1.5rem; font-size: 1.1rem; }
.hero-aksi { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 2rem; }
.warna {
  position: relative; grid-column: 2; grid-row: 2; justify-self: end;
  background: rgba(251, 239, 236, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--garis); border-radius: 20px; padding: 1rem 1.1rem 1.05rem; width: max-content;
}
.warna-judul { font-size: .9rem; color: var(--redup); }
.warna-judul span { color: var(--tinta); font-weight: 600; }
.warna-pil { display: flex; gap: .55rem; margin: .75rem 0 .8rem; }
.warna-pil button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(160deg, var(--b) 10%, var(--a) 90%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .2s var(--ease);
}
.warna-pil button:hover { transform: scale(1.08); }
.warna-pil button[aria-pressed="true"] { outline: 2px solid var(--mawar); outline-offset: 3px; }
.warna-harga { font-size: .9rem; }
.warna-harga span { font-weight: 600; color: var(--mawar); }
.hero-jam { position: absolute; top: 96px; left: var(--pad); font-size: .9rem; color: var(--redup); line-height: 1.5; }
.hero.no-gl .hero-pin { background: radial-gradient(60% 80% at 75% 20%, #b0566f 0%, #6e1a33 35%, transparent 70%); }
.hero.no-gl .warna { display: none; }

/* ── Bagian umum ── */
.bagian { padding: clamp(5rem, 11vw, 9rem) 0; }
.kepala { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.kepala h2, .price-aside h2, .about-text h2, .booking-teks h2 {
  font: 500 clamp(2.3rem, 5vw, 4.3rem)/1.02 var(--judul); letter-spacing: -.02em; font-variation-settings: 'opsz' 72;
}
.kepala p { color: var(--redup); max-width: 34rem; }

/* ── Layanan: baris-baris ── */
.services-grid { border-top: 1px solid var(--garis); }
.service-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: .5rem 2.5rem;
  align-items: baseline; padding: 1.7rem 0; border-bottom: 1px solid var(--garis); cursor: pointer;
}
.service-photo { display: none; }
.service-body { display: contents; }
.service-name { font: 500 clamp(1.75rem, 3.3vw, 2.75rem)/1.1 var(--judul); transition: color .25s, transform .35s var(--ease); }
.service-desc { color: var(--redup); }
.service-meta { font-weight: 600; color: var(--mawar); white-space: nowrap; font-size: .95rem; }
.service-card:hover .service-name, .service-card:focus-visible .service-name { color: var(--mawar); transform: translateX(10px); }
.services-note { margin-top: 2rem; color: var(--redup); max-width: 42rem; }
.services-note a { color: var(--mawar); font-weight: 600; }

/* ── Daftar harga ── */
#harga { background: var(--blush-terang); }
.price-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.price-aside { position: sticky; top: 104px; }
.price-aside p { color: var(--redup); margin: 1.3rem 0 2rem; max-width: 26rem; }
.price-wrap { border-top: 1px solid var(--garis); }
.price-cat { border-bottom: 1px solid var(--garis); }
.price-cat summary {
  list-style: none; display: flex; align-items: baseline; gap: 1rem; padding: 1.25rem 0; cursor: pointer;
}
.price-cat summary::-webkit-details-marker { display: none; }
.price-cat h3 { font: 500 1.65rem/1.15 var(--judul); flex: 1; }
.pc-count { color: var(--redup); font-size: .9rem; }
.pc-chev { color: var(--mawar); transition: transform .3s var(--ease); display: inline-block; }
.price-cat[open] .pc-chev { transform: rotate(180deg); }
.pc-items { padding: 0 0 1.4rem; }
.price-row { display: flex; align-items: baseline; gap: .75rem; padding: .55rem 0; }
.price-row .pn { min-width: 0; }
.pd { color: var(--redup); font-size: .88rem; }
.pk { display: block; color: var(--redup); font-size: .85rem; }
.leader { flex: 1; border-bottom: 1px dotted rgba(42, 17, 25, .35); transform: translateY(-.3em); min-width: 1.5rem; }
.pp { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp .was { color: var(--redup); text-decoration: line-through; font-weight: 400; margin-right: .5rem; }
.pp .now { color: var(--mawar); }

/* ── Galeri ── */
.gallery-grid {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad); scroll-padding: 0 var(--pad);
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-item { flex: none; height: clamp(320px, 42vw, 540px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--blush-terang); }
.gallery-item:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { display: none; }
.gal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.gal-ctrl { display: flex; gap: .6rem; }
.gal-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--garis); background: none; cursor: pointer; display: grid; place-items: center; color: var(--tinta); }
.gal-btn:hover { background: var(--blush-terang); }
.gal-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ── Tentang: foto dalam bingkai cermin melengkung ── */
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: center; }
.about-visual { display: grid; gap: 1rem; justify-items: center; }
.about-visual [data-slot][hidden] { display: none; }
.about-visual [data-slot] { width: min(100%, 420px); aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; overflow: hidden; border: 1px solid var(--garis); padding: 10px; background: var(--blush-terang); }
.about-visual [data-slot] img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 16px 16px; cursor: zoom-in; }
.about-text p { margin-top: 1.3rem; max-width: 34rem; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--garis); }
.founders dt { font: 500 1.45rem/1.2 var(--judul); }
.founders dd { color: var(--redup); font-size: .92rem; margin-top: .3rem; }

/* ── Booking ── */
#booking { background: var(--mawar); color: var(--blush-terang); }
.booking-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.booking-teks > p { margin-top: 1.3rem; max-width: 28rem; opacity: .86; }
.bk-info { margin-top: 2.2rem; display: grid; gap: 1rem; }
.bk-info div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(251, 239, 236, .2); }
.bk-info dt { opacity: .7; font-size: .9rem; }
.bk-info a { color: inherit; font-weight: 600; }
.booking-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: grid; gap: .45rem; }
.form-group label { font-size: .88rem; opacity: .85; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--teks); color: var(--blush-terang); color-scheme: dark;
  background: rgba(251, 239, 236, .08); border: 1px solid rgba(251, 239, 236, .28); border-radius: 12px;
  padding: .85rem 1rem; transition: border-color .2s, background .2s;
}
.booking-form select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBEFEC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.booking-form select option { color: var(--tinta); background: #fff; }
.booking-form textarea { min-height: 110px; resize: vertical; }
.booking-form input::placeholder, .booking-form textarea::placeholder { color: rgba(251, 239, 236, .5); }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--blush-terang); background: rgba(251, 239, 236, .14); }
#booking :focus-visible { outline-color: var(--blush-terang); }
.btn-booking { justify-self: start; margin-top: .4rem; }
.booking-note { font-size: .85rem; opacity: .7; }

/* ── Lokasi ── */
.map-wrapper { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.map-frame { border-radius: 24px; overflow: hidden; min-height: 420px; background: var(--blush-terang); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-card dl { display: grid; gap: 1.1rem; }
.map-card dl div { padding-bottom: 1.1rem; border-bottom: 1px solid var(--garis); }
.map-card dt { font-size: .88rem; color: var(--redup); }
.map-card dd { margin-top: .25rem; }
.map-card dd a { color: var(--mawar); font-weight: 600; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.3rem; margin-top: 1.6rem; }

/* ── Karir ── */
#karir { padding-top: 0; }
.karir-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.karir-card { padding: 1.6rem 0; border-top: 1px solid var(--garis); display: grid; gap: .45rem; align-content: start; }
.karir-title { font: 500 1.6rem/1.2 var(--judul); }
.karir-type { color: var(--redup); font-size: .9rem; }
.karir-req { max-width: 32rem; }
.karir-card .tautan { justify-self: start; margin-top: .4rem; }

/* ── Footer ── */
footer { background: var(--tinta); color: var(--blush); padding: clamp(4rem, 9vw, 7rem) 0 2rem; }
.footer-atas { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(244, 220, 216, .16); }
.footer-besar { font: 500 clamp(3.4rem, 11vw, 10rem)/.88 var(--judul); letter-spacing: -.03em; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 3rem 0; }
.footer-col h4 { font: 500 .9rem var(--teks); opacity: .6; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-socials { display: flex; gap: .7rem; }
.footer-socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244, 220, 216, .3); display: grid; place-items: center; }
.footer-socials a:hover { background: rgba(244, 220, 216, .1); text-decoration: none; }
.footer-bottom { display: grid; gap: .6rem; font-size: .85rem; opacity: .65; padding-top: 1.6rem; border-top: 1px solid rgba(244, 220, 216, .16); }
footer :focus-visible { outline-color: var(--blush); }

/* ── WhatsApp melayang, toast, lightbox ── */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--mawar); color: var(--blush-terang); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(74, 15, 34, .55); }
.wa-float .ico { width: 26px; height: 26px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 24px); opacity: 0; background: var(--tinta); color: var(--blush-terang); padding: .9rem 1.4rem; border-radius: 14px; font-size: .92rem; transition: opacity .35s, transform .35s var(--ease); pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(42, 17, 25, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 14px; }
.lightbox-caption { color: var(--blush); margin-top: 14px; text-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: var(--blush); font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* ── Layar sedang & kecil ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .kepala, .price-layout, .about-inner, .booking-inner, .map-wrapper { grid-template-columns: 1fr; }
  .price-aside { position: static; }
  .service-card { grid-template-columns: minmax(0, 1fr) auto; }
  .service-desc { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .hero { height: 165svh; }
  .hero-pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; gap: 1.4rem; padding-bottom: 4svh; }
  #rambut {
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 56%);
            mask-image: linear-gradient(to bottom, #000 30%, transparent 56%);
  }
  .warna { grid-column: 1; grid-row: 2; justify-self: start; }
  .hero-isi { grid-row: 3; }
  .hero-jam { display: none; }
  .hero-lead { font-size: 1rem; margin-top: 1rem; }
  .hero-aksi { margin-top: 1.4rem; }
  .warna-pil button { width: 34px; height: 34px; }
  .service-card { grid-template-columns: 1fr; padding: 1.4rem 0; }
  .service-meta { grid-row: 3; }
  .form-row, .founders, .karir-list, .footer-inner { grid-template-columns: 1fr; }
  .bk-info div { grid-template-columns: 1fr; gap: .2rem; }
  .nav-kanan .tombol-kecil { padding: .65rem 1rem; }
  #navbar { background: rgba(244, 220, 216, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
