/* =====================================================================
   DÜZTEPE YAŞAM HASTANESİ — Kurumsal Tasarım Sistemi
   Yeşil & Beyaz marka kimliği. Tüm renkler merkezi değişkenlerle yönetilir.
   ===================================================================== */

:root {
    /* --- Marka yeşili (logodan ölçüldü: ~#3cab35) ve skalası --- */
    --green-50:  #f0f3f0;
    --green-100: #e1e7e2;
    --green-200: #c3cfc5;
    --green-300: #9fb1a2;
    --green-400: #7b927f;
    --green-500: #5c7a60;   /* ANA RENK — adaçayı yeşili */
    --green-600: #4c6650;   /* hover / vurgu */
    --green-700: #3e5342;   /* koyu başlık / kontrast */
    --green-800: #334435;
    --green-900: #1e291f;   /* koyu zemin (footer, hero overlay) */

    /* --- Nötrler --- */
    --white:     #ffffff;
    --ink:       #1b231d;   /* koyu antrasit metin */
    --ink-soft:  #4c564e;   /* ikincil metin */
    --muted:     #869088;   /* soluk metin */
    --line:      #e8ebe9;   /* ince ayraç */
    --bg:        #ffffff;   /* ana zemin */
    --bg-alt:    #f4f6f4;   /* ikincil nötr zemin */
    --bg-soft:   #eef2ee;   /* açık yeşil zemin */

    /* --- Anlamsal --- */
    --brand:        var(--green-500);
    --brand-strong: var(--green-600);
    --brand-dark:   var(--green-700);

    /* --- Tipografi --- */
    --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;

    /* --- Biçim: premium, yumuşak --- */
    --radius:    16px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 2px rgba(30,41,31, .05);
    --shadow-sm: 0 4px 16px rgba(30,41,31, .055);
    --shadow:    0 16px 40px rgba(30,41,31, .09);
    --shadow-lg: 0 32px 70px rgba(30,41,31, .16);
    --ring:      0 0 0 4px rgba(92,122,96, .18);
    --glass:     rgba(255, 255, 255, .72);
    --glass-brd: rgba(255, 255, 255, .6);

    --container: 1340px;
    --ease: cubic-bezier(.4, .14, .2, 1);
}

/* ------------------------- Reset ------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--ink);
    /* Stark beyaz yerine çok hafif yeşilimsi zemin; arkadaki soluk hastane binası body::before ile */
    background: #f1f6f2;
    line-height: 1.7;
    font-size: 17px;
    font-weight: 450;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
/* Arkada sabit, soluk (transparan) hastane binası — background-attachment:fixed mobilde çalışmadığı için ::before ile */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    background: url('../img/bina/hastane-genis.jpg') center 18% / cover no-repeat;
    opacity: .13;
    pointer-events: none;
}
img { max-width: 100%; display: block; }
/* Satır içi ikonlar için güvenli varsayılan boyut (özel kurallar bunu geçersiz kılar) */
svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; color: var(--ink); letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p  { color: var(--ink-soft); }
::selection { background: var(--green-200); color: var(--green-900); }

/* ------------------------- Layout ------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.section { padding: 72px 0; }
/* Yarı saydam: arkadaki transparan hastane binası bu bölümlerde de görünsün */
.section--alt { background: rgba(244,246,244,.55); }
.section--soft { background: rgba(234,241,235,.55); }
.narrow { max-width: 820px; }

.sec-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.sec-head .eyebrow { margin-inline: auto; }
.sec-head p { margin-top: 18px; font-size: 1.12rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--green-50); color: var(--green-700);
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 9px 17px; border-radius: var(--radius-pill); margin-bottom: 20px;
    border: 1px solid var(--green-100);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }

/* ------------------------- Butonlar ------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: .98rem; line-height: 1;
    padding: 15px 26px; border-radius: var(--radius-pill);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap; border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(92,122,96,.28); }
.btn--primary:hover { background: var(--brand-strong); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(92,122,96,.34); }
.btn--ghost { background: #fff; color: var(--brand-dark); border-color: var(--green-300); }
.btn--ghost:hover { background: var(--green-50); border-color: var(--brand); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: #fff; color: var(--brand-dark); }
.btn--sm { padding: 11px 18px; font-size: .88rem; }
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ======================= HEADER ======================= */
.topbar {
    background: var(--green-900); color: rgba(255,255,255,.82); font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.78); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links svg { width: 14px; height: 14px; color: var(--green-300); }
.topbar__social { display: flex; align-items: center; gap: 8px; }
.topbar__social a {
    width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.08);
    display: grid; place-items: center;
}
.topbar__social a:hover { background: var(--brand); color: #fff; }
.topbar__social svg { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; max-width: 1500px; }

/* Logo — figür markası (SVG) + kurumsal yazı */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
    width: 52px; height: 52px; flex: none; display: block;
    transition: transform .2s var(--ease);
}
.brand:hover .brand__mark { transform: scale(1.06) rotate(-4deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -.025em; white-space: nowrap; }
.brand__text small { font-size: .62rem; font-weight: 700; letter-spacing: .13em; color: var(--brand); text-transform: uppercase; margin-top: 5px; white-space: nowrap; }
@media (max-width: 480px) {
    .brand__mark { width: 42px; height: 42px; border-radius: 12px; }
    .brand__mark svg { width: 26px; height: 26px; }
    .brand__text strong { font-size: 1rem; }
    .brand__text small { font-size: .58rem; }
}

/* Ana menü — kurumsal: alt çizgi göstergesi, balon yok */
.main-nav { display: flex; align-items: center; align-self: stretch; }
.main-nav > ul { display: flex; align-items: stretch; gap: 0; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    padding: 13px 9px; font-weight: 600; font-size: .84rem; color: var(--ink-soft);
    position: relative; transition: color .18s;
}
.main-nav > ul > li > a .caret { width: 13px; height: 13px; }
.main-nav > ul > li > a::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 2.5px;
    background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: center;
    transition: transform .22s var(--ease);
}
.main-nav > ul > li > a .caret { width: 15px; height: 15px; opacity: .55; transition: transform .2s; }
.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a { color: var(--brand-dark); }
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav > ul > li:hover > a .caret { transform: rotate(180deg); }

