/* ==========================================================================
   implantturkiye.gen.tr — koyu tema, mobil öncelikli stil
   Renk mirası: drsertac.net vurguları (#0ea5e9 mavi, #2dd4bf turkuaz)
   ========================================================================== */
:root {
  --bg: #0a1120;
  --bg-2: #0d1527;
  --surface: #121c31;
  --surface-2: #16213a;
  --text: #e8eefb;
  --muted: #9db0cd;
  --border: #22314e;
  --accent: #0ea5e9;
  --accent-2: #2dd4bf;
  --accent-ink: #04121f;
  --danger: #f87171;
  --ok: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -20px rgba(2, 8, 23, .85);
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1100px 600px at 85% -10%, #16233d 0%, var(--bg) 55%) no-repeat, var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;          /* eski tarayıcı yedeği */
}
/* GERÇEK HATA DÜZELTMESİ: body'de overflow-x:hidden, dikey ekseni `auto`ya çevirip BODY'yi kaydırma
   kabı yapıyordu; o durumda document kaydırılamıyor (#form gibi çapa bağlantıları ve otomasyon
   çalışmıyor). `clip` kaydırma kabı yaratmaz, yatay taşmayı yine keser. */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #7ff0e0; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.32rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
strong { color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #04121f; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

/* ---------- üst şerit / başlık ---------- */
.topbar { background: #060d1a; border-bottom: 1px solid var(--border); font-size: .87rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; align-items: center; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar__badge { color: var(--muted); }
.topbar__links { display: flex; gap: 16px; }
.topbar__links a { color: var(--text); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 17, 32, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 1.06rem; }
.brand__mark {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center;
  border-radius: 12px; font-weight: 800; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text em { font-style: normal; font-size: .76rem; color: var(--muted); letter-spacing: .02em; }

.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; font-size: .95rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li { border-bottom: 1px solid rgba(34, 49, 78, .6); }
.nav__list > li > a, .nav__parent { display: block; width: 100%; text-align: left; padding: 13px 4px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; }
.nav__parent { display: flex; justify-content: space-between; align-items: center; }
.nav__sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: none; }
.has-sub.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: 9px 0; color: var(--muted); }
.nav__aside { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.lang-switch { display: inline-flex; gap: 6px; }
.lang-switch a { padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; font-size: .84rem; color: var(--muted); }
.lang-switch a.is-active { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .97rem; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn--primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-1px); color: #04121f; }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-2); color: #fff; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }

/* ---------- kırıntı yolu ---------- */
.crumbs { font-size: .85rem; color: var(--muted); border-bottom: 1px solid rgba(34,49,78,.5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--border); }

/* ---------- hero ---------- */
.hero { padding: 46px 0 30px; }
.hero__inner { display: grid; gap: 32px; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { color: var(--muted); font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(14,165,233,.12); border: 1px solid rgba(45,212,191,.35); color: var(--accent-2); font-size: .84rem; margin-bottom: 14px; }
.hero__figure { margin: 0; }
.hero__figure img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; }
.hero__figure figcaption { color: var(--muted); font-size: .84rem; margin-top: 10px; text-align: center; }

/* ---------- güven şeridi ---------- */
.trust { padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(18,28,49,.5); }
.trust__grid { display: grid; gap: 18px; }
.trust__item h3 { font-size: 1rem; margin-bottom: .3em; color: var(--accent-2); }
.trust__item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- bölümler ---------- */
.sec { padding: 46px 0; }
.sec--prices, .sec--intl { background: rgba(13,21,39,.6); }
.sec__intro { color: var(--muted); max-width: 68ch; }
.prose { max-width: 74ch; }
.prose h3 { margin-top: 1.6em; color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; }
.card__body { color: var(--muted); }
.card__more { display: inline-block; margin-top: 8px; font-weight: 600; }
.card--accent { border-color: rgba(45,212,191,.4); background: linear-gradient(160deg, rgba(14,165,233,.12), rgba(18,28,49,1) 60%); }

.tick { list-style: none; padding: 0; max-width: 74ch; }
.tick li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.tick li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 700; }

.steps { list-style: none; counter-reset: s; padding: 0; max-width: 74ch; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(34,49,78,.6); }
.steps__num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,165,233,.16); color: var(--accent-2); font-weight: 700; }
.steps__body h3 { margin: .1em 0 .35em; font-size: 1.05rem; }
.steps__body p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: rgba(14,165,233,.12); color: #fff; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }

