/* =========================================================
   Özel Karaman Tıp Merkezi — site stilleri (mobil öncelikli)
   ========================================================= */
:root {
  --navy: #16244a;
  --navy-2: #213a74;
  --navy-3: #0f1a38;
  --red: #b5121b;
  --red-2: #d11f29;
  --red-soft: #fdecee;
  --blue-soft: #eef3fc;
  --bg: #f5f7fb;
  --white: #fff;
  --text: #1c2540;
  --muted: #5f6b86;
  --line: #e4e8f1;
  --ok: #138a52;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 36, 74, .06), 0 2px 8px rgba(22, 36, 74, .05);
  --shadow: 0 10px 30px -12px rgba(22, 36, 74, .22);
  --shadow-lg: 0 24px 60px -20px rgba(22, 36, 74, .35);
  --container: 1240px;
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-alt { background: var(--bg); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(181, 18, 27, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.1; transition: .2s ease; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(181, 18, 27, .7); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: var(--blue-soft); color: var(--navy); }
.btn-ghost:hover { background: #dfe8f8; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-white { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 620px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); }
.link-more .ic { width: 18px; transition: transform .2s; }
.link-more:hover .ic { transform: translateX(3px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-3); color: rgba(255, 255, 255, .82); font-size: 13px; display: none; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; opacity: .8; }
.topbar-social .ic { width: 16px; height: 16px; opacity: 1; }
.topbar-left a:last-child { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(22, 36, 74, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.nav { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn span { display: none; }
.header-cta .btn { padding: 10px 12px; }
.header-call { display: none; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.burger .ic { width: 22px; height: 22px; }

/* Masaüstü menü */
.nav { align-self: stretch; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; height: 100%; }
.nav li { position: relative; display: flex; align-items: center; }
.nav li > a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav li > a .dd { width: 15px; height: 15px; transition: transform .2s; }
.nav li:hover > a, .nav li.active > a { color: var(--red); }
.nav li.active > a { background: var(--red-soft); }
.drop { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; }
.drop a:hover { background: var(--bg); color: var(--red); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover > a .dd { transform: rotate(180deg); }
.nav li.has-mega { position: static; }
.header-inner { position: relative; }
.drop.mega { left: 50%; transform: translate(-50%, 8px); width: min(1100px, calc(100vw - 32px)); padding: 24px; top: 100%; }
.has-mega:hover .drop.mega, .has-mega:focus-within .drop.mega { transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1.7fr 1fr 260px; gap: 24px; }
.mega-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px 12px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-links.one { grid-template-columns: 1fr; }
.mega-links a .ic { width: 20px; height: 20px; color: var(--red); }
.mega-promo { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mega-promo .ic { width: 34px; height: 34px; color: #ffb3b8; }
.mega-promo strong { font-size: 18px; }
.mega-promo p { font-size: 14px; opacity: .85; margin: 0 0 6px; }
.mega-promo a.btn { color: #fff; }
.mega-promo a.btn:hover { background: var(--red-2); color: #fff; }

/* ---------- Mobil çekmece ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15, 26, 56, .5); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 16px; padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 30px; width: auto; }
.drawer-x { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav > a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); list-style: none; cursor: pointer; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .ic { transform: rotate(180deg); }
.drawer-nav details a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-size: 15px; color: var(--text); }
.drawer-nav details a .ic { color: var(--red); width: 19px; height: 19px; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav details summary { border-bottom: 0; }
.drawer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 16px; background: var(--bg); border-radius: 14px; font-size: 14px; }
.drawer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.drawer-contact .ic { color: var(--red); margin-top: 2px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.slides { position: relative; aspect-ratio: 16 / 10; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.active { opacity: 1; visibility: visible; }
.slide picture, .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.img-only picture, .slide.img-only img { position: relative; z-index: 1; object-fit: contain; }
.slide-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(.75); transform: scale(1.1); }
a.slide-link { position: absolute; inset: 0; z-index: 3; }
.slide.text-on::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 56, .9) 0%, rgba(15, 26, 56, .45) 45%, rgba(15, 26, 56, 0) 70%); }
.slide-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; padding-top: 22px; }
.slide-text { max-width: 560px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.slide-text .slide-h { color: #fff; font-size: clamp(24px, 5vw, 50px); font-weight: 800; margin-bottom: 12px; }
.slide-text p { font-size: clamp(14px, 1.6vw, 18px); opacity: .9; margin-bottom: 22px; display: none; }
.slide.active .slide-text > * { animation: rise .7s both; }
.slide.active .slide-text > *:nth-child(2) { animation-delay: .12s; }
.slide.active .slide-text > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-nav { position: absolute; z-index: 5; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: .3s; }
.hero-dot.active { width: 28px; background: #fff; }
.hero-arrow { display: none; position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); align-items: center; justify-content: center; transition: .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .3); }
.hero-arrow { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; }
.hero-arrow.prev { right: 74px; }
.hero-arrow.next { right: 20px; }

/* ---------- Hızlı erişim (slider altı) ---------- */
.quick { position: relative; z-index: 10; margin-top: -1px; background: var(--bg); padding: 16px 0 8px; }
.quick-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 16px; }
.finder h2 { font-size: 18px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.finder h2 .ic { color: var(--red); }
.finder-form { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-link { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--bg); font-weight: 700; font-size: 14px; color: var(--navy); transition: .2s; border: 1px solid transparent; }
.quick-link .ic { width: 26px; height: 26px; color: var(--red); }
.quick-link small { font-weight: 500; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.quick-link:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-link.primary { background: var(--red); color: #fff; }
.quick-link.primary .ic, .quick-link.primary small { color: rgba(255, 255, 255, .9); }

/* ---------- Form alanları ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--red); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316244a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(33, 58, 116, .12); }
.input.err, .select.err { border-color: var(--red); }
.field-err { color: var(--red); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.check a { color: var(--navy-2); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; gap: 14px; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.alert .ic { margin-top: 2px; }
.alert-err { background: var(--red-soft); color: #8e0f16; }
.alert-ok { background: #e8f7ef; color: #0e6b40; }
.alert-info { background: var(--blue-soft); color: var(--navy); }

/* ---------- Bölüm kartları ---------- */
.dept-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.dept-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s ease; }
.dept-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .2s; }
.dept-ic .ic { width: 28px; height: 28px; }
.dept-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dept-txt strong { color: var(--navy); font-size: 16px; }
.dept-txt small { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.dept-arrow { color: var(--muted); width: 20px; transition: .2s; }
.dept-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.dept-card:hover .dept-ic { background: var(--red); color: #fff; }
.dept-card:hover .dept-arrow { color: var(--red); transform: translateX(3px); }

/* ---------- Hekim kartları ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s ease; }
.doc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.doc-card-img { display: block; aspect-ratio: 10 / 9; background: linear-gradient(180deg, #e8edf7, #d5ddee); overflow: hidden; }
.doc-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.doc-card:hover .doc-card-img img { transform: scale(1.04); }
.doc-ph { display: flex; height: 100%; align-items: center; justify-content: center; color: #9aa7c4; }
.doc-ph .ic { width: 64px; height: 64px; }
.doc-card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.doc-card-dept { font-size: 11.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; }
.doc-card h3 { font-size: 15px; margin: 6px 0 12px; line-height: 1.3; }
.doc-card h3 a:hover { color: var(--red); }
.doc-card-actions { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.doc-card-actions .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
.doc-card-actions .btn .ic { display: none; }

/* Yatay kaydırmalı liste (anasayfa hekimler) */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.hscroll-wrap { position: relative; }
.hs-btns { display: none; gap: 8px; }
.hs-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.hs-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Hakkımızda (anasayfa) ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about-media { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #eef3fc, #fff); }
.about-media img { width: 100%; aspect-ratio: 1; object-fit: contain; object-position: bottom; }
.about-badge { position: absolute; left: 16px; bottom: 16px; background: var(--red); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 30px; line-height: 1; }
.about-badge span { font-size: 13px; opacity: .9; }
.about h2 { font-size: clamp(26px, 4vw, 38px); }
.about-lead { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.stat { padding: 16px; border-radius: 14px; background: var(--bg); }
.stat strong { display: block; font-size: 28px; color: var(--navy); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--ok); margin-top: 2px; }

/* ---------- Birim kartları (görselli) ---------- */
.unit-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.unit-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 20px; border-radius: var(--radius); overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy-2), var(--navy)); isolation: isolate; }
.unit-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.unit-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 26, 56, .05) 20%, rgba(15, 26, 56, .9) 100%); }
.unit-card .unit-ic { position: absolute; top: 18px; left: 18px; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; }
.unit-card .unit-ic .ic { width: 26px; height: 26px; }
.unit-card h3 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.unit-card p { margin: 0; opacity: .85; font-size: 14px; }
.unit-card:hover img { transform: scale(1.06); }
.unit-wm { position: absolute; right: -24px; bottom: -24px; z-index: -1; color: #fff; opacity: .08; }
.unit-wm .ic { width: 190px; height: 190px; }

/* ---------- Anlaşmalı kurumlar ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.partner { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.partner img { height: 28px; width: auto; }
.partner .ic { color: var(--ok); }

/* ---------- CTA bandı ---------- */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #8f0e15 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); }
.cta-inner { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Sayfa başlığı ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-3), var(--navy-2)); color: #fff; padding: 28px 0 34px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(209, 31, 41, .35), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; position: relative; z-index: 1; }
.crumbs a:hover { color: #fff; }
.crumb-sep { width: 14px; height: 14px; opacity: .6; }
.page-hero-row { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.page-hero-ic { width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.page-hero-ic .ic { width: 32px; height: 32px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4.4vw, 42px); margin: 0; }
.page-hero p { margin: 6px 0 0; opacity: .85; max-width: 680px; }

/* ---------- İçerik ---------- */
.prose { color: #33405e; font-size: 16.5px; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose h3 { font-size: 21px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose img { border-radius: 14px; margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: 18px 20px; border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 0 14px 14px 0; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.content-grid { display: grid; gap: 28px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.side-card h3 .ic { color: var(--red); }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.side-links a .ic { width: 19px; height: 19px; color: var(--red); }
.side-links a:hover, .side-links a.active { background: var(--red-soft); color: var(--red); }
.side-cta { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; }
.side-cta h3 { color: #fff; }
.side-cta p { opacity: .85; font-size: 14.5px; }
.side-cta .btn + .btn { margin-top: 8px; }
.pill-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pill-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-weight: 600; color: var(--navy); font-size: 15px; }
.pill-list .ic { color: var(--red); margin-top: 1px; }
.dept-cover { border-radius: 20px; overflow: hidden; margin-bottom: 24px; aspect-ratio: 16 / 8; background: var(--bg); }
.dept-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hekim detay ---------- */
.doc-hero { display: grid; gap: 24px; }
.doc-photo { border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #e8edf7, #d5ddee); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-info .doc-dept { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 13.5px; }
.doc-info h1 { font-size: clamp(28px, 4.4vw, 42px); margin: 14px 0 6px; }
.doc-info .doc-title { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.schedule { display: grid; gap: 8px; margin: 20px 0; }
.schedule-row { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.schedule-row strong { color: var(--navy); }
.schedule-row.off span { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 30px; color: #33405e; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.info-block { margin-top: 32px; }
.info-block h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.info-block h2 .ic { color: var(--red); width: 24px; height: 24px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.tab { padding: 12px 16px; border: 0; background: none; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.active { color: var(--red); border-color: var(--red); }

/* ---------- Hekim filtre ---------- */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 10px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--navy); }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-info { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); background: var(--bg); border-radius: 18px; }
.empty .ic { width: 44px; height: 44px; color: #a3aec6; margin: 0 auto 10px; }

/* ---------- Randevu ---------- */
.appt { display: grid; gap: 24px; align-items: start; }
.appt > *, .content-grid > *, .contact-grid > *, .about > *, .doc-hero > * { min-width: 0; }
.appt-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.steps { display: flex; background: var(--bg); border-bottom: 1px solid var(--line); }
.step-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.step-tab b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--line); font-size: 13px; }
.step-tab.active { color: var(--navy); }
.step-tab.active b { background: var(--red); border-color: var(--red); color: #fff; }
.step-tab.done b { background: var(--ok); border-color: var(--ok); color: #fff; }
.step-tab span { display: none; }
.step { padding: 20px; display: none; }
.step.active { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.step h2 { font-size: 20px; margin-bottom: 4px; }
.step-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.opt-grid { display: grid; gap: 8px; grid-template-columns: 1fr; max-height: 420px; overflow-y: auto; padding: 2px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; transition: .15s; width: 100%; color: var(--text); }
.opt:hover { border-color: #b9c4dc; }
.opt.selected { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 3px rgba(181, 18, 27, .1); }
.opt .opt-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opt.selected .opt-ic { background: var(--red); color: #fff; }
.opt img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; object-position: top; flex-shrink: 0; background: var(--bg); }
.opt strong { display: block; font-size: 15px; color: var(--navy); }
.opt small { color: var(--muted); font-size: 13px; }
.opt-any { border-style: dashed; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.day small { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.day strong { font-size: 22px; line-height: 1.1; }
.day[disabled] { opacity: .38; background: var(--bg); cursor: not-allowed; }
.day.selected { background: var(--red); border-color: var(--red); color: #fff; }
.day.selected small { color: rgba(255, 255, 255, .85); }
.month-label { font-weight: 700; color: var(--navy); margin: 0 0 10px; font-size: 15px; }
.slots { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.slot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); text-align: left; }
.slot strong { font-size: 15.5px; }
.slot small { font-size: 13px; color: var(--muted); }
.slot.selected small { color: rgba(255, 255, 255, .8); }
.slot:hover { border-color: #b9c4dc; }
.slot.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.summary { background: var(--bg); border-radius: 16px; padding: 16px; display: grid; gap: 10px; margin-bottom: 18px; }
.summary-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.summary-row .ic { color: var(--red); margin-top: 2px; }
.summary-row span { color: var(--muted); min-width: 64px; }
.summary-row strong { color: var(--navy); }
.appt-aside { display: grid; gap: 16px; }
.success-box { text-align: center; padding: 40px 20px; }
.success-ic { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: #e8f7ef; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.success-ic .ic { width: 44px; height: 44px; }
.code-box { display: inline-block; margin: 8px 0 18px; padding: 12px 22px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .08em; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.st-yeni { background: var(--blue-soft); color: var(--navy-2); }
.st-arandi { background: #fff4e0; color: #97600a; }
.st-onaylandi, .st-tamamlandi { background: #e8f7ef; color: #0e6b40; }
.st-iptal { background: var(--red-soft); color: var(--red); }
.st-gelmedi { background: #eef0f4; color: #555f75; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; gap: 20px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-card .ci { width: 46px; height: 46px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; margin: 0 0 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--red); }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: rgba(255, 255, 255, .72); font-size: 14.5px; padding-top: 48px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.footer-logo img { height: 34px; width: auto; }
.footer-anl { display: flex; gap: 8px; align-items: flex-start; color: #fff; font-weight: 600; }
.footer-anl .ic { color: #7fd3a7; margin-top: 2px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--red); }
.footer-more { display: inline-flex !important; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.footer-more .ic { width: 16px; }
.footer-contact a, .footer-hours { display: flex !important; gap: 10px; align-items: flex-start; padding: 6px 0; }
.footer-contact .ic { color: #ff9aa1; margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding: 18px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Mobil alt çubuk ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(22, 36, 74, .25); }
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.mbar .ic { width: 22px; height: 22px; color: var(--navy); }
.mbar-main { position: relative; }
.mbar-main .ic { width: 26px; height: 26px; color: #fff; background: var(--red); border-radius: 50%; padding: 12px; box-sizing: content-box; margin-top: -26px; box-shadow: 0 8px 18px -6px rgba(181, 18, 27, .7); border: 4px solid #fff; }
.mbar-main span { color: var(--red); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 80px 16px; }
.nf strong { display: block; font-size: 96px; line-height: 1; color: var(--red); font-weight: 800; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Scroll ile görünme */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* =========================================================
   Duyarlı kırılımlar
   ========================================================= */
@media (min-width: 560px) {
  .slide-text p { display: block; }
  .quick-links { grid-template-columns: repeat(4, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hscroll { grid-auto-columns: 42%; }
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .opt-grid.two { grid-template-columns: 1fr 1fr; }
  .step-tab span { display: inline; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .doc-card-actions .btn .ic { display: inline-block; }
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .topbar { display: block; }
  .header-inner { height: var(--header-h); }
  .logo img { height: 42px; }
  .header-cta .btn span { display: inline; }
  .header-cta .btn { padding: 10px 20px; }
  .hero-arrow { display: inline-flex; }
  .quick { padding: 28px 0 0; background: transparent; }
  .quick-card { grid-template-columns: 1.1fr 1.6fr; padding: 22px; align-items: center; }
  .finder-form { grid-template-columns: 1fr auto; }
  .hs-btns { display: flex; }
  .hscroll { grid-auto-columns: calc((100% - 42px) / 4); padding: 4px 0 18px; margin: 0; }
  .about { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
  .page-hero { padding: 36px 0 44px; }
  .step { padding: 28px; }
  .footer { padding-bottom: 0; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .mbar { display: none; }
  .doc-hero { grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
  .filter-bar { grid-template-columns: 1fr 260px; align-items: center; }
  .filter-bar .chips { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
  .header-call { display: flex; align-items: center; gap: 10px; }
  .header-call-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
  .header-call small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.1; }
  .header-call strong { color: var(--navy); font-size: 15px; white-space: nowrap; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .dept-grid.four { grid-template-columns: repeat(4, 1fr); }
  .doc-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .doc-card-body { padding: 16px 16px 18px; }
  .doc-card h3 { font-size: 17px; }
  .doc-card-dept { font-size: 12px; }
  .unit-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .unit-card { min-height: 260px; }
  .content-grid { grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
  .content-grid .side-stack { position: sticky; top: calc(var(--header-h) + 20px); }
  .appt { grid-template-columns: 1fr 360px; gap: 32px; }
  .appt-aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
  .slides { aspect-ratio: auto; height: min(42vw, 680px); }
  .slide.text-on img { object-position: 12% center; }
  .slide.text-on::after { background: linear-gradient(90deg, rgba(15, 26, 56, .9) 0%, rgba(15, 26, 56, .6) 32%, rgba(15, 26, 56, 0) 50%); }
  .slide-content { align-items: center; padding-top: 0; }
  .slide-text { max-width: 500px; }
}
@media (min-width: 1600px) {
  .slides { height: min(42vw, 800px); }
  .slide.text-on img { object-position: 0% center; }
  .slide-text { max-width: 460px; }
}

@media (max-width: 1340px) and (min-width: 1024px) {
  .header-call { display: none !important; }
}
@media (max-width: 1180px) and (min-width: 1024px) {
  .nav li > a { padding: 10px 8px; font-size: 14.5px; }
  .header-call { display: none; }
}
@media (max-width: 1320px) { .hide-lg { display: none !important; } }
@media (max-width: 960px) { .hide-md { display: none !important; } }
