/* ==========================================================================
   Royal Sağlık Grubu — Ana stil dosyası
   Tasarım sistemi: ui-ux-pro-max (healthcare) + Royal marka renkleri
   ========================================================================== */

:root {
  /* Marka */
  --royal-blue: #0063AF;       /* logo mavisi */
  --royal-blue-600: #00528F;
  --royal-blue-50: #EAF3FB;
  --royal-navy: #0A2A4F;       /* koyu zemin */
  --royal-navy-2: #123A68;
  --royal-red: #C8102E;        /* tabela kırmızısı - CTA */
  --royal-red-600: #A50D26;

  /* Yüzeyler */
  --surface-1: #FFFFFF;
  --surface-2: #F4F7FB;
  --surface-3: #E8EEF6;

  /* Metin */
  --ink: #142235;
  --muted: #55657A;
  --border: rgba(10, 42, 79, 0.10);

  /* Yarıçap */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Gölge */
  --shadow-sm: 0 4px 12px rgba(10, 42, 79, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 42, 79, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 42, 79, 0.14);
  --shadow-cta: 0 10px 24px rgba(200, 16, 46, 0.25);

  /* Tipografi */
  --font-heading: "Figtree", system-ui, sans-serif;
  --font-body: "Noto Sans", system-ui, sans-serif;

  /* Boşluk */
  --section-y: clamp(56px, 8vw, 104px);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.2; margin: 0; color: var(--royal-navy); }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--royal-blue); outline-offset: 3px; border-radius: 4px; }

[hidden] { 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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--royal-navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal-red); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--royal-red-600); }
.btn-blue { background: var(--royal-blue); color: #fff; }
.btn-blue:hover { background: var(--royal-blue-600); }
.btn-outline { border: 2px solid var(--royal-blue); color: var(--royal-blue); }
.btn-outline:hover { background: var(--royal-blue); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--royal-navy); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading);
  font-weight: 700; color: var(--royal-blue);
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Bölüm başlıkları ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-2); }
.eyebrow {
  display: inline-block; font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--royal-red); margin-bottom: 12px;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.01em; }
.section-lead { color: var(--muted); max-width: 640px; margin-top: 12px; font-size: 17px; }

/* ==========================================================================
   Üst bar
   ========================================================================== */
.topbar { background: var(--royal-navy); color: rgba(255,255,255,.88); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-phones { display: flex; gap: 20px; }
.topbar-phones a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-phones strong { color: #fff; font-weight: 700; }
.topbar-phones a:hover strong { text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-lang { display: flex; gap: 12px; }
.topbar-lang a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 6px; }
.social a {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .2s var(--ease);
}
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
/* Aşağı kaydırırken gizlenir, yukarı kaydırınca geri gelir */
.header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.header:has(:focus-visible) { transform: none; } /* klavyeyle gezinirken görünür kalır */
/* İnce mod: sayfanın aşağısında sadece logo + hızlı işlemler satırı (ana menü gizli) */
.header.is-compact .mainnav { display: none; }
.header.is-compact .container { min-height: 60px; }
.header.is-compact .brand img { width: 140px; }
.header.is-compact .btn { min-height: 40px; }
.header.is-compact .menu-toggle { width: 40px; height: 40px; }
.header .container { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand {
  position: relative; display: inline-flex; flex-shrink: 0;
  transition: transform .5s var(--ease);
}
.brand img {
  width: 180px; height: auto;
  /* ilk versiyondaki daha koyu, dolgun görünüm */
  filter: saturate(1.35) brightness(.84) contrast(1.12)
          drop-shadow(0 1px 1px rgba(10, 42, 79, .35))
          drop-shadow(0 4px 10px rgba(0, 99, 175, .38));
  transition: filter .5s var(--ease);
}

/* Premium parlama: ince, beyaz bir ışık çizgisi logonun üzerinden süzülür.
   "screen" karışımı beyaz zeminde görünmez, yalnızca logo piksellerinde ışık olarak belirir. */
.brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(70, 160, 255, .35) 44%,
    rgba(150, 210, 255, 1) 48.5%,
    rgba(150, 210, 255, 1) 51.5%,
    rgba(70, 160, 255, .35) 56%,
    transparent 62%);
  background-size: 260% 100%; background-position: 120% 0; background-repeat: no-repeat;
  animation: brand-shine 5s cubic-bezier(.45, 0, .25, 1) 1s infinite;
}
.brand:hover { transform: translateY(-1px); }
.brand:hover img {
  filter: saturate(1.35) brightness(.84) contrast(1.12)
          drop-shadow(0 1px 1px rgba(10, 42, 79, .35))
          drop-shadow(0 6px 18px rgba(0, 99, 175, .55));
}
.brand:hover::after { animation: brand-shine-once 1.1s cubic-bezier(.45, 0, .25, 1) forwards; }

/* 7 sn'lik döngünün ilk ~1.3 sn'sinde geçer, sonra bekler */
@keyframes brand-shine {
  0%        { background-position: 120% 0; }
  18%, 100% { background-position: -20% 0; }
}
@keyframes brand-shine-once {
  from { background-position: 120% 0; }
  to   { background-position: -20% 0; }
}

/* Footer (beyaz logo) için yumuşak ışıma */
.footer-brand img { filter: drop-shadow(0 0 12px rgba(120, 180, 255, .35)); }

.utility { display: flex; gap: 6px; margin-left: auto; }
.utility a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--royal-navy); border: 1px solid var(--border);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.utility a .icon { width: 16px; height: 16px; color: var(--royal-blue); }
.utility a:hover { background: var(--royal-blue-50); border-color: rgba(0,99,175,.25); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--royal-navy); transition: background-color .2s var(--ease);
}
.menu-toggle:hover { background: var(--surface-3); }

/* Ana menü satırı */
.mainnav { border-top: 1px solid var(--border); }
.mainnav ul { display: flex; justify-content: center; gap: 4px; }
/* Öğe arası: geniş ekranda açılır (bayraklarla arada büyük boşluk kalmasın), dar ekranda daralır */
.mainnav > .container > ul { flex: 1; justify-content: space-between; gap: 4px; padding-right: 20px; }
.mainnav .nav-link { white-space: nowrap; }
.mainnav > .container > ul > li { position: relative; }
/* Dil seçimi: ana menünün sağında bayraklar */
.flag { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10, 42, 79, .15); overflow: hidden; }
.nav-lang { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-lang a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--royal-navy); transition: background .2s var(--ease); }
.nav-lang a:hover { background: var(--surface-2); }
.nav-lang a:hover .flag { box-shadow: 0 0 0 1px rgba(10, 42, 79, .3), 0 2px 6px rgba(10, 42, 79, .18); }
.drawer-quick .flag { width: 20px; height: 14px; }
.mainnav a.nav-link, .mainnav button.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 14px 16px;
  font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--royal-navy); position: relative;
}
.mainnav .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--royal-red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.mainnav .nav-link:hover::after, .mainnav .nav-link[aria-current="page"]::after,
.mainnav li:focus-within > .nav-link::after { transform: scaleX(1); }
.mainnav .nav-link .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  display: block !important;
}
.mainnav li:hover > .dropdown, .mainnav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mainnav li:hover > .nav-link .icon, .mainnav li:focus-within > .nav-link .icon { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink); }
.dropdown a:hover { background: var(--royal-blue-50); color: var(--royal-blue); }

