/* Op. Dr. Soner Güçlü — site stilleri */

:root {
  --ink: #12202f;
  --ink-soft: #3d4b5a;
  --muted: #5d6a78;
  --bg: #fbfaf7;
  --bg-alt: #f1efe9;
  --card: #ffffff;
  --line: #e2ded5;
  --navy: #0d2a45;
  --navy-deep: #081a2c;
  --accent: #0b7a83;
  --accent-dark: #075960;
  --accent-soft: #e3f2f2;
  --warm: #c8893b;
  --call: #1f8a4c;
  --call-dark: #176b3a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(18, 32, 47, .06), 0 12px 32px rgba(18, 32, 47, .08);
  --wrap: 1180px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-size: 112.5%; /* 18px temel: yaşlı hastalar için okunaklı */
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 720; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 680; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink-soft); line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1.02rem;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:active { transform: scale(.98); }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: var(--call-dark); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--navy); }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(18, 32, 47, .08);
  transition: background .3s, border-color .3s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 750; font-size: .95rem; letter-spacing: .02em;
}
.brand-text strong { display: block; font-size: 1.02rem; font-weight: 720; }
.brand-text span { display: block; font-size: .78rem; color: var(--muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 560; font-size: .95rem;
  padding: 10px 14px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(18,32,47,.06); color: var(--ink); }
.nav .btn { min-height: 46px; padding: 0 1.1em; margin-left: 8px; font-size: .95rem; }
.nav .btn:hover { background: var(--call-dark); color: #fff; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: rgba(18,32,47,.06); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* Açılış ekranının üstünde şeffaf menü */
.on-dark .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.on-dark .site-header:not(.scrolled) .brand,
.on-dark .site-header:not(.scrolled) .nav a:not(.btn),
.on-dark .site-header:not(.scrolled) .menu-toggle { color: #fff; }
.on-dark .site-header:not(.scrolled) .brand-text span { color: rgba(255,255,255,.75); }
.on-dark .site-header:not(.scrolled) .brand-mark { background: #fff; color: var(--navy); }
.on-dark .site-header:not(.scrolled) .menu-toggle { background: rgba(255,255,255,.16); }
.on-dark .site-header:not(.scrolled) .nav a:not(.btn):hover { background: rgba(255,255,255,.14); }

@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 22px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: 14px 12px; }
  .on-dark .site-header:not(.scrolled) .nav a:not(.btn) { color: var(--ink); }
  .nav .btn { margin: 10px 0 0; min-height: 56px; }
}

/* ---------- Her zaman görünen "Hemen Ara" ---------- */
.call-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px; min-height: 64px;
  border-radius: 999px;
  background: var(--call); color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 138, 76, .35), 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s, background .2s;
}
.call-float:hover { background: var(--call-dark); color: #fff; transform: translateY(-2px); }
.call-float .ring {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center; position: relative;
}
.call-float .ring svg { width: 22px; height: 22px; }
.call-float .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  animation: pulse 2.4s ease-out infinite;
}
.call-float strong { display: block; font-size: 1.02rem; line-height: 1.1; }
.call-float span span { display: block; font-size: .8rem; opacity: .9; line-height: 1.2; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.mobile-bar { display: none; }
@media (max-width: 720px) {
  .call-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 250, 247, .94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 58px; font-size: 1.08rem; padding: 0 .8em; }
  body { padding-bottom: 86px; }
}

/* ---------- Görünür olunca belirme ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }
.js [data-reveal="4"] { transition-delay: .36s; }

/* =========================================================
   ANASAYFA
   ========================================================= */