/* Açılır menü */
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 248px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .22s var(--ease); z-index: 50;
    /* Uzun menüler ekrandan taşmasın; hepsi görünür/erişilir olsun */
    max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
}
.main-nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* Mega menü açıkken transform OLMAMALI: aksi halde fixed yan flyout'lar bu kutuya göre konumlanır/kırpılır */
.main-nav li:hover > .dropdown.mega-menu { transform: none; }
.dropdown li a {
    display: block; padding: 11px 14px; border-radius: var(--radius-sm);
    font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: all .15s;
}
.dropdown li a:hover { background: var(--green-50); color: var(--brand-dark); padding-left: 20px; }

/* ---- SKS mega-menü (kademeli, yana açılan kolonlar) ---- */
/* Üst kolon uzun olursa kaydırılır; yan flyout'lar JS ile position:fixed olduğundan kırpılmaz.
   transform:none -> bu kutu fixed flyout'lar için "containing block" olmasın (öyle olursa kırpardı). */
.dropdown.mega-menu { min-width: 288px; max-width: 320px; padding: 8px; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 140px); transform: none; }
.mega-menu ul { list-style: none; margin: 0; padding: 0; }
.mega-li { position: relative; list-style: none; }
.mega-li > a {
    display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: var(--radius-sm);
    font-size: .875rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3;
    transition: background .14s, color .14s;
}
.mega-li > a > span { flex: 1; }
.mega-caret { width: 13px; height: 13px; margin-left: auto; flex: none; transform: rotate(-90deg); opacity: .45; }
.mega-li.has-sub:hover > a,
.mega-li > a:hover { background: var(--green-50); color: var(--brand-dark); }
.mega-li.has-sub:hover > a .mega-caret { opacity: .9; color: var(--brand); }

.mega-col {
    position: fixed; top: 0; left: 0;   /* konum JS ile ayarlanır (yan flyout) */
    min-width: 290px; max-width: 340px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 8px;
    opacity: 0; visibility: hidden;
    transition: opacity .16s var(--ease), visibility .16s;
    z-index: 70;
    /* Uzun kolonlar kendi içinde kaydırılır; fixed olduğundan üst kutular kırpmaz */
    max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.mega-li:hover > .mega-col { opacity: 1; visibility: visible; }
.mega-col--leaf { max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.mega-col::-webkit-scrollbar { width: 8px; }
.mega-col::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* ---- SKS kategori indeksi (sayfa sayfa) ---- */
.sks-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sks-index-card {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(30,41,31,.05);
    transition: transform .18s var(--ease), box-shadow .18s, border-color .18s;
}
.sks-index-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 30px rgba(92,122,96,.16); }
.sks-index-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--green-500), var(--green-600)); color: #fff; }
.sks-index-card .ic svg { width: 22px; height: 22px; }
.sks-index-t { flex: 1; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.sks-index-c { font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--green-50); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sks-index-ar { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sks-catnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.sks-catnav__side { display: flex; gap: 8px; flex-wrap: wrap; }
.sks-catnav .flip { transform: rotate(180deg); }
@media (max-width: 900px) { .sks-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sks-index { grid-template-columns: 1fr; } }
.mega-col--leaf::-webkit-scrollbar { width: 8px; }
.mega-col--leaf::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.mega-doc { list-style: none; }
.mega-doc > a, .mega-doc-pending {
    display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border-radius: 10px;
    font-size: .82rem; font-weight: 600; color: var(--ink-soft); line-height: 1.32;
}
.mega-doc > a { transition: background .14s, color .14s; }
.mega-doc > a:hover { background: var(--green-50); color: var(--brand-dark); }
.mega-doc-ic { width: 15px; height: 15px; flex: none; color: var(--brand); margin-top: 1px; }
.mega-doc-pending { color: var(--muted); }

/* ---- Giriş popup'ı (duyuru afişi) ---- */
body.popup-open { overflow: hidden; }
.site-popup { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.site-popup[hidden] { display: none; }
.site-popup__overlay { position: absolute; inset: 0; background: rgba(16, 28, 20, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: popupFade .25s ease; }
.site-popup__box { position: relative; z-index: 1; max-width: min(92vw, 440px); max-height: 88vh; animation: popupPop .3s var(--ease); }
.site-popup__media { display: block; }
.site-popup__media img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.site-popup__close {
    position: absolute; top: -16px; right: -16px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
    background: #fff; color: var(--ink); display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .15s, background .15s, color .15s;
}
.site-popup__close svg { width: 20px; height: 20px; }
.site-popup__close:hover { background: var(--brand); color: #fff; transform: rotate(90deg); }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupPop { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (max-width: 480px) {
    .site-popup__close { top: -14px; right: 2px; width: 36px; height: 36px; }
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-call {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-50); color: var(--brand-dark); border: 1px solid var(--green-100);
    transition: background .18s, color .18s, transform .18s;
}
.header-call svg { width: 19px; height: 19px; }
.header-call:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
@media (max-width: 1080px) { .header-call { display: none; } }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--brand-dark); }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* ======================= HERO (premium, tam genişlik görsel) ======================= */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 92vh; display: flex; align-items: center;
    padding: 120px 0 140px;
    color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(104deg, rgba(10,40,13,.93) 0%, rgba(30,41,31,.82) 42%, rgba(62,83,66,.42) 72%, rgba(92,122,96,.15) 100%),
        radial-gradient(1200px 600px at 85% 115%, rgba(92,122,96,.35), transparent 60%);
}
.hero__inner { max-width: 760px; position: relative; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: #e9f1ea; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.hero .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.hero__badge { margin-bottom: 26px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .accent { color: #a9c9ad; }
.hero__lead { font-size: 1.25rem; line-height: 1.6; max-width: 600px; margin-bottom: 40px; color: rgba(255,255,255,.9); font-weight: 450; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 56px; }

/* Cam istatistik çubuğu */
.hero__stats {
    display: inline-flex; gap: 8px; flex-wrap: wrap;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg); padding: 22px 10px;
}
.hero__stats > div { padding: 0 26px; position: relative; }
.hero__stats > div + div::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.2); }
.hero__stats .num { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero__stats .lbl { font-size: .85rem; color: rgba(255,255,255,.78); margin-top: 8px; }

/* Yüzen cam kart (sağ alt) */
.hero__card {
    position: absolute; right: 0; bottom: -70px; width: 320px;
    background: var(--glass); border: 1px solid var(--glass-brd);
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; color: var(--ink);
}
.hero__card .row { display: flex; align-items: center; gap: 14px; }
.hero__card .row + .row { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(30,41,31,.08); }
.hero__card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.hero__card .ic svg { width: 24px; height: 24px; }
.hero__card strong { display: block; font-size: 1rem; color: var(--ink); }
.hero__card span { font-size: .82rem; color: var(--muted); }
@media (max-width: 1080px) { .hero__card { display: none; } }

/* ======================= QUICK ACTIONS (hero üzerine binen eylem şeridi) ======================= */
.quick { margin-top: -54px; position: relative; z-index: 5; }
.quick__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden;
}
.quick__card {
    display: flex; align-items: center; gap: 15px; padding: 24px 22px;
    position: relative; background: #fff; transition: background .22s var(--ease);
}
.quick__card::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: var(--brand); border-radius: 3px; transition: height .25s var(--ease); }
.quick__card:hover { background: var(--green-50); }
.quick__card:hover::before { height: 60%; }
.quick__card .ic { width: 50px; height: 50px; border-radius: 14px; flex: none; background: linear-gradient(140deg, var(--green-500), var(--green-600)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(92,122,96,.28); transition: transform .25s var(--ease); }
.quick__card:hover .ic { transform: scale(1.06) rotate(-4deg); }
.quick__card .ic svg { width: 25px; height: 25px; }
.quick__card .qc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.quick__card .qc-txt strong { font-size: 1.05rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.quick__card .qc-txt small { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.quick__card .qc-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green-50); color: var(--brand-dark); display: grid; place-items: center; transition: all .25s var(--ease); }
.quick__card .qc-arrow svg { width: 17px; height: 17px; }
.quick__card:hover .qc-arrow { background: var(--brand); color: #fff; transform: translateX(3px); }

/* ======================= HAKKIMIZDA (koyu, etkileyici) ======================= */
.about {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    padding: 80px 0;
    background:
        radial-gradient(900px 480px at 92% -10%, rgba(92,122,96,.4), transparent 62%),
        linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 58%, var(--green-700) 100%);
}
.about::after { content: ""; position: absolute; left: -90px; bottom: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.04); z-index: -1; }
.eyebrow--light { background: rgba(255,255,255,.12); color: #e9f1ea; border-color: rgba(255,255,255,.22); }
.eyebrow--light::before { box-shadow: 0 0 0 4px rgba(255,255,255,.14); }

.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 58px; align-items: center; }
.about__media { position: relative; padding-bottom: 10px; }
.about__img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__badge {
    position: absolute; right: -18px; bottom: 26px; background: #fff; border-radius: var(--radius);
    padding: 16px 22px; box-shadow: var(--shadow-lg); text-align: center; min-width: 118px;
}
.about__badge .n { display: block; font-size: 1.8rem; font-weight: 800; color: var(--brand-dark); line-height: 1; letter-spacing: -.02em; }
.about__badge .t { display: block; font-size: .74rem; color: var(--ink-soft); margin-top: 5px; line-height: 1.25; }

