/* ==========================================================================
   İç sayfalar ve Faz 2 bileşenleri: sayfa başlığı, içerik (prose), yan kart,
   çerez bandı, harita, hata sayfası, yasal metinler
   ========================================================================== */

/* Ana sayfa H1: anahtar kelime satırı (şehir + uzmanlık) slogandan önce, her ekranda görünür */
.hero__title .hero__eyebrow {
  display: flex; margin-bottom: 18px;
  font-family: var(--font-sans); line-height: 1.5;
}
.topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info a:hover { color: var(--white); }

/* Sayfa başlığı (iç sayfalar) */
.page-hero {
  position: relative; overflow: hidden; padding: 70px 0 64px;
  color: rgb(255 255 255 / 0.8);
  background:
    radial-gradient(700px 360px at 90% 0%, rgb(23 59 120 / 0.6), transparent 60%),
    var(--navy-800);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.6;
}
.page-hero--compact { padding: 54px 0 48px; }
.page-hero__inner { position: relative; max-width: var(--container); }
.page-hero__inner--narrow { max-width: 860px; }
.page-hero__title {
  margin: 14px 0 14px; max-width: 900px;
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1;
  color: var(--white);
}
.page-hero__title em { font-style: italic; color: var(--gold-soft); }
.page-hero .lead { max-width: 720px; }
.page-hero__meta { font-size: 13.5px; color: rgb(255 255 255 / 0.6); }
.page-hero__meta a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Konum (breadcrumb) */
.breadcrumbs { background: var(--navy-50); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--navy-700); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* İçerik + yan sütun */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.page-layout__aside { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 20px; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* Markdown içerik */
.prose { color: var(--text); font-size: 16.5px; line-height: 1.8; }
.prose h2 { margin: 1.8em 0 0.6em; font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.prose h3 { margin: 1.5em 0 0.5em; font-size: 19px; font-weight: 600; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 0.45em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: 0.45em; padding-left: 4px; }
.prose a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: var(--navy-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; margin: 1.2em 0 1.6em; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--navy-50); color: var(--ink); font-weight: 600; }
.prose--legal { font-size: 15.5px; }
.prose--legal h2 { font-family: var(--font-sans); font-size: 20px; }

.subheading { margin: 48px 0 20px; font-family: var(--font-serif); font-size: 30px; }
.reviewed { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.reviewed .icon { width: 18px; height: 18px; color: var(--success); stroke-width: 2.2; }
.medical-note, .notice { padding: 14px 18px; font-size: 13.5px; color: var(--muted); background: var(--navy-50); border-radius: var(--radius-sm); }
.notice { margin-bottom: 28px; border-left: 3px solid var(--gold); }
.cover { width: 100%; margin-bottom: 28px; border-radius: var(--radius); }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--navy-50); border-radius: var(--radius); }

/* Yan kart: dönüşüm alanı */
.side-card { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--navy-800); color: rgb(255 255 255 / 0.75); box-shadow: var(--shadow); }
.side-card__title { margin: 0; font-family: var(--font-serif); font-size: 26px; color: var(--white); }
.side-card p { margin: 0; font-size: 14px; }
.side-card__phone { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.side-card__phone .icon { width: 18px; height: 18px; color: var(--gold-soft); }
.side-links { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.side-links__title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.side-links ul { display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink); }
.side-links a:hover { color: var(--navy-600); }
.side-links .icon { width: 20px; height: 20px; color: var(--navy-600); }
.side-related { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.side-related small { display: block; font-size: 12px; color: var(--muted); }
.side-related strong { color: var(--ink); }

/* Sayfa sonu dönüşüm bandı */
.cta-band { padding: 64px 0; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: rgb(255 255 255 / 0.75); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band__title { margin: 0 0 6px; font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); color: var(--white); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Harita (tıklayınca yüklenir) */
.map { position: relative; margin-top: 26px; border-radius: var(--radius-sm); overflow: hidden; background: rgb(255 255 255 / 0.06); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }
.map__placeholder { position: relative; display: grid; place-items: center; }
.map__placeholder img { width: 100%; opacity: 0.5; }
.map__placeholder .btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); }
.map__placeholder small { position: absolute; bottom: 8px; left: 12px; right: 12px; font-size: 11px; color: rgb(255 255 255 / 0.6); }
.map__directions { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-size: 13.5px; font-weight: 600; color: var(--white); background: rgb(255 255 255 / 0.08); }
.map__directions .icon { width: 16px; height: 16px; color: var(--gold-soft); }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* Formlar */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.form-note a { font-weight: 600; color: var(--navy-700); }
.data-request { margin-top: 56px; scroll-margin-top: calc(var(--header-height) + 20px); }
.data-request .contact__form { box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Footer: yasal bağlantılar */
.footer__legal { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 12.5px; }
.footer__legal a:hover, .footer__link-button:hover { color: var(--white); }
.footer__link-button { padding: 0; font-size: 13px; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; }

/* Çerez bandı: "Reddet" ve "Kabul et" aynı görünürlükte (KVKK Çerez Rehberi) */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 22px 0; background: var(--white); border-top: 3px solid var(--navy-800);
  box-shadow: 0 -18px 50px -20px rgb(2 25 61 / 0.35);
}
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.cookie__text { max-width: 760px; font-size: 14px; }
.cookie__title { margin: 0 0 6px; font-size: 17px; }
.cookie__text p { margin: 0 0 8px; }
.cookie__text a { color: var(--navy-700); text-decoration: underline; }
.cookie__prefs summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--navy-700); }
.cookie__prefs[open] summary { margin-bottom: 10px; }
.cookie__option { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
.cookie__option input { margin-top: 4px; accent-color: var(--navy-800); }
.cookie__actions { display: flex; gap: 12px; flex: none; }
.cookie__actions .btn { min-width: 140px; }

/* Hata sayfası */
.error-page { padding: 90px 0 110px; background: var(--navy-50); }
.error-page__inner { max-width: 760px; text-align: center; }
.error-page__code { display: block; font-family: var(--font-serif); font-size: clamp(90px, 16vw, 160px); font-weight: 600; line-height: 1; color: var(--navy-100); -webkit-text-stroke: 1px var(--navy-600); }
.error-page .lead { margin: 10px auto 30px; max-width: 560px; }
.error-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.error-page__links { margin-top: 56px; text-align: left; }
.error-page__links h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.error-page__links ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.error-page__links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink); transition: border-color 0.2s, transform 0.2s; }
.error-page__links a:hover { border-color: var(--navy-600); transform: translateY(-2px); }
.error-page__links .icon { width: 20px; height: 20px; color: var(--navy-600); }

@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .page-layout__aside { position: static; }
}

@media (max-width: 640px) {
  .page-hero { padding: 40px 0 40px; }
  .page-hero__actions { flex-direction: column; }
  .page-hero__actions .btn { width: 100%; }
  .hero__title .hero__eyebrow { margin-bottom: 12px; font-size: 10.5px; letter-spacing: 0.16em; }
  .prose { font-size: 15.5px; }
  .cta-band { padding: 48px 0 110px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cookie { padding: 16px 0 18px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie__text { font-size: 13px; }
  .cookie__actions .btn { flex: 1; min-width: 0; padding: 13px 10px; }
  .error-page { padding: 56px 0 110px; }
}