/* ==========================================================================
   Mobil çekmece menü
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(10,42,79,.45); z-index: 190;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 200;
  background: #fff; display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .3s var(--ease); overflow-y: auto;
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head img { width: 150px; }
.drawer-nav { padding: 12px 20px; }
.drawer-nav > li > a, .drawer-nav summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--royal-navy);
  border-bottom: 1px solid var(--border); cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-nav summary .icon { transition: transform .2s var(--ease); }
.drawer-nav details ul { padding: 6px 0 10px 12px; }
.drawer-nav details a { display: block; padding: 10px 4px; color: var(--muted); }
.drawer-nav details a:hover { color: var(--royal-blue); }
.drawer-num { font-size: 13px; color: var(--royal-red); margin-right: 10px; font-weight: 800; }
.drawer-quick { padding: 8px 20px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-quick a {
  display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--r-md);
  background: var(--surface-2); font-weight: 600; font-size: 14px; color: var(--royal-navy);
}
.drawer-quick a .icon { color: var(--royal-blue); }
.drawer-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.drawer-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-phones .btn { min-height: 56px; padding: 0 10px; gap: 8px; }
.drawer-phones .btn span { display: grid; line-height: 1.15; text-align: left; }
.drawer-phones .btn small { font-size: 11.5px; font-weight: 700; opacity: .75; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; background: var(--royal-blue-50); }
.slider { position: relative; overflow: hidden; }
.slides { position: relative; aspect-ratio: 1920 / 700; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* Slider noktaları: zemin yok (görselin üstünü kapatmasın); hem açık hem koyu görselde seçilsin diye ince gölgeli */
.slider-controls {
  position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%);
  display: flex; align-items: center;
}
.slider-dots { display: flex; gap: 2px; }
.slider-dot { width: 24px; height: 24px; display: grid; place-items: center; }
.slider-dot span {
  width: 8px; height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.7);
  box-shadow: 0 0 0 1px rgba(10,42,79,.18), 0 1px 3px rgba(10,42,79,.25);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.slider-dot:hover span { background: #fff; }
.slider-dot[aria-current="true"] span { width: 22px; background: var(--royal-red); box-shadow: 0 1px 4px rgba(200,16,46,.35); }
.slider-btn {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--royal-navy);
  transition: background-color .2s var(--ease);
}
.slider-btn:hover { background: var(--surface-3); }
.slider-btn .icon { width: 18px; height: 18px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--royal-navy); display: grid; place-items: center;
  box-shadow: var(--shadow-md); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.slider-arrow:hover { background: var(--royal-navy); color: #fff; }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Arama + hızlı erişim kutusu */
.quickbar { position: relative; z-index: 5; margin-top: -44px; }
.quickbar-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px 22px;
  display: grid; grid-template-columns: minmax(280px, 1fr) auto; gap: 20px; align-items: center;
}
.search {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--border);
}
.search:focus-within { border-color: var(--royal-blue); box-shadow: 0 0 0 4px rgba(0,99,175,.12); }
.search .icon { color: var(--muted); }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  min-height: 44px; outline: none;
}
.search input::placeholder { color: #7B8798; }

/* Canlı arama sonuç listesi (ana sayfa) */
#aramaFormu { position: relative; }
.arama-sonuc {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40;
  max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 18px 48px rgba(10,42,79,.18); padding: 8px;
}
.as-grup + .as-grup { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.as-baslik { margin: 6px 10px 4px; font: 800 11.5px/1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.as-satir { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.as-satir:hover, .as-satir[aria-selected="true"] { background: var(--royal-blue-50); }
.as-foto { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font: 800 12px/1 var(--font-heading); color: var(--royal-blue); }
.as-foto img { position: absolute; left: 50%; top: -40px; width: 92px; max-width: none; transform: translateX(-50%); }
.as-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); }
.as-metin { display: grid; gap: 2px; min-width: 0; }
.as-metin strong { font-family: var(--font-heading); font-size: 15px; color: var(--royal-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-metin strong mark { background: transparent; color: var(--royal-blue); font-weight: 800; }
.as-metin small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-durum { margin: 0; padding: 14px 12px; color: var(--muted); font-size: 14.5px; }
.as-durum a { color: var(--royal-blue); font-weight: 700; }
.as-tumu { display: block; margin-top: 6px; padding: 11px 12px; border-top: 1px solid var(--border); color: var(--royal-blue); font: 700 14px/1.2 var(--font-heading); text-decoration: none; }
.as-tumu:hover { background: var(--surface-2); border-radius: 0 0 var(--r-md) var(--r-md); }
.quick-links { display: grid; grid-template-columns: repeat(4, auto); gap: 12px; }
.quick-links a {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.quick-links a:hover { border-color: rgba(0,99,175,.35); background: var(--royal-blue-50); }
.quick-links .qi {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--royal-blue-50); color: var(--royal-blue); flex-shrink: 0;
}
.quick-links small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.quick-links strong { font-family: var(--font-heading); font-size: 15px; color: var(--royal-navy); line-height: 1.25; white-space: nowrap; }

/* ==========================================================================
   Hizmet kartları (Online randevu, Doktora sorun...)
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px;
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .si {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--royal-blue); color: #fff;
}
.service-card:nth-child(2) .si { background: var(--royal-navy); }
.service-card:nth-child(3) .si { background: #0E7C86; }
.service-card:nth-child(4) .si { background: var(--royal-red); }
.service-card h3 { font-size: 20px; font-weight: 800; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.service-card .link-arrow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ==========================================================================
   Hastanelerimiz
   ========================================================================== */
.hospitals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hospital-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.hospital-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.hospital-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.hospital-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hospital-card:hover .hospital-media img { transform: scale(1.04); }
.hospital-tag {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.95); font-size: 13px; font-weight: 700; color: var(--royal-navy);
  display: inline-flex; gap: 6px; align-items: center;
}
.hospital-tag .icon { width: 14px; height: 14px; color: var(--royal-red); }
.hospital-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.hospital-body h3 { font-size: 24px; font-weight: 800; }
.hospital-body p { color: var(--muted); }
.hospital-meta { display: grid; gap: 8px; font-size: 15px; }
.hospital-meta li { display: flex; gap: 10px; align-items: flex-start; }
.hospital-meta .icon { color: var(--royal-blue); margin-top: 2px; width: 18px; height: 18px; }
.hospital-meta a:hover { color: var(--royal-blue); text-decoration: underline; }
.hospital-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* Hasta yolculuğu bant (Doruk Bursaspor bandı yerine) */
.callband {
  margin-top: 40px; border-radius: var(--r-lg); padding: 26px 32px;
  background: linear-gradient(100deg, var(--royal-navy) 0%, var(--royal-blue) 100%); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.callband-left { display: flex; align-items: center; gap: 20px; }
.callband-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.callband small { display: block; font-weight: 800; letter-spacing: .12em; font-size: 12px; color: #FFB3BF; text-transform: uppercase; }
.callband strong { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 30px); }
.callband p { color: rgba(255,255,255,.82); font-size: 15px; }
.callband-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Hakkımızda / 1987
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; }
.about-badge {
  position: absolute; right: 4%; bottom: 6%; background: var(--royal-red); color: #fff;
  border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-cta); text-align: center;
}
.about-badge strong { display: block; font-family: var(--font-heading); font-size: 34px; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 600; }
.about-text p + p { margin-top: 14px; }
.about-text > p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.feature { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); }
.feature .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--royal-blue); box-shadow: var(--shadow-sm); }
.feature strong { font-family: var(--font-heading); font-size: 15.5px; color: var(--royal-navy); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat {
  padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); text-align: center;
}
.stat .icon { color: var(--royal-blue); margin: 0 auto 10px; width: 26px; height: 26px; }
.stat strong { display: block; font-family: var(--font-heading); font-size: clamp(28px, 3.2vw, 38px); color: var(--royal-navy); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Tıbbi birimler
   ========================================================================== */
.departments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dept {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff;
  border-radius: var(--r-md); border: 1px solid var(--border);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.dept:hover { border-color: rgba(0,99,175,.35); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dept .di { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); flex-shrink: 0; transition: background-color .2s var(--ease), color .2s var(--ease); }
.dept:hover .di { background: var(--royal-blue); color: #fff; }
.dept span { font-family: var(--font-heading); font-weight: 700; color: var(--royal-navy); font-size: 15.5px; line-height: 1.3; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ==========================================================================
   Hekimlerimiz carousel
   ========================================================================== */
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--royal-navy); background: #fff; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.carousel-nav button:hover { background: var(--royal-navy); color: #fff; }
.carousel-nav button:disabled { opacity: .4; cursor: default; background: #fff; color: var(--royal-navy); }
.doctors {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px;
}
.doctors::-webkit-scrollbar { display: none; }
.doctor { scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .25s var(--ease); position: relative; }
.doctor:hover { box-shadow: var(--shadow-md); }
.doctor-photo { aspect-ratio: 360 / 440; overflow: hidden; background: var(--royal-blue-50); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 100%; transition: transform .5s var(--ease); }
.doctor:hover .doctor-photo img { transform: scale(1.04); }
.doctor-body { padding: 18px 20px 20px; }
.doctor-body small { display: block; font-size: 13px; color: var(--royal-red); font-weight: 700; margin-bottom: 4px; }
.doctor-body h3 { font-size: 17.5px; font-weight: 800; }
.doctor-body h3 a::before { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   Check-Up (koyu bant)
   ========================================================================== */
.dark-band { background: var(--royal-navy); color: #fff; position: relative; overflow: hidden; }
.dark-band::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(0,99,175,.55), transparent 65%);
}
.dark-band .container { position: relative; }
.checkup { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.checkup h2 { color: #fff; }
.checkup .eyebrow { color: #FF9AAA; }
.checkup-lead { color: rgba(255,255,255,.82); margin: 16px 0 28px; font-size: 17px; }
.checkup-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.package {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  border-radius: var(--r-md); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.package:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.package strong { font-family: var(--font-heading); font-size: 16px; line-height: 1.3; }
.package small { display: block; color: rgba(255,255,255,.65); font-size: 13px; }
.package .icon { color: #FF9AAA; }

/* ==========================================================================
   Gebe okulu
   ========================================================================== */
.feature-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature-split .media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); aspect-ratio: 1; object-fit: cover; width: 100%; }
.feature-split p { color: var(--muted); }
.feature-split p + p { margin-top: 12px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.pill-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-pill);
  background: #FDEEF0; color: #8E1B2E; font-weight: 600; font-size: 14.5px;
}
.pill-list .icon { width: 16px; height: 16px; }

/* ==========================================================================
   Neden Royal
   ========================================================================== */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); }
.why-card .wi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); margin-bottom: 18px; }
.why-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Blog + İstek/öneri
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.news-card {
  display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--border); position: relative; transition: box-shadow .25s var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card .media { min-height: 260px; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.news-body time { font-size: 13px; color: var(--muted); font-weight: 600; }
.news-body h3 { font-size: 20px; font-weight: 800; }
.news-body h3 a::before { content: ""; position: absolute; inset: 0; }
.news-body p { color: var(--muted); font-size: 15px; }
.feedback-card {
  border-radius: var(--r-lg); padding: 32px; background: var(--royal-blue-50); display: flex; flex-direction: column; gap: 14px;
  border: 1px solid rgba(0,99,175,.12);
}
.feedback-card .fi { width: 56px; height: 56px; border-radius: 16px; background: var(--royal-blue); color: #fff; display: grid; place-items: center; }
.feedback-card h3 { font-size: 24px; font-weight: 800; }
.feedback-card p { color: var(--muted); flex: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #071E39; color: rgba(255,255,255,.78); font-size: 15px; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.footer-cta p { margin-top: 6px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact .icon { color: #7FB4E6; margin-top: 3px; width: 18px; height: 18px; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.callcenter { margin-top: 18px; padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.callcenter small { font-size: 13.5px; }
.callcenter .cc-title { display: block; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cc-grid > div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.cc-grid small { display: block; color: #9EC3E8; font-weight: 600; font-size: 13px; }
.callcenter a { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: #fff; line-height: 1.2; margin-top: 2px; white-space: nowrap; }
.callcenter a:hover { color: #fff; text-decoration: underline; }
.footer .social { margin-top: 18px; }
.footer .social a { background: rgba(255,255,255,.08); width: 40px; height: 40px; }
.footer .social a:hover { background: var(--royal-blue); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; font-size: 13.5px; }
.footer-legal .container { display: grid; gap: 10px; }
.footer-legal .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-legal .disclaimer { color: rgba(255,255,255,.55); }
/* Siteyi yapan firma: son satırın sağ ucu */
.footer-legal .footer-credit { margin-left: auto; color: #fff; font: 800 13px/1.6 var(--font-heading); letter-spacing: .08em; }
.footer-legal .footer-credit:hover { color: #fff; opacity: .8; text-decoration: none; }

/* ==========================================================================
   Yüzen butonlar
   ========================================================================== */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; }
.fab > a, .fab-tel {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-md); transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.fab > a:hover, .fab-tel:hover { transform: scale(1.06); }
.fab .fab-res { background: #0E7C86; }
/* Üzerine gelince etiket */
.fab > a[data-tip] { position: relative; }
.fab > a[data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--royal-navy); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 13.5px;
  opacity: 0; transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.fab > a[data-tip]:hover::after, .fab > a[data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.fab-call { position: relative; }
.fab .fab-tel[aria-expanded="true"] { background: var(--royal-navy); }
.fab-menu {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: 300px; padding: 14px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: grid; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: bottom right;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.fab-call.is-open .fab-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.fab-menu-title { font-size: 13px; font-weight: 700; color: var(--muted); padding: 0 4px 2px; }
.fab-option {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-md);
  border: 1px solid var(--border); transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.fab-option:hover { background: var(--royal-blue-50); border-color: rgba(0, 99, 175, .3); }
.fab-option .so-icon { width: 40px; height: 40px; border-radius: 12px; }
.fab-option .so-action { width: 38px; height: 38px; }
.fab-option .so-text strong { font-size: 15px; }
.fab-option .so-text small { font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--royal-navy); }
.fab .fab-cal { background: var(--royal-red); }
.fab .fab-tel { background: var(--royal-blue); }

/* ==========================================================================
   Mobil alt işlem çubuğu + bottom sheet
   ========================================================================== */
.mobilebar { display: none; }

.mobilebar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 120;
  background: #fff; border-radius: 22px; border: 1px solid var(--border);
  box-shadow: 0 -4px 30px rgba(10, 42, 79, .16);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  transition: transform .3s var(--ease);
}
.mobilebar-top {
  display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border);
  max-height: 80px; overflow: hidden;
  transition: max-height .3s var(--ease), opacity .2s var(--ease), border-color .3s var(--ease);
}
.mb-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 60px; padding: 6px 2px; border-radius: 14px; color: var(--royal-navy);
  font-size: 12.5px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .15s var(--ease);
}
.mb-item .icon { width: 22px; height: 22px; color: var(--royal-blue); }
.mb-item:active { background: var(--royal-blue-50); }
.mobilebar-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; }
.mb-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border-radius: 14px; font-family: var(--font-heading); font-weight: 800; font-size: 16px;
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.mb-btn:active { transform: scale(.98); }
.mb-primary { background: var(--royal-red); color: #fff; box-shadow: var(--shadow-cta); }
.mb-primary:active { background: var(--royal-red-600); }
.mb-secondary { background: #fff; color: var(--royal-blue); border: 1.5px solid rgba(0, 99, 175, .3); }
.mb-secondary:active { background: var(--royal-blue-50); }

/* Aşağı kaydırırken üst satır katlanır */
.mobilebar.is-compact .mobilebar-top { max-height: 0; opacity: 0; border-color: transparent; }
.mobilebar.is-compact .mobilebar-bottom { padding-top: 2px; }

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 290; background: rgba(10, 42, 79, .45);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.sheet-open .sheet-backdrop { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; max-width: 560px; margin-inline: auto;
  background: #fff; border-radius: 24px 24px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-lg); transform: translateY(105%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.sheet-handle { width: 44px; height: 5px; border-radius: 99px; background: var(--surface-3); margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-size: 19px; font-weight: 800; }
.sheet-close {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface-2); color: var(--royal-navy);
}
.sheet-note { color: var(--muted); font-size: 14px; margin: 2px 0 16px; }
.sheet-list { display: grid; gap: 10px; }
.sheet-option {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.sheet-option:hover, .sheet-option:active { background: var(--royal-blue-50); border-color: rgba(0, 99, 175, .3); }
.so-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); flex-shrink: 0; }
.so-text { flex: 1; min-width: 0; }
.so-text strong { display: block; font-family: var(--font-heading); color: var(--royal-navy); font-size: 16px; }
.so-text small { color: var(--muted); font-size: 14px; }
.so-action { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--royal-red); color: #fff; flex-shrink: 0; }

@media (max-width: 1024px) {
  .mobilebar { display: block; }
  .fab { display: none; }
  .header-cta .btn-primary { display: none; } /* randevu alt çubukta */
  body { padding-bottom: 160px; }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .mobilebar { left: 50%; right: auto; width: 600px; transform: translateX(-50%); }
}

/* ==========================================================================
   Alt sayfalar: sayfa başlığı
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--royal-navy) 0%, var(--royal-navy-2) 100%);
  color: rgba(255,255,255,.86); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 7vw, 96px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,99,175,.45), transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.01em; margin: 14px 0 10px; }
.page-hero p { max-width: 640px; font-size: 17px; margin: 0; }
.page-hero strong { color: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ==========================================================================
   Doktorlar sayfası
   ========================================================================== */
.doctors-page { padding-top: 0; }
.filter-card {
  position: relative; z-index: 2; margin-top: -44px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: grid; grid-template-columns: auto minmax(220px, 1fr) minmax(220px, 1fr) auto; gap: 18px 20px; align-items: end;
}
.filter-label {
  display: block; font-family: var(--font-heading); font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0;
}
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg-options { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); }
.seg-option { position: relative; cursor: pointer; }
.seg-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-short { display: none; }
/* Formlarda çok seçenekli grup: satırlara sarılır */
.seg-wrap { display: flex; border-radius: 22px; width: fit-content; max-width: 100%; }
.field-opt { font-weight: 500; color: var(--muted); font-size: 12px; }
.seg-option > span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--royal-navy); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.seg-option:hover > span { background: rgba(0,99,175,.08); }
.seg-option input:checked + span { background: var(--royal-blue); color: #fff; box-shadow: 0 4px 12px rgba(0,99,175,.28); }
.seg-option input:focus-visible + span { outline: 3px solid var(--royal-blue); outline-offset: 2px; }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; min-height: 50px; padding: 0 44px 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink);
  font: inherit; font-size: 15.5px; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.select-wrap select:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 4px rgba(0,99,175,.12); }
.select-wrap .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-sm { padding: 3px 6px 3px 18px; }
.search-sm input { min-height: 42px; font-size: 15.5px; }
.filter-submit { min-height: 50px; }
.filter-card.is-enhanced .filter-submit { display: none; }
.filter-card.is-enhanced { grid-template-columns: auto minmax(220px, 1fr) minmax(220px, 1fr); }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.result-bar p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--muted); }
.result-bar strong { color: var(--royal-navy); }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 700; background: var(--surface-3); color: var(--royal-navy);
}
.tag-blue { background: var(--royal-blue-50); color: var(--royal-blue); }
.tag-red { background: rgba(200,16,46,.08); color: var(--royal-red); }

.doctor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* Veritabanındaki fotoğrafların üstünde "1987 yılından bugüne – Herkes için sağlık" yazısı var: üstten hizala */
.doctor-grid .doctor-photo { aspect-ratio: 360 / 600; }   /* fotoğrafın kendi oranı: kırpılmadan tamamı görünür */
.doctor-grid .doctor-photo img { object-position: center top; }
.doctor-initials {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-family: var(--font-heading); font-size: 56px; font-weight: 800; color: rgba(0,99,175,.35);
}
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.doctor-tags li {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--royal-navy);
}
.doctor-tags .icon { color: var(--royal-blue); width: 14px; height: 14px; }

.empty-state {
  text-align: center; padding: 56px 24px; border: 1px dashed rgba(10,42,79,.18); border-radius: var(--r-lg);
  background: var(--surface-2); display: grid; justify-items: center; gap: 10px;
}
.empty-state > .icon { width: 40px; height: 40px; color: var(--royal-blue); }
.empty-state h2 { font-size: 20px; }
.empty-state p { margin: 0 0 8px; color: var(--muted); }

.doctors-cta {
  margin-top: 48px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg);
  background: var(--royal-blue-50); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.doctors-cta h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.doctors-cta p { margin: 6px 0 0; color: var(--muted); max-width: 560px; }
.doctors-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1200px) {
  .filter-card, .filter-card.is-enhanced { grid-template-columns: 1fr 1fr; }
  .filter-card .seg { grid-column: 1 / -1; }
  .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .filter-card, .filter-card.is-enhanced { grid-template-columns: 1fr; padding: 16px; margin-top: -36px; }
  .seg-options { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg-option > span { justify-content: center; width: 100%; padding: 0 8px; font-size: 14px; }
  .seg-full { display: none; }
  .seg-short { display: inline; }
  .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .doctor-body { padding: 12px 14px 14px; }
  .doctor-body h3 { font-size: 15px; }
  .doctor-body small { font-size: 12px; }
}

/* ==========================================================================
   Doktor detay sayfası
   ========================================================================== */
.page-hero-sm { padding-bottom: clamp(36px, 5vw, 56px); }
.eyebrow-light { color: #8EC5FF; }
.btn-block { display: flex; width: 100%; }
.doctor-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.doctor-hero-text { margin-left: calc(340px + 40px); margin-top: 22px; }
.doctor-hero-text .eyebrow { margin-bottom: 4px; }
.doctor-hero-text h1 { margin-top: 0; }
.doctor-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.doctor-hero-tags li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 14px; font-weight: 600;
}
.doctor-hero-tags .icon { color: #8EC5FF; }

.doctor-detail { padding-top: 0; }
.doctor-detail-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.doctor-card {
  margin-top: -170px; position: sticky; top: 24px; z-index: 2;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border);
}
.doctor-card-photo { aspect-ratio: 360 / 400; background: linear-gradient(180deg, var(--royal-blue-50), #fff); overflow: hidden; }
.doctor-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor-card-body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.doctor-card-name { font-family: var(--font-heading); font-size: 19px; font-weight: 800; color: var(--royal-navy); margin: 0; }
.doctor-card-dept { margin: -6px 0 6px; color: var(--royal-red); font-weight: 700; font-size: 14px; }
.doctor-card-call { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.doctor-card-call > small { color: var(--muted); font-size: 12.5px; }
.doctor-card-call a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--surface-2); transition: background-color .2s var(--ease);
}
.doctor-card-call a:hover { background: var(--royal-blue-50); }
.doctor-card-call .so-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--royal-blue); flex-shrink: 0; }
.doctor-card-call small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.doctor-card-call strong { font-family: var(--font-heading); font-size: 17px; color: var(--royal-navy); }

.doctor-main { padding-top: 36px; min-width: 0; display: grid; gap: 40px; }
.doctor-bio { min-width: 0; }
.doctor-card-note { margin: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; color: var(--muted); }

/* ----- Online randevu (Bizmed boş saatler) ----- */
.appt {
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 26px);
  background: #fff; box-shadow: var(--shadow-md); scroll-margin-top: 110px; display: grid; gap: 16px; min-width: 0;
}
.appt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.appt-head h2 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 800; }
.appt-head p { margin: 4px 0 0; color: var(--muted); }
.appt-live {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(22,163,74,.08); color: #15803D; font-size: 12.5px; font-weight: 700;
}
.appt-live span { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: appt-pulse 2s infinite; }
@keyframes appt-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.appt-hospitals { justify-self: start; }