.about__content h2 { color: #fff; }
.about__content > p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-top: 18px; max-width: 560px; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.about__features .tile {
    display: flex; gap: 13px; align-items: flex-start; padding: 16px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.about__features .tile:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.about__features .tile .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; background: rgba(143,240,138,.16); color: #aeccb1; display: grid; place-items: center; }
.about__features .tile .ic svg { width: 22px; height: 22px; }
.about__features .tile strong { display: block; font-size: 1rem; color: #fff; }
.about__features .tile span { font-size: .84rem; color: rgba(255,255,255,.72); }
.about__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.about__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; padding-top: 42px; border-top: 1px solid rgba(255,255,255,.14); }
.about__links a {
    display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-radius: var(--radius);
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 700;
    transition: background .2s, color .2s, transform .2s;
}
.about__links a > svg:first-child { width: 24px; height: 24px; color: #aeccb1; flex: none; transition: color .2s; }
.about__links a span { flex: 1; min-width: 0; }
.about__links a .ar { width: 18px; height: 18px; opacity: .6; transition: transform .2s; }
.about__links a:hover { background: #fff; color: var(--brand-dark); transform: translateY(-4px); }
.about__links a:hover > svg:first-child { color: var(--brand); }
.about__links a:hover .ar { transform: translateX(3px); }

@media (max-width: 860px) {
    .about { padding: 64px 0; }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__media { max-width: 520px; }
    .about__links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .about__features { grid-template-columns: 1fr; }
    .about__links { grid-template-columns: 1fr; }
}

/* ======================= CARDS: Branşlar (görsel kart) ======================= */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    min-height: 200px; display: flex; align-items: flex-end;
    box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dept-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.dept-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,40,13,.12) 0%, rgba(10,40,13,.42) 42%, rgba(10,40,13,.9) 100%);
    transition: background .3s var(--ease);
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-card:hover img { transform: scale(1.08); }
.dept-card:hover::before { background: linear-gradient(180deg, rgba(76,102,80,.25) 0%, rgba(30,41,31,.55) 40%, rgba(30,41,31,.94) 100%); }
.dept-card__inner { position: relative; z-index: 1; width: 100%; padding: 18px 18px 20px; display: flex; align-items: center; gap: 13px; }
.dept-card .ic {
    width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; transition: all .25s var(--ease);
}
.dept-card:hover .ic { background: var(--brand); border-color: var(--brand); }
.dept-card .ic svg { width: 24px; height: 24px; }
.dept-card h3 { color: #fff; font-size: 1.05rem; margin: 0; line-height: 1.2; text-shadow: 0 1px 6px rgba(0,0,0,.3); }

/* İkonlu bilgi kartı (ör. Diğer Hizmetler) */
.icon-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; transition: all .22s var(--ease); position: relative; overflow: hidden;
}
.icon-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); transition: width .25s var(--ease); }
.icon-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-tile:hover::after { width: 100%; }
.icon-tile .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--green-50); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px; transition: all .22s; }
.icon-tile:hover .ic { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.icon-tile .ic svg { width: 28px; height: 28px; }
.icon-tile h3 { font-size: 1.08rem; margin-bottom: 7px; }
.icon-tile p { font-size: .9rem; margin: 0; }

/* ======================= CARDS: Hekimler ======================= */
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doctor-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; transition: all .22s var(--ease);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.doctor-card__photo {
    aspect-ratio: 1/1; background: linear-gradient(160deg, var(--green-100), var(--green-50));
    position: relative; overflow: hidden;
}
.doctor-card__photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center;
    transition: transform .5s var(--ease);
}
.doctor-card:hover .doctor-card__photo img { transform: scale(1.04); }
.doctor-card__photo .ini {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 2.4rem; font-weight: 800; color: var(--green-600);
}
.doctor-card__badge {
    position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.94);
    color: var(--brand-dark); font-size: .72rem; font-weight: 700; padding: 5px 11px;
    border-radius: var(--radius-pill); backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0,0,0,.12);
    white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}
