/*
  Sırada tasarım sistemi
  Nötr zemin + firmanın tek vurgu rengi. Köşe sistemi: kontrol 10px, yüzey 16px, avatar tam yuvarlak.
  Hareket: sadece transform/opacity, güçlü ease-out, 120-240ms.
*/

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F6F7;
  --surface: #FFFFFF;
  --surface-2: #F0F0F2;
  --surface-3: #E8E8EC;
  --ink: #16161A;
  --ink-2: #3D3D46;
  --muted: #676772;
  --line: #E4E4E9;
  --line-strong: #CFCFD6;

  --accent: #1C1C21;
  --accent-soft: #EDEDF0;
  --on-accent: #FFFFFF;

  --success: #1A7048;
  --success-soft: #E4F3EB;
  --warning: #8A5A00;
  --warning-soft: #FBF1DC;
  --danger: #B42F2F;
  --danger-soft: #FBE9E9;

  --r-ctl: 10px;
  --r-surface: 16px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgb(22 22 26 / .05), 0 1px 1px rgb(22 22 26 / .03);
  --shadow-md: 0 2px 4px rgb(22 22 26 / .04), 0 10px 28px -10px rgb(22 22 26 / .14);
  --shadow-lg: 0 4px 10px rgb(22 22 26 / .05), 0 24px 60px -18px rgb(22 22 26 / .22);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 16px;
  --max: 1180px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0E11;
    --surface: #17171B;
    --surface-2: #1F1F24;
    --surface-3: #2A2A31;
    --ink: #F1F1F4;
    --ink-2: #C9C9D1;
    --muted: #9C9CA8;
    --line: #2A2A31;
    --line-strong: #3A3A43;
    --success: #6FCF9E;
    --success-soft: #12291D;
    --warning: #E9B65A;
    --warning-soft: #2A2111;
    --danger: #F08A8A;
    --danger-soft: #2E1515;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow-md: 0 2px 4px rgb(0 0 0 / .25), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 4px 10px rgb(0 0 0 / .3), 0 28px 64px -20px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.num, time, .tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .92em; }

html { scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.ph { line-height: 1; }

/* ---------- Yerleşim ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
@media (min-width: 768px) { :root { --gutter: 28px; } }
.stack > * + * { margin-top: var(--stack, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1 1 auto; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xsmall { font-size: 13px; }
.strong { font-weight: 600; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 550; font-size: 15px; white-space: nowrap; text-decoration: none;
  cursor: pointer; user-select: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn .ph { font-size: 18px; }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-bd: var(--accent); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn-danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); --btn-bd: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; padding: 0; }
.btn-sm.btn-icon { width: 36px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled) { --btn-bg: var(--surface-2); }
  .btn-primary:hover:not(:disabled) { --btn-bg: var(--accent); opacity: .9; }
  .btn-ghost:hover:not(:disabled) { --btn-bg: var(--surface-2); }
  .btn-danger:hover:not(:disabled) { --btn-bg: var(--danger-soft); opacity: .85; }
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { opacity: .6; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 600ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { color: var(--ink); font-weight: 550; text-decoration: underline; text-decoration-color: var(--line-strong); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Formlar ---------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.label { font-size: 14px; font-weight: 550; color: var(--ink-2); }
.hint { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; color: var(--danger); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  transition: border-color 140ms ease, box-shadow 140ms ease;
  font-size: 16px; /* iOS yakınlaştırmasını engeller */
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23676772' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input-group { display: flex; align-items: stretch; }
.input-group .addon { display: grid; place-items: center; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.input-group .addon:first-child { border-right: 0; border-radius: var(--r-ctl) 0 0 var(--r-ctl); }
.input-group .addon:last-child { border-left: 0; border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.input-group .input:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group .input:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-grid { display: grid; gap: 16px; }
.form-grid > .field + .field { margin-top: 0; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }

/* Anahtar (toggle) */
.switch { position: relative; display: inline-flex; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--surface-3); border-radius: 26px; transition: background-color 180ms ease; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 200ms var(--ease-out); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.setting { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; }
.setting + .setting { border-top: 1px solid var(--line); }

/* ---------- Yüzeyler ---------- */
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surface); }
.surface-pad { padding: 20px; }
@media (min-width: 768px) { .surface-pad { padding: 28px; } }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 550; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; overflow: hidden; }
.avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--surface-2); font-size: 15px; }
.alert .ph { font-size: 20px; flex: none; margin-top: 1px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-danger { background: var(--danger-soft); color: var(--danger); }
.alert-warning { background: var(--warning-soft); color: var(--warning); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: opacity 240ms ease, transform 240ms var(--ease-out);
  @starting-style { opacity: 0; transform: translate(-50%, 12px); }
}
.toast.is-hiding { opacity: 0; transform: translate(-50%, 8px); transition-duration: 160ms; }

/* Dialog */
dialog.modal {
  border: 0; padding: 0; background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 48px);
  box-shadow: var(--shadow-lg);
  opacity: 1; transform: scale(1);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
dialog.modal[open] { @starting-style { opacity: 0; transform: scale(.96); } }
dialog.modal::backdrop { background: rgb(14 14 17 / .45); transition: opacity 200ms ease; }
dialog.modal[open]::backdrop { @starting-style { opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.modal-head h2 { font-size: 18px; }
.modal-body { padding: 16px 20px 20px; overflow: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 20px; }
@media (max-width: 640px) {
  dialog.modal { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  dialog.modal[open] { @starting-style { opacity: 1; transform: translateY(100%); } }
  dialog.modal { transition: transform 320ms var(--ease-drawer), overlay 320ms allow-discrete, display 320ms allow-discrete; }
}

/* =========================================================
   FİRMA SAYFASI (alt alan adı)
   ========================================================= */
.t-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.t-nav.is-stuck { border-bottom-color: var(--line); }
.t-nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; min-width: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 14px; font-weight: 650; flex: none; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.t-nav-links { display: none; gap: 4px; }
.t-nav-links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color 140ms ease; }
.t-nav-links a:hover { background: var(--surface-2); }
@media (min-width: 900px) { .t-nav-links { display: flex; } }

.t-hero { padding: 20px 0 48px; }
.t-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .t-hero { padding: 40px 0 72px; } .t-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.t-hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: var(--shadow-md); }
.t-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.t-hero-media.is-empty { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.t-hero-media.is-empty span { font-size: clamp(64px, 12vw, 120px); font-weight: 650; letter-spacing: -0.04em; }
@media (min-width: 900px) { .t-hero-media { order: 2; aspect-ratio: 5 / 4; } }
.t-hero h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.035em; line-height: 1.02; }
.t-hero .lead { margin-top: 16px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 42ch; }
.t-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.t-meta span { display: inline-flex; align-items: center; gap: 6px; }
.t-meta .ph { font-size: 17px; }
.t-meta .open { color: var(--success); font-weight: 550; }
.t-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.t-section { padding: 56px 0; }
@media (min-width: 900px) { .t-section { padding: 88px 0; } }
.t-section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; }
.t-section .sub { margin-top: 10px; color: var(--muted); max-width: 56ch; }

/* Hizmet listesi: grup başlıklı, iki sütun */
.svc-groups { margin-top: 32px; display: grid; gap: 40px 56px; }
@media (min-width: 900px) { .svc-groups { grid-template-columns: 1fr 1fr; } }
.svc-group h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.svc-item { display: flex; align-items: center; gap: 16px; padding: 14px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; transition: background-color 140ms ease; }
.svc-item:hover { background: var(--surface); }
.svc-item:active { transform: scale(.99); }
.svc-item .name { font-weight: 550; }
.svc-item .desc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.svc-item .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-item .dur { font-size: 13px; color: var(--muted); white-space: nowrap; text-align: right; }
.svc-item .go { color: var(--muted); font-size: 18px; transition: transform 160ms var(--ease-out); }
.svc-item:hover .go { transform: translateX(3px); color: var(--ink); }

/* Ekip: yatay kaydırmalı portreler */
.team { margin-top: 28px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.team::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .team { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.member { scroll-snap-align: start; }
.member-photo { aspect-ratio: 4 / 5; border-radius: var(--r-surface); overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .member:hover .member-photo img { transform: scale(1.03); } }
.member h3 { margin-top: 12px; font-size: 16px; letter-spacing: -0.01em; }
.member p { font-size: 14px; color: var(--muted); }

/* Galeri: içerik sayısına göre ritim */
.gallery { margin-top: 28px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
  .gallery figure { aspect-ratio: auto; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery[data-count="2"] { grid-template-columns: 3fr 2fr; grid-auto-rows: 420px; }
  .gallery[data-count="2"] figure:first-child { grid-column: auto; grid-row: auto; }
  .gallery[data-count="3"] figure:first-child { grid-row: span 2; }
  .gallery[data-count="3"] { grid-template-columns: 2fr 1fr 1fr; }
  .gallery[data-count="3"] figure:first-child { grid-column: auto; }
  .gallery[data-count="3"] figure:nth-child(2) { grid-column: span 2; }
  .gallery[data-count="3"] figure:nth-child(3) { grid-column: span 2; }
}

/* Bilgi bölümü */
.info-grid { display: grid; gap: 40px; margin-top: 28px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours td { padding: 9px 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 600; }
.hours tr.is-closed td:last-child { color: var(--muted); }
.contact-list { display: grid; gap: 4px; }
.contact-list > a, .contact-list > div { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; text-decoration: none; }
.contact-list .ph { font-size: 22px; color: var(--muted); margin-top: 1px; }
.contact-list > a:hover .strong { text-decoration: underline; text-underline-offset: 3px; }

.t-cta-band { margin: 0 0 56px; border-radius: var(--r-lg); background: var(--accent); color: var(--on-accent); padding: 36px 24px; display: grid; gap: 20px; }
.t-cta-band h2 { color: inherit; font-size: clamp(26px, 3.4vw, 36px); }
.t-cta-band p { opacity: .82; margin-top: 8px; }
.t-cta-band .btn { --btn-bg: var(--on-accent); --btn-fg: var(--accent); --btn-bd: var(--on-accent); }
@media (min-width: 900px) { .t-cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px 56px; margin-bottom: 88px; } }

.t-foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.t-foot a { color: var(--ink-2); }

/* Mobil sabit randevu çubuğu */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; gap: 10px; transform: translateY(0); transition: transform 280ms var(--ease-drawer); }
.dock.is-hidden { transform: translateY(110%); }
.dock .btn-primary { flex: 1; }
@media (min-width: 900px) { .dock { display: none; } }
.has-dock { padding-bottom: 84px; }
@media (min-width: 900px) { .has-dock { padding-bottom: 0; } }

/* =========================================================
   RANDEVU AKIŞI
   ========================================================= */
.bk { padding: 16px 0 140px; }
@media (min-width: 1000px) { .bk { padding: 32px 0 80px; } }
.bk-grid { display: grid; gap: 24px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.bk-grid > * { min-width: 0; }
@media (min-width: 1000px) { .bk-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }
.bk-title { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.03em; }

.steps { display: flex; gap: 6px; margin: 20px 0 8px; }
.steps button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 4px; background: var(--surface-3); cursor: pointer; position: relative; overflow: hidden; }
.steps button::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
.steps button.is-done::after, .steps button.is-current::after { transform: scaleX(1); }
.steps button:disabled { cursor: default; }
.step-label { font-size: 14px; color: var(--muted); }

.bk-panel { margin-top: 20px; }
.bk-panel h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 14px; }
.fade-step { animation: stepIn 260ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .fade-step { animation: fadeOnly 160ms ease; } @keyframes fadeOnly { from { opacity: 0; } } }

.choice-list { display: grid; gap: 8px; }
.choice-group-title { font-size: 14px; font-weight: 600; color: var(--muted); margin: 18px 0 8px; }
.choice-group-title:first-child { margin-top: 0; }
.choice {
  position: relative; display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 16px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; transition: border-color 140ms ease, box-shadow 140ms ease, transform 160ms var(--ease-out);
}
.choice:active { transform: scale(.99); }
@media (hover: hover) { .choice:hover { border-color: var(--line-strong); } }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice .tick { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: background-color 140ms ease, border-color 140ms ease; color: transparent; }
.choice .tick.round { border-radius: 50%; }
.choice[aria-pressed="true"] .tick, .choice[aria-checked="true"] .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice .tick .ph { font-size: 14px; }
.choice .meta { font-size: 14px; color: var(--muted); }
.choice .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.staff-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.staff-grid .choice { flex-direction: column; align-items: center; text-align: center; padding: 18px 12px; gap: 10px; }
.staff-grid .choice .tick { position: absolute; top: 10px; right: 10px; }

.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; margin-inline: -2px; scrollbar-width: thin; }
.date-btn { scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 0 9px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, transform 160ms var(--ease-out); }
.date-btn:active:not(:disabled) { transform: scale(.96); }
.date-btn .dw { font-size: 12px; color: var(--muted); font-weight: 500; }
.date-btn .dn { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.date-btn .dm { font-size: 11px; color: var(--muted); }
.date-btn:disabled { opacity: .38; cursor: not-allowed; background: transparent; }
.date-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.date-btn[aria-pressed="true"] .dw, .date-btn[aria-pressed="true"] .dm { color: inherit; opacity: .8; }
.month-label { font-size: 15px; font-weight: 600; margin-bottom: 10px; }

.slot-groups { margin-top: 18px; display: grid; gap: 18px; }
.slot-group h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); font-weight: 550; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, transform 160ms var(--ease-out); }
.slot:active { transform: scale(.96); }
@media (hover: hover) { .slot:hover { border-color: var(--accent); } }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.2s ease-in-out infinite; border-radius: var(--r-ctl); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .ph { font-size: 32px; display: inline-block; margin-bottom: 10px; color: var(--line-strong); }
.empty .strong { color: var(--ink); }