.appt-month { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.appt-month-name { font-family: var(--font-heading); font-size: 17px; font-weight: 800; color: var(--royal-navy); }
.appt-nav {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: #fff; color: var(--royal-navy); transition: background-color .2s var(--ease);
}
.appt-nav:hover:not(:disabled) { background: var(--royal-blue-50); }
.appt-nav:disabled { opacity: .35; cursor: not-allowed; }

.appt-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.appt-day {
  flex: 0 0 auto; width: 74px; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px;
  padding: 10px 6px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.appt-day small { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.appt-day strong { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--royal-navy); line-height: 1.1; }
.appt-day span { font-size: 12.5px; font-weight: 600; color: var(--royal-navy); }
.appt-day em { font-style: normal; font-size: 11px; color: var(--royal-blue); font-weight: 700; margin-top: 3px; }
.appt-day:hover { border-color: rgba(0,99,175,.4); background: var(--royal-blue-50); }
.appt-day.is-selected { background: var(--royal-blue); border-color: var(--royal-blue); box-shadow: 0 6px 16px rgba(0,99,175,.28); }
.appt-day.is-selected small, .appt-day.is-selected strong, .appt-day.is-selected span, .appt-day.is-selected em { color: #fff; }

.appt-times { display: grid; gap: 14px; }
.appt-time-group > small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.appt-time-group > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.appt-time {
  min-height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2);
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--royal-navy);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.appt-time:hover { border-color: var(--royal-blue); background: #fff; }
.appt-time.is-selected { background: var(--royal-red); border-color: var(--royal-red); color: #fff; box-shadow: var(--shadow-cta); }

.appt-status { margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); font-size: 15px; }
.appt-status a { color: var(--royal-blue); font-weight: 700; }
.appt-status.is-error { background: rgba(200,16,46,.06); color: var(--royal-red-600); }
.appt.is-loading .appt-days, .appt.is-loading .appt-times { opacity: .45; pointer-events: none; }

.appt-summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px;
  padding: 16px 18px; border-radius: var(--r-md); background: var(--royal-blue-50); border: 1px solid rgba(0,99,175,.18);
}
.appt-summary small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.appt-summary strong { display: block; font-family: var(--font-heading); font-size: 17px; color: var(--royal-navy); }
.appt-summary-place { display: block; font-size: 14px; color: var(--royal-blue); font-weight: 600; }
.appt-summary-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
/* ----- Randevu alma formu ----- */
.appt-flow { display: grid; gap: 16px; }
.appt-flow.is-busy .appt-step { opacity: .7; pointer-events: none; }
.appt-flow-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); background: var(--royal-blue-50);
}
.appt-flow-head small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.appt-flow-head strong { font-family: var(--font-heading); font-size: 16px; color: var(--royal-navy); }
.appt-timer {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  background: #fff; font-family: var(--font-heading); font-weight: 800; color: var(--royal-blue); font-variant-numeric: tabular-nums;
}
.appt-timer.is-warn { color: var(--royal-red); }

