/* ==========================================================================
   İç sayfalar — Tedaviler · Tedavi detayı · İletişim
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BAŞLIK BANDI GÖRSELİ
   -------------------------------------------------------------------------- */
.page-head__art {
  display: grid; place-items: center;
  aspect-ratio: 1;
  max-width: 280px;
  margin-inline: auto;
  border-radius: 50%;
  /* Beyaz dolgu bandın üstüne çıkar; ikon logo lacivertinde (dolgunun
     üstünde 8'in üzerinde). V1'de ikon klinik yeşiliydi — V2'de yeşil
     yalnız onay/rozet gibi anlam taşıyan yerlerde kaldı. */
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .34) 70%);
  border: 1px solid rgba(36, 64, 130, .16);
}
.page-head__art svg {
  width: 46%; height: 46%;
  color: var(--bys-700);
  stroke-width: 1.2;
}

/* --------------------------------------------------------------------------
   2. METİN BLOĞU
   -------------------------------------------------------------------------- */
.prose p { margin-bottom: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

.treat-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}

/* --------------------------------------------------------------------------
   3. YAN KART
   -------------------------------------------------------------------------- */
.side-card {
  /* Yan kart da gradyan: açık maviden beyaza dikey geçiş */
  background: linear-gradient(180deg, var(--bys-100) 0%, #FBFDFF 100%);
  border: 1px solid var(--bys-150);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}

/* İşaretli liste */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .5rem 0;
  font-size: .96rem;
  color: var(--ink-700);
}
.check-list li + li { border-top: 1px solid var(--bys-150); }
/* Onay ikonu 3. renkte — "olumlu/tamam" anlamını yeşil taşır, düğmeler mavi.
   Ölçüm: #10715F beyazda 5.92 · bys-100 zeminde 4.91. */
.check-list svg {
  width: 19px; height: 19px;
  color: var(--acc);
  flex: 0 0 auto;
  margin-top: .28rem;
}

/* Süre listesi */
.dur-list { list-style: none; padding: 0; margin: 0; }
.dur-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  font-size: .93rem;
}
.dur-row + .dur-row { border-top: 1px dashed var(--bys-200); }
.dur-row__label { color: var(--ink-500); }
.dur-row__value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--bys-700);
  text-align: right;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   4. SÜREÇ LİSTESİ
   -------------------------------------------------------------------------- */
.proc-list { list-style: none; padding: 0; margin: 0; counter-reset: proc; }
.proc-step {
  display: flex; gap: 1.1rem;
  padding-bottom: 1.6rem;
  position: relative;
}
.proc-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px; top: 44px; bottom: 6px;
  width: 2px;
  /* Süreç çizgisi yukarıdan aşağı açılır — adım ilerledikçe ton hafifler */
  background: linear-gradient(180deg, var(--bys-450), var(--bys-150));
}
.proc-step__num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-icon);
  border: 2px solid var(--bys-300);
  color: var(--bys-700);
  font-family: 'Manrope', sans-serif;
  font-size: .86rem; font-weight: 800;
  z-index: 1;
}
.proc-step__title { font-size: 1.06rem; margin-bottom: .35rem; }
.proc-step__text  { color: var(--ink-500); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   5. AĞRI KUTUSU
   -------------------------------------------------------------------------- */
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--bys-500);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--sh-sm);
}
.pain-card p { color: var(--ink-500); font-size: .96rem; }

/* --------------------------------------------------------------------------
   6. KATEGORİ FİLTRESİ
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.filter-chip {
  padding: .55rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  font-family: 'Manrope', sans-serif;
  font-size: .92rem; font-weight: 600;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
/* SSS sayfasında çipler <a>; buton için yazılmış kural altı çizgiyi bırakıyordu */
a.filter-chip { text-decoration: none; }
.filter-chip:hover { border-color: var(--bys-300); color: var(--bys-700); }
.filter-chip.active {
  background-color: var(--bys-600);
  background-image: var(--grad-act);
  border-color: transparent;
  color: #fff;
}
.filter-chip:active { transform: translateY(1px); }

@media (max-width: 575.98px) {
  /* Mobilde tek satır, yatay kaydırma */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   7. İLETİŞİM KARTLARI
   -------------------------------------------------------------------------- */
.contact-card {
  display: flex; flex-direction: column;
  padding: 1.5rem;
  text-decoration: none;
  height: 100%;
}
.contact-card__label {
  font-family: 'Manrope', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--bys-500);
  margin-bottom: .35rem;
}
.contact-card__value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem; font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  word-break: break-word;
}
.contact-card__value--sm { font-size: .98rem; }
.contact-card__hint {
  font-size: .84rem;
  color: var(--ink-500);
  margin-top: .45rem;
}

/* --------------------------------------------------------------------------
   8. FORM
   -------------------------------------------------------------------------- */
.contact-form .form-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-700);
  margin-bottom: .4rem;
}
.contact-form .req { color: var(--act-text); }

.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .72rem .95rem;
  font-size: .98rem;
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--bys-400);
  box-shadow: 0 0 0 3px rgba(110, 151, 208, .2);
}
.contact-form .form-control::placeholder { color: var(--ink-500); }

.contact-form .form-check-input {
  border: 1.5px solid var(--bys-300);
  margin-top: .2rem;
}
.contact-form .form-check-input:checked {
  background-color: var(--bys-700);
  border-color: var(--bys-700);
}
.contact-form .form-check-input:focus {
  border-color: var(--bys-400);
  box-shadow: 0 0 0 3px rgba(110, 151, 208, .2);
}
.contact-form .form-check-label { color: var(--ink-500); line-height: 1.55; }

/* --------------------------------------------------------------------------
   9. ÇALIŞMA SAATLERİ
   -------------------------------------------------------------------------- */
.hours-table { width: 100%; font-size: .95rem; }
.hours-table th,
.hours-table td { padding: .58rem 0; font-weight: 400; }
.hours-table th {
  text-align: left;
  color: var(--ink-700);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}
.hours-table td { text-align: right; color: var(--ink-500); }
.hours-table tr + tr { border-top: 1px solid var(--bys-150); }
.hours-table .closed { color: var(--ink-500); }

.hours-table .is-today th,
.hours-table .is-today td { color: var(--bys-700); font-weight: 700; }
.hours-table .is-today th::after {
  content: 'Bugün';
  display: inline-block;
  margin-left: .5rem;
  padding: .1rem .5rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--grn-100), var(--grn-50));
  color: var(--acc);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   10. HARİTA
   -------------------------------------------------------------------------- */
.map-holder {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 21 / 9;
  min-height: 300px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, var(--bys-50) 0 12px, #fff 12px 24px);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s;
}
.map-holder:hover { border-color: var(--bys-300); }
.map-holder__prompt {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-holder iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-holder.is-loaded { cursor: default; background: none; padding: 0; }

@media (max-width: 767.98px) {
  .map-holder { aspect-ratio: 4 / 3; }
}

@media (max-width: 991.98px) {
  .side-card { margin-top: .5rem; }
}
