/* ==========================================================================
   Op. Dr. Gökhan Gürbüz — KBB & Sağlık Turizmi
   Ortak Tasarım Sistemi

   Renkler doğrudan logodan alındı: koyu lacivert #0a2340, altın #a87848.
   Metin renkleri WCAG 2.1 AA'ya göre hesaplandı (normal metin 4.5:1,
   büyük metin ve arayüz öğeleri 3:1). Ölçülen oranlar yorumlarda yazılı.
   ========================================================================== */

:root {
  /* --- Lacivert: #0a2340 logodan birebir, diğerleri aynı hue üzerinde --- */
  --navy-950: #061527;  /* footer, en derin zemin */
  --navy-900: #0a2340;  /* LOGO LACİVERTİ — başlıklar, koyu bölümler */
  --navy-800: #123054;  /* menü bağlantıları */
  --navy-700: #1d4066;  /* degrade bitişi */
  --navy-600: #2b5580;  /* en açık lacivert, ince ayrıntı */

  /* --- Altın: #a87848 logodan birebir; ton (H30/S40) sabit tutulup
         yalnızca açıklık kaydırılarak erişilebilir varyantlar üretildi --- */
  --gold-800: #6f4f2e;  /* metin hover — beyazda 7.41:1 */
  --gold-700: #8a613a;  /* AÇIK ZEMİNDE METİN — krem 5.10 / beyaz 5.45 / krem-2 4.75 */
  --gold-600: #a87848;  /* LOGO ALTINI — kenarlık, ikon halkası, çizgi (beyazda 3.86) */
  --gold-500: #c08f5b;  /* dekoratif vurgu */
  --gold-400: #d4ab7c;  /* KOYU ZEMİNDE METİN — lacivert-900'de 7.47 / 950'de 8.67 */
  --gold-300: #e7cca7;  /* koyu zeminde ince çizgi */
  --gold-100: #f5ead8;  /* altın dolgu, yumuşak vurgu */

  --cream:    #faf7f1;
  --cream-2:  #f4efe4;
  --ink:      #14202e;  /* kremde 15.39:1 */
  --muted:    #55647a;  /* krem 5.63 / beyaz 6.02 / krem-2 5.25 — hepsi AA */
  --line:     #e6dccb;  /* belirgin ayırıcı */
  --line-soft:#efe9dd;  /* kart kılcal kenarlığı */
  --white:    #ffffff;

  /* Koyu zeminde beyaz metin kademeleri — lacivert-950'de sırasıyla
     15.52 / 10.25 / 6.69 : hepsi AA. Eski 0.45 değeri 4.42 ile kalıyordu. */
  --on-dark-1: rgba(255,255,255,0.92);
  --on-dark-2: rgba(255,255,255,0.74);
  --on-dark-3: rgba(255,255,255,0.58);
  --on-dark-line: rgba(255,255,255,0.12);

  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Poppins", "Segoe UI", sans-serif;

  /* Tipografi ölçeği.
     Başlıklar 1rem tabanından 1.2 (minör üçlü) oranıyla yükselir:
     16 → 19.2 → 23.0 → 27.6 → 33.2 → 39.8 → 47.8.
     1rem altındaki arayüz boyutları daha sıkı ilerler; kesin 1.2 oranı
     16px'ten 13.3'e, oradan 11.1'e düşüyor ve 11px Poppins'te okunaklılık
     eşiğinin altında kalıyor. */
  --fs-100: 0.75rem;     /* 12.0 — mikro etiket */
  --fs-200: 0.8125rem;   /* 13.0 — üst başlık, açıklama */
  --fs-300: 0.875rem;    /* 14.0 — ikincil arayüz */
  --fs-400: 0.9375rem;   /* 15.0 — buton, menü, yoğun metin */
  --fs-500: 1rem;        /* 16.0 — gövde */
  --fs-600: 1.2rem;      /* 19.2 — h3, lead */
  --fs-700: 1.44rem;     /* 23.0 */
  --fs-800: 1.728rem;    /* 27.6 */
  --fs-900: 2.074rem;    /* 33.2 */
  --fs-1000: 2.488rem;   /* 39.8 */
  --fs-1100: 2.986rem;   /* 47.8 */

  /* Boşluk ritmi — 4px tabanlı */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.25rem;  --sp-6: 1.5rem;   --sp-8: 2rem;     --sp-10: 2.5rem;
  --sp-12: 3rem;    --sp-16: 4rem;    --sp-20: 5rem;

  --container: 1140px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Gölge hiyerarşisi — her kademe bir yakın temas gölgesi ile bir yayılım
     gölgesinden oluşur; yükseklik arttıkça yayılım büyür ve yumuşar.
     xs kılcal · sm kart · md kaldırılmış kart/rozet · lg açılır · xl modal */
  --shadow-xs: 0 1px 2px rgba(10,35,64,0.05);
  --shadow-sm: 0 1px 2px rgba(10,35,64,0.04), 0 8px 20px -10px rgba(10,35,64,0.10);
  --shadow-md: 0 2px 4px rgba(10,35,64,0.04), 0 16px 36px -12px rgba(10,35,64,0.16);
  --shadow-lg: 0 4px 10px rgba(10,35,64,0.05), 0 32px 64px -20px rgba(10,35,64,0.22);
  --shadow-xl: 0 10px 20px rgba(10,35,64,0.07), 0 50px 90px -26px rgba(10,35,64,0.32);
  /* koyu zeminde beyaz kartın kalkması için daha derin bir gölge gerekir */
  --shadow-on-dark: 0 2px 6px rgba(0,0,0,0.18), 0 28px 56px -22px rgba(0,0,0,0.55);

  /* Hareket — 150–300ms arası, tek bir yumuşama eğrisi */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 160ms;
  --dur-2: 220ms;
  --dur-3: 300ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* Genel ölçek: tarayıcıyı %90 yapmışçasına. --fs-* değerleri rem olduğu için
     tüm tipografi buradan küçülür; --sp-* de rem'e çevrildi ki boşluklar da
     aynı oranda gelsin. */
  font-size: 90%;
  scroll-behavior: smooth;
  /* yapışkan başlık, çapa hedeflerini örtmesin */
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: var(--fs-500);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* uzun e-posta/IBAN/URL dizeleri dar ekranda kutusunu genişletmesin */
  overflow-wrap: break-word;
  overflow-x: hidden;
}