.summary { position: sticky; top: 88px; }
.summary-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-lines { padding: 14px 0; display: grid; gap: 10px; font-size: 15px; }
.summary-lines .row-between span:first-child { color: var(--ink-2); }
.summary-total { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.summary-total .big { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary-when { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-top: 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 550; font-size: 15px; }
@media (max-width: 999px) { .summary { display: none; } }

.bk-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgb(22 22 26 / .12); }
.bk-bar-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.bk-bar .totals { min-width: 0; flex: 1; }
.bk-bar .totals .big { font-weight: 650; font-size: 18px; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .bk-bar { display: none; } }
.bk-actions-desktop { display: none; margin-top: 24px; gap: 10px; }
@media (min-width: 1000px) { .bk-actions-desktop { display: flex; } }

/* Onay sayfası */
.confirm-hero { text-align: center; padding: 32px 0 8px; }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); font-size: 32px; animation: pop 420ms var(--ease-out); }
.confirm-icon.is-pending { background: var(--warning-soft); color: var(--warning); }
.confirm-icon.is-cancelled { background: var(--danger-soft); color: var(--danger); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.ticket { margin-top: 24px; }
.ticket-row { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; }
.ticket-row + .ticket-row { border-top: 1px dashed var(--line-strong); }
.ticket-row .ph { font-size: 20px; color: var(--muted); margin-top: 2px; }
.code-chip { font-family: var(--mono); letter-spacing: .08em; font-weight: 600; }

/* =========================================================
   PLATFORM ANA SAYFA
   ========================================================= */
.m-nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.m-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.m-logo .glyph { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 17px; }
.m-hero { padding: 24px 0 64px; }
.m-hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .m-hero { padding: 48px 0 96px; } .m-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.m-hero h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.m-hero .lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 40ch; }
.m-hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.m-shot { position: relative; }
.m-shot .photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.m-shot .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .m-shot .photo { aspect-ratio: 5 / 6; } }
.m-shot .card { position: absolute; left: -12px; bottom: 28px; width: min(300px, 82%); padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 960px) { .m-shot .card { left: -48px; } }
.m-shot .card .slots { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.m-shot .card .slot { height: 38px; font-size: 14px; pointer-events: none; }

.m-features { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 900px) { .m-features { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; } .m-features .f-lg { grid-row: span 2; } }
.feature { padding: 24px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature .ph { font-size: 26px; color: var(--accent); }
.feature h3 { font-size: 18px; letter-spacing: -0.015em; }
.feature p { color: var(--muted); font-size: 15px; }
.feature.f-lg { background: var(--accent); color: var(--on-accent); border-color: var(--accent); justify-content: space-between; min-height: 280px; }
.feature.f-lg .ph, .feature.f-lg p { color: inherit; }
.feature.f-lg p { opacity: .82; }
.feature.f-lg .url { font-family: var(--mono); font-size: clamp(16px, 2.2vw, 22px); background: rgb(255 255 255 / .12); padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; }
.feature.f-img { padding: 0; overflow: hidden; }
.feature.f-img img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }

.directory-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 550; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.biz-grid { margin-top: 24px; display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.biz { text-decoration: none; display: block; }
.biz-cover { aspect-ratio: 4 / 3; border-radius: var(--r-surface); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.biz-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .biz:hover .biz-cover img { transform: scale(1.03); } }
.biz-cover .ini { font-size: 48px; font-weight: 650; letter-spacing: -0.03em; }
.biz h3 { margin-top: 12px; font-size: 17px; letter-spacing: -0.015em; }
.biz p { font-size: 14px; color: var(--muted); }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 550; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { transition: transform 200ms var(--ease-out); color: var(--muted); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 65ch; }

/* =========================================================
   PANEL
   ========================================================= */
.p-shell { min-height: 100dvh; display: grid; }
@media (min-width: 1024px) { .p-shell { grid-template-columns: 248px minmax(0, 1fr); } }
.p-side { display: none; }
@media (min-width: 1024px) {
  .p-side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 18px 14px; border-right: 1px solid var(--line); background: var(--surface); }
}
.p-side .brand { padding: 4px 8px 18px; }
.p-nav { display: grid; gap: 2px; }
.p-nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color 120ms ease, color 120ms ease; }
.p-nav a .ph { font-size: 19px; color: var(--muted); }
.p-nav a:hover { background: var(--surface-2); color: var(--ink); }
.p-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.p-nav a[aria-current="page"] .ph { color: var(--ink); }
.p-nav .sep { height: 1px; background: var(--line); margin: 10px 6px; }
.p-side-foot { margin-top: auto; display: grid; gap: 10px; }
.p-side-foot .site-link { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); text-decoration: none; font-size: 14px; }