/* --- Açılış (kaydırdıkça değişen) --- */
.hero { position: relative; height: 230vh; height: 230svh; background: var(--navy-deep); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 44% 35%;
  transform: scale(calc(1.14 - var(--p, 0) * .14));
  filter: brightness(calc(1 - var(--p, 0) * .35));
  will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,26,44,.88) 0%, rgba(8,26,44,.55) 42%, rgba(8,26,44,.05) 75%),
    linear-gradient(0deg, rgba(8,26,44,.7) 0%, rgba(8,26,44,0) 40%);
}
.hero-copy {
  position: absolute; inset: 0; display: flex; align-items: center;
  color: #fff; padding-top: var(--header-h);
}
.hero-copy .wrap { width: min(var(--wrap), 100% - 32px); }
.hero-copy h1, .hero-copy h2 { color: #fff; }
.hero-one { max-width: 640px; opacity: var(--o1, 1); transform: translateY(calc(var(--y1, 0) * 1px)); }
.hero-one .eyebrow { color: #9fe3e0; }
.hero-one h1 { margin-bottom: .35em; }
.hero-one .lead { color: rgba(255,255,255,.88); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero-two {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: var(--o2, 0); transform: translateY(calc(var(--y2, 40) * 1px));
  pointer-events: none;
}
.hero-two p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4.2rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em;
  max-width: 17ch; margin: 0; text-wrap: balance;
}
.hero-two p em { font-style: normal; color: #9fe3e0; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: .85rem; text-align: center;
  opacity: var(--o1, 1);
}
.scroll-hint i {
  display: block; width: 26px; height: 42px; margin: 8px auto 0;
  border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative;
}
.scroll-hint i::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 720px) {
  .hero-media img { object-position: 50% 30%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8,26,44,.95) 0%, rgba(8,26,44,.7) 45%, rgba(8,26,44,.1) 80%); }
  .hero-copy { align-items: flex-end; padding-bottom: 40px; }
  .hero-two { align-items: flex-end; padding-bottom: 80px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }
}