::selection { background: var(--gold-100); color: var(--navy-900); }

/* height:auto neutralises the intrinsic width/height attributes on <img>
   (kept for CLS) so the CSS below — aspect-ratio, fixed heights — stays in
   control of how each image is actually sized. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; color: inherit; }

/* --- Klavye odağı ------------------------------------------------------
   :focus-visible yalnızca klavyeyle gezinirken görünür, fareyle tıklamada
   çıkmaz. Halka lacivert; krem üzerinde 14.80:1, beyazda 15.82:1. */
:where(a, button, [tabindex], input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 3px;
}
/* Koyu yüzeylerde lacivert halka görünmez — altın-400'e geç (lacivertte 7.47:1) */
.hero :focus-visible,
.page-banner :focus-visible,
.section--navy :focus-visible,
.cta-banner :focus-visible,
.iban-box :focus-visible,
.partner-hospital :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-400); }
/* …ancak koyu bölümün içindeki BEYAZ kartlarda zemin yine açık: lacivert kalsın */
.section--navy .card :focus-visible,
.section--navy .cert-card :focus-visible,
.section--navy .contact-card :focus-visible { outline-color: var(--navy-900); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-900);
  line-height: 1.2;
  /* büyük serif başlıklarda hafif negatif harf aralığı, harfleri bir kelime
     bloğu hâline getirir — matbu/lüks his buradan gelir */
  letter-spacing: -0.015em;
}

/* Optik ağırlık: Playfair 700, 40px+ boyutlarda ağır durur; büyük
   başlıklarda 600, küçük başlıklarda 700 daha dengeli okunur. */
h1, h2 { font-weight: 600; }
h3, h4 { font-weight: 700; }

h1 {
  font-size: clamp(2.074rem, 1.5rem + 2.4vw, var(--fs-1100));
  line-height: 1.08;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(1.728rem, 1.35rem + 1.6vw, var(--fs-1000));
  line-height: 1.16;
  letter-spacing: -0.018em;
}
h3 { font-size: var(--fs-600); line-height: 1.32; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-400); line-height: 1.35; letter-spacing: -0.005em; }

p { color: var(--muted); }

/* Vertical rhythm — the reset zeroes every margin, so headings sat flush against
   the copy under them. Adjacent-sibling rules add the gap only when something
   actually follows, and collapse with any per-component margin already set. */
h1 + p, h2 + p, h3 + p, h4 + p,
h1 + ul, h2 + ul, h3 + ul, h4 + ul { margin-top: 18px; }
p + p { margin-top: 14px; }
p + ul, ul + p { margin-top: 20px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: var(--fs-200);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /* altın-700: krem 5.10 · beyaz 5.45 · krem-2 4.75 — eski altın-600
     üçünde de 3.4–4.0 arasında kalıp AA'yı geçemiyordu */
  color: var(--gold-700);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-600);
  flex-shrink: 0;
}

/* --- Bölümler ---------------------------------------------------------- */
/* clamp, ayrı bir mobil kural gerektirmeden dar ekranda ferah, geniş
   ekranda gösterişli bir iç boşluk verir */
.section { padding: clamp(68px, 8.5vw, 132px) 0; }
.section--tight { padding: clamp(52px, 6vw, 88px) 0; }

.section--navy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--on-dark-1);
}
/* sol üstten gelen çok soluk altın ışıma, düz lacivert bloğu derinleştirir */
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 70% at 12% 0%, rgba(168,120,72,0.16), transparent 62%);
  pointer-events: none;
}
.section--navy > * { position: relative; z-index: 1; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: var(--on-dark-2); }
.section--navy .eyebrow { color: var(--gold-400); }        /* lacivertte 7.47:1 */
.section--navy .eyebrow::before { background: var(--gold-400); }

.section--cream2 { background: var(--cream-2); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 4.5vw, 68px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: var(--fs-500); }

/* --- Butonlar ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-400);
  letter-spacing: 0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  /* "all" yerine adlı özellikler: geçiş sırasında düzen hesabı tetiklenmez */
  transition:
    background-color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    transform var(--dur-2) var(--ease);
}
.btn-gold {
  /* altın-700: beyaz metin 5.45:1. Logo altını (#a87848) üzerinde beyaz
     yalnızca 3.95:1 veriyordu — buton metni normal metin sayıldığı için
     4.5:1 gerekiyor, o yüzden bir kademe koyu ton kullanıldı. */
  background: var(--gold-700);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(10,35,64,0.10), 0 10px 22px -12px rgba(138,97,58,0.75);
}
.btn-gold:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(10,35,64,0.12), 0 16px 30px -14px rgba(10,35,64,0.55);
}
.btn-gold:active { transform: translateY(0); }
.btn-outline {
  border-color: rgba(255,255,255,0.42);
  color: var(--white);
  backdrop-filter: blur(2px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-1px);
}
.btn-outline-navy {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(10,35,64,0.6);
}
.btn-block { width: 100%; justify-content: center; }

/* --- Başlık ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* 0.94 opaklık: altındaki içerik lacivert bir bölüm bile olsa aktif menü
     bağlantısı (altın-700) 4.54:1 ile AA'da kalıyor. Daha şeffaf değerlerde
     kayan koyu içerik üzerinde 4.5'in altına düşüyordu. */
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(10,35,64,0.07);
  box-shadow: 0 10px 30px -26px rgba(10,35,64,0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 62px;
  width: auto;
  transition: opacity var(--dur-2) var(--ease);
}
.brand:hover img { opacity: 0.82; }
.brand-text { display: none; }