.p-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 var(--gutter); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .p-top { display: none; } }
.p-drawer { position: fixed; inset: 0; z-index: 50; display: flex; }
.p-drawer .scrim { position: absolute; inset: 0; background: rgb(14 14 17 / .45); }
.p-drawer .sheet { position: relative; width: min(300px, 86vw); height: 100%; background: var(--surface); padding: 18px 14px; display: flex; flex-direction: column; overflow-y: auto; }
.p-drawer.is-closed { pointer-events: none; }
.drawer-anim { transition: transform 300ms var(--ease-drawer); }
.drawer-anim-fast { transition: transform 200ms var(--ease-out); }
.drawer-out { transform: translateX(-100%); }
@media (min-width: 1024px) { .p-drawer { display: none; } }

.p-main { min-width: 0; padding: 20px var(--gutter) 64px; }
@media (min-width: 1024px) { .p-main { padding: 32px 40px 80px; } }
.p-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-bottom: 24px; }
.p-head h1 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.03em; }
.p-head .sub { color: var(--muted); margin-top: 4px; font-size: 15px; }
.p-content { max-width: 1120px; }
.p-content-narrow { max-width: 760px; }
.section-title { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 4px; }
.section-desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 18px; }
.stat .k { font-size: 14px; color: var(--muted); }
.stat .v { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; font-weight: 550; color: var(--muted); padding: 12px 16px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 120ms ease; }
.table tbody tr.is-link { cursor: pointer; }
.table tbody tr.is-link:hover { background: var(--surface-2); }
.table .num { text-align: right; }

