/* Ortak site kabuğu (onaylı A yönü): logo, arama çubuğu, bölüm başlıkları, SSS, footer, form */
body { background: var(--c-surface); }

/* #bağlantı hedefi sabit header'ın altında kalmasın (klinik sayfası .block ile kendi payını verir). */
[id] { scroll-margin-top: calc(72px + var(--s-4)); }
.logo { display: inline-flex; align-items: center; min-height: var(--tap); gap: var(--s-2); color: var(--c-text); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo .ikon { color: var(--c-primary); width: 28px; height: 28px; }
.logo b { color: var(--c-primary); }
.logo--light { color: #fff; }
.logo--light .ikon, .logo--light b { color: #8FB1F0; }

.search {
  display: flex; align-items: stretch;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  padding: 6px; box-shadow: 0 16px 40px -24px rgba(22, 41, 74, .45);
  width: min(100%, 720px);
}
.search:focus-within { border-color: var(--c-primary); background: var(--c-bg); }
.search-field { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 18px 6px 50px; border-radius: 999px; transition: background-color .15s, box-shadow .15s; }
.search-field > .ikon { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--c-muted); pointer-events: none; transition: color .15s; }
.search-field::after { content: ""; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: var(--c-line); transition: opacity .15s; }
.search-field:hover::after, .search-field:focus-within::after, .search-field:has(+ .search-field:hover)::after, .search-field:has(+ .search-field:focus-within)::after { opacity: 0; }
.search-field:hover { background: var(--c-tag-bg); }
.search:focus-within .search-field:focus-within { background: var(--c-surface); box-shadow: 0 6px 20px -8px rgba(22, 41, 74, .35); }
.search-field:focus-within > .ikon { color: var(--c-primary); }
.search-field--wide { flex-grow: 1.4; }
.search-field label { font-size: 12px; font-weight: 700; }
.search-field input, .search-field select {
  appearance: none; -webkit-appearance: none; border: 0; padding: 0; background: transparent; font-size: var(--fs-body); font-weight: 500; min-height: 32px; outline: none; width: 100%; }
.search-field select { padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253349' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right center / 16px; cursor: pointer; }
.search-field select:disabled { color: var(--c-muted); cursor: not-allowed; opacity: .7; }
.select { appearance: none; -webkit-appearance: none; min-height: var(--tap); padding: 0 36px 0 var(--s-3); border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253349' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font-weight: 600; cursor: pointer; }
.select:focus { border-color: var(--c-primary); }
.search-field:nth-last-child(2)::after { display: none; }
.search-field:focus-within label { color: var(--c-primary); }
.search-submit { border-radius: 999px; padding: 0 var(--s-6); min-height: 56px; }

.breadcrumb { margin-bottom: var(--s-2); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: 14px; color: var(--c-muted); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--s-2); color: var(--c-line); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }

.section { padding: var(--s-16) 0; }
.section--tint { background: var(--c-bg); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 800; }
.section-head a { font-weight: 700; text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }

.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--c-primary); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: var(--s-4); color: var(--c-muted); }

.site-footer { background: var(--c-navy); color: #C7D6F2; padding: var(--s-16) 0 var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-8); }
.site-footer h2 { color: #fff; font-size: var(--fs-body); margin-bottom: var(--s-3); }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer nav a { color: #C7D6F2; text-decoration: none; min-height: 32px; display: flex; align-items: center; }
.site-footer nav a:hover { color: #fff; }
.footer-note { margin-top: var(--s-3); }
.footer-bottom { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid rgba(199, 214, 242, .2); font-size: var(--fs-small); }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  [id] { scroll-margin-top: var(--s-4); }
  .search { flex-direction: column; border-radius: var(--r-lg); padding: var(--s-2); }
  .search-field { border-radius: var(--r-sm); padding: 10px 12px 10px 44px; }
  .search-field::after { top: auto; bottom: 0; left: 12px; right: 12px; width: auto; height: 1px; }
  .search-field > .ikon { left: 14px; }
  .search-submit { border-radius: var(--r-sm); margin-top: var(--s-2); }
  .section { padding: var(--s-10) 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-4); border-radius: 999px; background: var(--c-tag-bg); color: var(--c-tag-text); font-weight: 600; text-decoration: none; }
.chips a:hover { background: var(--c-primary); color: #fff; }
.chips--spaced { margin-top: var(--s-6); }
.muted { color: var(--c-muted); }

/* Form (DESIGN.md §6 Form alanları, §9 Form hatası) */
.form { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-6); align-items: flex-start; }
.form-field { display: flex; flex-direction: column; gap: var(--s-1); width: 100%; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: var(--s-3); border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); background: var(--c-surface); }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(36, 87, 197, .35); outline-offset: 0; border-color: var(--c-primary); }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--c-error); }
.field-error { display: flex; align-items: center; gap: var(--s-1); color: var(--c-error); font-size: 14px; font-weight: 600; }
.hint { font-size: var(--fs-small); color: var(--c-muted); }
.notice { display: flex; gap: var(--s-3); align-items: flex-start; margin: var(--s-6) 0; padding: var(--s-4); border-radius: var(--r-lg); background: #DCFCE7; color: var(--c-open); }
.notice .ikon { width: 24px; height: 24px; }
.notice p { color: var(--c-text); }

.r-img-link { display: block; line-height: 0; }
.r-img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r-sm); background: var(--c-tag-bg); }
@media (max-width: 767px) { .r-img { width: 80px; height: 80px; } }

/* Google puanı yıldızları ve klinik rozetleri (K23): liste kartı, klinik sayfası */
.yz { position: relative; display: inline-block; flex: none; line-height: 0; vertical-align: -2px; }
.yz svg { flex: none; width: 14px; height: 14px; fill: currentColor; }
.yz-bos { color: var(--c-line); display: inline-flex; gap: 1px; }
.yz-dolu { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 1px; overflow: hidden; color: var(--c-yildiz); white-space: nowrap; }
.yz-buyuk svg { width: 20px; height: 20px; }
.rozetler { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rz { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--c-line); color: var(--c-muted); background: var(--c-surface); }
.rz .ikon { width: 14px; height: 14px; }
.rz-dogru { background: var(--c-tag-bg); border-color: var(--c-tag-bg); color: var(--c-tag-text); }
.rz-randevu { color: var(--c-accent-text); border-color: color-mix(in srgb, var(--c-accent) 40%, #fff); }
