/* =========================================================
   Prof. Dr. Mehmet Çakıcı — Taslak Site Stilleri
   Yengeç Growth / Editoryal, sakin, güven veren tasarım
   ========================================================= */

:root {
  --bg: #f5f8fb;
  --bg-alt: #e9eff6;
  --bg-alt-2: #dde7f1;
  --ink: #14202e;
  --ink-soft: #46586b;
  --accent: #1f4e79;
  --accent-dark: #12304f;
  --accent-light: #3a74a8;
  --pending: #9a5b13;
  --line: rgba(20, 32, 46, 0.12);
  --line-strong: rgba(20, 32, 46, 0.22);
  --cream-on-accent: #eaf2fa;

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow-soft: 0 18px 40px -24px rgba(20, 32, 46, 0.35);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  z-index: 1000;
  font-size: 0.9rem;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); text-wrap: balance; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 60%);
  color: var(--cream-on-accent);
}
.section--accent h2, .section--accent p, .section--accent .eyebrow { color: var(--cream-on-accent); }
.section--accent .eyebrow { color: #a9c8e6; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--on-accent {
  background: transparent;
  border-color: rgba(234, 242, 250, 0.5);
  color: var(--cream-on-accent);
}
.btn--on-accent:hover { border-color: var(--cream-on-accent); background: rgba(255,255,255,0.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  order: 1;
}
.brand img { width: 254px; height: auto; display: block; }
.footer-logo { width: 221px; height: auto; margin-bottom: 16px; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.brand__title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  order: 2;
}
.nav__list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--accent); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-cta__phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: none;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order: 3;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(245, 248, 251, 0.88) 28%, rgba(245, 248, 251, 0.4) 48%, rgba(245, 248, 251, 0) 64%);
  pointer-events: none;
}
.hero__ecg {
  position: absolute;
  left: 0;
  top: 50%;
  height: 32%;
  width: 46%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}
.hero__ecg-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  stroke-dasharray: 1000;
  opacity: 0.55;
  filter: drop-shadow(0 0 5px rgba(58, 116, 168, 0.55));
}
.hero__ecg-dot {
  fill: var(--accent);
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(58, 116, 168, 0.9));
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: 88px 48px 88px 24px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__content .eyebrow { margin-bottom: 20px; }
.hero__lede {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__meta {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.hero__meta strong { color: var(--ink); font-weight: 600; }
.portrait-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(135deg, #dbe5ef, #dbe5ef 10px, #e3ebf3 10px, #e3ebf3 20px);
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 24px;
  margin: 24px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-item:last-child { border-right: none; }
.trust-item__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.trust-item h3 { font-size: 0.98rem; margin-bottom: 4px; font-family: var(--font-sans); font-weight: 600; }
.trust-item p { font-size: 1rem; margin: 0; }

/* ---------- Topics / condition cards ---------- */
.topics__intro {
  max-width: 680px;
  margin-bottom: 40px;
}
.topics__intro .btn { margin-top: 12px; }
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.topic-card {
  background: var(--bg);
  padding: 28px 26px;
  transition: background 0.25s ease;
  display: block;
}
.topic-card:hover { background: var(--bg-alt); }
.topic-grid--groups { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .topic-grid--groups { grid-template-columns: 1fr; }
}
.topic-card__num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.topic-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.topic-card p { font-size: 1rem; margin-bottom: 0; }
.topic-card__cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.topic-card__note {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Process section ---------- */
.process-list {
  counter-reset: step;
  display: grid;
  gap: 28px;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; padding-bottom: 0; }
.process-step__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
}
.process-step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.process-step p { margin: 0; font-size: 0.92rem; }

/* ---------- About / stats ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

/* ---------- Hakkımda profile (photo + bio) ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-grid__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-grid__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 640px) {
  .profile-grid { grid-template-columns: 1fr; gap: 24px; }
  .profile-grid__photo { max-width: 260px; }
}
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line-strong);
  padding-left: 24px;
  margin-top: 8px;
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item__year {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05rem;
}
.timeline-item p { margin: 2px 0 0; font-size: 0.9rem; }

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
@media (max-width: 640px) {
  .article-grid--pair { grid-template-columns: 1fr; max-width: 100%; }
}
.pending-list {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.pending-list h2 { font-size: 1.3rem; }
.pending-list ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}
.pending-list li {
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.article-card {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.article-card__media {
  aspect-ratio: 16/10;
  background: var(--bg-alt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card__tag { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.article-card h3 { font-size: 1.05rem; margin-bottom: 0; }
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--accent); }
.article-card__media a { display: block; width: 100%; height: 100%; }
.article-card p { font-size: 1rem; margin: 0; flex: 1; }
.article-card__link { font-size: 0.9rem; font-weight: 600; color: var(--accent); margin-top: 4px; }
.article-card__pending { font-size: 0.9rem; font-style: italic; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Signature / closing statement ---------- */
.signature {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 70%);
  padding: 72px 24px;
}
.signature__content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.signature__content .eyebrow,
.signature__content h2,
.signature__content p {
  color: var(--cream-on-accent);
}
.signature__content p { font-size: 1.05rem; opacity: 0.92; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--bg-alt);
  min-width: 0;
}
@media (max-width: 480px) {
  .contact-card { padding: 20px; }
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-top: 20px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 0.98rem; }
.map-note {
  background: var(--bg-alt-2);
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 16px 18px;
  margin-top: 20px;
}

.wa-panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  padding: 28px 28px 24px;
}
.wa-panel h2, .wa-panel h3 { margin-top: 0; }
.wa-panel .btn { margin-top: 4px; }
.wa-panel__alt { margin: 16px 0 0; font-size: 0.92rem; }
.wa-panel__alt a { color: var(--accent); font-weight: 600; }
.wa-panel + .map-note { margin-top: 20px; }
.map-embed { margin-top: 20px; }
.map-embed iframe { width: 100%; height: 300px; border: 1px solid var(--line); display: block; background: var(--bg-alt-2); }
.map-embed__link { display: inline-block; margin-top: 10px; font-size: 0.92rem; font-weight: 600; color: var(--accent); }
.map-embed__link:hover { text-decoration: underline; }
.wa-icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--wa { gap: 10px; }
.pending-inline {
  font-size: 0.82rem;
  color: var(--pending);
  margin: -4px 0 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--accent-dark);
  color: rgba(234,242,250,0.85);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(234,242,250,0.15);
}
.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-on-accent);
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid a, .footer-grid li { font-size: 0.9rem; color: rgba(234,242,250,0.75); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(234,242,250,0.55);
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--accent);
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  min-height: 44px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.mobile-bar a:first-child { border-right: 1px solid rgba(255,255,255,0.2); }