.doctor-card__body { padding: 18px 18px 20px; }
.doctor-card__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.doctor-card__body .spec { color: var(--brand); font-weight: 600; font-size: .88rem; }
.doctor-card__more {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
    font-size: .8rem; font-weight: 700; color: var(--green-600);
    opacity: .75; transition: gap .2s var(--ease), opacity .2s var(--ease);
}
.doctor-card__more svg { width: 15px; height: 15px; }
.doctor-card:hover .doctor-card__more { opacity: 1; gap: 9px; }

/* ================= HEKİM PROFİL / ÖZGEÇMİŞ (doktor.php) ================= */
.doctor-profile { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.dp-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.dp-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.dp-photo {
    aspect-ratio: 1/1; background: linear-gradient(160deg, var(--green-100), var(--green-50));
    position: relative; overflow: hidden;
}
.dp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dp-ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--green-600); }
.dp-card__body { padding: 20px 20px 22px; text-align: center; }
.dp-card__body h2 { font-size: 1.2rem; margin: 0 0 6px; line-height: 1.3; }
.dp-spec { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.dp-spec svg { width: 17px; height: 17px; }
.dp-btn { width: 100%; justify-content: center; }
.dp-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.dp-contact li + li { border-top: 1px solid var(--line); }
.dp-contact a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; transition: background .15s; }
.dp-contact a:hover { background: var(--green-50); color: var(--green-700); }
.dp-contact svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 auto; }
.dp-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dp-main { min-width: 0; }
.dp-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid var(--green-100); }
.dp-title svg { width: 24px; height: 24px; color: var(--brand); }
.dp-bio { color: rgba(255,255,255,.93); line-height: 1.75; font-size: 1rem; background: var(--green-700); border: 1px solid var(--green-700); border-radius: var(--radius-lg); padding: 28px 32px; }
.dp-bio p, .dp-bio li, .dp-bio span, .dp-bio td, .dp-bio div { color: rgba(255,255,255,.93); }
.dp-bio p { margin: 0 0 15px; }
.dp-bio h3, .dp-bio h4 { color: #fff; margin: 26px 0 10px; font-size: 1.08rem; }
.dp-bio h3:first-child, .dp-bio h4:first-child { margin-top: 0; }
.dp-bio ul, .dp-bio ol { margin: 0 0 16px; padding-left: 22px; }
.dp-bio li { margin-bottom: 7px; }
.dp-bio strong { color: #d6e8d9; }
.dp-bio a { color: #bcd7bf; text-decoration: underline; }
.dp-bio img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 8px 0; }
.dp-bio--empty { background: var(--green-50); border: 1px solid var(--green-100); color: var(--ink); border-radius: var(--radius-lg); padding: 26px; }
.dp-bio--empty p, .dp-bio--empty li, .dp-bio--empty span, .dp-bio--empty div { color: var(--ink); }
.dp-bio--empty strong, .dp-bio--empty h3, .dp-bio--empty h4 { color: var(--green-700); }
.dp-bio--empty .btn { margin-top: 8px; }

.dp-others { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.dp-others h3 { font-size: 1.1rem; margin: 0 0 16px; }
.dp-others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dp-mini { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: all .18s var(--ease); }
.dp-mini:hover { border-color: var(--green-200); background: var(--green-50); transform: translateY(-2px); }
.dp-mini__ph { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: linear-gradient(160deg, var(--green-100), var(--green-50)); position: relative; }
.dp-mini__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dp-mini__ph .ini { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--green-600); font-size: .9rem; }
.dp-mini__name { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.dp-foot { margin-top: 30px; }

@media (max-width: 860px) {
    .doctor-profile { grid-template-columns: 1fr; gap: 24px; }
    .dp-side { position: static; }
    .dp-others__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .dp-others__grid { grid-template-columns: 1fr; }
}

/* ---- Hekim carousel (ana sayfa) — yan yana, otomatik döner, kullanıcı kontrollü ---- */
.doc-carousel { position: relative; }
.doc-viewport { overflow: hidden; }
.doc-track { display: flex; gap: 24px; transition: transform .5s var(--ease); will-change: transform; }
.doc-track .doctor-card { flex: 0 0 calc((100% - 72px) / 4); }  /* 4 görünür (masaüstü) */
.doc-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--brand-dark); cursor: pointer; display: grid; place-items: center;
    box-shadow: var(--shadow-sm); transition: background .15s, color .15s, opacity .15s;
}
.doc-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.doc-nav svg { width: 20px; height: 20px; }
.doc-prev { left: -14px; }
.doc-prev svg { transform: rotate(90deg); }
.doc-next { right: -14px; }
.doc-next svg { transform: rotate(-90deg); }
.doc-nav[disabled] { opacity: .35; cursor: default; }
@media (max-width: 992px) {
    .doc-track .doctor-card { flex: 0 0 calc((100% - 24px) / 2); }   /* 2 görünür */
}
@media (max-width: 560px) {
    .doc-track { gap: 14px; }
    .doc-track .doctor-card { flex: 0 0 calc((100% - 14px) / 2); }   /* 2 görünür (mobil) */
    .doc-prev { left: 2px; } .doc-next { right: 2px; }
    .doctor-card__body { padding: 12px 12px 16px; }
    .doctor-card__body h3 { font-size: .92rem; }
    .doctor-card__body .spec { font-size: .78rem; }
}

/* ======================= CARDS: Hizmetler ======================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px;
    display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.service-card:hover img { transform: scale(1.07); }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,60,19,0) 30%, rgba(18,60,19,.88) 100%); }
.service-card__body { position: relative; padding: 26px; color: #fff; }
.service-card__body h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.service-card__body p { color: rgba(255,255,255,.88); font-size: .92rem; margin: 0; }
.service-card__body .sc-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; font-weight: 700; font-size: .86rem; color: #fff; }
.service-card__body .sc-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.service-card:hover .sc-more svg { transform: translateX(4px); }

/* ======================= Paketler ======================= */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pkg-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 28px; position: relative; overflow: hidden; transition: all .22s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-300); }
.pkg-card .no { font-size: 3.2rem; font-weight: 800; color: var(--green-100); line-height: .8; position: absolute; top: 20px; right: 22px; transition: color .2s; }
.pkg-card:hover .no { color: var(--green-200); }
.pkg-card h3 { font-size: 1.3rem; margin-bottom: 12px; position: relative; }
.pkg-card p { font-size: .95rem; margin-bottom: 20px; }
.pkg-card a { color: var(--brand-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.pkg-card a:hover { gap: 12px; }

/* ======================= CHECK-UP (checkup.php) ======================= */
.cku-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.cku-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.cku-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.cku-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cku-ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(160deg, var(--green-100), var(--green-50)); display: grid; place-items: center; color: var(--brand); }
.cku-ic svg { width: 24px; height: 24px; }
.cku-badge { font-size: .72rem; font-weight: 800; padding: 5px 11px; border-radius: var(--radius-pill); letter-spacing: .02em; }
.cku-badge--pro { background: var(--green-600); color: #fff; }
.cku-badge--std { background: var(--green-100); color: var(--green-700); }
.cku-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.cku-desc { font-size: .9rem; color: var(--ink); margin: 0 0 16px; line-height: 1.6; }
.cku-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.cku-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; color: var(--ink); }
.cku-list svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.cku-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 9px; }
.cku-card__foot .btn { width: 100%; justify-content: center; }
.cku-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 26px auto 0; max-width: 760px; }
a.cku-card { text-decoration: none; color: inherit; }
.cku-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-600); font-size: .88rem; }
.cku-link svg { width: 16px; height: 16px; }
a.cku-card:hover .cku-link { gap: 11px; }