.faq { max-width: 78ch; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.faq__item summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--accent-2); font-size: 1.3rem; }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 18px 16px; color: var(--muted); }

.cta-band { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, rgba(14,165,233,.16), rgba(45,212,191,.10)); border: 1px solid rgba(45,212,191,.35); border-radius: var(--radius); padding: 24px; }
.cta-band__body { max-width: 60ch; }
.note { border-left: 3px solid var(--accent-2); background: rgba(45,212,191,.07); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); max-width: 78ch; }

/* ---------- sayfa başlığı ---------- */
.page-head { padding: 40px 0 8px; }
.page-head__lead { color: var(--muted); font-size: 1.05rem; max-width: 74ch; }
.page-head__meta { color: var(--muted); font-size: .86rem; }

/* ---------- blog ---------- */
.post-list { display: grid; gap: 18px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.post-card h2, .post-card h3 { margin: 0 0 .35em; }
.post-meta { color: var(--muted); font-size: .87rem; margin-bottom: .6em; }
.post__head { margin-bottom: 22px; }
.post__image { border-radius: var(--radius); border: 1px solid var(--border); margin: 18px 0; }
.post-content h2 { margin-top: 1.6em; padding-top: .2em; }
.post-content h3 { margin-top: 1.3em; }
.post-content ul, .post-content ol { max-width: 74ch; }
.post__reviewed { color: var(--muted); font-size: .87rem; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 26px; }

/* ---------- iletişim ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-cards { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.contact-cards .ico { font-size: 1.15rem; }
.contact-cards strong { display: block; font-size: .84rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.contact-cards address { font-style: normal; }
.form .field, .contact-form .field { margin-bottom: 14px; }
.field label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-2); outline: none; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .9rem; }
.field--check input { width: auto; margin-top: 4px; }
.hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; border: 1px solid; }
.alert--ok { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.4); color: #c7f7e3; }
.alert--err { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.4); color: #ffd9d9; }
.alert ul { margin: 0; padding-left: 18px; }
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; filter: grayscale(.25) contrast(1.05); }
.map-wrap iframe { display: block; }

/* ---------- alt çağrı / footer ---------- */
.prefoot { background: linear-gradient(120deg, rgba(14,165,233,.18), rgba(45,212,191,.12)); border-top: 1px solid var(--border); padding: 34px 0; }
.prefoot__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.prefoot h2 { margin: 0 0 .3em; }
.prefoot p { margin: 0; color: var(--muted); }
.prefoot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: #060d1a; border-top: 1px solid var(--border); padding: 44px 0 100px; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h3 { font-size: 1rem; color: #fff; margin-bottom: .7em; }
.foot-links { list-style: none; padding: 0; }
.foot-links li { margin-bottom: 8px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent-2); }
.footer-contact address { font-style: normal; color: var(--muted); margin-bottom: 10px; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 18px; }

/* ---------- mobil sabit eylem çubuğu ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(6,13,26,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.mobile-cta__btn { padding: 13px 6px; text-align: center; font-size: .82rem; color: var(--text); border-right: 1px solid var(--border); }
.mobile-cta__btn:last-child { border-right: 0; }
.mobile-cta__btn--wa { color: #7ff0e0; }
.to-top { position: fixed; right: 16px; bottom: 84px; z-index: 61; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.1rem; cursor: pointer; }

/* ---------- tablet / masaüstü ---------- */
@media (min-width: 640px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  body { font-size: 17.5px; }
  .hero { padding: 64px 0 40px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  .sec { padding: 60px 0; }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 44px; }
  .to-top { bottom: 24px; }
}
/* Masaüstü menü yalnız 1280 px ve üzerinde: 960-1280 arasında başlık taşıyordu
   (nav sağ kenarı viewport'u aşıyor, sayfa yatay kayıyor ve sağda boşluk kalıyordu). */