.appt-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: adim; }
.appt-steps li {
  flex: 1; counter-increment: adim; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted);
  padding-bottom: 8px; border-bottom: 3px solid var(--surface-3);
}
.appt-steps li::before {
  content: counter(adim); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); color: var(--muted); font-size: 12px;
}
.appt-steps li.is-active { color: var(--royal-navy); border-color: var(--royal-blue); }
.appt-steps li.is-active::before { background: var(--royal-blue); color: #fff; }
.appt-steps li.is-done { color: var(--royal-blue); border-color: rgba(0,99,175,.4); }
.appt-steps li.is-done::before { content: "✓"; background: var(--royal-blue-50); color: var(--royal-blue); }

.appt-alert { padding: 12px 14px; border-radius: var(--r-md); background: rgba(200,16,46,.07); border: 1px solid rgba(200,16,46,.2); color: var(--royal-red-600); font-size: 14.5px; font-weight: 600; }
.appt-info { margin: 0; color: var(--muted); font-size: 14.5px; }
.appt-step { display: grid; gap: 16px; }
.appt-idtype { justify-self: start; }
.appt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.appt-field { display: grid; gap: 6px; min-width: 0; }
.appt-field > span { font-size: 13px; font-weight: 700; color: var(--royal-navy); }
.appt-field input, .appt-phone {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(10,42,79,.18);
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.appt-field input:focus, .appt-phone:focus-within { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 4px rgba(0,99,175,.12); }
.appt-phone { display: flex; align-items: center; gap: 8px; padding: 0 0 0 14px; }
.appt-phone em { font-style: normal; color: var(--muted); font-weight: 600; }
.appt-phone input { border: 0; min-height: 46px; padding: 0 14px 0 0; box-shadow: none !important; }
.appt-field-code input { font-size: 22px; letter-spacing: .3em; text-align: center; max-width: 240px; }

.appt-captcha { display: grid; grid-template-columns: auto auto minmax(140px, 1fr); align-items: end; gap: 10px; }
.appt-captcha-img { display: grid; place-items: center; height: 48px; padding: 0 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.appt-captcha-img img { height: 44px; width: auto; max-width: 180px; }
.appt-captcha .appt-nav { margin-bottom: 4px; }

.appt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.appt-check input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--royal-blue); }
.appt-check a { color: var(--royal-blue); font-weight: 700; text-decoration: underline; }
.appt-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.appt-confirm { display: grid; gap: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.appt-confirm div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 11px 16px; }
.appt-confirm div + div { border-top: 1px solid var(--border); }
.appt-confirm dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.appt-confirm dd { margin: 0; color: var(--royal-navy); font-weight: 700; }

.appt-done { text-align: center; justify-items: center; }
.appt-done .appt-confirm, .appt-done .appt-actions { width: 100%; text-align: left; }
.appt-done .appt-actions { justify-content: center; }
.appt-done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(22,163,74,.12); color: #15803D; }
.appt-done-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.appt-done h3 { font-size: 24px; font-weight: 800; }
.appt-done-no { margin: -6px 0 0; font-size: 16px; color: var(--muted); }
.appt-done-no strong { font-family: var(--font-heading); color: var(--royal-navy); font-size: 20px; letter-spacing: .04em; }

@media (max-width: 560px) {
  .appt-captcha { grid-template-columns: auto auto; }
  .appt-captcha .appt-field { grid-column: 1 / -1; }
  .appt-actions .btn { flex: 1; }
  .appt-confirm div { grid-template-columns: 96px minmax(0, 1fr); }
  .appt-steps li { font-size: 12px; }
}

@media (max-width: 560px) {
  .appt-head { flex-direction: column; }
  .appt-summary { grid-template-columns: 1fr; }
  .appt-summary .btn { width: 100%; }
}
.doctor-bio > h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 18px; }
.doctor-bio-content { color: var(--ink); font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; }
.doctor-bio-content h3 {
  font-size: 18px; font-weight: 800; color: var(--royal-navy); margin: 28px 0 8px; padding-left: 12px;
  border-left: 3px solid var(--royal-red);
}
.doctor-bio-content h3:first-child { margin-top: 0; }
.doctor-bio-content h4 { font-size: 16px; font-weight: 800; margin: 18px 0 6px; }
.doctor-bio-content p { margin: 0 0 10px; }
.doctor-bio-content ul, .doctor-bio-content ol { margin: 0 0 12px; padding-left: 22px; }
.doctor-bio-content li { margin-bottom: 4px; }
.doctor-bio-empty { padding: 24px; border-radius: var(--r-lg); background: var(--surface-2); color: var(--ink); font-size: 16.5px; line-height: 1.7; }
.doctor-bio-empty p:last-child { margin-bottom: 0; }
.doctor-bio-empty a { color: var(--royal-blue); font-weight: 700; }