.cku-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.cku-acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cku-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-weight: 700; color: var(--brand-dark); font-size: 1.02rem; }
.cku-acc summary::-webkit-details-marker { display: none; }
.cku-acc__ic { width: 20px; height: 20px; color: var(--brand); transition: transform .2s var(--ease); flex: 0 0 auto; }
.cku-acc[open] .cku-acc__ic { transform: rotate(180deg); }
.cku-acc__body { padding: 0 22px 20px; color: var(--ink); line-height: 1.75; font-size: .95rem; }
.cku-acc__body ul { margin: 0; padding-left: 20px; }
.cku-acc__body li { margin-bottom: 8px; }
.cku-acc__body strong { color: var(--green-700); }

.cku-cta { background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: #fff; border-radius: var(--radius-lg); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cku-cta h2 { color: #fff; margin: 0 0 6px; }
.cku-cta p { margin: 0; opacity: .92; }
.cku-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) { .cku-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cku-grid { grid-template-columns: 1fr; } .cku-cta { padding: 28px 24px; } }

/* ======================= CTA Bandı ======================= */
.cta-band {
    background:
        radial-gradient(600px 300px at 15% 20%, rgba(255,255,255,.12), transparent 60%),
        linear-gradient(120deg, var(--green-700), var(--green-500));
    color: #fff; border-radius: var(--radius-lg); padding: 54px; position: relative; overflow: hidden;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }

/* ======================= İstatistik şeridi ======================= */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand-dark); }
.stat-strip .lbl { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }

/* ======================= Hakkımızda / split ======================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split > * { min-width: 0; }   /* grid öğeleri daralabilsin; tek sütunda taşmayı önler */
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
/* Hakkımızda katmanlı görsel */
.about-media { position: relative; padding: 0 44px 44px 0; }
.about-media .am-main { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-media .am-sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); }
.about-media .am-badge {
    position: absolute; left: -14px; top: 28px; text-align: center; color: #fff;
    background: linear-gradient(140deg, var(--green-500), var(--green-700)); border-radius: var(--radius);
    padding: 16px 20px; box-shadow: 0 14px 30px rgba(92,122,96,.4);
}
.about-media .am-badge strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.about-media .am-badge span { font-size: .72rem; opacity: .92; display: block; margin-top: 4px; line-height: 1.2; }
@media (max-width: 860px) {
    .about-media { padding: 0 0 0 0; max-width: 520px; }
    .about-media .am-sub { width: 42%; right: 10px; bottom: -18px; }
    .about-media .am-badge { left: 10px; }
}