/* flex:1 lets the nav sit centred in the space between brand and header CTA */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 34px;
}
.main-nav a {
  font-size: var(--fs-400);
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  padding: 8px 0;
  transition: color var(--dur-2) var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  /* logo altını; krem üzerinde 3.61:1 — arayüz göstergesi için gereken 3:1'i
     geçiyor. Önceki altın-500 yalnızca 2.67 veriyordu. */
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  transition: width var(--dur-3) var(--ease);
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-700); }   /* kremde 5.10:1 */

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}
.header-phone span {
  color: var(--muted);
  font-size: var(--fs-100);
  letter-spacing: 0.04em;
}
.header-phone strong {
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-500);
  letter-spacing: -0.005em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-2) var(--ease);
}
.nav-toggle:hover { background: rgba(10,35,64,0.05); }
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
}

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-start;
  color: var(--white);
  background-size: cover;
  /* biased upward so the surgeon's head stays in frame when the wide hero
     crops the portrait-ish photograph vertically */
  background-position: 50% 22%;
  background-color: var(--navy-900);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* dark enough on the left for the copy, light enough on the right to let the
     operating-room photograph actually read as a photograph.
     En kötü durumda (fotoğrafın o bölgesi bembeyaz olsa bile) soldaki efektif
     zemin #243141 olur; beyaz başlık 13.20:1, lead 10.16:1, altın-400 üst
     başlık 6.23:1 — tümü AA. */
  background:
    linear-gradient(112deg, rgba(6,21,39,0.88) 10%, rgba(6,21,39,0.62) 52%, rgba(6,21,39,0.22) 100%),
    linear-gradient(180deg, rgba(6,21,39,0.30) 0%, transparent 32%);
}
/* alt kenarda çok yumuşak bir koyulaşma — fotoğrafın kesildiği yer sert bir
   çizgi olarak değil, kontrollü bir bitiş olarak okunur */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(6,21,39,0.55), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  max-width: 660px;
  padding: 58px 0 80px;
}
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  /* fotoğrafın açık bir bölgesine denk gelirse harflerin kenarını taşır */
  text-shadow: 0 2px 28px rgba(6,21,39,0.45);
}
.hero p.lead {
  color: rgba(255,255,255,0.86);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(6,21,39,0.4);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-banner {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-color: var(--navy-900);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(6,21,39,0.90) 0%, rgba(6,21,39,0.58) 100%);
}
.page-banner-inner { position: relative; z-index: 2; padding: 74px 0; }
.page-banner h1 {
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 28px rgba(6,21,39,0.45);
}
.breadcrumb {
  color: rgba(255,255,255,0.78);     /* en kötü durumda 8.70:1 */
  font-size: var(--fs-300);
  letter-spacing: 0.01em;
}
.breadcrumb a {
  color: var(--gold-400);            /* en kötü durumda 6.23:1 */
  transition: color var(--dur-2) var(--ease);
}
.breadcrumb a:hover { color: var(--gold-300); }

/* --- Güven şeridi ------------------------------------------------------ */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 44px 12px;
}
/* Ayırıcı çizgi, sütunun İÇİNE değil aradaki 20px boşluğun ortasına konumlandı;
   böylece metin için kullanılabilir genişlikten tek piksel çalmaz — üstteki
   başlıkların white-space:nowrap ile tek satırda kalması buna bağlı. */
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px; bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.trust-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-600);   /* beyazda 3.86:1 */
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
  margin-top: 2px;
  transition:
    background-color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    transform var(--dur-2) var(--ease);
}
.trust-item:hover .trust-icon {
  background: var(--gold-100);
  border-color: var(--gold-700);
  transform: translateY(-2px);
}
.trust-icon svg { width: 19px; height: 19px; }
/* nowrap keeps every trust headline on a single line across the 4-up grid */
.trust-item strong {
  display: block;
  color: var(--navy-900);
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.45;
  white-space: nowrap;
  margin-bottom: 3px;
}
.trust-item span {
  color: var(--muted);
  font-size: var(--fs-200);
  line-height: 1.5;
}

/* --- İkili sütun ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6.5vw, 92px);
  align-items: center;
}
/* copy starts level with the top of the image instead of its middle */
.split--top { align-items: start; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-media .badge-card {
  position: absolute;
  top: -26px;
  left: -26px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 24px;
  /* fotoğrafın üstünde duran bir öğe: kart kademesinden bir üst gölge */
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.split-media .badge-card .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  font-family: var(--serif);
  font-size: var(--fs-700);
  font-weight: 700;
}
.split-media .badge-card .num svg { width: 26px; height: 26px; }
.split-media .badge-card .label {
  font-family: var(--serif);
  font-size: var(--fs-400);
  font-weight: 700;
  color: var(--navy-900);
  max-width: 130px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.split-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: var(--fs-400);
  line-height: 1.6;
}
.split-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold-700);
}

.brand-plate {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  display: inline-block;
  max-width: 480px;
  width: 100%;
}
.brand-plate img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* --- Kart ızgarası ----------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.6vw, 34px);
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Kenarlık + gölge + zemin tek dil: beyaz yüzey, kılcal sıcak kenarlık,
   yumuşak sm gölge. Hover'da yüzey bir kademe yükselir (md) ve kenarlık
   altına döner — üç öğe birlikte hareket eder. */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(32px, 3vw, 44px) clamp(26px, 2.4vw, 34px);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-3) var(--ease),
    box-shadow var(--dur-3) var(--ease),
    border-color var(--dur-3) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-100);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold-600);
  color: var(--gold-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  transition:
    background-color var(--dur-3) var(--ease),
    border-color var(--dur-3) var(--ease);
}
.card:hover .card-icon {
  background: var(--gold-100);
  border-color: var(--gold-700);
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 12px; font-size: var(--fs-600); }
.card p { font-size: var(--fs-400); line-height: 1.66; }
/* .card always sits on a white background, even inside .section--navy —
   force its own text colors so the navy section's white-text rules don't
   make the card content invisible-on-white. */
.section--navy .card { border-color: rgba(255,255,255,0.10); box-shadow: var(--shadow-on-dark); }
.section--navy .card h3 { color: var(--navy-900); }
.section--navy .card p { color: var(--muted); }
.section--navy .card .eyebrow { color: var(--gold-700); }
.section--navy .card .eyebrow::before { background: var(--gold-600); }
.section--navy .card:hover { border-color: rgba(212,171,124,0.35); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: var(--fs-300);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--gold-700);            /* beyazda 5.45 · kremde 5.10 */
  transition: color var(--dur-2) var(--ease), gap var(--dur-2) var(--ease);
}
.card-link svg { transition: transform var(--dur-2) var(--ease); }
.card-link:hover { color: var(--gold-800); }
.card-link:hover svg { transform: translateX(3px); }