@media (max-width: 1024px) {
  .doctor-hero-text { margin-left: 0; }
  .doctor-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .doctor-card { position: static; margin-top: -40px; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .doctor-card-photo { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .doctor-main { padding-top: 0; }
}
@media (max-width: 560px) {
  .doctor-card { grid-template-columns: 1fr; }
  .doctor-card-photo { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
  .doctor-card-photo img { object-position: center top; }
}

/* ==========================================================================
   İçerik sayfaları (Kurumsal, KVKK, Anlaşmalı Kurumlar...)
   ========================================================================== */
.content-page { padding-top: clamp(32px, 4vw, 56px); }
.content-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.content-side { position: sticky; top: 24px; display: grid; gap: 16px; }
.content-main { min-width: 0; }

.side-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px; }
.side-nav-title { margin: 6px 10px 8px; font-family: var(--font-heading); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 12px;
  font-weight: 600; font-size: 15px; color: var(--royal-navy); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.side-nav a .icon { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.side-nav a:hover { background: var(--surface-2); }
.side-nav a:hover .icon { opacity: 1; transform: none; }
.side-nav a[aria-current="page"] { background: var(--royal-blue-50); color: var(--royal-blue); font-weight: 700; }
.side-nav a[aria-current="page"] .icon { opacity: 1; transform: none; color: var(--royal-blue); }

.side-call { border-radius: var(--r-lg); padding: 16px; background: var(--royal-navy); color: #fff; display: grid; gap: 8px; }
.side-call-title { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.7); }
.side-call a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255,255,255,.08); transition: background-color .2s var(--ease); }
.side-call a:hover { background: rgba(255,255,255,.16); }
.side-call .so-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--royal-blue); flex-shrink: 0; }
.side-call small { display: block; font-size: 12px; color: rgba(255,255,255,.7); }
.side-call strong { font-family: var(--font-heading); font-size: 18px; color: #fff; overflow-wrap: anywhere; }
.side-call a > span:last-child { min-width: 0; }
.side-call a[href^="mailto:"] strong { font-size: 14px; }
.prose-legal { font-size: 16px; }
.prose-legal h3 { padding-top: 18px; border-top: 1px solid var(--border); }
.prose-legal h3:first-of-type { border-top: 0; padding-top: 0; }

/* Okunabilir metin (veritabanından gelen içerik) */
.prose { color: var(--ink); font-size: 16.5px; line-height: 1.8; max-width: 820px; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 800; color: var(--royal-navy); margin: 36px 0 10px; line-height: 1.35; }
.prose h4 { font-size: 17px; font-weight: 800; color: var(--royal-navy); margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--royal-navy); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--royal-blue); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--r-lg); margin: 20px 0; box-shadow: var(--shadow-sm); }
.prose a { color: var(--royal-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.content-note { margin-top: 28px; color: var(--muted); }
.content-note a { color: var(--royal-blue); font-weight: 700; }

/* Kişi kartları (Yönetim Kurulu) */
.people-group + .people-group { margin-top: 44px; }
.people-group > h2 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; margin-bottom: 18px; }
.people-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s var(--ease); }
.person:hover { box-shadow: var(--shadow-md); }
.person-photo { aspect-ratio: 4 / 5; background: var(--royal-blue-50); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-body { padding: 16px 18px 18px; }
.person-body h3 { font-size: 17px; font-weight: 800; }
.person-body p { margin: 4px 0 0; color: var(--royal-red); font-weight: 700; font-size: 14px; }

/* Görsel galerisi */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid a { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1 / 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .4s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.03); }