.feature-list { display: grid; gap: 16px; margin-top: 26px; }
.feature-list--grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.feature-list--grid .tick { background: var(--green-100); }
@media (max-width: 480px) { .feature-list--grid { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--green-100); color: var(--brand-dark); display: grid; place-items: center; }
.feature-list .tick svg { width: 17px; height: 17px; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { font-size: .92rem; color: var(--ink-soft); }

/* ======================= Partner logoları ======================= */
/* Anlaşmalı kurumlar — sürekli kayan, renkli logo şeridi (marquee) */
.partner-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partner-track { display: flex; width: max-content; align-items: center; animation: partner-scroll 34s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-item { flex: 0 0 auto; display: grid; place-items: center; padding: 0 26px; }
.partner-item img { height: 40px; width: auto; max-width: 155px; object-fit: contain; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }
@media (max-width: 620px) { .partner-item { padding: 0 16px; } .partner-item img { height: 30px; max-width: 115px; } .partner-track { animation-duration: 24s; } }

/* ======================= Sayfa başlığı (iç sayfalar) — premium koyu bant ======================= */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    padding: 76px 0 72px;
    background:
        radial-gradient(900px 500px at 88% -20%, rgba(92,122,96,.45), transparent 60%),
        linear-gradient(120deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
}
.page-hero::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
    border-radius: 50%; background: rgba(255,255,255,.05); z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 660px; font-size: 1.14rem; color: rgba(255,255,255,.85); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #a9c9ad; }

/* ======================= Hekim filtre çubuğu ======================= */
.hekim-filter {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 14px; margin-bottom: 40px;
}
.hf-field { position: relative; display: flex; align-items: center; }
.hf-field > svg:first-child { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.hf-field input, .hf-field select {
    font-family: inherit; font-size: .98rem; color: var(--ink);
    padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
    background: var(--bg-alt); transition: border-color .18s, box-shadow .18s, background .18s;
    width: 100%;
}
.hf-field input:focus, .hf-field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: var(--ring); }
.hf-search { flex: 1 1 260px; }
.hf-select { flex: 1 1 260px; }
.hf-select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.hf-select .hf-caret { position: absolute; right: 16px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.hf-count { margin-left: auto; padding: 0 12px; font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.hf-count strong { color: var(--brand-dark); font-size: 1.15rem; font-weight: 800; }
@media (max-width: 640px) {
    .hekim-filter { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; }
    /* Sütun yönünde flex-basis yüksekliğe dönüşür; alanları doğal yüksekliğe sabitle. */
    .hf-search, .hf-select { flex: 0 0 auto; }
    .hf-count { margin-left: 0; text-align: center; padding-top: 4px; }
}

.no-result {
    text-align: center; color: var(--ink-soft); font-weight: 600; margin-top: 40px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.no-result[hidden] { display: none; }
.no-result svg { width: 20px; height: 20px; color: var(--muted); }

/* ======================= Filtre çubuğu ======================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
    padding: 9px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem;
    background: #fff; border: 1px solid var(--line); color: var(--ink-soft); transition: all .18s;
}
.filter-bar button:hover { border-color: var(--green-300); color: var(--brand-dark); }
.filter-bar button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ======================= Formlar ======================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: .98rem; color: var(--ink);
    padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-alt); transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); background: #fff; box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; margin-bottom: 20px; }
.alert--ok { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-200); }
.alert--err { background: #fde8e8; color: #9b1c1c; border: 1px solid #f8b4b4; }

/* ======================= İletişim kutuları ======================= */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: all .2s; min-width: 0; }
.info-card > * { min-width: 0; }   /* metin bloğu daralabilsin (uzun e-posta/adres taşmasın) */
.info-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.info-card .ic { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--green-50); color: var(--brand-dark); display: grid; place-items: center; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .94rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.info-card a:hover { color: var(--brand); }

/* ======================= Harita ======================= */
.map-wrap {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px;
    box-shadow: var(--shadow); border: 1px solid var(--line); isolation: isolate;
    background: var(--bg-alt);
}
.map-wrap iframe { filter: grayscale(.2) contrast(1.05); }
.map-directions { position: absolute; right: 18px; bottom: 18px; box-shadow: var(--shadow); }

/* ======================= Akordeon (SSS / rehber) ======================= */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-head { width: 100%; text-align: left; padding: 20px 22px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem; }
.acc-head .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--green-50); color: var(--brand-dark); display: grid; place-items: center; transition: all .2s; }
.acc-item.open .acc-head .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-body p { padding: 0 22px 20px; margin: 0; }

/* ======================= E-Sonuç ======================= */
.esonuc-layout { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.esonuc-hint { margin-top: 18px; font-size: .86rem; color: var(--ink-soft); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-sm); padding: 12px 14px; }
.esonuc-hint b { color: var(--brand-dark); }

.esonuc-result { display: none; }
.esonuc-result.show { display: block; }

/* Belge listesi */
.doc-list { display: grid; gap: 12px; }
.doc-item {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.doc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-200); }
.doc-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.doc-ic svg { width: 24px; height: 24px; }
.doc-ic.tip-rapor { background: #eaf1ff; color: #2f5fd0; }
.doc-ic.tip-lab { background: var(--green-50); color: var(--brand-dark); }
.doc-info { flex: 1; min-width: 0; }
.doc-info strong { display: block; font-size: 1rem; color: var(--ink); }
.doc-info span { font-size: .84rem; color: var(--muted); }
.doc-view { flex: none; }
@media (max-width: 480px) {
    .doc-item { flex-wrap: wrap; }
    .doc-view { width: 100%; }
}
.esonuc-empty { color: var(--muted); text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); }
.esonuc-empty svg { width: 40px; height: 40px; color: var(--green-300); margin: 0 auto 14px; }

.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.result-head .who strong { font-size: 1.15rem; color: var(--ink); }
.result-head .who span { display: block; font-size: .85rem; color: var(--muted); }
.result-head .print { cursor: pointer; }

.result-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.result-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.result-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-alt); padding: 13px 16px; white-space: nowrap; }
.result-table td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.result-table td .pname { color: var(--ink); font-weight: 600; }
.result-table tr:hover td { background: var(--green-50); }
.result-group td { background: var(--green-50); color: var(--brand-dark); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.res-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.res-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.res-normal { background: var(--green-100); color: var(--green-800); }
.res-yuksek { background: #fde7e7; color: #b42318; }
.res-dusuk { background: #fff3d6; color: #a15c07; }

@media (max-width: 860px) { .esonuc-layout { grid-template-columns: 1fr; } }

/* ======================= Hizmet detay sayfası ======================= */
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; max-height: 360px; }
.detail-media img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }

/* Dışarıdan alınan içerik gövdesi */
.content-body { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.content-body p { margin: 0 0 14px; }
.content-body strong { color: var(--ink); }
.content-body h1, .content-body h2, .content-body h3, .content-body h4 { color: var(--ink); margin: 26px 0 12px; }
.content-body ul, .content-body ol { margin: 0 0 16px; padding-left: 22px; }
.content-body ul li, .content-body ol li { margin-bottom: 8px; }
.content-body a { color: var(--brand-dark); text-decoration: underline; }
.content-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.content-body table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; margin: 18px 0; font-size: .9rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.content-body table td, .content-body table th { width: auto !important; border: 1px solid var(--line); padding: 11px 14px; vertical-align: top; color: var(--ink-soft); word-break: break-word; overflow-wrap: anywhere; }
.content-body table tr:nth-child(odd) td { background: var(--bg-alt); }
.content-body table strong, .content-body table b { color: var(--brand-dark); }

/* İçerik görselleri — düzenli galeri ızgarası */
.content-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 28px 0 8px; }
.content-gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; border: 1px solid var(--line); }
.content-gallery img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .45s var(--ease); }
.content-gallery a:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .content-gallery { grid-template-columns: 1fr 1fr; } }