@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
  .nav.is-open { position: static; display: flex; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__list > li { border: 0; position: relative; }
  .nav__list > li > a, .nav__parent { padding: 10px 10px; border-radius: 8px; white-space: nowrap; font-size: .97rem; }
  .nav__list > li > a:hover, .nav__parent:hover { background: rgba(14,165,233,.12); }
  .nav__sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; display: none; box-shadow: var(--shadow); }
  .has-sub:hover .nav__sub, .has-sub.is-open .nav__sub { display: block; }
  .nav__sub a { padding: 10px 12px; border-radius: 8px; color: var(--text); }
  .nav__sub a:hover { background: rgba(14,165,233,.12); color: #fff; }
  .nav__aside { flex-direction: row; align-items: center; margin-top: 0; gap: 10px; }
}
@media (min-width: 1440px) {
  .nav { gap: 22px; }
  .nav__list { gap: 4px; }
  .nav__list > li > a, .nav__parent { padding: 10px 12px; font-size: 1rem; }
}
/* Almanca menü etiketleri uzun (menü ~1251 px, içerik kolonu 1180 px) — masaüstü menü ancak
   1700 px'te sığıyor. Altındaki genişliklerde hamburger gösterilir; böylece hiçbir dilde
   başlık kolondan taşmaz. (TR/EN menüleri 1280 px'ten itibaren masaüstü görünümde.) */
