/* =========================================================
   PRECISION — Randevu & takip bölümü
   Keskin köşeler, kırmızı degrade düğmeler, kareli zemin.
   ========================================================= */
.booking {
  --navy: #26323f;
  --bd: #b4bac2;
  --bd-2: #d0d5da;
  --r: 4px;
  position: relative; z-index: 3;
  background: var(--bg);
  padding: clamp(90px, 13vh, 150px) 0 clamp(100px, 14vh, 160px);
  overflow: hidden;
}
.booking__grid-bg {
  position: absolute; inset: -60px 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 23, 28, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 28, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.booking__inner { position: relative; }

/* Başlık */
.booking__head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: clamp(44px, 7vh, 72px); }
.booking__title {
  font-size: clamp(34px, 4.6vw, 66px); font-weight: 800; line-height: 1;
  letter-spacing: -.01em; color: var(--navy); text-transform: uppercase;
}
.booking__meta { display: flex; align-items: center; }
.booking__meta span { margin-right: 22px; text-align: right; font: 500 12px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.sw { width: 36px; height: 36px; display: block; }
.sw--red { background: var(--red); border-radius: 3px 0 0 3px; }
.sw--ink { background: var(--navy); }
.sw--gray { background: #cfd3d7; border-radius: 0 3px 3px 0; }

.booking__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.booking__col { display: grid; gap: clamp(44px, 6vh, 64px); min-width: 0; }
.bk-label { display: block; margin-bottom: 18px; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--navy); text-transform: uppercase; }
.bk-block { position: relative; z-index: 1; }
.bk-block.is-raised { z-index: 30; }

/* Alanlar */
.bk-field { display: grid; gap: 7px; min-width: 0; }
.bk-field__l { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-input {
  width: 100%; min-width: 0;
  font: 500 16px/1.3 var(--font); color: var(--ink);
  padding: 13px 16px; height: 48px;
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
textarea.bk-input { height: auto; min-height: 88px; resize: vertical; }
.bk-input::placeholder { color: #8a9099; font-weight: 400; }
.bk-input:hover { border-color: #8a9099; }
.bk-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 38, 45, .14); }
.bk-input.is-error, .bk-select.is-error .bk-select__btn { border-color: var(--red); background: #fff6f6; }
.bk-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Düğmeler */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 28px; flex: none;
  font: 600 15px/1 var(--font); letter-spacing: .02em; color: #fff;
  background: linear-gradient(180deg, #ee2a36, #d81c29);
  border: 0; border-radius: var(--r); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s, background .25s;
}
.bk-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.bk-btn:hover { filter: brightness(.9); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(190, 20, 30, .6); }
.bk-btn:active { transform: translateY(0); }
.bk-btn--wide { flex: 1 1 260px; justify-content: space-between; padding: 0 18px; }
.bk-btn--wide:hover svg { transform: translateX(4px); }
.bk-btn--ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--bd); flex: 0 1 auto; padding: 0 18px; }
@media (hover: hover) { .bk-btn--ghost:hover { filter: none; background: var(--navy); color: #fff; box-shadow: none; } }
.bk-btn.is-busy { pointer-events: none; filter: saturate(.6) brightness(1.05); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 01 Takip */
.track label { display: block; font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.track__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.track__result {
  display: none; margin-top: 14px; padding: 18px 20px 18px;
  background: #fff; border: 1px solid var(--bd-2); border-radius: var(--r);
}
.track__result.is-open { display: block; }
.track__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.track__top b { font-size: 17px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.track__badge { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: rgba(38, 50, 63, .08); padding: 6px 9px; border-radius: 3px; }
.track__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.track__steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 3px; }
.track__steps li::before { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: #dfe3e7; z-index: 0; }
.track__steps li:first-child::before { display: none; }
.track__steps li.is-done::before, .track__steps li.is-now::before { background: var(--red); }
.track__steps i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #c3c8ce; margin-bottom: 6px; }
.track__steps .is-done i { background: var(--red); border-color: var(--red); }
.track__steps .is-now i { border-color: var(--red); box-shadow: 0 0 0 5px rgba(224, 38, 45, .15); }
.track__steps span { font-size: 13px; font-weight: 600; }
.track__steps small { font: 500 10.5px/1.3 var(--mono); color: var(--muted); }
.track__note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--bd-2); font-size: 13px; color: var(--ink-2); }
.track__note a { color: var(--red-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Özel açılır liste */
.bk-select { position: relative; min-width: 0; z-index: 2; }
.bk-select.is-open { z-index: 60; }
.bk-select__btn {
  width: 100%; height: 48px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 500 15px/1 var(--font); color: var(--ink); text-align: left;
  background: #fff; border: 1px solid var(--bd); border-radius: var(--r); cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
}
.bk-select__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-select:not(.has-value) .bk-select__btn span { color: #8a9099; font-weight: 400; }
.bk-select__btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.bk-select__btn:hover { border-color: #8a9099; }
.bk-select.is-open .bk-select__btn { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38, 50, 63, .08); }
.bk-select.is-open .bk-select__btn svg { transform: rotate(180deg); }
.bk-select__list {
  list-style: none; position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 320px; overflow-y: auto;
  padding: 6px 0; background: #fff; border: 1px solid #c7ccd2; border-radius: var(--r);
  box-shadow: 0 18px 36px -16px rgba(20, 23, 28, .3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.bk-select.is-open .bk-select__list { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.bk-select__list li {
  position: relative; display: grid; gap: 3px; padding: 11px 18px; cursor: pointer;
  font-size: 15px; color: var(--ink); transition: background .2s;
}
.bk-select__list li small { font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.bk-select__list li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red);
  transform: scaleY(0); transition: transform .25s var(--ease);
}
.bk-select__list li:hover, .bk-select__list li.is-focus { background: #eef1f4; }
.bk-select__list li:hover::before, .bk-select__list li.is-focus::before, .bk-select__list li[aria-selected="true"]::before { transform: scaleY(1); }
.bk-select__list li[aria-selected="true"] { font-weight: 650; }
.bk-select--lg .bk-select__btn { height: 56px; padding: 0 20px; font-size: 18px; }
.bk-select--lg .bk-select__list li { font-size: 17px; padding: 12px 24px; }

.svc-info { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; background: rgba(255, 255, 255, .78); border: 1px solid var(--bd-2); border-radius: var(--r); }
.svc-info > div { padding: 14px 18px; border-right: 1px solid var(--bd-2); min-width: 0; }
.svc-info > div:last-child { border-right: 0; }
.svc-info small { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc-info b { display: block; margin-top: 6px; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kart */
.bk-card { background: #fff; border: 1px solid #c9ced4; border-radius: var(--r); box-shadow: 0 22px 44px -30px rgba(20, 23, 28, .35); }

/* 03 Randevu talebi */
.bk-form { display: grid; gap: 16px; padding: 28px 22px 22px; position: relative; }
.bk-form__head { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.bk-form__head h3 { font-size: 22px; font-weight: 600; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.bk-form__head span { flex: 1; height: 1px; background: #9aa1a9; margin-top: 6px; }
.bk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.bk-form__field { border: 0; min-width: 0; }
.bk-form__field legend { display: block; margin-bottom: 9px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-form .bk-select__list { left: 0; right: 0; }

.bk-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bk-day {
  display: grid; justify-items: center; gap: 1px; padding: 8px 4px 9px;
  font-family: var(--font); color: var(--ink); background: #fff;
  border: 1px solid var(--bd-2); border-radius: var(--r); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .25s var(--ease);
}
.bk-day small { font: 500 10.5px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; }
.bk-day b { font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bk-day span { font-size: 11px; color: var(--ink-2); }
.bk-day:hover { border-color: var(--navy); transform: translateY(-2px); }
.bk-day.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.bk-day.is-active small, .bk-day.is-active span { color: rgba(255, 255, 255, .85); }

.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slot {
  padding: 10px 14px; font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink);
  background: #fff; border: 1px solid var(--bd-2); border-radius: var(--r); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.bk-slot:hover { border-color: var(--navy); }
.bk-slot.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.bk-summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
  padding: 12px 14px; border-radius: var(--r); background: #f3f5f7; border: 1px dashed var(--bd-2);
  font-size: 13.5px; color: var(--ink-2);
}
.bk-summary span { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.bk-summary b { color: var(--ink); font-weight: 650; }

.bk-form__msg { min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
.bk-form__msg.is-error { color: var(--red-ink); font-weight: 600; }
.bk-form__msg.is-ok { color: #1f7a59; font-weight: 600; }
.bk-form__fine { font-size: 12px; color: var(--muted); }

/* 04 Taahhüt kartı */
.quote { position: relative; padding: 32px 40px 30px; }
.quote__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(224, 38, 45, .09); color: var(--red); }
.quote__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote__track { display: grid; margin-top: 18px; }
.quote__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.quote__item.is-active { opacity: 1; visibility: visible; }
.quote__item blockquote { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; font-weight: 550; color: var(--ink); letter-spacing: -.01em; }
.quote__item figcaption { margin-top: 22px; padding-right: 100px; font-size: 15px; color: var(--ink-2); }
.quote__item figcaption b { color: var(--ink); }
.quote__nav { position: absolute; right: 40px; bottom: 26px; display: flex; gap: 10px; }
.quote__arrow {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: var(--r); background: transparent; color: #6f7680; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.quote__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote__arrow:hover { background: #eef1f4; color: var(--ink); }
.quote__arrow--red { background: var(--red); color: #fff; }
.quote__arrow--red:hover { background: var(--red-d); color: #fff; transform: translateX(2px); }
.quote__dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.quote__dots button { width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.quote__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #b9bec5; transition: width .35s var(--ease), background .35s; }
.quote__dots button.is-active::before { width: 22px; background: var(--red); }

.bk-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-contact a { padding: 16px 20px; background: #fff; border: 1px solid var(--bd-2); border-radius: var(--r); transition: border-color .25s, transform .25s var(--ease); min-width: 0; }
.bk-contact a:hover { border-color: var(--red); transform: translateY(-2px); }
.bk-contact small { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-contact b { display: block; margin-top: 6px; font-size: 16px; overflow-wrap: anywhere; }

/* JS kapalıyken formlar yerine doğrudan iletişim */
.booking__nojs { display: none; }
.booking__nojs p { margin-bottom: 18px; font-size: 18px; color: var(--ink); }
html:not(.js):not(.pl-static) .booking__cols,
html:not(.js):not(.pl-static) .quote__nav,
html:not(.js):not(.pl-static) .quote__dots,
.booking:has(#bookingForm:not([data-ready])) .booking__cols { display: none; }
html:not(.js):not(.pl-static) .booking__nojs,
.booking:has(#bookingForm:not([data-ready])) .booking__nojs { display: block; max-width: 640px; }

/* Duyarlı */
@media (max-width: 980px) {
  .booking__cols { grid-template-columns: 1fr; gap: clamp(44px, 6vh, 64px); }
  /* Tek sütunda bloklar numara sırasıyla dizilir: 01 → 02 → 03 → 04 */
  .booking__col { display: contents; }
  .bk-block--track { order: 1; }
  .bk-block--module { order: 2; }
  .bk-block--form { order: 3; }
  .bk-block--promise { order: 4; }
  .booking__cols .bk-contact { order: 5; }
}
@media (max-width: 760px) {
  .booking__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .booking__meta span { text-align: left; }
  .sw { width: 28px; height: 28px; }
  .bk-btn { padding: 0 18px; font-size: 14px; }
  .bk-input { font-size: 16px; }
  .bk-form { padding: 22px 16px 18px; }
  .bk-form__row { grid-template-columns: 1fr; }
  .bk-days { grid-template-columns: repeat(3, 1fr); }
  .svc-info > div { padding: 12px; }
  .svc-info b { font-size: 14px; }
  .bk-select--lg .bk-select__btn, .bk-select--lg .bk-select__list li { font-size: 16px; }
  .quote { padding: 24px 22px 22px; }
  .quote__item figcaption { padding-right: 0; }
  .quote__nav { position: static; justify-content: flex-end; margin-top: 16px; }
  .bk-contact { grid-template-columns: 1fr; }
  .bk-actions .bk-btn { flex: 1 1 100%; }
}