.card-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur-3) var(--ease),
    transform var(--dur-3) var(--ease),
    border-color var(--dur-3) var(--ease);
}
.card-photo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--gold-100);
}
.card-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.card-photo:hover img { transform: scale(1.045); }
.card-photo .card-photo-body { padding: 30px 30px 34px; }
.card-photo .card-photo-body h3 { margin-bottom: 10px; }
.card-photo .card-photo-body p { font-size: var(--fs-400); }

/* --- Adımlar ----------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 2.4vw, 34px);
  counter-reset: step;
  position: relative;
}
/* üstteki ince çizgi, adımları yatay bir zaman çizgisi gibi hizalar */
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px; height: 1px;
  background: var(--gold-600);
}
.step .step-num {
  font-family: var(--serif);
  font-size: var(--fs-1000);
  font-weight: 600;
  /* opaklık kaldırıldı: eski altın-500 @0.55 kremde 1.65:1 idi, tamamen
     okunmaz durumdaydı. Logo altını büyük metin olarak 3.61:1 veriyor. */
  color: var(--gold-600);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: var(--fs-600); }
.step p { font-size: var(--fs-300); line-height: 1.65; }

/* --- İstatistik -------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: var(--fs-1000);
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: var(--fs-300);
  color: var(--on-dark-2);
  margin-top: 6px;
}

/* --- CTA bandı --------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border: 1px solid rgba(212,171,124,0.18);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 130% at 100% 0%, rgba(168,120,72,0.30), transparent 58%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: var(--on-dark-2); }   /* lacivert-700'de 6.60:1 */
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- İletişim sayfası -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 36px 38px;
  margin-bottom: 24px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row:last-child { border-bottom: none; }
/* min-width:0 olmadan flex çocuğu, kırılamayan e-posta adresi kadar genişler
   ve 320px sınıfı ekranlarda kartı taşırır */
.contact-row > *:not(.ic) { min-width: 0; overflow-wrap: anywhere; }
.contact-row .ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold-600);
  color: var(--gold-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--dur-2) var(--ease);
}
.contact-row:hover .ic { background: var(--gold-100); }
.contact-row .ic svg { width: 17px; height: 17px; }
.contact-row strong {
  display: block;
  color: var(--navy-900);
  font-size: var(--fs-400);
  font-weight: 600;
}
.contact-row span, .contact-row a { font-size: var(--fs-300); color: var(--muted); }
.contact-row a { transition: color var(--dur-2) var(--ease); }
.contact-row a:hover { color: var(--gold-800); }

.iban-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(212,171,124,0.20);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
}
.iban-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(168,120,72,0.22), transparent 60%);
  pointer-events: none;
}
.iban-box > * { position: relative; z-index: 1; }
.iban-box .label {
  font-size: var(--fs-100);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);            /* lacivertte 7.47:1 */
  margin-bottom: 10px;
}
.iban-box .value {
  font-family: var(--serif);
  font-size: var(--fs-700);
  letter-spacing: 0.02em;
  line-height: 1.35;
  word-break: break-word;
}
.iban-box .owner { margin-top: 12px; font-size: var(--fs-300); color: var(--on-dark-2); }

.map-frame {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--cream-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Harita bloğu: üstte başlık + yol tarifi bağlantısı, altta çerçeveli harita */
.map-block { margin-top: var(--sp-12); }
.map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.map-head h3 { margin-bottom: 4px; }
.map-head p { font-size: var(--fs-300); margin: 0; }
.map-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
  font-size: var(--fs-300);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.map-dir:hover { background: var(--navy-900); color: #fff; }
.map-dir svg { width: 16px; height: 16px; }

@media (max-width: 620px) {
  .map-frame { height: 320px; }
  .map-head { align-items: flex-start; }
}

/* --- Alt bilgi --------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: var(--on-dark-2);
  padding-top: 76px;
}
/* üst kenarda soluk altın kılcal — koyu bloğu sayfadan zarifçe ayırır */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,171,124,0.45), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--on-dark-line);
}
/* the cream logo variant sits straight on the navy — no plate needed */
.footer-logo-card {
  display: inline-block;
  margin-bottom: 22px;
}
.footer-brand img { height: 84px; width: auto; display: block; }
.footer-brand p {
  color: var(--on-dark-3);           /* lacivert-950'de 6.69:1 */
  font-size: var(--fs-300);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: var(--fs-300);
  color: var(--on-dark-2);           /* 10.25:1 */
  transition: color var(--dur-2) var(--ease);
}
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: var(--fs-100);
  line-height: 1.6;
  color: var(--on-dark-3);           /* eski 0.45 opaklık 4.42 ile AA'nın altındaydı */
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--on-dark-2); }