/* Yan sütun */
.detail-side { position: sticky; top: 120px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-links { display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: all .15s; }
.side-links a svg { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: all .18s; }
.side-links a:hover { background: var(--green-50); color: var(--brand-dark); }
.side-links a:hover svg { opacity: .7; transform: none; }
.side-links a.active { background: var(--brand); color: #fff; }
.side-links a.active svg { opacity: 1; transform: none; color: #fff; }
.side-cta { background: linear-gradient(140deg, var(--green-700), var(--green-500)); color: #fff; border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.side-cta .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin: 0 auto 14px; }
.side-cta .ic svg { width: 26px; height: 26px; }
.side-cta h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.side-cta p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 18px; }
.side-cta .btn { margin-bottom: 10px; }

@media (max-width: 900px) {
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .detail-side { grid-template-columns: 1fr; } }

/* ======================= SKS doküman listesi ======================= */
.sks-doclist { display: grid; gap: 2px; margin-top: 10px; }
.sks-doclist li { list-style: none; }
.sks-doclist a, .sks-doclist .sks-pending { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.sks-doclist a { color: var(--ink-soft); transition: background .15s, color .15s, transform .15s; }
.sks-doclist a > svg:first-child { color: var(--brand); width: 17px; height: 17px; flex: none; padding: 4px; box-sizing: content-box; background: var(--green-50); border-radius: 7px; transition: background .15s, color .15s; }
.sks-doclist a > svg:last-child { margin-left: auto; width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; color: var(--brand); }
.sks-doclist a:hover { background: var(--green-50); color: var(--brand-dark); }
.sks-doclist a:hover > svg:first-child { background: var(--brand); color: #fff; }
.sks-doclist a:hover > svg:last-child { opacity: .8; transform: translateX(0); }
.sks-doclist .sks-pending { color: var(--muted); }
.sks-doclist .sks-pending svg { width: 16px; height: 16px; flex: none; }

/* ---- SKS doküman ağacı (4 seviyeli) ---- */
.sks-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.sks-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.sks-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.sks-search input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.sks-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--green-50); }
.sks-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sks-chip { font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); padding: 6px 13px; border-radius: var(--radius-pill); transition: background .15s, color .15s, border-color .15s; }
.sks-chip:hover { background: var(--green-50); color: var(--brand-dark); border-color: var(--green-100); }

.sks-tree { display: grid; gap: 18px; }
.sks-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.sks-cat-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--green-50), #fff); }
.sks-cat-head .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; background: linear-gradient(140deg, var(--green-500), var(--green-600)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(92,122,96,.26); }
.sks-cat-head .ic svg { width: 21px; height: 21px; }
.sks-cat-head h2 { margin: 0; font-size: 1.12rem; }
.sks-count { font-size: .76rem; font-weight: 700; color: var(--brand); background: var(--green-50); border-radius: var(--radius-pill); padding: 3px 10px; white-space: nowrap; }
.sks-count--cat { margin-left: auto; }
.sks-cat-body { padding: 10px 16px 16px; }
.sks-doclist--top { margin-top: 6px; }

.sks-node { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 10px; background: #fff; }
.sks-node > summary { display: flex; align-items: center; gap: 10px; padding: 12px 15px; cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--ink); list-style: none; border-radius: var(--radius-sm); transition: background .15s; }
.sks-node > summary::-webkit-details-marker { display: none; }
.sks-node > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .18s; flex: none; margin-right: 2px; }
.sks-node[open] > summary::before { transform: rotate(45deg); }
.sks-node > summary:hover { background: var(--green-50); }
.sks-node > summary .sks-sum-t { flex: 1; }
.sks-node > summary .sks-count { margin-left: auto; }
.sks-node-body { padding: 2px 14px 12px; }
.sks-node .sks-node { background: var(--bg-alt); }
.sks-noresult { text-align: center; color: var(--muted); padding: 30px 0; font-weight: 600; }
.sks-noresult[hidden] { display: none; }
@media (max-width: 640px) {
    .sks-toolbar { flex-direction: column; align-items: stretch; }
    .sks-search { max-width: none; }
}

/* ======================= İçerik (prose) ======================= */
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; color: var(--brand-dark); }
.prose p { margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 5px; background: var(--green-100); }
.prose ul li::after { content: ""; position: absolute; left: 5px; top: 12px; width: 5px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(40deg); }

.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }

/* ======================= FOOTER ======================= */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding-top: 64px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { height: 60px; width: 60px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: all .2s; }
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-weight: 700; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .93rem; transition: all .15s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: rgba(255,255,255,.72); }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-300); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom a:hover { color: #fff; }

/* ======================= Yüzen Randevu butonu ======================= */
.randevu-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 22px; border-radius: var(--radius-pill);
    background: linear-gradient(140deg, var(--green-500), var(--green-600)); color: #fff;
    font-weight: 700; font-size: .95rem; box-shadow: 0 14px 30px rgba(92,122,96,.45);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease); animation: rv-pulse 2.6s infinite;
}
.randevu-float:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(92,122,96,.5); }
.randevu-float svg { width: 20px; height: 20px; }
@keyframes rv-pulse { 0%,100% { box-shadow: 0 14px 30px rgba(92,122,96,.4); } 50% { box-shadow: 0 14px 30px rgba(92,122,96,.4), 0 0 0 12px rgba(92,122,96,0); } }
@media (max-width: 480px) { .randevu-float span { display: none; } .randevu-float { padding: 15px; border-radius: 50%; } .randevu-float svg { width: 24px; height: 24px; } }

/* ======================= Reveal animasyonu =======================
   İçerik varsayılan olarak görünür; JS varsa gizlenip animasyonla girer.
   Böylece JS/gözlemci çalışmazsa içerik kaybolmaz. */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; }
}

/* ======================= Mobil menü ======================= */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: #fff; z-index: 200;
    transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; overflow-y: auto; }