/* Tıbbi birimler */
.filter-card.filter-card-units { grid-template-columns: auto minmax(240px, 420px); justify-content: space-between; }
.unit-section + .unit-section { margin-top: 36px; }
.unit-section .result-bar { margin: 28px 0 16px; }
.unit-section-title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; }
.unit-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.unit-card a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 100%;
  padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.unit-card a:hover { box-shadow: var(--shadow-md); border-color: rgba(0,99,175,.25); transform: translateY(-2px); }
.unit-card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); overflow: hidden; }
.unit-card-icon img { width: 38px; height: 38px; object-fit: contain; }
.unit-card-body { display: grid; gap: 6px; min-width: 0; }
.unit-card-body strong { font-family: var(--font-heading); font-size: 16px; font-weight: 800; color: var(--royal-navy); line-height: 1.3; }
.unit-card-body small { color: var(--muted); font-size: 13px; font-weight: 600; }
.unit-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.unit-card-tags em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--royal-navy); }
.unit-card-tags em.is-on { background: var(--royal-blue); color: #fff; }
.unit-card-arrow { color: var(--royal-blue); }
.side-hosp { list-style: none; margin: 0; padding: 0 4px 4px; display: grid; gap: 8px; }
.side-hosp li { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.side-hosp strong { color: var(--royal-navy); font-size: 15px; }
.side-hosp span { color: var(--muted); font-size: 13px; font-weight: 600; }
.side-hosp a { display: inline-flex; justify-self: start; justify-content: flex-start; padding: 4px 0; align-items: center; gap: 6px; margin-top: 4px; color: var(--royal-blue); font-weight: 700; font-size: 14px; }
.unit-hospital-desc + .unit-hospital-desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.unit-hospital-desc > h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
@media (max-width: 768px) { .filter-card.filter-card-units { grid-template-columns: 1fr; } }

/* Hastane sayfaları */
.hospital-title { font-size: 24px; font-weight: 800; }
.hospital-title a:hover { color: var(--royal-blue); }
.hosp-hero { padding-bottom: clamp(56px, 6vw, 84px); }
.hosp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hosp-hero-text .eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 6px; }
.hosp-hero-text h1 { margin: 0 0 12px; }
.hosp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hosp-hero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); aspect-ratio: 4 / 3; }
.hosp-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hosp-stats-wrap { position: relative; z-index: 2; margin-top: -40px; }
.hosp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.hosp-stats li { padding: 22px 24px; display: grid; gap: 2px; }
.hosp-stats li + li { border-left: 1px solid var(--border); }
.hosp-stats strong { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--royal-blue); }
.hosp-stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

.hosp-subnav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); margin-top: 28px; }
.hosp-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hosp-subnav ul::-webkit-scrollbar { display: none; }
.hosp-subnav a { display: block; padding: 14px 14px; white-space: nowrap; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--royal-navy); border-bottom: 2px solid transparent; }
.hosp-subnav a:hover { color: var(--royal-blue); border-color: var(--royal-blue); }
.hosp-section { scroll-margin-top: 120px; }

.hosp-two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hosp-two .section-title { margin-bottom: 18px; }
.hosp-contact { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-sm); }
.hosp-contact h3 { font-size: 18px; font-weight: 800; }
.hosp-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hosp-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; align-items: start; color: var(--ink); font-size: 15px; }
.hosp-contact li .icon { color: var(--royal-blue); margin-top: 2px; }
.hosp-contact li a { color: var(--royal-navy); font-weight: 700; }
.hosp-contact li small { grid-column: 2; color: var(--muted); font-size: 12.5px; }

.hosp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.hosp-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.hosp-card h3 { font-size: 19px; font-weight: 800; }
.hosp-card p { margin: 0; color: var(--ink); line-height: 1.7; }
.hosp-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--royal-blue-50); color: var(--royal-blue); }