/* --- Kayan WhatsApp ---------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12), 0 14px 30px -10px rgba(37,211,102,0.55);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.float-wa:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.14), 0 20px 40px -12px rgba(37,211,102,0.65);
}

/* --- Yardımcılar ------------------------------------------------------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* --- Duyarlı ----------------------------------------------------------- */
@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    /* Tam opak — backdrop-filter'lı .site-header'ın İÇİNDE ikinci bir
       backdrop-filter kullanılırsa Chromium yanlış arka planı örnekliyor ve
       panel yarı saydam kalıyor (hero metni menünün içinden okunuyordu). */
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    /* açılır katman kart kademesinin üstünde: lg gölge */
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .main-nav.open a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--fs-500);
  }
  .main-nav.open a:last-child { border-bottom: none; }
  .main-nav.open a::after { display: none; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .trust-item + .trust-item::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split-media { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 28px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cards-grid, .cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .trust-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-item { padding: 24px 4px; border-bottom: 1px solid var(--line-soft); }
  .trust-item:last-child { border-bottom: none; }
  /* white-space:nowrap her genişlikte korunuyor — tek sütuna düşen düzende
     de başlıklar tek satırda kalıyor ve sığıyor (390px'te ölçüldü). */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .split-media .badge-card { position: static; margin: -40px 20px 0; }
  .hero-inner { padding: 64px 0 72px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 28px 24px; }
  .brand img { height: 52px; }
  .header-inner { gap: 12px; padding: 10px 20px; }
  .btn { padding: 13px 24px; }
  .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* 320px sınıfı cihazlar — tek amacı yatay taşmayı önlemek */
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .contact-card { padding: 24px 20px; }
  .btn { padding: 13px 20px; font-size: var(--fs-300); }
  .btn-block { white-space: normal; text-align: center; }
  .iban-box { padding: 24px 20px; }
  .iban-box .value { font-size: var(--fs-600); }
}

/* ============ Certificate Scroll Gallery (Hakkımızda) ============ */
.cert-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}
.cert-scroll::-webkit-scrollbar { height: 7px; }
.cert-scroll::-webkit-scrollbar-track { background: transparent; }
.cert-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: var(--radius-pill);
}
.cert-scroll::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }
.cert-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-3) var(--ease),
    box-shadow var(--dur-3) var(--ease),
    border-color var(--dur-3) var(--ease);
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-100);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.cert-card--official img { object-fit: contain; background: var(--cream-2); }
.cert-card-label {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cert-card-label strong {
  color: var(--navy-900);
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-400);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.cert-card-label span {
  color: var(--muted);
  font-size: var(--fs-200);
}
.cert-scroll-note {
  text-align: center;
  font-size: var(--fs-200);
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 620px) {
  .cert-card { width: 230px; }
}

/* ============ Footer compliance disclaimers ============ */
/* no border here — .footer-grid's bottom border is the single divider */
.footer-compliance {
  padding-top: 28px;
}
.footer-compliance p {
  font-size: var(--fs-100);
  color: var(--on-dark-3);           /* lacivert-950'de 6.69:1 */
  line-height: 1.7;
  max-width: 900px;
}
.footer-compliance p + p { margin-top: 10px; }

/* ============ Partner hospital block (Hakkımızda) ============ */
.partner-hospital {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(212,171,124,0.18);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.partner-hospital::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 0% 0%, rgba(168,120,72,0.20), transparent 60%);
  pointer-events: none;
}
.partner-hospital > * { position: relative; z-index: 1; }
.partner-hospital-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-hospital-logo img { width: 100%; height: auto; }
.partner-hospital-text h3 { color: var(--white); margin-bottom: 12px; }
.partner-hospital-text p { color: var(--on-dark-2); font-size: var(--fs-400); }
.partner-hospital-photos {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
}
.partner-hospital-photos img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .partner-hospital { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .partner-hospital-logo { max-width: 200px; margin: 0 auto; }
  .partner-hospital-photos { grid-template-columns: 1fr; gap: 16px; }
  .partner-hospital-photos img { height: 220px; }
}

/* ============ Editor / content info modal ============ */
.footer-editor-link {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-100);
  color: var(--gold-400);            /* lacivert-950'de 8.67:1 */
  border-bottom: 1px solid rgba(212,171,124,0.45);
  cursor: pointer;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
  padding: 0 0 2px;
  font-family: var(--sans);
  transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.footer-editor-link:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.7); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,21,39,0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 300;
}
.modal-overlay.open {
  display: flex;
  animation: modal-fade var(--dur-3) var(--ease);
}
.modal-overlay.open .modal-box {
  animation: modal-rise var(--dur-3) var(--ease);
}
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
}

.modal-box {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 42px 44px;
  /* en üst katman: xl gölge */
  box-shadow: var(--shadow-xl);
  position: relative;
}
.modal-box h3 { margin-bottom: 6px; font-size: var(--fs-700); }
.modal-box .modal-sub {
  font-size: var(--fs-200);
  color: var(--muted);
  margin-bottom: 26px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-300);
}
.modal-row:last-of-type { border-bottom: none; }
.modal-row .k { color: var(--muted); flex-shrink: 0; }
.modal-row .v { color: var(--navy-900); font-weight: 500; text-align: right; }
.modal-row .v a { color: var(--gold-700); }   /* beyazda 5.45:1 */
.modal-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-200);
  color: var(--muted);
  line-height: 1.65;
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease);
}
.modal-close:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

@media (max-width: 620px) {
  .modal-box { padding: 34px 24px; border-radius: var(--radius); }
  .modal-row { flex-direction: column; gap: 3px; }
  .modal-row .v { text-align: left; }
}

/* ============ Certificate carousel controls ============ */
.cert-carousel { position: relative; }

.cert-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  /* kaydırağın üstünde yüzen kontrol: kart kademesinin bir üstü */
  box-shadow: var(--shadow-md);
  color: var(--navy-900);            /* beyazda 15.82:1 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    opacity var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}
.cert-nav svg { width: 18px; height: 18px; }
.cert-nav:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
/* faded out rather than removed, so the row never shifts at either end */
.cert-nav[disabled] { opacity: 0; pointer-events: none; }
.cert-nav--prev { left: -20px; }
.cert-nav--next { right: -20px; }

@media (max-width: 900px) {
  .cert-nav--prev { left: 2px; }
  .cert-nav--next { right: 2px; }
}
@media (max-width: 620px) {
  .cert-nav { width: 40px; height: 40px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .card-photo:hover, .cert-card:hover,
  .btn:hover, .float-wa:hover, .trust-item:hover .trust-icon {
    transform: none;
  }
  .card-photo:hover img { transform: none; }
}

/* ============ Health Türkiye rozeti ============ */
.ht-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.ht-badge img { height: 46px; width: auto; }
.ht-badge:hover { opacity: 0.78; }
/* koyu zeminde beyaz varyant biraz daha büyük durmalı ki kalp okunsun */
.ht-badge--footer { margin-bottom: var(--sp-5); }
.ht-badge--footer img { height: 40px; }
@media (max-width: 980px) { .ht-badge img { height: 38px; } }
@media (max-width: 520px) { .ht-badge { display: none; } }

/* ============ Ekip ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 760px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-card-body { padding: var(--sp-6) var(--sp-6) var(--sp-8); text-align: center; }
.team-card-body strong {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-600);
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.team-card-body span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-300);
  color: var(--muted);
}
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* ============ Yasal metin sayfası ============ */
.legal { max-width: 800px; }
.legal h2 { margin-top: var(--sp-12); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: var(--sp-8); }
.legal p, .legal li { font-size: var(--fs-400); }
.legal ul { margin-top: var(--sp-4); }
.legal ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
}
.legal .legal-meta {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  font-size: var(--fs-200);
  color: var(--muted);
}