.mobile-nav.open { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav__brand { display: flex; align-items: center; gap: 10px; }
.mobile-nav__head img { height: 44px; width: 44px; object-fit: contain; }
.mobile-nav__brand span { font-weight: 800; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.mobile-nav__close { width: 42px; height: 42px; border-radius: 10px; background: var(--green-50); color: var(--brand-dark); }
.mobile-nav__close svg { width: 22px; height: 22px; margin: auto; }
.mobile-nav ul { padding: 10px; }
.mobile-nav > ul > li > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 700; border-radius: var(--radius-sm); color: var(--ink); }
.mobile-nav > ul > li > a:hover, .mobile-nav .msub a:hover { background: var(--green-50); color: var(--brand-dark); }
.mobile-nav .msub { padding-left: 14px; display: none; }
.mobile-nav .msub.show { display: block; }
.mobile-nav .msub a { display: block; padding: 10px 16px; font-size: .92rem; color: var(--ink-soft); border-radius: var(--radius-sm); }
.mobile-nav__cta { padding: 16px 20px; margin-top: auto; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(18,40,20,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ======================= Responsive ======================= */
/* Menü tek satıra sığmadığında hamburger'e geç (öğe sayısı arttı) */
@media (max-width: 1340px) {
    .main-nav { display: none; }
    .nav-toggle { display: grid; }
}
@media (max-width: 1080px) {
    .dept-grid, .doctor-grid, .quick__grid, .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
    /* Mobil/tablet: geniş hero görseli kırpılınca hastane binası görünür kalsın
       (bina görselin sağında; kadrajı oraya odakla) ve hero biraz daha kısa olsun. */
    .hero { min-height: 68vh; padding: 70px 0 56px; }
    .hero__bg img { object-position: 82% center; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .service-grid, .pkg-grid, .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 28px; }
    .section { padding: 60px 0; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .dept-grid, .doctor-grid, .quick__grid, .service-grid, .pkg-grid, .stat-strip, .partner-grid { grid-template-columns: 1fr 1fr; }
    .pkg-grid { grid-template-columns: 1fr; }
    .doctor-grid { gap: 12px; }   /* mobilde 2 sütun daha sığsın */
    /* Branşlar mobilde toplu: 2 sütun + daha kısa kartlar */
    .dept-grid { gap: 12px; }
    .dept-card { min-height: 126px; }
    .dept-card__inner { padding: 12px 12px 14px; gap: 10px; }
    .dept-card .ic { width: 38px; height: 38px; border-radius: 11px; }
    .dept-card .ic svg { width: 19px; height: 19px; }
    .dept-card h3 { font-size: .9rem; }
    /* Hizmetler mobilde branşlar gibi: 2 sütun, kısa kutular, sadece başlık */
    .service-grid { gap: 12px; }
    .service-card { min-height: 126px; }
    .service-card__body { padding: 14px; }
    .service-card__body h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.2; }
    .service-card__body p, .service-card__body .sc-more { display: none; }
    .topbar { display: none; }
    /* Mobil header: logo + isim + menü (Randevu Al menüde mevcut) */
    .header-cta .btn--primary { display: none; }
    .brand { gap: 10px; }
    .brand__mark { width: 42px; height: 42px; }
    .brand__text strong { font-size: .95rem; }
    .brand__text small { font-size: .52rem; letter-spacing: .08em; }
    .header-main .container { gap: 10px; min-height: 66px; }
    .hero__float--tl { left: 8px; }
    .hero__float--br { right: 8px; }
    .hero__stats { gap: 22px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    /* Footer mobilde daha kısa: marka tam genişlik, bağlantı sütunları 2'li */
    .site-footer { padding-top: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-bottom: 32px; }
    .footer-grid > * { min-width: 0; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { margin-bottom: 0; }
    .footer-grid > :last-child { grid-column: 1 / -1; }   /* İletişim tam genişlik */
    .footer-contact li { overflow-wrap: anywhere; }
    .footer-links { gap: 9px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .container { padding-inline: 18px; }
}
@media (max-width: 420px) {
    .quick__grid { grid-template-columns: 1fr; }
    /* Hekimler ve branşlar mobilde de 2 sütun kalsın (daha toplu görünüm) */
    .doctor-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dept-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .partner-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Veri tablosu (Hasta Rehberi sonuç süreleri vb.) ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 420px; background: #fff; border: 1px solid var(--green-200); border-radius: 12px; overflow: hidden; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--green-100); }
.data-table thead th { background: var(--green-600); color: #fff; font-weight: 600; font-size: .98rem; }
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:last-child { font-weight: 600; color: var(--green-700); white-space: nowrap; }

/* ---- Haberler / Duyurular ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--green-50); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--green-300); }
.news-card__ph svg { width: 48px; height: 48px; }
.news-card__cat { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); box-shadow: 0 6px 16px rgba(30,41,31,.18); }
.news-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.news-card__date svg { width: 15px; height: 15px; }
.news-card__body h3 { font-size: 1.1rem; line-height: 1.3; }
.news-card__body h3 a { color: var(--ink); }
.news-card__body h3 a:hover { color: var(--brand-dark); }
.news-card__body p { font-size: .92rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .88rem; color: var(--brand-dark); }
.news-card__more svg { width: 16px; height: 16px; transition: transform .15s; }
.news-card__more:hover svg { transform: translateX(3px); }

.news-empty { text-align: center; max-width: 440px; margin: 20px auto; color: var(--muted); }
.news-empty svg { width: 54px; height: 54px; color: var(--green-300); margin-bottom: 12px; }
.news-empty h2 { font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }

/* Haber detay */
.news-meta { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.news-meta__cat { background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 13px; border-radius: var(--radius-pill); }
.news-meta__date { display: inline-flex; align-items: center; gap: 7px; }
.news-meta__date svg { width: 16px; height: 16px; }
.news-article { max-width: 820px; margin: 0 auto; }
.news-article__cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; }
.news-article__cover img { width: 100%; height: auto; display: block; }
.news-article__lead { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.news-article__body { color: var(--ink-soft); line-height: 1.8; }
.news-article__body p { margin-bottom: 15px; }
.news-article__body h2, .news-article__body h3 { color: var(--ink); margin: 26px 0 12px; }
.news-article__body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 14px 0; }
.news-article__body ul, .news-article__body ol { margin: 0 0 15px 22px; }
.news-article__body li { margin-bottom: 7px; }
.news-article__body a { color: var(--brand-dark); text-decoration: underline; }
.news-article__foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

@media (max-width: 920px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Haber görsel slider (2+ görsel) */
.news-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; background: var(--green-50); }
.ns-track { position: relative; aspect-ratio: 16 / 9; }
.ns-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.ns-slide.is-active { opacity: 1; pointer-events: auto; }
.ns-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .15s; z-index: 2; }
.ns-nav:hover { background: #fff; }
.ns-prev { left: 14px; } .ns-next { right: 14px; }
.ns-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.ns-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.ns-dot.is-active { background: #fff; transform: scale(1.25); }
@media (max-width: 560px) { .ns-nav { width: 38px; height: 38px; font-size: 1.4rem; } .ns-prev { left: 8px; } .ns-next { right: 8px; } }

/* İçerik sayfası belgeleri (indirilebilir PDF/Office) */
.doc-list { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-list h3 { font-size: 1.08rem; margin-bottom: 14px; }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.doc-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-item__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--green-50); color: var(--brand-dark); display: grid; place-items: center; flex: 0 0 auto; }
.doc-item__ic svg { width: 21px; height: 21px; }
.doc-item__name { font-weight: 600; color: var(--ink); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.doc-item__ext { font-size: .7rem; font-weight: 800; color: var(--brand-dark); background: var(--green-50); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; flex: 0 0 auto; }
.doc-item__dl { color: var(--brand-dark); display: inline-flex; flex: 0 0 auto; }
.doc-item__dl svg { width: 19px; height: 19px; transform: rotate(90deg); }