/* ---------- Inner page hero (page header) ---------- */
.page-header {
  background: var(--bg-alt);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }

/* ---------- Article/detail page ---------- */
.article-meta-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.article-meta-bar strong { color: var(--ink); }
.article-cover {
  max-width: 900px;
  margin: 0 auto 40px;
  aspect-ratio: 21/9;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body {
  max-width: 70ch;
  margin: 0 auto;
}
.related-content {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin-top: 36px;
  font-size: 0.95rem;
}
.related-content a { color: var(--accent); font-weight: 600; }
.article-body h2 { margin-top: 2em; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.6em; }
.review-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  font-size: 0.9rem;
  margin: 32px 0;
}
.review-box strong { color: var(--accent); }
.placeholder-note {
  background: #fbeee9;
  border: 1px dashed #c98a75;
  color: #7a3a24;
  padding: 14px 18px;
  font-size: 0.85rem;
  margin: 20px 0;
}
.source-list {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 40px;
}

/* ---------- Doctor review area on templates ---------- */
.doctor-review {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 0.85rem;
}
.doctor-review__icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- Areas listing page grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area-card {
  background: var(--bg);
  padding: 32px 28px;
}
.area-card h3 { font-size: 1.15rem; }
.area-card p { font-size: 1rem; }
.area-card__link { font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.area-card__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 6px;
}
.area-card__list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}
.area-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Utility ---------- */
/* .reveal only hides content once JS has confirmed it can also
   reveal it again (html.js, set by an inline script in <head>).
   Without JS — or if it fails — content stays fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Below this, the desktop nav no longer fits comfortably in
   one line (brand + 5 links + CTA) — switch to the mobile menu
   for both tablet and phone. */
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta__phone { display: none; }

  .site-header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .site-header.nav-open .nav__list { flex-direction: column; gap: 4px; }
  .site-header.nav-open .nav__list a {
    display: block;
    padding: 12px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-header.nav-open .header-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 10px; }
  .site-header.nav-open .header-cta__phone { display: block; }
}

@media (max-width: 1024px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > * { min-width: 0; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > * { min-width: 0; }
}

/* Tablet only: keep the full-bleed hero photo, but shrink its
   fixed height and re-aim the crop so the doctor stays in frame
   (at this width the image is height-cropped, not width-cropped). */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero { min-height: 480px; }
  .hero__bg img { object-position: 68% center; }
  .hero__content { max-width: 56%; padding-right: 16px; }
  .hero__lede { max-width: none; }
  .hero .btn--ghost { background: rgba(245, 248, 251, 0.9); }
}