/* Footer markası: kendi logomuz ile Health Türkiye rozeti aynı satırda,
   dikeyde ortalanmış dursun — rozet tek başına alta düşmesin. */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.footer-brand-row .footer-logo-card,
.footer-brand-row .ht-badge--footer { margin-bottom: 0; }

/* ============ Yüzen araç çubuğu: dil seçici · yukarı çık · WhatsApp ============
   WhatsApp sağ altta sabit (58px). "Yukarı çık" tam onun üstüne, aynı sütuna
   hizalanır. Dil seçici karşı köşede, sol altta. */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 94px;              /* 24 (wa alt) + 58 (wa yükseklik) + 12 boşluk */
  z-index: 200;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  /* görünürlük yalnızca sayfa aşağı kaydırılınca açılır */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
              visibility var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-700); }
.to-top svg { width: 19px; height: 19px; }

.lang-switch {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-size: var(--fs-300);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
/* Dil seçici varsayılan olarak lacivert dursun; hover'da hafifçe açılsın. */
.lang-toggle { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.lang-toggle:hover { background: var(--navy-800); border-color: var(--navy-800); }
.lang-toggle svg { width: 17px; height: 17px; flex-shrink: 0; }
.lang-toggle .caret { transition: transform var(--dur-2) var(--ease); }
.lang-switch.open .lang-toggle .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  min-width: 208px;
  max-height: min(56vh, 420px);
  overflow-y: auto;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
              visibility var(--dur-2) var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu a,
.lang-menu span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: var(--fs-300);
  color: var(--ink);
  transition: background var(--dur-1) var(--ease);
}
.lang-menu a:hover { background: var(--cream-2); }
.lang-menu .code {
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lang-menu a[aria-current="true"] { background: var(--gold-100); color: var(--navy-900); font-weight: 600; }
.lang-menu a[aria-current="true"] .code { color: var(--gold-800); }
/* çevirisi henüz yayınlanmamış diller — 404 vermesin diye bağlantı değil */
.lang-menu span { color: var(--muted); cursor: default; opacity: 0.55; }
.lang-menu span .code::after { content: " · yakında"; letter-spacing: 0; }

@media (max-width: 620px) {
  .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { width: 42px; height: 42px; right: 16px; bottom: 80px; }
  .lang-switch { left: 16px; bottom: 16px; }
  .lang-toggle { height: 42px; padding: 0 13px; }
  .lang-menu { min-width: 186px; }
}

/* Başlıktaki telefon artık bir bağlantı — görünüm aynı kalsın, tıklanınca arasın. */
a.header-phone { text-decoration: none; }
a.header-phone strong { transition: color var(--dur-2) var(--ease); }
a.header-phone:hover strong { color: var(--gold-700); }

/* ============ Sertifika kaydırağı — modern görünüm ============ */
.cert-card {
  border: none;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* görselin üstünde ince bir altın çizgi — kartlara birlik hissi verir */
.cert-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
}
.cert-card img { transition: transform var(--dur-3) var(--ease); }
.cert-card:hover img { transform: scale(1.03); }
.cert-card-label { border-top: 1px solid var(--line-soft); }
/* büyüteç ipucu */
.cert-card .cert-zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(10,35,64,0.72);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  pointer-events: none;
}
.cert-card { position: relative; }
.cert-card:hover .cert-zoom { opacity: 1; transform: scale(1); }
.cert-card .cert-zoom svg { width: 15px; height: 15px; }

/* ============ Sertifika görüntüleyici (lightbox) ============ */
.cert-viewer {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(6,21,39,0.93);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.cert-viewer.open { display: flex; }
.cert-viewer figure {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.cert-viewer img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  background: var(--white);
}
.cert-viewer figcaption { text-align: center; color: var(--on-dark-1); }
.cert-viewer figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-600);
  color: var(--white);
}
.cert-viewer figcaption span { font-size: var(--fs-300); color: var(--on-dark-2); }
.cert-viewer .cv-count {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  color: var(--gold-400);
}
.cv-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-2) var(--ease);
}
.cv-btn:hover { background: rgba(255,255,255,0.2); }
.cv-btn svg { width: 20px; height: 20px; }
.cv-prev { left: clamp(10px, 3vw, 34px); }
.cv-next { right: clamp(10px, 3vw, 34px); }
.cv-close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur-2) var(--ease);
}
.cv-close:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 620px) {
  .cv-btn { width: 42px; height: 42px; }
  .cert-viewer img { max-height: 62vh; }
}

/* Dil seçicide bayraklar — beyaz zeminde dil adı yeterince ayırt edici değildi. */
.lang-flag {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10,35,64,0.12);
  object-fit: cover;
}
.lang-menu a, .lang-menu span[lang] { justify-content: flex-start; gap: 10px; }
.lang-menu .lang-ad { flex: 1; }
.lang-toggle .lang-flag { width: 20px; height: 15px; }

/* --- Rozet: ikon kaldırıldı, artık sade bir isim etiketi.
       Eski dar `max-width` mobilde metni alt satıra kırıyordu. */
.split-media .badge-card {
  padding: 14px 22px;
  gap: 0;
}
.split-media .badge-card .label {
  max-width: none;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: var(--fs-400);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

/* --- "Yukarı çık" düğmesi WhatsApp ile aynı dikey eksende dursun.
       WhatsApp 58px, düğme 46px → (58-46)/2 = 6px içeri alınır. */
.to-top { right: 30px; }

@media (max-width: 620px) {
  /* WhatsApp 52px, düğme 42px → (52-42)/2 = 5px */
  .to-top { right: 21px; }
  .split-media .badge-card { padding: 12px 18px; }
  .split-media .badge-card .label { font-size: var(--fs-300); }
}

/* ============ Destinasyonlar — "Sağlığınızla birlikte Türkiye" ============
   Asimetrik bento düzeni: İstanbul geniş kutuda öne çıkar, diğerleri yanında
   dizilir. Bilgi katmanı görselin üstüne biner; hover'da yükselir. */
.dest-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-auto-rows: 216px;
  gap: 16px;
}
.dest-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
/* İstanbul: iki satır + geniş sütun */
.dest-card--lead { grid-row: span 2; }

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.dest-card:hover img { transform: scale(1.06); }

