/* =====================================================================
   RANDEVU SAYFASI
   ===================================================================== */
:root {
  --black: #0b0b0b; --ink: #111; --ink-2: #4a4a4a; --mute: #7a7a7a;
  --light: #f2f2f2; --soft: #f6f6f6; --white: #fff; --line: rgba(17,17,17,.09);
  --acc: #ff4d2e; --ok: #22c55e;
  --wide: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,.9,.2,1);
  --pad: clamp(16px, 3.4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[hidden] { display: none !important; }

/* ---------- Üst bar ---------- */
.bk-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px var(--pad); padding-top: max(12px, env(safe-area-inset-top)); background: rgba(242,242,242,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.bk-brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.emblem { width: 48px; height: 48px; display: block; color: var(--ink); }
.emblem svg { width: 100%; height: 100%; display: block; }
.bk-name { display: grid; line-height: 1.15; }
.bk-name b { font-family: var(--wide); font-stretch: 118%; font-weight: 900; font-size: 19px; letter-spacing: -0.03em; }
.bk-name small { font-size: 12.5px; color: var(--mute); }
.bk-progress { display: flex; gap: 6px; background: var(--white); padding: 6px; border-radius: 999px; }
.bk-progress button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #a5a5a5; white-space: nowrap; transition: background .25s, color .25s; }
.bk-progress button b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--light); font-size: 12px; }
.bk-progress button.done { color: var(--ink); }
.bk-progress button.done b { background: var(--ink); color: #fff; font-size: 0; }
.bk-progress button.done b::after { content: "✓"; font-size: 11px; }
.bk-progress button.on { background: var(--ink); color: #fff; }
.bk-progress button.on b { background: #fff; color: var(--ink); }
.bk-progress button[disabled] { cursor: default; }
.bk-close { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.bk-close i { width: 42px; height: 42px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-style: normal; font-size: 15px; transition: background .2s, color .2s; }
.bk-close:hover i { background: var(--ink); color: #fff; }
.bk-bar { height: 3px; background: rgba(17,17,17,.06); position: sticky; top: calc(72px + env(safe-area-inset-top)); z-index: 29; display: none; }
.bk-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }

/* ---------- Düzen ---------- */
.bk-wrap { max-width: 1280px; margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--pad) 60px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(18px, 3vw, 40px); align-items: start; }
.bk-main { min-width: 0; background: var(--white); border-radius: 30px; padding: clamp(22px, 3.6vw, 52px); min-height: 520px; }
.bk-head { margin-bottom: clamp(22px, 3vw, 36px); position: relative; }
.bk-back { display: block; font-size: 14.5px; font-weight: 600; color: var(--mute); padding: 6px 0; margin-bottom: 10px; transition: color .2s; }
.bk-back:hover { color: var(--ink); }
.bk-step { margin: 0 0 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.bk-step::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.bk-title { margin: 0; font-family: var(--wide); font-stretch: 120%; font-weight: 900; font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.bk-sub { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; max-width: 520px; }
.pane { display: none; }
.pane.on { display: block; animation: pane .5s var(--ease); }
@keyframes pane { from { opacity: 0; transform: translateY(14px); } }

/* Hizmetler */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc { position: relative; text-align: left; display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: var(--soft); border: 2px solid transparent; transition: border-color .2s, background .2s, transform .3s var(--ease), box-shadow .3s; }
.svc:hover { background: #efefef; transform: translateY(-2px); }
.svc.sel { border-color: var(--ink); background: var(--white); box-shadow: 0 16px 40px -20px rgba(0,0,0,.35); }
.svc-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--white); display: grid; place-items: center; color: var(--ink); }
.svc.sel .svc-ic { background: var(--ink); color: #fff; }
.svc-ic svg { width: 36px; height: 36px; }
.svc h3 { margin: 0 0 3px; font-family: var(--wide); font-stretch: 110%; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.svc p { margin: 0; font-size: 13.5px; color: var(--mute); }
.svc .meta { text-align: right; white-space: nowrap; }
.svc .meta b { display: block; font-family: var(--wide); font-stretch: 112%; font-weight: 900; font-size: 21px; letter-spacing: -0.03em; }
.svc .meta span { font-size: 13px; color: var(--mute); }
.svc .tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; display: none; place-items: center; }
.svc.sel .tick { display: grid; }

/* Ustalar */
.brb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.brb { text-align: left; padding: 20px; border-radius: 22px; background: var(--soft); border: 2px solid transparent; display: grid; gap: 4px; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.brb:hover { transform: translateY(-2px); background: #efefef; }
.brb.sel { border-color: var(--ink); background: var(--white); }
.brb .av { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--wide); font-stretch: 115%; font-weight: 900; font-size: 19px; margin-bottom: 10px; overflow: hidden; }
.brb .av img { width: 100%; height: 100%; object-fit: cover; }
.brb .av.any { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.brb b { font-family: var(--wide); font-stretch: 110%; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brb small { color: var(--mute); font-size: 13.5px; }

/* Günler & saatler */
.days-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.days { flex: 1; display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.days-nav { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); font-size: 20px; transition: background .2s; }
.days-nav:hover { background: #e8e8e8; }
.day { flex: 0 0 auto; width: 78px; padding: 13px 6px 12px; border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 1px; scroll-snap-align: start; transition: background .2s, transform .2s; border: 2px solid transparent; }
.day:hover:not([disabled]) { background: #ececec; }
.day small { font-size: 12px; color: var(--mute); font-weight: 500; }
.day b { font-family: var(--wide); font-stretch: 115%; font-size: 28px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.day i { font-style: normal; font-size: 11px; color: var(--mute); margin-top: 2px; }
.day.sel { background: var(--ink); color: #fff; }
.day.sel small, .day.sel i { color: rgba(255,255,255,.65); }
.day[disabled] { opacity: .38; cursor: not-allowed; }
.day.full i { color: var(--acc); }
.tgroup { margin-bottom: 22px; }
.tgroup h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .07em; display: flex; justify-content: space-between; }
.tgroup h4 span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.time { padding: 14px 0; border-radius: 14px; background: var(--soft); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.time:hover:not([disabled]) { border-color: var(--ink); }
.time:active:not([disabled]) { transform: scale(.97); }
.time.sel { background: var(--ink); color: #fff; }
.time[disabled] { background: transparent; color: #c4c4c4; text-decoration: line-through; cursor: not-allowed; border: 2px dashed #e2e2e2; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13px; color: var(--mute); margin-top: 4px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--soft); border: 1px solid #ddd; }
.legend i.t { background: transparent; border-style: dashed; }
.legend i.s { background: var(--ink); border-color: var(--ink); }
.legend .live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.legend .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.empty { padding: 34px 20px; text-align: center; color: var(--mute); border: 2px dashed #e4e4e4; border-radius: 18px; }
.empty b { display: block; color: var(--ink); margin-bottom: 4px; }
.empty button { margin-top: 14px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.skel i { height: 52px; border-radius: 14px; background: linear-gradient(90deg, #f1f1f1, #e6e6e6, #f1f1f1); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label em { font-style: normal; font-weight: 400; color: var(--mute); }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 16px 18px; border-radius: 16px; border: 2px solid transparent; background: var(--soft); color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field.err input { border-color: var(--acc); }
.field .msg { font-size: 13px; color: var(--acc); min-height: 0; }
.check { grid-column: 1/-1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); padding: 14px 16px; background: var(--soft); border-radius: 16px; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--ink); width: 20px; height: 20px; flex: 0 0 auto; }
.alert { margin-top: 18px; padding: 15px 18px; border-radius: 16px; background: rgba(255,77,46,.1); color: #b42a12; font-size: 15px; font-weight: 500; display: none; }
.alert.show { display: block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Başarılı */
.success { text-align: center; padding: 10px 0 0; }
.success .tick { width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; animation: pop .6s var(--ease); }
.success .tick svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .3s forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { margin: 0 0 10px; font-family: var(--wide); font-stretch: 120%; font-weight: 900; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1; }
.success > p { color: var(--ink-2); margin: 0 auto 26px; max-width: 460px; }
.ticket { max-width: 420px; margin: 0 auto 26px; background: var(--soft); border-radius: 22px; padding: 22px; text-align: left; display: grid; gap: 12px; }
.ticket div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.ticket dt { color: var(--mute); } .ticket dd { margin: 0; font-weight: 600; text-align: right; }
.ticket .big { font-family: var(--wide); font-stretch: 112%; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.success .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn2 { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 600; background: var(--soft); transition: background .2s; }
.btn2:hover { background: #e9e9e9; }
.btn2.dark { background: var(--ink); color: #fff; }
.btn2.dark:hover { background: #2a2a2a; }

/* ---------- Özet (sağ) ---------- */
.bk-side { position: sticky; top: 96px; display: grid; gap: 12px; }
.sum { background: var(--black); color: #fff; border-radius: 28px; padding: 28px; }
.sum h2 { margin: 0 0 20px; font-family: var(--wide); font-stretch: 115%; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.sum dl { margin: 0; display: grid; gap: 0; }
.sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.sum dt { color: rgba(255,255,255,.55); }
.sum dd { margin: 0; text-align: right; font-weight: 600; }
.sum dd.empty-v { color: rgba(255,255,255,.3); font-weight: 400; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 20px; }
.sum-total b { font-family: var(--wide); font-stretch: 118%; font-size: 44px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.cta { width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 8px 0 24px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; transition: transform .2s, opacity .2s, background .2s; }
.cta span { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; transition: transform .35s var(--ease); }
.cta:hover:not([disabled]) span { transform: rotate(-45deg); }
.cta[disabled] { opacity: .35; cursor: not-allowed; }
.cta.loading span { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sum-note { margin: 16px 0 0; font-size: 12.5px; color: rgba(255,255,255,.5); }
.side-info { background: var(--white); border-radius: 22px; padding: 20px 22px; font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; }
.side-info div { display: flex; gap: 12px; align-items: flex-start; }
.side-info svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.side-info a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Telefon alt çubuk ---------- */
.mbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 160%); opacity: 0; background: var(--black); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 500; transition: transform .45s var(--ease), opacity .3s; max-width: calc(100% - 32px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.4); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.demo-flag { position: fixed; z-index: 58; left: 16px; bottom: 16px; font-size: 12px; padding: 7px 13px; border-radius: 999px; background: #fff7e6; color: #9a6400; border: 1px solid #f5d590; transition: opacity .6s; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bk-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
  .svc-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bk-top { grid-template-columns: auto 1fr auto; }
  .bk-progress { display: none; }
  .bk-bar { display: block; top: calc(68px + env(safe-area-inset-top)); }
  .bk-close span { display: none; }
  .emblem { width: 42px; height: 42px; }
  .bk-wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .bk-side { position: static; }
  .sum { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(11,11,11,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.4); }
  .mbar-info { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
  .mbar-info b { font-family: var(--wide); font-stretch: 115%; font-size: 24px; font-weight: 900; letter-spacing: -0.04em; }
  .mbar-info span { font-size: 12.5px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .cta { width: auto; min-width: 150px; height: 54px; }
  .mbar .cta span { width: 40px; height: 40px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .demo-flag { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 620px) {
  .bk-main { border-radius: 24px; padding: 22px 16px 26px; min-height: 0; }
  .bk-wrap { padding-top: 12px; padding-left: 10px; padding-right: 10px; }
  .bk-sub { font-size: 15px; }
  .svc { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 14px; border-radius: 18px; }
  .svc-ic { width: 52px; height: 52px; border-radius: 15px; } .svc-ic svg { width: 30px; height: 30px; }
  .svc h3 { font-size: 17px; } .svc .meta b { font-size: 18px; }
  .days-nav { display: none; }
  .day { width: 68px; padding: 11px 4px; border-radius: 16px; } .day b { font-size: 24px; }
  .times { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .time { padding: 13px 0; font-size: 15px; border-radius: 12px; }
  .form { grid-template-columns: 1fr; }
  .mbar .cta { min-width: 132px; font-size: 15px; padding-left: 18px; }
}
@media (max-width: 360px) { .times { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }
[data-svg] svg { display: block; width: 100%; height: auto; }
.bk-logo { display: block; width: 190px; color: var(--ink); }
@media (max-width: 900px) { .bk-logo { width: 150px; } }

/* Turuncu vurgu */
:root { --acc: #ff6a1f; --acc-2: #ff9a4d; --acc-soft: rgba(255,106,31,.12); }
.bk-bar i { background: var(--acc); }
.bk-step::before { background: var(--acc); }
.bk-progress button.on { background: var(--acc); }
.bk-progress button.on b { color: var(--acc); }
.svc.sel { border-color: var(--acc); }
.svc.sel .svc-ic { background: var(--acc); }
.svc .tick { background: var(--acc); }
.svc .meta b.dur { font-size: 24px; } .svc .meta b.dur small { font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.brb.sel { border-color: var(--acc); }
.day.sel { background: var(--ink); box-shadow: inset 0 -3px 0 var(--acc); }
.time.sel { background: var(--acc); color: #fff; }
.time:hover:not([disabled]) { border-color: var(--acc); }
.legend i.s { background: var(--acc); border-color: var(--acc); }
.field input:focus, .field textarea:focus { border-color: var(--acc); }
.check input { accent-color: var(--acc); }
.cta span { background: var(--acc); }
.sum-total b { color: var(--acc-2); }
.success .tick { background: var(--acc); }
.btn2.dark { background: var(--acc); }
.btn2.dark:hover { background: #e5520c; }
.side-info svg { color: var(--acc); }
::selection { background: var(--acc); color: #fff; }
.captcha { grid-column: 1/-1; min-height: 65px; }
.otp { grid-column: 1/-1; display: grid; gap: 8px; }
.otp #fOtp { font-size: 26px; letter-spacing: .45em; text-align: center; font-weight: 700; }
.otp-help { margin: 0; font-size: 13.5px; color: var(--mute); text-align: center; line-height: 1.7; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.linkbtn:disabled { color: var(--mute); text-decoration: none; cursor: default; }