@media (min-width: 1280px) and (max-width: 1699px) {
  html[lang="de"] .nav { display: none; }
  html[lang="de"] .nav-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
@media print {
  .site-header, .topbar, .mobile-cta, .prefoot, .to-top, .crumbs { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Yönetim paneli (admin) — koyu tema ile uyumlu
   ========================================================================== */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin: 14px 0; border: 1px solid var(--border); font-size: .95rem; }
.alert--ok { background: rgba(45,212,191,.12); border-color: rgba(45,212,191,.45); color: #d6fff7; }
.alert--err { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.45); color: #ffe4e4; }
.alert--warn { background: rgba(250,204,21,.10); border-color: rgba(250,204,21,.40); color: #fff6d6; }
.admin { background: var(--bg); }
.admin-login { max-width: 460px; margin: 0 auto; padding: 64px 20px; }
.admin-login__title { margin-bottom: .3em; }
.admin-bar { position: sticky; top: 0; z-index: 40; background: rgba(8,15,28,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.admin-bar__inner { max-width: 1360px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-bar__brand { font-weight: 700; color: #fff; }
.admin-bar__nav { display: flex; gap: 4px; flex-wrap: wrap; margin-right: auto; }
.admin-bar__nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); font-size: .93rem; }
.admin-bar__nav a:hover { color: #fff; background: rgba(14,165,233,.12); }
.admin-bar__nav a.is-active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.admin-bar__side { display: flex; gap: 8px; }
.admin-main { max-width: 1360px; margin: 0 auto; padding: 26px 20px 60px; }
.admin-main h1 { font-size: 1.6rem; }
.admin-h2 { margin-top: 30px; font-size: 1.15rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 6px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1; }
.stat__lbl { color: var(--muted); font-size: .85rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.admin-actions--tight { margin: 12px 0; }
.admin-actions form { margin: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; padding: 11px 12px; background: rgba(14,165,233,.10); color: #cfe9ff; font-weight: 600; white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-top: 1px solid rgba(34,49,78,.6); vertical-align: top; }
.admin-table tr:hover td { background: rgba(14,165,233,.05); }
.admin-inline { display: flex; gap: 6px; align-items: center; }
.admin-inline select { padding: 7px 8px; }
.admin-code { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; background: #0b1220; color: #e8eefb; border: 1px solid #22314e; border-radius: 10px; padding: 12px; }
.admin-check { display: flex; align-items: center; gap: 8px; }
.badge--ok { background: rgba(45,212,191,.16); border-color: rgba(45,212,191,.5); color: #7ff3e0; }
.badge--warn { background: rgba(250,204,21,.14); border-color: rgba(250,204,21,.45); color: #ffe58a; }
.badge--bad { background: rgba(248,113,113,.16); border-color: rgba(248,113,113,.5); color: #ffb4b4; }
.badge--info { background: rgba(14,165,233,.16); border-color: rgba(14,165,233,.5); color: #9fdcff; }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--ghost.is-active { border-color: var(--accent-2); color: #fff; background: rgba(45,212,191,.12); }
.admin .card { margin-bottom: 6px; }
@media (max-width: 860px) {
  .admin-bar__nav { width: 100%; order: 3; }
  .admin-bar__inner { gap: 8px; }
}

/* ==========================================================================
   İçerik editörü (panel): Görsel/Kod sekmeleri, alan kutuları, medya penceresi
   ========================================================================== */
.editor-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .editor-layout { grid-template-columns: 1fr; } }
.editor-pane { min-width: 0; }
.editor-preview { position: sticky; top: 78px; }
.editor-preview__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.editor-preview iframe { width: 100%; height: 620px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
@media (max-width: 1080px) { .editor-preview { position: static; } .editor-preview iframe { height: 460px; } }
@media (max-width: 720px) { .editor-preview iframe { height: 380px; } }

.fld { margin: 0 0 16px; }
.fld__label { display: block; font-size: .88rem; color: #cfe0f7; font-weight: 600; margin-bottom: 6px; }
.fld__path { font-size: .72rem; color: #7d93b4; background: rgba(125,147,180,.12); padding: 1px 6px; border-radius: 6px; }
.grp { border: 1px dashed rgba(34,49,78,.9); border-radius: var(--radius-sm); padding: 14px; margin: 0 0 18px; background: rgba(13,21,39,.5); }
.grp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.grp__row { border-top: 1px solid rgba(34,49,78,.7); padding: 12px 0 4px; }
.grp__rowhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }

.ed { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #0b1220; }
.ed__tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: #0f172a; }
.ed__tab { border: 1px solid transparent; border-bottom: none; background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 8px 8px 0 0; cursor: pointer; font-size: .86rem; font-family: inherit; }
.ed__tab:hover { color: #fff; }
.ed__tab.is-active { background: #0b1220; color: #fff; border-color: var(--border); font-weight: 700; }
.ed__src { width: 100%; display: none; border: 0; border-top: 1px solid var(--border); background: #0b1220; color: #dbeafe; font-family: ui-monospace, Consolas, monospace; font-size: .84rem; line-height: 1.6; padding: 12px; min-height: 140px; }
.ed.is-code .ed__src { display: block !important; }
.ed.is-code .tox-tinymce { display: none !important; }
.ed__hint { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }

.medya { position: fixed; inset: 0; background: rgba(4,9,18,.72); display: none; align-items: center; justify-content: center; z-index: 90; padding: 18px; }
.medya.is-open { display: flex; }
.medya__box { width: min(720px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.medya__box h2 { margin: 0 0 4px; font-size: 1.15rem; }
.medya__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .medya__row { grid-template-columns: 1fr; } }
.medya__status { min-height: 20px; font-size: .86rem; color: var(--accent-2); }
.medya__library { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin-top: 10px; max-height: 240px; overflow: auto; }
.medya__thumb { border: 1px solid var(--border); border-radius: 10px; background: #0b1220; padding: 6px; cursor: pointer; color: var(--muted); font-size: .72rem; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.medya__thumb:hover { border-color: var(--accent-2); }
.medya__thumb img { width: 100%; height: 66px; object-fit: cover; border-radius: 6px; }
/* Zengin olmayan (düz metin) alanlar: sekme yok, kutu doğrudan görünür */
.ed--plain .ed__src { display: block; border-top: 0; min-height: 60px; }

/* ---------- E-E-A-T: yazar profili, yazar kutusu, tarih ve çerez notu ---------- */
.page-head__dates { margin: .35rem 0 0; }
.page-head__dates a { text-decoration: underline; }

.author-hero { padding: 2.2rem 0 1rem; border-bottom: 1px solid var(--border); }
.author-hero__inner { display: grid; grid-template-columns: 220px 1fr; gap: 1.8rem; align-items: start; }
.author-hero__photo { margin: 0; }
.author-hero__img { width: 220px; height: 220px; object-fit: cover; border-radius: 18px; display: block; }
.author-hero__role { color: var(--accent2); font-weight: 600; margin: .3rem 0 .8rem; }
.author-hero__bio { max-width: 62ch; }
.author-hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.author-facts { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.author-facts li { color: var(--text); }
.author-facts strong { color: var(--muted); font-weight: 600; }
.author-facts a { text-decoration: underline; }
.tick--wide { columns: 2; column-gap: 2rem; }
.author-review-note { margin: 0; padding: .9rem 1.1rem; border-left: 3px solid var(--accent);
  background: var(--surface2); border-radius: 0 12px 12px 0; }
.author-all { margin-top: 1.4rem; }

.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 1.1rem; align-items: start;
  margin: 2.2rem 0 1rem; padding: 1.2rem; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 16px; }
.author-box__photo { margin: 0; }
.author-box__img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; display: block; }
.author-box__body h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.author-box__body h2 a { color: var(--text); text-decoration: none; }
.author-box__body h2 a:hover { text-decoration: underline; }
.author-box__role { color: var(--accent2); font-weight: 600; margin: 0 0 .5rem; font-size: .95rem; }
.author-box__bio { margin: 0 0 .6rem; max-width: 68ch; }
.author-box__note { color: var(--muted); font-size: .9rem; margin: 0 0 .8rem; }

.cookie-note { padding: .6rem 0 0; }
.cookie-note p { margin: 0; }
.cookie-note a { text-decoration: underline; }

@media (max-width: 760px) {
  .author-hero__inner { grid-template-columns: 1fr; }
  .author-hero__img { width: 160px; height: 160px; }
  .tick--wide { columns: 1; }
  .author-box { grid-template-columns: 1fr; }
}

/* ---------- "Neler Yapıyorum?" hizmet kutucukları (gradyan + çerçeve + parlak gölge) ---------- */
.sec--services .sec__intro { max-width: 68ch; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.6rem; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.35rem 1.2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(158deg, rgba(14, 165, 233, .20) 0%, rgba(45, 212, 191, .09) 42%, rgba(8, 15, 30, .72) 100%);
  box-shadow:
    0 12px 26px rgba(2, 8, 20, .55),
    0 1px 0 rgba(255, 255, 255, .05) inset,
    0 0 0 1px rgba(14, 165, 233, .06);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
/* üstte akan gradyan şerit */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #2dd4bf, #22d3ee, #0ea5e9);
  background-size: 220% 100%;
  background-position: 0% 0;
  transition: background-position .9s ease;
}
/* şerit yalnız fare üzerine gelince kayar (sürekli animasyon CPU/otomasyon sorunları çıkarıyor) */
.svc-card:hover::before,
.svc-card:focus-visible::before { background-position: 100% 0; }
/* çapraz parlaklık */
.svc-card::after {
  content: '';
  position: absolute;
  inset: -60% -10% auto -30%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .085), transparent);
  transform: rotate(16deg);
  pointer-events: none;
  z-index: -1;
}
.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, .5);
  background:
    linear-gradient(158deg, rgba(14, 165, 233, .30) 0%, rgba(45, 212, 191, .14) 45%, rgba(8, 15, 30, .72) 100%);
  box-shadow:
    0 22px 44px rgba(2, 8, 20, .72),
    0 0 0 1px rgba(45, 212, 191, .28),
    0 0 26px rgba(45, 212, 191, .18);
  outline: none;
}
.svc-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  font-size: 1.45rem;
  line-height: 1;
  background: linear-gradient(140deg, rgba(14, 165, 233, .38), rgba(45, 212, 191, .26));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 14px rgba(2, 8, 20, .45);
}
.svc-card__title { margin: .35rem 0 0; font-size: 1.04rem; line-height: 1.3; }
.svc-card__text { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.svc-card__more { margin-top: auto; padding-top: .5rem; color: var(--accent2); font-size: .88rem; font-weight: 600; }
.svc-card--link:hover .svc-card__more { text-decoration: underline; }

@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; } }
@media (max-width: 520px)  {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 1.15rem 1rem 1.25rem; }
}
/* açılışta bir kez oynayan yumuşak giriş (sürekli değil — otomasyon ve CPU için güvenli) */
@keyframes svcRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.svc-grid .svc-card { animation: svcRise .5s ease both; }
.svc-grid .svc-card:nth-child(2) { animation-delay: .05s; }
.svc-grid .svc-card:nth-child(3) { animation-delay: .1s; }
.svc-grid .svc-card:nth-child(4) { animation-delay: .15s; }
.svc-grid .svc-card:nth-child(5) { animation-delay: .2s; }
.svc-grid .svc-card:nth-child(6) { animation-delay: .25s; }
.svc-grid .svc-card:nth-child(7) { animation-delay: .3s; }
.svc-grid .svc-card:nth-child(8) { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .svc-card { transition: none; animation: none; }
  .svc-card::before { transition: none; }
}

/* ---------- Hasta yorumları (Google Haritalar alıntıları) ---------- */
.sec--reviews { padding-top: 0.5rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; margin-top: 1.2rem; }
.rev-card { position: relative; margin: 0; padding: 1.25rem 1.2rem 1.1rem; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(10,17,32,.55) 55%);
  box-shadow: 0 10px 22px rgba(2,8,20,.5), inset 0 1px 0 rgba(255,255,255,.05); }
.rev-card__stars { display: flex; gap: .18rem; font-size: 1.05rem; line-height: 1; }
.rev-star { color: rgba(255,255,255,.16); text-shadow: none; }
.rev-star.is-on { color: #fbbf24; text-shadow: 0 0 10px rgba(251,191,36,.45); }
.rev-card__text { margin: .7rem 0 .9rem; font-size: .97rem; line-height: 1.6; color: var(--text); font-style: italic; }
.rev-card__meta { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.rev-card__author { font-weight: 700; color: #fff; }
.rev-card__date { color: var(--muted); }
.rev-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.rev-source { margin: .35rem 0 0; font-size: .9rem; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .rev-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil uyum: tablo kaydırma + dokunma hedefleri ---------- */

/* Gövde içine yazılmış tablolar (blog/yazı) de yatay kaydırılabilir olsun */
.tbl-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tbl-scroll { scrollbar-width: thin; }
.table-wrap::-webkit-scrollbar, .tbl-scroll::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb, .tbl-scroll::-webkit-scrollbar-thumb { background: rgba(45,212,191,.45); border-radius: 8px; }

@media (max-width: 860px) {
  /* Kaydırılabilir olduğunu belli eden ipucu (dile bağlı metin yok, yalnız simge).
     Rozet kaydırılan kutunun DIŞINDA durur, o yüzden kaydırmada yerinden oynamaz. */
  .tbl-wrap, .table-wrap { position: relative; }
  .tbl-hint {
    position: absolute; top: 8px; right: 10px; z-index: 2; pointer-events: none;
    font-size: .78rem; color: var(--accent); background: rgba(10,17,32,.88);
    border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px;
  }

  /* Dokunma hedefleri: en az 40-44 px yükseklik */
  .topbar a, .topbar span { display: inline-flex; align-items: center; min-height: 40px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
  .card h3 a, .card__body a { display: inline-flex; align-items: center; min-height: 40px; }
  .card__more { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
  .footer-grid a, .footer-grid li { display: inline-flex; align-items: center; min-height: 40px; }
  .faq__item summary { min-height: 44px; display: flex; align-items: center; }
  .hero__cta a, .btn { min-height: 44px; }
  img { max-width: 100%; height: auto; }
}

@media (max-width: 860px) {
  /* Metin içinde TEK BAŞINA duran bağlantılar (iletişim listeleri, telefon/e-posta satırları)
     rahat dokunulacak hâle gelir; cümle içi bağlantılar akışı bozmasın diye dokunulmaz. */
  .prose li > a:only-child, .prose p > a:only-child, .contact-list a, .lead a:only-child {
    display: inline-flex; align-items: center; min-height: 40px;
  }
  .prose { line-height: 1.75; }
  details > summary, summary { min-height: 44px; display: flex; align-items: center; }
  .nav-toggle { min-height: 44px; padding: 11px 15px; }
}

@media (max-width: 860px) {
  /* Cümle içinde OLMAYAN (p/li/div/span içinde tek başına duran) her bağlantı 40px dokunma alanı
     kazanır: alt bilgi, çerez notu, iletişim satırları, yazar kutusu, kart başlıkları. */
  p > a:only-child, li > a:only-child, div > a:only-child, span > a:only-child,
  .footer-grid li > a, .crumbs a, .topbar a { display: inline-flex; align-items: center; min-height: 40px; }
}

@media (max-width: 860px) {
  /* Yazı kartı başlıkları, künye (byline) ve yazar kutusu bağlantıları.
     Cümle İÇİ bağlantılar (.prose a) bilinçli olarak dışarıda: paragraf akışı bozulmasın. */
  .post-card a, .post-meta a, .author-box__body a, .author-box a, .author-hero a { min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 860px) {
  /* Tablonun genel "min-width: 560px" kuralı telefon için fazla geniş: fiyat kolonu ekran dışında
     kalıyordu. Telefonda doğal genişliğe bırakılır (metin alt satıra iner, kolonlar sığar);
     yine sığmayan geniş tablolar için kaydırma ve ↔ ipucu aynen çalışmaya devam eder. */
  table { min-width: 0; }
  .tbl-scroll > table, .table-wrap > table { min-width: 100%; }
}
