/* Müşteri tarafı. Renkler --p (ana) ve --a (vurgu) değişkenlerinden türetilir. */
:root {
  --p: #14A38B;
  --a: #FF8A6B;
  --ink: #14302B;
  --muted: #5B716C;
  --bg: #F4FAF8;
  --card: rgba(255, 255, 255, .86);
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --p-soft: color-mix(in srgb, var(--p) 11%, white);
  --p-mid: color-mix(in srgb, var(--p) 32%, white);
  --p-deep: color-mix(in srgb, var(--p) 78%, black);
  --shadow: 0 24px 60px -28px color-mix(in srgb, var(--p) 55%, transparent), 0 2px 6px rgba(20, 48, 43, .05);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
  font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
body.has-bar { padding-bottom: 96px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
a { color: var(--p-deep); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--p) 55%, white); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Arka plandaki yavaş hareket eden ışık lekeleri */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.sky i:nth-child(1) { width: 62vmax; height: 62vmax; left: -22vmax; top: -26vmax; background: color-mix(in srgb, var(--p) 30%, white); }
.sky i:nth-child(2) { width: 46vmax; height: 46vmax; right: -16vmax; top: 8vmax; background: color-mix(in srgb, var(--a) 28%, white); }
.sky i:nth-child(3) { width: 50vmax; height: 50vmax; left: 18vmax; bottom: -30vmax; background: color-mix(in srgb, var(--p) 16%, #EDE9FF); }
.fx .sky i { animation: drift 26s ease-in-out infinite alternate; }
.fx .sky i:nth-child(2) { animation-duration: 32s; animation-direction: alternate-reverse; }
.fx .sky i:nth-child(3) { animation-duration: 38s; }
@keyframes drift { to { transform: translate3d(7vmax, 5vmax, 0) scale(1.14); } }

/* Üst şerit */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1080px; margin: 0 auto; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.15rem var(--display); letter-spacing: -.02em; }
.brand img { height: 38px; width: auto; max-width: 120px; object-fit: contain; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { padding: 8px 12px; border-radius: 99px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.top nav a:hover { background: rgba(255, 255, 255, .7); }
.install { border: 0; background: var(--ink); color: #fff; padding: 9px 15px; border-radius: 99px; font-weight: 600; font-size: .88rem; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 56px; }
main.narrow { max-width: 600px; padding-top: 20px; }

/* Karşılama */
.hero { padding: 26px 4px 30px; max-width: 760px; }
.hero h1 { font-size: clamp(2.7rem, 10.5vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.fx .hero h1 { animation: rise .9s var(--ease) both; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--muted); margin: 14px 0 0; max-width: 34ch; }
.fx .lead { animation: rise .9s .12s var(--ease) both; }
.state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 13px 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .75); font-size: .88rem; font-weight: 600; color: var(--muted); }
.state::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #B8C4C1; }
.state.on { color: var(--p-deep); }
.state.on::before { background: var(--p); box-shadow: 0 0 0 0 var(--p); }
.fx .state.on::before { animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Kart */
.card { background: var(--card); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 30px; box-shadow: var(--shadow); }
.card.pad { padding: 28px 22px; }
.fx .wizard { animation: rise 1s .2s var(--ease) both; }

/* Sihirbaz */
.wizard { padding: 22px 16px 24px; max-width: 760px; }
.track { position: relative; height: 30px; margin: 0 16px 14px; }
.track-line { position: absolute; left: 0; right: 0; top: 14px; height: 0; border-top: 2px dashed var(--p-mid); }
.track-line span { position: absolute; left: 0; top: -3px; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--p), var(--a)); transition: width .7s var(--ease); }
#scissors { position: absolute; top: 2px; left: 0; margin-left: -13px; color: var(--ink); background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 3px 10px -3px rgba(20, 48, 43, .35); transform: rotate(90deg); transition: left .7s var(--ease); }
#scissors circle { fill: #fff; }
.fx #scissors.snip { animation: snip .7s ease-in-out; }
@keyframes snip { 0%, 100% { transform: rotate(90deg); } 25%, 75% { transform: rotate(68deg) scale(1.12); } 50% { transform: rotate(108deg) scale(1.12); } }

.steps-head { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; margin-bottom: 14px; }
.steps-head h2 { font-size: clamp(1.3rem, 4.6vw, 1.75rem); font-weight: 600; flex: 1; }
.count { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.back { border: 0; background: var(--p-soft); color: var(--p-deep); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .2s; }
.back:hover { transform: translateX(-3px); }

.stage { transition: opacity .4s var(--ease), transform .4s var(--ease); min-height: 120px; }
.stage.from-right { opacity: 0; transform: translateX(26px); }
.stage.from-left { opacity: 0; transform: translateX(-26px); }
.stage.in { opacity: 1; transform: none; }

.cat { font: 600 .82rem var(--body); letter-spacing: .01em; color: var(--muted); margin: 18px 6px 6px; }
.cat:first-child { margin-top: 0; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; margin: 0; }
.center { text-align: center; }
.err { margin: 12px 4px; padding: 11px 14px; border-radius: 14px; background: #FFF0EC; color: #A2341A; font-size: .93rem; font-weight: 500; }

/* Hizmet satırları */
.srv-list { border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.srv { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: transparent; padding: 13px 14px; border-bottom: 1px solid var(--line); transition: background .25s; }
.srv:last-child { border-bottom: 0; }
.srv:hover { background: var(--p-soft); }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--p-mid); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.tick svg { stroke-width: 3; opacity: 0; transform: scale(.4); transition: all .3s var(--ease); }
.srv.sel { background: var(--p-soft); }
.srv.sel .tick { background: var(--p); border-color: var(--p); transform: scale(1.08); }
.srv.sel .tick svg { opacity: 1; transform: none; }
.srv-main { flex: 1; min-width: 0; }
.srv-main strong { display: block; font-weight: 600; }
.srv-main small { display: block; color: var(--muted); font-size: .85rem; }
.srv-meta { text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.srv-meta em { display: block; font-style: normal; color: var(--muted); font-size: .85rem; }
.srv-meta b { font-weight: 700; }

/* Seçim kutuları */
.pick2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px 16px; border-radius: 24px; border: 2px solid transparent; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -18px color-mix(in srgb, var(--p) 70%, transparent); }
.tile.sel { border-color: var(--p); background: var(--p-soft); }
.tile strong { font-weight: 600; }
.tile small { color: var(--muted); font-size: .84rem; }
.orb { width: 74px; height: 74px; border-radius: 50%; margin-bottom: 4px; }
.orb.female { background: radial-gradient(circle at 30% 28%, #fff 0 12%, transparent 13%), linear-gradient(140deg, color-mix(in srgb, var(--a) 60%, white), var(--a)); }
.orb.male { background: radial-gradient(circle at 30% 28%, #fff 0 12%, transparent 13%), linear-gradient(140deg, color-mix(in srgb, var(--p) 50%, white), var(--p)); }
.fx .tile:hover .orb { animation: bob 1.2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-5px) scale(1.04); } }

/* Ayna biçimli portreler */
.oval { --c: var(--p); position: relative; width: 132px; aspect-ratio: 3 / 4; border-radius: 50%; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, white), color-mix(in srgb, var(--c) 55%, white)); display: grid; place-items: center; }
.oval::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c) 45%, white); transform: rotate(-8deg) scale(1.01, .985); pointer-events: none; }
.oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.oval span { font: 800 2.1rem var(--display); color: color-mix(in srgb, var(--c) 80%, black); }
.oval.sm { width: 66px; margin-bottom: 8px; }
.oval.sm::after { inset: -5px; }
.oval.sm span { font-size: 1.25rem; }
.oval.any { background: repeating-linear-gradient(135deg, var(--p-soft) 0 8px, #fff 8px 16px); }

/* Günler ve saatler */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: none; width: 60px; padding: 9px 0; border-radius: 18px; border: 0; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; scroll-snap-align: center; transition: transform .25s var(--ease), background .2s; }
.day small { font-size: .74rem; color: var(--muted); }
.day strong { font: 600 1.25rem var(--display); }
.day:not(:disabled):hover { transform: translateY(-3px); }
.day:disabled { opacity: .38; cursor: not-allowed; }
.day.sel { background: var(--ink); color: #fff; box-shadow: none; }
.day.sel small { color: rgba(255, 255, 255, .75); }
.day-name { margin: 4px 6px 0; font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time { padding: 11px 0; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; transition: transform .2s var(--ease), background .2s, color .2s; }
.fx .time { animation: pop .45s calc(var(--i) * 22ms) var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
.time:hover { background: var(--p-soft); transform: scale(1.05); }
.time.sel { background: var(--p); color: #fff; box-shadow: 0 10px 20px -10px var(--p); }

.loading { display: flex; justify-content: center; gap: 8px; padding: 44px 0; }
.loading i { width: 11px; height: 11px; border-radius: 50%; background: var(--p); animation: beat .9s infinite alternate; }
.loading i:nth-child(2) { animation-delay: .15s; }
.loading i:nth-child(3) { animation-delay: .3s; background: var(--a); }
@keyframes beat { to { transform: translateY(-9px); opacity: .4; } }

/* Form */
form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 4px var(--p-soft); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 16px; }
label.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--p); }

.sum { margin: 0 0 6px; padding: 14px 16px; border-radius: 18px; background: var(--p-soft); }
.sum div { display: flex; gap: 12px; padding: 5px 0; }
.sum dt { flex: none; width: 82px; color: var(--muted); font-size: .88rem; }
.sum dd { margin: 0; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 99px; padding: 14px 24px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px var(--ink); }
.btn:active { transform: scale(.97); }
.btn.wide { width: 100%; margin-top: 18px; padding: 16px; font-size: 1.05rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.danger { background: #fff; color: #B3261E; box-shadow: inset 0 0 0 1.5px #F1C4BF; }
.btn:disabled { opacity: .6; cursor: wait; }
.fx .btn.wait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); animation: sweep 1s infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Alt çubuk */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); animation: up .45s var(--ease); }
.bar[hidden] { display: none; }
.bar-in { max-width: 736px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 99px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 44px -14px rgba(20, 48, 43, .4), inset 0 0 0 1px var(--line); }
.bar-txt { flex: 1; min-width: 0; line-height: 1.25; }
.bar-txt strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-txt span { font-size: .85rem; color: var(--muted); }
.bar .btn { background: var(--p); padding: 13px 22px; }
@keyframes up { from { transform: translateY(110%); } }

/* Tamamlandı */
.done { text-align: center; padding: 10px 6px 4px; }
.done h3 { font-size: 1.6rem; font-weight: 800; margin: 14px 0 8px; }
.done p { margin: 6px 0; }
.seal { color: var(--p); }
.seal circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .1s ease-out forwards; }
.seal path { stroke-width: 3.5; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .45s .65s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 20px; }
.muted { color: var(--muted); font-size: .93rem; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: var(--w); height: calc(var(--w) * 1.7); border-radius: 2px; background: var(--p); filter: hue-rotate(var(--h)); animation: fall var(--d) cubic-bezier(.3, .6, .6, 1) forwards; }
.confetti i:nth-child(3n) { background: var(--a); }
.confetti i:nth-child(4n) { background: #FFD166; border-radius: 50%; }
@keyframes fall { to { transform: translateY(108vh) rotate(var(--r)); opacity: .9; } }

/* Alt bölümler */
.block { margin-top: 64px; padding: 0 4px; }
.block h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; margin-bottom: 22px; }
.block.two { display: grid; gap: 40px; }
.team { display: flex; flex-wrap: wrap; gap: 30px 26px; }
.team figure { margin: 0; text-align: center; width: 132px; }
.team figcaption { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.team figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.fx .team figure:hover .oval { transform: rotate(-3deg) scale(1.04); }
.oval { transition: transform .5s var(--ease); }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .today th, .hours .today td { font-weight: 700; color: var(--p-deep); }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { padding: 9px 0; border-bottom: 1px solid var(--line); }

.foot { max-width: 1080px; margin: 0 auto; padding: 26px 20px 34px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.foot a { color: inherit; }

/* Randevu sayfası */
.ticket h1 { font-size: 1.4rem; font-weight: 600; margin: 14px 0 18px; }
.big-time { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; }
.status { display: inline-block; padding: 6px 13px; border-radius: 99px; font-size: .85rem; font-weight: 700; background: #EEF2F1; color: var(--muted); }
.s-pending { background: #FFF3D6; color: #8A5A00; }
.s-approved { background: var(--p-soft); color: var(--p-deep); }
.s-done { background: #E6F0FF; color: #1D4E9E; }
.s-cancelled, .s-noshow { background: #FDECEA; color: #A2281F; }
.note { padding: 12px 16px; border-radius: 16px; margin: 0 0 16px; font-weight: 500; background: var(--p-soft); color: var(--p-deep); }
.note.bad { background: #FDECEA; color: #A2281F; }
.prose h1 { font-size: 1.6rem; margin-bottom: 14px; }
.tip { border: 0; border-radius: 24px; padding: 24px; max-width: 340px; box-shadow: var(--shadow); }
.tip::backdrop { background: rgba(20, 48, 43, .35); backdrop-filter: blur(3px); }

@media (min-width: 720px) {
  .top { padding: 22px 28px; }
  main { padding: 0 28px 72px; }
  .hero { padding: 44px 0 40px; }
  .wizard { padding: 30px 30px 32px; }
  .card.pad { padding: 36px; }
  .block.two { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .seal circle, .seal path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