/* okunabilirlik için alttan yukarı koyulaşan perde */
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
              rgba(6,21,39,0.86) 0%,
              rgba(6,21,39,0.42) 38%,
              rgba(6,21,39,0.05) 70%);
  transition: opacity var(--dur-3) var(--ease);
}
.dest-card:hover::after { opacity: 0.88; }

.dest-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px 22px;
  transform: translateY(6px);
  transition: transform var(--dur-3) var(--ease);
}
.dest-card:hover .dest-body { transform: translateY(0); }

.dest-body strong {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-600);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}
.dest-card--lead .dest-body { padding: 28px 30px; }
.dest-card--lead .dest-body strong { font-size: var(--fs-800); }

.dest-body span {
  display: block;
  margin-top: 5px;
  font-size: var(--fs-200);
  color: rgba(255,255,255,0.78);
  /* alt satır yalnızca hover'da açılır — sakin bir kart, meraklı bir keşif */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--dur-3) var(--ease), opacity var(--dur-3) var(--ease);
}
.dest-card:hover .dest-body span { max-height: 4rem; opacity: 1; }

/* ince altın mesafe etiketi */
.dest-tag {
  position: absolute;
  top: 16px; left: 18px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  /* koyu cam: etiket açık gökyüzü/traverten üzerinde de okunur kalsın */
  background: rgba(6,21,39,0.55);
  border: 1px solid rgba(212,171,124,0.5);
  backdrop-filter: blur(8px);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-300);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .dest-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .dest-card--lead { grid-column: span 2; grid-row: span 1; }
  .dest-card--lead .dest-body strong { font-size: var(--fs-700); }
}
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .dest-card--lead { grid-column: span 1; }
  /* dokunmatikte hover yok — alt satır hep açık dursun */
  .dest-body span { max-height: 4rem; opacity: 1; }
}

/* ============ Hero — bölünmüş kurgu ============
   Tam ekran fotoğraf + koyu perde yerine: solda krem zeminde yazı, sağda
   çerçevelenmiş portre. Fotoğrafın üstüne metin binmediği için başlık daha
   net okunur, sayfa da daha aydınlık ve "klinik" bir his verir. */
.hero-split {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero-split .container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: 76vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-copy { max-width: 560px; }
.hero-copy h1 {
  color: var(--navy-900);
  margin-bottom: 1.25rem;
}
.hero-copy .lead {
  font-size: var(--fs-600);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}
/* ince altın ayraç — başlıkla metni ayırır, logodaki çizgiyi yankılar */
.hero-copy .lead::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  margin-bottom: 1.25rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-split .btn-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.hero-split .btn-outline:hover { background: var(--navy-900); color: #fff; }

/* güven satırı — hero'nun altında sade metin */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-200);
  color: var(--muted);
}
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-600);
  flex-shrink: 0;
}

/* --- görsel taraf: hafif kaydırılmış çift çerçeve --- */
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
/* arkada duran altın hatlı çerçeve */
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-split .container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-figure { order: -1; max-width: 460px; }
  .hero-figure img { aspect-ratio: 4/3.2; }
  .hero-figure::before { inset: 16px -16px -16px 16px; }
  .hero-copy { max-width: none; }
}

/* ============ Randevu formu — iki aşamalı ============ */
.appt {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 3.5vw, 40px);
}
.appt-head { margin-bottom: var(--sp-6); }
.appt-head h3 { margin-bottom: 6px; }
.appt-head p { font-size: var(--fs-300); }

/* adım göstergesi */
.appt-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-6);
}
.appt-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-200);
  color: var(--muted);
}
.appt-dot i {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  font-size: var(--fs-100);
  font-weight: 700;
  background: var(--cream-2);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.appt-dot.on i { background: var(--gold-600); color: #fff; border-color: var(--gold-600); }
.appt-dot.on { color: var(--navy-900); font-weight: 600; }
.appt-bar { flex: 1; height: 1px; background: var(--line); }

.appt-panel { display: none; }
.appt-panel.on { display: block; }

.appt-field { margin-bottom: var(--sp-4); }
.appt-field label {
  display: block;
  font-size: var(--fs-200);
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.appt-field input,
.appt-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-400);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.appt-field input:focus,
.appt-field select:focus {
  outline: none;
  border-color: var(--gold-600);
  background: var(--white);
}
.appt-field input::placeholder { color: #9aa6b4; }

/* telefon: ülke kodu + numara */
.appt-phone { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }

/* rıza kutusu */
.appt-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: var(--sp-5) 0 var(--sp-4);
  font-size: var(--fs-200);
  color: var(--muted);
  line-height: 1.5;
}
.appt-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold-600); flex-shrink: 0; }
.appt-consent a { color: var(--gold-700); text-decoration: underline; }

.appt-actions { display: flex; gap: 10px; }
.appt-actions .btn { flex: 1; justify-content: center; }
.appt-back {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  flex: 0 0 auto !important;
  padding-inline: 20px;
}
.appt-back:hover { border-color: var(--navy-900); color: var(--navy-900); }
.appt-err {
  display: none;
  margin-top: 10px;
  font-size: var(--fs-200);
  color: #a3352c;
}
.appt-err.on { display: block; }

@media (max-width: 480px) {
  .appt-phone { grid-template-columns: 110px 1fr; }
  .appt-dot span { display: none; }
}

/* ============ Çerez onayı — popup ============
   KVKK: ölçümleme/pazarlama çerezleri yalnızca açık rıza ile çalışır.
   Rıza verilmeden hiçbir üçüncü taraf betiği yüklenmez. */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6,21,39,0.62);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cc-overlay.on { display: flex; }