.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; transition: background-color 120ms ease; }
.list-item + .list-item { border-top: 1px solid var(--line); }
a.list-item:hover { background: var(--surface-2); }
.time-col { width: 64px; flex: none; font-variant-numeric: tabular-nums; }
.time-col .t { font-weight: 600; }
.time-col .d { font-size: 13px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters .input, .filters .select { min-height: 40px; width: auto; font-size: 15px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: var(--surface-2); }
.seg a, .seg button { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px; border: 0; background: transparent; text-decoration: none; font-size: 14px; font-weight: 550; color: var(--ink-2); cursor: pointer; }
.seg [aria-current="page"], .seg [aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Takvim (gün görünümü) */
.cal { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--surface); max-height: calc(100dvh - 200px); }
.cal-grid { display: grid; position: relative; min-width: 100%; }
.cal-head { position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.cal-corner { position: sticky; left: 0; top: 0; z-index: 4; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal-times { position: sticky; left: 0; z-index: 2; background: var(--surface); border-right: 1px solid var(--line); }
.cal-times div { height: var(--hour); font-size: 12px; color: var(--muted); padding: 0 10px; transform: translateY(-8px); font-variant-numeric: tabular-nums; text-align: right; }
.cal-times div:first-child { transform: translateY(2px); }
.cal-col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hour)); }
.cal-col .off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, transparent 6px 12px); }
.cal-evt { position: absolute; left: 4px; right: 4px; border-radius: 9px; padding: 6px 9px; background: var(--accent-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); text-decoration: none; overflow: hidden; font-size: 13px; line-height: 1.3; transition: transform 160ms var(--ease-out), box-shadow 160ms ease; }
.cal-evt:hover { box-shadow: var(--shadow-md); z-index: 2; }
.cal-evt .t { font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-evt.is-pending { background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 30%, transparent); }
.cal-evt.is-done { opacity: .6; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger); z-index: 1; }
.cal-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

