/* Salon & Sanggar Rias Dian Ayu · dianayu.my.id */
:root {
  --ivory: #F7F2EA; --cream: #EFE6D8; --ink: #2B2420; --ink-2: #6A5D53;
  --blue: #55698C; --blue-dark: #3F5170; --gold: #A9844A; --line: #E2D7C6; --wa: #1F9D55;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: 'Figtree', system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-dark); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: 16px; top: -80px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 99; }
.skip:focus { top: 12px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s, color .2s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 242, 234, .96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1; }
.brand b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; }
.brand small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.top nav { margin-left: auto; }
.top nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.top nav a { display: block; padding: 8px 12px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 999px; }
.top nav a:hover { color: var(--ink); background: var(--cream); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; border-bottom: 1px solid var(--line); }
.hero__text { padding: 72px 56px 72px max(24px, calc((100vw - 1160px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.hero__place { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero__lead { margin: 22px 0 32px; font-size: 19px; max-width: 480px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { position: relative; overflow: hidden; background: var(--cream); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; position: absolute; inset: 0; }

/* Sections */
.sec { padding: 96px 0; }
.sec--cream { background: var(--cream); }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.sec__head h2 { font-size: clamp(36px, 4.4vw, 54px); max-width: 620px; }
.sec__head p { max-width: 420px; }

/* Galeri */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; }
.gallery button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.gallery button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: 14px; color: var(--ink-2); padding: 8px 2px 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 16, 14, .88); }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 4px; }
.lightbox p { color: #EDE5D8; text-align: center; padding-top: 10px; font-size: 15px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; cursor: pointer; }

/* Layanan */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.service { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.service img { width: 120px; height: 150px; object-fit: cover; border-radius: 4px; }
.service h3 { font-size: 28px; margin-bottom: 6px; }

/* Tim */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.person__role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.person h3 { font-size: 34px; }
.person .btn { align-self: flex-start; margin-top: 12px; }

/* Proses */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 6px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; line-height: 1; color: var(--gold); }
.steps b { display: block; font-weight: 600; }

/* Lokasi */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.visit__info { background: var(--ink); color: #F3EBDF; border-radius: 8px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.visit__info h2 { font-size: clamp(34px, 4vw, 48px); color: #fff; }
.visit__row { display: flex; gap: 14px; align-items: flex-start; }
.visit__row svg { color: var(--gold); margin-top: 3px; }
.visit__row a { color: #fff; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.map { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--ink-2); }
.foot a { color: var(--ink-2); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #17834A; color: #fff; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { height: 72vw; max-height: 560px; order: -1; }
  .hero__text { padding: 40px 24px 56px; }
  .services, .team, .split, .visit { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 64px 0; }
  .service { grid-template-columns: 96px 1fr; gap: 18px; }
  .service img { width: 96px; height: 120px; }
  .person, .visit__info { padding: 26px; }
  .hero__btns .btn { width: 100%; }
  .brand b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