@media (max-width: 640px) {
  .site-header__inner { padding: 14px 16px; }

  .hero { display: block; min-height: 0; }
  .hero__bg { position: relative; inset: auto; aspect-ratio: 5 / 4; }
  .hero__scrim { display: none; }
  .hero__ecg { display: none; }
  .hero__content {
    position: relative;
    background: var(--bg);
    padding: 24px 20px 28px;
    max-width: 100%;
  }
  .hero__lede { margin-bottom: 22px; }
  .hero__bg img { object-position: 75% 20%; }

  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }

  .topic-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 44px 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .signature { padding: 48px 20px; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .page-header { padding: 32px 0 28px; }
  .article-cover { margin-bottom: 24px; }
  .article-meta-bar { margin-bottom: 24px; }

  .section { padding: 64px 0; }
  .mobile-bar { display: block; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

@media (max-width: 1180px) {
  .brand img { width: 205px; }
}
@media (max-width: 400px) {
  .brand img { width: 172px; }
}

/* ---------- Sık araştırılan konular (soru-cevap) ---------- */
.qa-wrap { max-width: 860px; }
.qa-group { margin-bottom: 56px; }
.qa-group h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.qa { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.qa summary {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__num { flex: none; font-family: var(--font-serif); color: var(--accent); font-size: 1.05rem; min-width: 1.6em; }
.qa__q { flex: 1; font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--ink); }
.qa summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform 0.2s ease; }
.qa[open] summary::after { content: "–"; }
.qa summary:hover .qa__q { color: var(--accent); }
.qa__body { padding: 0 4px 24px 40px; max-width: 70ch; }
.qa__body p { color: var(--ink-soft); }
.image-slot {
  margin: 18px 0 4px;
  padding: 36px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  background: var(--bg-alt);
}
.topic-links { padding-left: 1.2em; margin: 0 0 1.5em; }
.topic-links li { margin-bottom: 6px; }
.topic-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.section-more { margin: 36px 0 0; }
.section-more .btn { white-space: normal; text-align: center; }
@media (max-width: 640px) {
  .qa__body { padding-left: 4px; }
  .qa__q { font-size: 1.05rem; }
}

.qa-figures { display: grid; gap: 12px; margin: 18px 0 4px; align-items: start; }
.qa-figures--1 { grid-template-columns: minmax(0, 360px); }
.qa-figures--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qa-figures--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qa-figure { margin: 0; }
.qa-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: var(--bg-alt); }
.qa-figure figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.4; }
.op-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; max-width: 560px; }
.op-gallery .qa-figure img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 640px) {
  .qa-figures--2, .qa-figures--3 { grid-template-columns: 1fr; }
  .qa-figures--1 { grid-template-columns: 1fr; }
}

/* ---------- Blog ---------- */
.blog-wrap { max-width: 860px; }
.blog-item { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.blog-item__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt-2); }
.blog-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-item:hover .blog-item__img img { transform: scale(1.03); }
.blog-item__text { min-width: 0; }
.blog-cover { margin: 0 0 28px; }
.blog-cover img { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: var(--bg-alt-2); }
.blog-cover figcaption { font-size: 0.78rem; color: var(--ink-soft); margin-top: 6px; }
.blog-cover figcaption a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .blog-item { grid-template-columns: 1fr; gap: 16px; } }
.blog-item:first-child { padding-top: 0; }
.blog-item__meta { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; font-size: 0.82rem; color: var(--ink-soft); }
.blog-item h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 10px; }
.blog-item h2 a { color: var(--ink); }
.blog-item h2 a:hover { color: var(--accent); }
.blog-item p { margin: 0 0 12px; }
.blog-post p { color: var(--ink); }
.blog-post ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.blog-post li { margin-bottom: 8px; color: var(--ink); }
.blog-post .wa-panel { margin-top: 40px; }
.post-nav { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: block; flex: 1 1 240px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.post-nav a span { display: block; margin-top: 4px; font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.post-nav a:hover span { color: var(--accent); }
.post-nav__next { text-align: right; }
@media (max-width: 640px) { .post-nav__next { text-align: left; } }

/* ---------- Blog: içindekiler, yazar kutusu, ilgili içerikler ---------- */
.toc { background: var(--bg-alt); border: 1px solid var(--line); padding: 18px 22px; margin: 0 0 28px; font-size: 0.92rem; }
.toc strong { display: block; margin-bottom: 8px; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--accent); }
.toc a:hover { text-decoration: underline; }
.blog-post h2 { scroll-margin-top: 110px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin: 40px 0 8px; }
.author-box img { flex: none; width: 72px; height: 96px; object-fit: cover; object-position: center top; border: 1px solid var(--line); }
.author-box strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); }
.author-box span { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 6px; }
.author-box p { font-size: 0.92rem; margin: 0 0 8px; color: var(--ink-soft); }
.author-box a { font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.related-links { margin: 32px 0 0; }
.related-links h2 { font-size: 1.2rem; margin: 0 0 12px; }
.related-links ul { padding-left: 1.2em; margin: 0; }
.related-links > ul { list-style: none; padding-left: 0; }
.related-links li { margin-bottom: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.related-links li li { margin-bottom: 4px; }
.related-links a { color: var(--accent); }
.related-links a:hover { text-decoration: underline; }
@media (max-width: 480px) { .author-box { flex-direction: column; } }

/* Açılışta logo simgesi büyüme animasyonu (canvas, bittiğinde kaldırılır) */
.brand { position: relative; }
.brand .brand__grow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