.hours-edit { display: grid; gap: 0; }
.hours-edit .day { display: grid; gap: 10px; padding: 14px 0; align-items: center; grid-template-columns: 1fr auto; }
.hours-edit .day + .day { border-top: 1px solid var(--line); }
.hours-edit .times { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hours-edit .times .input { width: 118px; min-height: 40px; }
@media (min-width: 760px) { .hours-edit .day { grid-template-columns: 140px 64px 1fr; } .hours-edit .times { grid-column: auto; } }

.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); transition: transform 160ms var(--ease-out); color: #fff; }
.swatch span .ph { opacity: 0; font-size: 18px; transition: opacity 120ms ease; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c); }
.swatch input:checked + span .ph { opacity: 1; }
.swatch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; }
.swatch:active span { transform: scale(.94); }

.upload-tile { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.upload-tile img { width: 100%; height: 100%; object-fit: cover; }
.upload-tile form { position: absolute; top: 6px; right: 6px; }
.upload-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.dropzone { display: grid; place-items: center; gap: 6px; aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 14px; cursor: pointer; text-align: center; padding: 10px; transition: border-color 140ms ease, background-color 140ms ease; }
.dropzone:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.dropzone .ph { font-size: 24px; }

.meter { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }

.impersonation { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--ink); color: var(--bg); font-size: 14px; }
.impersonation button { background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 13px; }

/* Giriş */
.auth { min-height: 100dvh; display: grid; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 40px var(--gutter); }
.auth-form > div { width: 100%; max-width: 380px; margin: 0 auto; }
.auth-art { display: none; }
@media (min-width: 960px) { .auth-art { display: block; position: relative; } .auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .confirm-icon { animation: none; }
}
.list-item .num, .price, .addon { white-space: nowrap; }