.unit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.unit-grid a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.unit-grid a span { font-weight: 700; color: var(--royal-navy); }
.unit-grid a small { grid-row: 2; color: var(--muted); font-size: 13px; }
.unit-grid a .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--royal-blue); }
.unit-grid a:hover { border-color: rgba(0,99,175,.35); background: var(--royal-blue-50); }
.unit-grid-soft a { background: var(--surface-2); }
.unit-subtitle { font-size: 17px; font-weight: 800; margin: 28px 0 12px; }
/* Birim detayı: sağ sütundaki resimli hekim listesi */
.unit-side { position: static; }
.side-docs-hosp { display: flex; align-items: center; gap: 6px; margin: 10px 10px 6px; font-family: var(--font-heading); font-size: 14px; font-weight: 800; color: var(--royal-blue); }
.side-docs { list-style: none; margin: 0; padding: 0 4px 6px; display: grid; gap: 4px; }
.side-docs a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 8px; border-radius: 12px; color: inherit; transition: background .2s var(--ease); }
.side-docs a:hover { background: var(--surface-2); }
.side-doc-photo { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(20, 60, 140, .12); }
/* Fotoğraflar 3:5 ve üstte slogan var: yüzü ortalamak için büyütüp yukarı kaydır */
.side-doc-photo img { position: absolute; left: 50%; top: -58px; width: 132px; max-width: none; height: auto; transform: translateX(-50%); }
.side-doc-photo > span { font-family: var(--font-heading); font-weight: 800; color: var(--royal-blue); }
.side-doc-text { display: grid; gap: 1px; min-width: 0; }
.side-doc-text strong { font-size: 14.5px; color: var(--royal-navy); line-height: 1.3; }
.side-doc-text small { font-size: 12.5px; color: var(--muted); }
.side-docs a:hover strong { color: var(--royal-blue); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.check-list .icon { color: #16A34A; flex-shrink: 0; }
.check-list-2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
  .hosp-hero-grid, .hosp-two { grid-template-columns: 1fr; }
  .hosp-stats { grid-template-columns: repeat(2, 1fr); }
  .hosp-stats li:nth-child(3) { border-left: 0; }
  .hosp-stats li:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .check-list-2 { grid-template-columns: 1fr; }
  .hosp-stats li { padding: 16px; }
}

/* Formlar (Doktora Sorun, İnsan Kaynakları) */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(18px, 3vw, 28px); display: grid; gap: 20px; }
.form-section { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.form-section legend { font-family: var(--font-heading); font-size: 17px; font-weight: 800; color: var(--royal-navy); margin-bottom: 4px; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.appt-field textarea {
  width: 100%; min-height: 140px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(10,42,79,.18);
  font: inherit; font-size: 16px; color: var(--ink); resize: vertical; background: #fff;
}
.appt-field textarea:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 4px rgba(0,99,175,.12); }
.appt-field .select-wrap select { min-height: 48px; border-radius: 12px; background: #fff; border-color: rgba(10,42,79,.18); }
.appt-field select:disabled { opacity: .6; cursor: not-allowed; }
.appt-field input[type=file] { padding: 10px 12px; min-height: 48px; }
.field-hint { justify-self: end; color: var(--muted); font-size: 12.5px; }
.form-alert { padding: 12px 14px; border-radius: var(--r-md); background: rgba(200,16,46,.07); border: 1px solid rgba(200,16,46,.2); color: var(--royal-red-600); font-weight: 600; font-size: 14.5px; }
.form-note { margin: -8px 0 0; color: var(--muted); font-size: 13px; }
.form-done { text-align: center; justify-items: center; }
.form-done h2 { font-size: 24px; font-weight: 800; }
.form-done p { margin: 0; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-box.info-box-warn { margin: 0 0 20px; background: rgba(234,179,8,.1); border: 1px solid rgba(202,138,4,.25); }
.info-box.info-box-warn .icon { color: #A16207; }
.info-box-warn a { color: var(--royal-blue); font-weight: 700; white-space: nowrap; }
.steps-list { margin: 0; padding: 0 12px 8px 30px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink); }
.steps-list li::marker { color: var(--royal-blue); font-weight: 800; }
button:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.field-hint-left { justify-self: start; }
.side-link-card { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 18px; border-radius: var(--r-lg); border: 1px solid rgba(0,99,175,.2); background: var(--royal-blue-50); color: var(--royal-navy); transition: box-shadow .2s var(--ease); }
.side-link-card:hover { box-shadow: var(--shadow-sm); }
.side-link-card .doc-icon { width: 44px; height: 44px; background: #fff; color: var(--royal-blue); }
.side-link-card > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.side-link-card small { color: var(--muted); font-size: 13.5px; }
.side-link-card > .icon { color: var(--royal-blue); }
.optional { font-style: normal; font-weight: 500; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--royal-blue); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Pencere (dialog) */
.modal { width: min(720px, calc(100% - 32px)); max-height: min(86vh, 820px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(10,42,79,.55); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 19px; font-weight: 800; }
.modal-hint { margin: 0; padding: 10px 22px; background: rgba(234,179,8,.1); color: #854D0E; font-size: 13.5px; font-weight: 600; }
.modal-hint.is-ok { background: rgba(22,163,74,.08); color: #15803D; }
.modal-body { overflow-y: auto; padding: 18px 22px; flex: 1; max-width: none; font-size: 15px; }
.modal-body:focus { outline: 2px solid var(--royal-blue); outline-offset: -2px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* Sağlık Rehberi / Blog */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-media { display: block; aspect-ratio: 16 / 10; background: var(--royal-blue-50); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.post-body .eyebrow { margin: 0; }
.post-body h2 { font-size: 19px; font-weight: 800; line-height: 1.35; }
.post-body h2 a:hover { color: var(--royal-blue); }
.post-body p { margin: 0; color: var(--muted); font-size: 15px; }
.post-body .link-arrow { margin-top: 6px; }
.post-title { font-size: clamp(26px, 3.2vw, 38px); max-width: 900px; }
.content-grid-right { grid-template-columns: minmax(0, 1fr) 300px; }
.post-hero-img { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.post-hero-img img { width: 100%; height: auto; display: block; }
.side-posts { list-style: none; margin: 0; padding: 0 4px 4px; display: grid; gap: 2px; }
.side-posts a { display: block; padding: 10px 8px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--royal-navy); line-height: 1.4; }
.side-posts a:hover { background: var(--surface-2); color: var(--royal-blue); }
.post-footer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.link-back .icon { transition: transform .2s var(--ease); }
.link-back:hover .icon { transform: translateX(-4px); }

/* Belge kartı (Organizasyon şeması) */
.doc-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.doc-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(200,16,46,.08); color: var(--royal-red); flex-shrink: 0; }
.doc-icon .icon { width: 28px; height: 28px; }
.doc-text { flex: 1; min-width: 180px; }
.doc-text h2 { font-size: 19px; font-weight: 800; }
.doc-text p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-preview { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.doc-preview iframe { display: block; width: 100%; height: min(80vh, 900px); border: 0; }
@media (max-width: 768px) { .doc-preview { display: none; } }

/* Anlaşmalı kurumlar */
.partner-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.partner-tools .search { flex: 1; max-width: 420px; }
.partner-count { margin: 0; color: var(--muted); }
.partner-count strong { color: var(--royal-navy); }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.partner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; display: grid; gap: 10px; text-align: center;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.partner:hover { box-shadow: var(--shadow-md); border-color: rgba(0,99,175,.25); }
.partner-logo { height: 84px; display: grid; place-items: center; border-radius: 12px; background: #fff; overflow: hidden; }
.partner-logo img { max-width: 100%; max-height: 84px; object-fit: contain; }
.partner p { margin: 0; font-family: var(--font-heading); font-size: 13.5px; font-weight: 700; color: var(--royal-navy); letter-spacing: .01em; }
.info-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: var(--r-md); background: var(--royal-blue-50); color: var(--ink); font-size: 15px; }
.info-box .icon { color: var(--royal-blue); flex-shrink: 0; margin-top: 2px; }
.info-box p { margin: 0; }

@media (max-width: 1024px) {
  .content-grid, .content-grid-right { grid-template-columns: 1fr; }
  .content-side { position: static; order: 2; }
  .content-main { order: 1; }
}
@media (max-width: 560px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .person-body { padding: 12px; }
  .person-body h3 { font-size: 15px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prose { font-size: 16px; }
}

/* ==========================================================================
   Görünme animasyonu
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .brand::after, .appt-live span { animation: none !important; }
}

/* ==========================================================================
   Duyarlı düzen
   ========================================================================== */
@media (max-width: 1200px) {
  .utility a span { display: none; }
  .utility a { padding: 10px; }
}
@media (max-width: 1300px) {
  /* Dar masaüstü: menü + bayraklar tek satıra sığsın */
  .mainnav a.nav-link, .mainnav button.nav-link { padding-inline: 10px; font-size: 13.5px; }
  .mainnav > .container > ul { padding-right: 8px; }
  .nav-lang { gap: 2px; }
  .nav-lang a { padding: 7px 6px; }
  .nav-lang a span { display: none; }
}
@media (max-width: 1280px) {
  .quickbar-card { grid-template-columns: minmax(0, 1fr); }
  .quick-links { grid-template-columns: repeat(4, 1fr); }
  .quick-links strong { white-space: normal; }
}
.quick-links a, .quick-links a > span:last-child { min-width: 0; }

@media (max-width: 1024px) {
  .mainnav, .utility { display: none; }
  .header .container { min-height: 72px; justify-content: space-between; }
  .brand img { width: 160px; }
  .services, .departments { grid-template-columns: repeat(2, 1fr); }
  .about, .checkup, .feature-split { grid-template-columns: 1fr; }
  .doctors { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .slider-arrow { display: none; }
  .slider-controls { bottom: 56px; }
}

@media (max-width: 768px) {
  .topbar-lang, .topbar .social { display: none; }
  .topbar-phones { gap: 14px; font-size: 13px; }
  .hospitals { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .doctors { grid-auto-columns: 68%; }
  .packages { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .media { min-height: 0; aspect-ratio: 16/10; }
  .why { grid-template-columns: 1fr; }
  .quickbar { margin-top: 16px; }
  .slider-controls { position: static; transform: none; margin: 10px auto 0; width: max-content; }
  .slider-dot span { background: rgba(10,42,79,.25); box-shadow: none; }   /* mobilde noktalar görselin altında, açık zeminde */
  .header-cta .btn-primary span { display: none; }
  .header-cta .btn-primary { width: 46px; padding: 0; }
}

@media (max-width: 560px) {
  .tb-hide { display: none; }
  .topbar .container { justify-content: center; }
  .quickbar-card { padding: 14px; }
  .quick-links a { padding: 10px; gap: 10px; }
  .quick-links .qi { width: 36px; height: 36px; }
  .quick-links strong { font-size: 14px; }
  .services, .departments { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .callband { padding: 22px; }
  .callband-left { flex-direction: column; align-items: flex-start; }
  .hospital-actions .btn { flex: 1; }
  .section-head { margin-bottom: 28px; }
  .about-badge { padding: 12px 16px; }
  .about-badge strong { font-size: 26px; }
}

/* ==========================================================================
   Check-Up paketleri ve ön randevu
   ========================================================================== */
.page-hero .btn { margin-top: 18px; }
.cu-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cu-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 14px 34px rgba(10,42,79,.12)); }
.cu-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.cu-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cu-card:hover .cu-media img { transform: scale(1.04); }
.cu-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); color: var(--royal-navy); font: 800 12px/1 var(--font-heading); letter-spacing: .03em; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.cu-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.cu-body h2 { font-size: 19px; }
.cu-body h2 a:hover { color: var(--royal-blue); }
.cu-meta { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--royal-blue); font: 700 13.5px/1.3 var(--font-heading); }
.cu-text { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.cu-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.cu-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.cu-steps li { position: relative; padding: 22px 20px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border); }
.cu-steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--royal-blue); color: #fff; font: 800 15px/1 var(--font-heading); margin-bottom: 12px; }
.cu-steps strong { display: block; font-family: var(--font-heading); color: var(--royal-navy); font-size: 16px; margin-bottom: 6px; }
.cu-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cu-hazirlik { margin-top: 24px; background: #fff; border: 1px solid var(--border); }

.cu-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; max-width: 1080px; }
.cu-form-side { display: grid; gap: 14px; position: sticky; top: 24px; }
.checkup-form-head h2 { font-size: 22px; margin-bottom: 4px; }
.checkup-form-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.checkup-form-paket { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--royal-blue-50); color: var(--royal-navy); font: 800 15px/1.3 var(--font-heading); }
.checkup-form-paket .icon { color: var(--royal-blue); }
.appt-legend { font: 700 13.5px/1.2 var(--font-heading) !important; color: var(--ink) !important; margin-bottom: 6px !important; }
.checkup-tercih { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.cu-side { position: static; }   /* form ekrandan uzun: yapışkan olursa gönder düğmesine ulaşılamaz */
.cu-side .checkup-form { padding: 20px; gap: 16px; }
.cu-side .checkup-form-head h2 { font-size: 19px; }
.cu-side .seg-option > span { padding: 0 12px; font-size: 13.5px; min-height: 36px; }

.cu-lead { font-size: 17px; line-height: 1.65; color: var(--ink); margin: 0 0 8px; }
.cu-h2 { font-size: 22px; margin: 28px 0 16px; }
.cu-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cu-section { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.cu-section-wide { grid-column: 1 / -1; }
.cu-section h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 12px; }
.cu-section h3 small { padding: 3px 8px; border-radius: var(--r-pill); background: #fff; color: var(--royal-blue); font-size: 12px; font-weight: 800; }
.cu-list { gap: 8px; }
.cu-list li { align-items: flex-start; font-weight: 500; font-size: 14.5px; line-height: 1.45; }
.cu-list li .icon { margin-top: 2px; }
.cu-section-wide .cu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.cu-others { margin-top: 44px; }
.cu-other-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.package-light { background: #fff; border-color: var(--border); color: var(--royal-navy); }
.package-light:hover { background: var(--royal-blue-50); border-color: rgba(0,99,175,.25); }
.package-light small { color: var(--muted); }
.package-light .icon { color: var(--royal-blue); }

@media (max-width: 1024px) {
  .cu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-form-wrap { grid-template-columns: minmax(0, 1fr); }
  .cu-form-side { position: static; }
}
@media (max-width: 640px) {
  .cu-grid, .cu-steps, .cu-sections, .cu-section-wide .cu-list { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   İletişim
   ========================================================================== */
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ct-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ct-photo { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface-2); }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ct-card:hover .ct-photo img { transform: scale(1.03); }
.ct-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,42,79,.55)); pointer-events: none; }
.ct-photo-loc { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); color: var(--royal-navy); font: 800 12.5px/1 var(--font-heading); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.ct-photo-loc .icon { color: var(--royal-red); }
.ct-body { padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; }
.ct-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(200,16,46,.08); color: var(--royal-red); font: 800 12.5px/1 var(--font-heading); }
.ct-body h2 { font-size: clamp(20px, 2.2vw, 24px); }
.ct-phone { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--royal-navy); color: #fff; transition: background-color .2s var(--ease); }
.ct-phone:hover { background: var(--royal-navy-2); }
.ct-phone small { display: block; color: rgba(255,255,255,.7); font-size: 12.5px; font-weight: 600; }
.ct-phone strong { font: 800 26px/1.1 var(--font-heading); letter-spacing: .02em; }
.ct-phone .ct-ic { background: rgba(255,255,255,.12); color: #fff; }
.ct-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--royal-blue-50); color: var(--royal-blue); }
.ct-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.5; }
.ct-info .icon { color: var(--royal-blue); margin-top: 3px; flex: none; }
.ct-info small { display: block; font: 700 12px/1.2 var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ct-info a { color: var(--royal-blue); font-weight: 600; word-break: break-all; }
.ct-adres { display: block; }
.ct-adres-il { color: var(--muted); font-weight: 600; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-actions .btn { flex: 1 1 auto; }
.ct-map { position: relative; margin-top: auto; aspect-ratio: 16 / 9; background: var(--surface-2); border-top: 1px solid var(--border); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ct-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-links a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.ct-links a:hover { border-color: rgba(0,99,175,.35); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ct-links strong { display: block; font-family: var(--font-heading); color: var(--royal-navy); font-size: 16px; margin-bottom: 3px; }
.ct-links small { color: var(--muted); font-size: 14px; line-height: 1.45; }

.ct-bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
.ct-corp, .ct-social { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; }
.ct-corp h2, .ct-social h2 { font-size: 20px; margin-bottom: 14px; }
.ct-corp dl { margin: 0 0 14px; display: grid; gap: 12px; }
.ct-corp dt { font: 700 12px/1.2 var(--font-heading); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ct-corp dd { margin: 0; color: var(--ink); font-weight: 600; }
.ct-corp dd a { color: var(--royal-blue); }
.ct-social { background: var(--royal-navy); border-color: var(--royal-navy); color: rgba(255,255,255,.82); }
.ct-social h2 { color: #fff; }
.ct-social p { margin: 0 0 18px; }
.ct-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-social-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.08); color: #fff; font: 700 14.5px/1 var(--font-heading); transition: background-color .2s var(--ease); }
.ct-social-links a:hover { background: rgba(255,255,255,.16); }

@media (max-width: 1024px) {
  .ct-grid, .ct-bottom { grid-template-columns: minmax(0, 1fr); }
  .ct-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ct-links { grid-template-columns: minmax(0, 1fr); }
  .ct-phone strong { font-size: 22px; }
}

/* 404 sayfası */
.notfound { max-width: 720px; margin: 0 auto; text-align: center; padding: 24px 0 8px; }
.notfound-code { font: 800 clamp(72px, 14vw, 128px)/1 var(--font-heading); color: var(--navy, #0A2A4F); opacity: .12; margin: 0 0 4px; letter-spacing: .04em; }
.notfound h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.notfound > p { color: var(--muted, #55657A); }
.notfound-sayac { margin: 14px 0 24px; font-size: 15px; }
.notfound .link-btn { background: none; border: 0; padding: 0; color: var(--blue, #1d5fbf); text-decoration: underline; cursor: pointer; font: inherit; }
.notfound-ara { margin: 0 auto 22px; max-width: 560px; position: relative; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.notfound-tel { font-size: 14px; }
/* Telefonda saat seçilince randevu özeti ekranın altına sabitlenir (js/randevu-mobil.js) */
@media (max-width: 1024px) {
  .appt-summary.is-floating {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 130;
    grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    box-shadow: 0 -6px 30px rgba(10, 42, 79, .2);
    animation: appt-yuzen .25s var(--ease);
  }
  .appt-summary.is-floating small { font-size: 11.5px; }
  .appt-summary.is-floating strong { font-size: 16px; line-height: 1.25; }
  .appt-summary.is-floating .appt-summary-place { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .appt-summary.is-floating .appt-summary-note { display: none; }
  .appt-summary.is-floating .btn { width: auto; min-height: 50px; padding-inline: 18px; white-space: nowrap; }
  .randevu-secili .mobilebar { transform: translateY(160%); }
  @keyframes appt-yuzen { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .appt-summary.is-floating { left: 50%; right: auto; width: 600px; transform: translateX(-50%); animation: none; }
  .randevu-secili .mobilebar { transform: translate(-50%, 160%); }
}
@media (max-width: 380px) {
  .appt-summary.is-floating { grid-template-columns: 1fr; }
  .appt-summary.is-floating .btn { width: 100%; }
}