/* --- Tecrübe (40 yıl) --- */
.tecrube { position: relative; height: 320vh; background: var(--navy); color: #fff; }
.tecrube-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.tecrube-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 6vw; align-items: center; }
.big-number {
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 17rem); font-weight: 800; line-height: .85; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 30%, #7fd3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.big-number sup { font-size: .45em; vertical-align: top; position: relative; top: .1em; margin-left: .04em; }
.big-caption { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 680; line-height: 1.2; margin-top: .6rem; letter-spacing: -0.015em; }
.big-caption span { color: #9fe3e0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.15); }
.timeline::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 2px;
  height: calc((100% - 16px) * var(--line, 0));
  background: #7fd3d0;
}
.timeline li { position: relative; padding: 14px 0 18px; opacity: .35; transition: opacity .45s, transform .45s; transform: translateX(8px); }
.timeline li.on { opacity: 1; transform: none; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 22px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(255,255,255,.4); z-index: 1; transition: background .3s, border-color .3s;
}
.timeline li.on::before { background: #7fd3d0; border-color: #7fd3d0; }
.timeline .yil { font-weight: 750; font-size: 1.05rem; color: #9fe3e0; font-variant-numeric: tabular-nums; }
.timeline .ne { font-size: 1.15rem; line-height: 1.4; }

@media (max-width: 860px) {
  .tecrube { height: 300vh; }
  .tecrube-grid { grid-template-columns: 1fr; gap: 28px; }
  .big-number { font-size: clamp(6.5rem, 34vw, 10rem); }
  .timeline { display: grid; padding-left: 0; min-height: 9.5em; }
  .timeline::before, .timeline::after { display: none; }
  .timeline li { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); padding: 0; }
  .timeline li.on { opacity: 1; transform: none; }
  .timeline li::before { display: none; }
  .timeline .ne { font-size: 1.25rem; }
  .tl-dots { display: flex; gap: 8px; margin-top: 18px; }
}
.tl-dots { display: none; }
.tl-dots i { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); transition: background .3s; }
.tl-dots i.on { background: #7fd3d0; }
@media (max-width: 860px) { .tl-dots { display: flex; } }

/* --- Tedaviler (yatay kayan) --- */
.tedaviler { position: relative; background: var(--bg); }
.tedaviler-head { padding: 110px 0 36px; }
.tedaviler-head .lead { max-width: 48ch; }
.track-sticky { position: relative; }
.track { display: flex; gap: 24px; padding: 8px 16px 90px; }
.t-card {
  position: relative; flex: none; width: min(420px, 82vw);
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.t-card:hover { transform: translateY(-6px); color: var(--ink); box-shadow: 0 2px 4px rgba(18,32,47,.06), 0 24px 50px rgba(18,32,47,.14); }
.t-card .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.t-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.t-card:hover .img img { transform: scale(1.05); }
.t-card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.t-card .num { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.t-card h3 { font-size: 1.7rem; margin: .3em 0 .35em; }
.t-card p { color: var(--ink-soft); margin-bottom: 1.2em; }
.t-card .more { margin-top: auto; font-weight: 650; color: var(--accent-dark); display: inline-flex; align-items: center; gap: .4em; }
.t-card .more svg { width: 1.1em; height: 1.1em; transition: transform .25s; }
.t-card:hover .more svg { transform: translateX(4px); }
.t-card.intro {
  background: var(--navy); color: #fff; justify-content: flex-end; padding: 34px;
  min-height: 100%;
}
.t-card.intro:hover { color: #fff; transform: none; }
.t-card.intro h3 { color: #fff; font-size: 2rem; }
.t-card.intro p { color: rgba(255,255,255,.8); }

@media (min-width: 961px) {
  .js .tedaviler.h-scroll .track-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .js .tedaviler.h-scroll .tedaviler-head { padding: calc(var(--header-h) + 10px) 0 28px; }
  .js .tedaviler.h-scroll .track {
    padding: 8px max(16px, calc((100vw - var(--wrap)) / 2)) 30px;
    transform: translateX(calc(var(--tx, 0) * 1px));
    will-change: transform;
  }
  .js .tedaviler.h-scroll .t-card { width: min(400px, 30vw); }
  .js .tedaviler.h-scroll .t-card .img { aspect-ratio: 16 / 11; }
  .track-progress { width: min(var(--wrap), 100% - 32px); margin: 0 auto; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .track-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
}
@media (max-width: 960px) {
  .track { flex-direction: column; padding: 0 16px 80px; max-width: 640px; margin: 0 auto; }
  .t-card { width: 100%; }
  .t-card.intro { display: none; }
  .track-progress { display: none; }
}

/* --- Genel bölüm --- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-alt); }

/* --- Hakkımda özeti --- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 50%; width: 100%; box-shadow: var(--shadow); }
.about-photo .badge {
  position: absolute; right: -18px; bottom: 32px;
  background: #fff; border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.3; color: var(--ink-soft);
}
.about-photo .badge strong { display: block; font-size: 1.9rem; color: var(--navy); line-height: 1; margin-bottom: 4px; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.8rem 0 2rem; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.fact strong { display: block; font-size: 1.6rem; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .about-photo .badge { right: 12px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .fact { padding: 12px; }
  .fact strong { font-size: 1.3rem; }
}

/* --- Muayenehane galerisi --- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc(var(--par, 0) * 1px)) scale(1.12); }
.gallery figure:first-child img { aspect-ratio: 4 / 3.6; }
.gallery figure:not(:first-child) img { aspect-ratio: 16 / 10; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-row: auto; }
}

/* --- Randevu --- */
.randevu-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; margin-top: 40px; }
.panel { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.panel h3 { margin-bottom: .4em; }
.phone-big { display: block; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 760; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; margin: .2em 0 .6em; font-variant-numeric: tabular-nums; }
.phone-big:hover { color: var(--accent); }
.panel .btn { width: 100%; margin-top: 8px; }
.widget-box { min-height: 420px; }
.widget-box .zl-url { display: inline-block; margin-top: 10px; }
.note { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .randevu-grid { grid-template-columns: 1fr; } }

/* --- İletişim / harita --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.info-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 26px; height: 26px; flex: none; color: var(--accent); margin-top: 2px; }
.info-list b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr.today td { color: var(--accent-dark); font-weight: 750; }
.hours tr.today td:first-child::after { content: " · bugün"; font-weight: 500; color: var(--muted); }
.open-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .92rem; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); margin-bottom: 14px; }
.open-badge i { width: 10px; height: 10px; border-radius: 50%; background: #9aa4ae; }
.open-badge.open { background: #e5f4ea; color: var(--call-dark); }
.open-badge.open i { background: var(--call); box-shadow: 0 0 0 4px rgba(31,138,76,.18); }
.open-badge.closed { background: #fbecea; color: #9b3227; }
.open-badge.closed i { background: #c8463a; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* --- Son çağrı bandı --- */
.cta-band { background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 6vw, 70px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.8); margin: .5em 0 0; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   İÇ SAYFALAR (tedaviler, hakkımda, iletişim)
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + 50px) 0 50px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 .4em; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.page-hero .lead { max-width: 40ch; }
.page-hero .img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--line); }
.page-hero .img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-actions .btn-ghost { color: var(--ink); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .hero-actions .btn { flex: 1 1 100%; } }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.quick div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.quick b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.quick span { font-size: 1.08rem; font-weight: 600; line-height: 1.4; display: block; }
@media (max-width: 720px) { .quick { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 70px); padding: 70px 0 30px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--ink-soft); text-decoration: none; font-size: .98rem; line-height: 1.35; }
.toc a:hover, .toc a.active { border-color: var(--accent); color: var(--ink); }
.prose { max-width: 720px; font-size: 1.12rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 1.4em 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 76px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 750; display: grid; place-items: center; }
.steps li strong { display: block; margin-bottom: 2px; }
.callout { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 20px 24px; margin: 1.6em 0; color: var(--ink); }
.callout.warn { background: #fdf3e6; }
.callout p:last-child { margin: 0; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; padding-top: 50px; } .toc { display: none; } }

/* SSS */
.faq { margin-top: 1em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative;
  font-weight: 650; font-size: 1.15rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a83' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

.disclaimer { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 40px; }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.1rem; transition: border-color .2s, transform .2s; }
.others a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.others svg { width: 20px; height: 20px; color: var(--accent); }
@media (max-width: 720px) { .others { grid-template-columns: 1fr; } }

/* Hakkımda sayfası zaman çizelgesi */
.cv { list-style: none; padding: 0; margin: 1.4em 0; border-left: 2px solid var(--line); }
.cv li { position: relative; padding: 0 0 26px 28px; }
.cv li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.cv b { display: block; color: var(--accent-dark); font-variant-numeric: tabular-nums; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 70px 0 40px; margin-top: 0; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #9fe3e0; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-mark { background: #fff; color: var(--navy); }
.site-footer .brand-text span { color: rgba(255,255,255,.6); }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 22px; font-size: .86rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero, .tecrube { height: auto; }
  .hero-sticky, .tecrube-sticky { position: relative; height: auto; min-height: 100svh; }
  .tecrube-sticky { padding: 100px 0; }
  .hero-two { display: none; }
  .timeline li { opacity: 1; transform: none; }
  .timeline::after { height: calc(100% - 16px); }
}

/* Menüdeki "Hemen Ara" düğmesi her zaman beyaz yazılı kalsın */
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .timeline li { grid-area: auto; margin-bottom: 18px; }
  .tl-dots { display: none; }
}
.tecrube .big-caption { color: #fff; }
.hero-two { color: #fff; z-index: 2; }
.hero-sticky::after { content: ""; position: absolute; inset: 0; background: rgba(8, 26, 44, .62); opacity: var(--o2, 0); pointer-events: none; }
.hero-copy { z-index: 2; }
@media (min-width: 961px) and (max-height: 820px) {
  .js .tedaviler.h-scroll .tedaviler-head .lead { display: none; }
  .js .tedaviler.h-scroll .t-card .img { aspect-ratio: 16 / 8; }
  .js .tedaviler.h-scroll .t-card .body { padding: 18px 24px 22px; }
}
@media (max-width: 720px) {
  .hero-copy { padding-bottom: 106px; }
  .hero-two { padding-bottom: 130px; }
}

/* Metin içi görsel */
.prose figure { margin: 1.4em 0 1.6em; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.prose figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose h3 { margin-top: 1.4em; }

/* Logo yazı tipi: Cinzel (SIL Open Font License) — sitenin içinde, dışarıya bağlı değil */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: block; src: url("../fonts/cinzel-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: block; src: url("../fonts/cinzel-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Logo: eski sitedeki asa sembolü + Cinzel yazı */
.brand-mark {
  width: 50px; height: 35px; border-radius: 0; font-size: 0;
  background: #0e3c53;
  -webkit-mask: url("../img/logo-asa.svg") center / contain no-repeat;
  mask: url("../img/logo-asa.svg") center / contain no-repeat;
}
.brand-text strong { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: 1.14rem; letter-spacing: .03em; }
.brand-text span { letter-spacing: .05em; }
@media (max-width: 380px) { .brand-text strong { font-size: 1rem; } .brand-mark { width: 42px; height: 30px; } }
@media (max-width: 480px) { .brand { gap: 10px; } .brand-text span { letter-spacing: 0; font-size: .74rem; white-space: nowrap; } }
/* Açılışta düğme kalmadığı için telefonda yazı biraz aşağı iner (alt çubuğun hemen üstü) */
@media (max-width: 720px) { .hero-copy { padding-bottom: 120px; } }

/* Bilgisayar/tablet: açılış yazısı sağda (muayene koltuğunun üstünde), doktorun yüzü açık kalsın */
@media (min-width: 721px) {
  .hero-media::after {
    background:
      linear-gradient(270deg, rgba(8,26,44,.88) 0%, rgba(8,26,44,.6) 38%, rgba(8,26,44,.05) 70%),
      linear-gradient(0deg, rgba(8,26,44,.55) 0%, rgba(8,26,44,0) 35%);
  }
  .hero-copy .wrap, .hero-two .wrap { display: flex; justify-content: flex-end; }
  .hero-one { max-width: min(560px, 46vw); }
  .hero-one .lead { max-width: 30ch; }
  .hero-two p { max-width: min(15ch, 46vw); }
}
@media (min-width: 721px) {
  /* Üst menü ve logo açık duvar üstünde de okunsun */
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(8,26,44,.6) 0%, rgba(8,26,44,0) 20%),
      linear-gradient(270deg, rgba(8,26,44,.88) 0%, rgba(8,26,44,.6) 38%, rgba(8,26,44,.05) 70%),
      linear-gradient(0deg, rgba(8,26,44,.55) 0%, rgba(8,26,44,0) 35%);
  }
  /* İkinci yazı da sağda ve yüzü kapatmayacak kadar dar */
  .hero-two p { font-size: clamp(2rem, 3.4vw, 3.2rem); max-width: 13ch; }
}

/* Tedavi kartları: yana kaymadan, sabit ızgara (4 / 2 / 1 sütun) */
.tedaviler .track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  width: min(var(--wrap), 100% - 32px); max-width: none; margin: 0 auto; padding: 8px 0 110px;
  flex-direction: initial;
}
.tedaviler .t-card { width: auto; }
.tedaviler .t-card h3 { font-size: 1.5rem; }
@media (max-width: 1100px) { .tedaviler .track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tedaviler .track { grid-template-columns: 1fr; padding-bottom: 80px; } }

/* Muayenehane galerisi: solda büyük koltuk; sağda üstte uygulama odası, altta iki küçük fotoğraf */
.gallery { grid-template-columns: 1.3fr 1fr 1fr; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 2; }
.gallery figure:first-child img { aspect-ratio: auto; height: 100%; }
.gallery figure:nth-child(2) img { aspect-ratio: 16 / 8; }
.gallery figure:nth-child(n+3) img { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child, .gallery figure:nth-child(2) { grid-column: 1 / -1; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 4 / 3; }
  .gallery figure:nth-child(2) img { aspect-ratio: 16 / 10; }
}

/* Randevu: iki kutu her zaman aynı boyda */
.randevu-grid { align-items: stretch; }
.widget-box { min-height: 0; }
.tedaviler .t-card h3 { margin-top: 0; }

/* Zaman çizelgesi: çizgi ilk ve son noktanın ortasında başlar/biter, noktalar yılla aynı hizada */
.timeline::before { top: var(--start, 8px); bottom: auto; height: var(--len, calc(100% - 16px)); }
.timeline::after { top: var(--start, 8px); height: calc(var(--len, calc(100% - 16px)) * var(--line, 0)); }
.timeline li::before { top: calc(14px + 1.05rem * 1.65 / 2 - 8px); }
@media (prefers-reduced-motion: reduce) { .timeline::after { height: var(--len, calc(100% - 16px)); } }

/* Özgeçmiş sayfası: dikey, eski fotoğraf */
.page-hero .img.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; justify-self: center; }
.page-hero .img.portrait img { object-position: 50% 28%; }
.about-photo img { object-position: 50% 40%; }

/* Telefonda açılış fotoğrafı: doktor ortada, MacBook da biraz görünsün */
@media (max-width: 720px) { .hero-media img { object-position: 42% 30%; } }

/* Anasayfa zaman çizelgesi: noktalar yerinde durur (yana kaymaz) ve her zaman dolu zeminlidir;
   soluklaştırma yalnızca yazılara uygulanır, böylece çizgi boş noktaların içinden görünmez */
@media (min-width: 861px) {
  .timeline li, .timeline li.on { opacity: 1; transform: none; }
  .timeline li .yil, .timeline li .ne { opacity: .35; transition: opacity .45s; }
  .timeline li.on .yil, .timeline li.on .ne { opacity: 1; }
  .timeline li::before { z-index: 2; background: var(--navy); border-color: #3e5872; }
  .timeline li.on::before { background: #7fd3d0; border-color: #7fd3d0; }
}

/* Özgeçmiş sayfası: çizgi ilk noktada başlar, son noktada biter (noktadan noktaya parçalar) */
.cv { border-left: 0; margin-left: 2px; }
.cv li::before { z-index: 1; }
.cv li:not(:last-child)::after {
  content: ""; position: absolute; left: -2px; width: 2px;
  top: 13px; height: 100%;
  background: var(--line);
}
.cv li:not(:last-child)::after { height: calc(100% + .45em); }

/* Logo artık sayfaya gömülü bir SVG (maske yerine doğrudan renk) */
.brand-mark, .on-dark .site-header:not(.scrolled) .brand-mark, .site-footer .brand-mark {
  display: block; background: none; -webkit-mask: none; mask: none;
}
.brand-mark { color: #0e3c53; }
.on-dark .site-header:not(.scrolled) .brand-mark, .site-footer .brand-mark { color: #fff; }