/* ---------- Değerlendirme ---------- */
.stars { display: flex; gap: 6px; margin: 10px 0 6px; }
.star { cursor: pointer; font-size: 40px; line-height: 1; color: var(--surface-3); transition: transform 160ms var(--ease-out), color 120ms ease; }
.star.is-on { color: #E8A317; }
.star:active { transform: scale(.9); }
.star:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rating-inline .ph-star { color: #E8A317; }
.review-grid { margin-top: 28px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.review-card { padding: 20px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review-card .stars-sm { color: #E8A317; font-size: 15px; letter-spacing: 1px; }
.review-card .stars-sm .off { color: var(--surface-3); }
.review-card p { color: var(--ink-2); }
.review-card .reply { font-size: 14px; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 10px; }

/* ---------- Raporlar ---------- */
.chart { position: relative; }
.chart-bars { display: flex; align-items: flex-end; gap: 2px; height: 200px; padding-top: 8px; }
.chart-bar { flex: 1 1 0; min-width: 2px; height: 100%; display: flex; align-items: flex-end; position: relative; cursor: default; }
.chart-bar span { display: block; width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; transition: opacity 120ms ease; }
.chart-bar.is-zero span { background: var(--surface-3); }
.chart-bars:hover .chart-bar span { opacity: .45; }
.chart-bars .chart-bar:hover span { opacity: 1; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); background: var(--ink); color: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow-md); }
.chart-grid-lines { position: absolute; inset: 8px 0 0 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid-lines div { border-top: 1px dashed var(--line); height: 0; }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.hbar + .hbar { margin-top: 14px; }
.hbar .track { grid-column: 1 / -1; height: 8px; }
.hbar .track span { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; min-width: 2px; }
.heat { display: grid; grid-template-columns: 34px repeat(var(--cols), minmax(0, 1fr)); gap: 3px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.heat .cell { aspect-ratio: 1.6; border-radius: 4px; background: var(--accent); }
.heat .cell[data-v="0"] { background: var(--surface-2); }
.kpi-delta { font-size: 13px; font-weight: 550; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.kpi-delta.up { color: var(--success); }
.kpi-delta.down { color: var(--danger); }
.kpi-delta.flat { color: var(--muted); }

/* ---------- Açılır menü, SMS önizleme ---------- */
.menu { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 200px; padding: 6px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); transform-origin: top right; }
.menu a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; white-space: nowrap; }
.menu a:hover { background: var(--surface-2); }
.sms-preview { padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); font-size: 14px; line-height: 1.5; max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .p-shell { background: linear-gradient(to right, var(--surface) 247px, var(--line) 247px 248px, transparent 248px); }
  .p-side { background: transparent; border-right: 0; }
}
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button { white-space: nowrap; flex: none; }
.chart-axis span { flex: 1 1 0 !important; min-width: 0; white-space: nowrap; overflow: visible; }
@media (max-width: 640px) { .chart-axis { font-size: 11px; } }

/* Ana sayfa düzenleyici */
.edit-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.edit-group > summary::-webkit-details-marker { display: none; }
.edit-group > summary .ph { color: var(--muted); transition: transform 200ms var(--ease-out); }
.edit-group[open] > summary .ph { transform: rotate(180deg); }
.save-bar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 16px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
/* Firma uygulaması: telefona ekleme kartı ve yaklaşan randevu */
.install-card { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: var(--r-lg, 16px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm, none); }
.install-icon img { width: 48px; height: 48px; border-radius: 12px; display: block; }
.install-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; text-align: left; }
.install-steps li { display: flex; gap: 12px; align-items: flex-start; }
.install-steps .n { flex: none; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; }
.install-steps .ph { font-size: 18px; vertical-align: -3px; color: var(--accent); }
.my-appt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg, 16px); background: var(--accent-soft); color: var(--ink); text-decoration: none; }
.my-appt > :is(.ph, .ph-fill):first-child { font-size: 26px; color: var(--accent); flex: none; }
@media (max-width: 420px) { .install-card { flex-wrap: wrap; } .install-card .grow { flex: 1 1 calc(100% - 64px); } .install-actions { margin-left: 62px; } }
.t-install { margin: 0 0 20px; }
.appt-install { margin-top: 24px; }
/* Platform logosu (yönetici panelinden yüklenen) */
.brand-wide { height: 32px; width: auto; max-width: 200px; object-fit: contain; display: block; }
:is(.glyph, .brand-mark).has-img { background: transparent; overflow: hidden; }
:is(.glyph, .brand-mark).has-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-drop { height: 96px; border: 1px dashed var(--line-strong, var(--line)); border-radius: 12px; display: grid; place-items: center; padding: 12px; background: var(--surface-2, var(--bg)); text-align: center; }
.brand-drop img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-drop.is-square { width: 96px; }