.cc-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 38px);
}
.cc-box h3 { margin-bottom: 10px; }
.cc-box > p {
  font-size: var(--fs-300);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}
.cc-box a { color: var(--gold-700); text-decoration: underline; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { flex: 1 1 auto; justify-content: center; }
.cc-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: var(--fs-200);
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 4px;
  width: 100%;
  text-align: center;
}
.cc-link:hover { color: var(--navy-900); }

/* tercihler paneli */
.cc-prefs { display: none; margin-top: var(--sp-5); }
.cc-prefs.on { display: block; }
.cc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cc-row strong {
  display: block;
  font-size: var(--fs-300);
  color: var(--navy-900);
  margin-bottom: 3px;
}
.cc-row span { font-size: var(--fs-200); color: var(--muted); line-height: 1.5; }

/* anahtar */
.cc-sw { position: relative; flex-shrink: 0; width: 44px; height: 25px; }
.cc-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-sw i {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background var(--dur-2) var(--ease);
  pointer-events: none;
}
.cc-sw i::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform var(--dur-2) var(--ease);
}
.cc-sw input:checked + i { background: var(--gold-600); }
.cc-sw input:checked + i::after { transform: translateX(19px); }
.cc-sw input:disabled + i { background: var(--gold-300); cursor: not-allowed; }
.cc-sw input:focus-visible + i { outline: 2px solid var(--navy-900); outline-offset: 2px; }

/* footer'dan yeniden açma bağlantısı */
.cc-reopen {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: var(--fs-200);
  color: rgba(255,255,255,0.62);
  text-decoration: underline;
  cursor: pointer;
}
.cc-reopen:hover { color: var(--gold-400); }

@media (max-width: 480px) {
  .cc-actions .btn { flex: 1 1 100%; }
}

/* ============ Hizmet kartları — görselli varyant ============
   İkon yerine konuyla ilgili fotoğraf. Kart yapısı aynı kalır. */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo .card-media {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--cream-2);
}
.card--photo .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.card--photo:hover .card-media img { transform: scale(1.05); }
/* görselin altına doğru hafif koyulaşma — başlıkla arasında yumuşak geçiş */
.card--photo .card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(10,35,64,0.28), transparent);
}
.card--photo .card-body { padding: 26px 28px 30px; }
.card--photo h3 { margin-bottom: 10px; }
.card--photo p { font-size: var(--fs-300); }

/* ============ Mobil düzeltmeleri ============ */
@media (max-width: 980px) {
  /* Logo ve "Randevu Al" ekran kenarına yapışıyordu; nefes payı ver. */
  /* kenar boslugu container'da toplanir; header-inner yalnizca dikey nefes verir */
  .site-header .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { padding: 14px 0; gap: 12px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 11px 16px; font-size: var(--fs-300); }
  .nav-toggle { padding: 8px 2px; }
}

@media (max-width: 620px) {
  /* --- Sertifika görüntüleyici: oklar görselin üstünde kayboluyordu.
         Mobilde alta, sabit bir kumanda çubuğuna alınır. --- */
  .cert-viewer figure { gap: var(--sp-4); padding-bottom: 76px; }
  .cert-viewer img { max-height: 56vh; }
  .cv-btn {
    top: auto;
    bottom: 16px;
    transform: none;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.45);
  }
  .cv-prev { left: 50%; margin-left: -62px; }
  .cv-next { right: 50%; margin-right: -62px; }
  .cv-close { top: 12px; right: 12px; }
}

/* --- Dil menüsü: sayfa kaydırılırken yatayda oynuyordu.
       Sabit konum + kendi genişliğine kilitlenir. --- */
@media (max-width: 620px) {
  .lang-switch { left: 16px; right: auto; }
  .lang-menu {
    left: 0;
    right: auto;
    width: max-content;
    min-width: 190px;
    max-width: calc(100vw - 32px);
    overscroll-behavior: contain;   /* menü içinde kaydırma sayfaya taşmasın */
    -webkit-overflow-scrolling: touch;
  }
  .lang-menu a, .lang-menu span[lang] { white-space: nowrap; }
}

/* Rozet: düzen tek sütuna düştüğünde (900px) fotoğrafın üstüne yayılıp
   okunmaz hâle geliyor, dar ekranda da kadraj dışına taşıyordu.
   Bu genişliklerde görselin sol üstüne oturan net bir etikete dönüşür. */
@media (max-width: 900px) {
  .split-media { position: relative; }
  .split-media .badge-card {
    position: absolute;
    top: 14px;
    /* mantıksal özellik: LTR'de sola, RTL'de sağa yaslanır */
    inset-inline-start: 14px;
    inset-inline-end: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 0;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(10,35,64,0.18), 0 10px 24px -10px rgba(10,35,64,0.35);
  }
  .split-media .badge-card .label {
    font-size: var(--fs-300);
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============ Form: ek alanlar ve durum mesajları ============ */
.appt-field textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-400);
  line-height: 1.55;
}
.appt-field textarea:focus { outline: none; border-color: var(--gold-600); background: var(--white); }
.appt-opt { font-weight: 400; color: var(--muted); }

/* tercih edilen iletişim kanalı — seçilebilir etiketler */
.appt-kanal { display: flex; flex-wrap: wrap; gap: 8px; }
.appt-kanal label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-size: var(--fs-300);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease);
  margin: 0;
}
.appt-kanal input { position: absolute; opacity: 0; pointer-events: none; }
.appt-kanal label:hover { border-color: var(--gold-500); }
.appt-kanal input:checked + span { color: var(--white); }
.appt-kanal label:has(input:checked) {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.appt-kanal input:focus-visible + span { outline: 2px solid var(--navy-900); outline-offset: 4px; }

/* gönderim sonucu */
.appt-sonuc {
  display: none;
  margin-bottom: var(--sp-5);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-300);
  line-height: 1.55;
}
.appt-sonuc.on { display: block; }
.appt-sonuc--ok { background: #edf6ee; border: 1px solid #bcdcc2; color: #245c30; }
.appt-sonuc--hata { background: #fbeeec; border: 1px solid #e8c4be; color: #8c352b; }
