/* ===========================================================================
   Komotini Consulting — ön yüz
   ---------------------------------------------------------------------------
   MOBİL ÖNCELİKLİ: varsayılan kurallar küçük ekran içindir, geniş ekran
   @media (min-width: …) ile eklenir. Hedef kitle çoğunlukla telefondan gelir.

   SIFIR JAVASCRIPT: menü ve SSS akordiyonu <details>/<summary> ile çalışır.

   ERİŞİLEBİLİRLİK: metin/zemin kontrastları WCAG AA (4.5:1) eşiğinin
   üstünde seçilmiştir; odak halkası hiçbir yerde kaldırılmaz.

   Sistem fontları kullanılır — harici font isteği yok, ilk boyama hızlı.
   =========================================================================== */

:root {
    /* Ana renkler: koyu lacivert/petrol */
    --ink: #12212e;
    --ink-soft: #23384a;
    --muted: #566b7d;
    --brand: #0f3d5c;
    --brand-dark: #0a2b41;
    --brand-deep: #0f2233;

    /* Vurgu: sıcak bakır */
    --accent: #9c5f28;
    --accent-bright: #cf9155;

    /* Yüzeyler */
    --bg: #ffffff;
    --surface: #f6f8fa;
    --surface-warm: #faf7f3;
    --line: #e2e8ee;
    --line-soft: #eef2f6;

    /* Durum renkleri */
    --ok: #146c43;
    --ok-bg: #e8f5ee;
    --error: #a5231c;
    --error-bg: #fdeceb;

    /* Yapışkan üst şeridin yüksekliği. Yapışkan bloklar ve çapa hedefleri
       bu değerden türetilir — logo/menü büyürse tek yerden güncellenir. */
    --header-h: 76px;
    --sticky-top: calc(var(--header-h) + 24px);

    --radius: 12px;
    --radius-lg: 18px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Hareket azaltma tercihi olan kullanıcıya yumuşak kaydırma dayatılmaz */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* Odak halkası hiçbir yerde kaldırılmaz — klavye kullanıcısı yolunu görmeli */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 3px;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 18px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus { left: 0; color: #fff; }

/* ---------- Düzen ---------- */

.wrap {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 20px;
}

.section { padding-block: 44px; }

/* .wrap ile AYNI öğeye verilir ve içeriği ekranda ortalar (404 sayfası) */
.section-narrow { max-width: 760px; }

/* .wrap'in İÇİNE konur: sola hizalı kalır, üstteki bölümlerle aynı çizgide */
.narrow-block { max-width: 760px; }

.section-head { margin-bottom: 28px; }
.section-head h2 { margin-bottom: .3em; }

.section-more { margin-top: 22px; }
.section-more a { font-weight: 600; text-decoration: none; }
.section-more a:hover { text-decoration: underline; }

.eyebrow {
    margin: 0 0 12px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--accent); }

.lead {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.muted { color: var(--muted); }

/* ---------- Düğmeler ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
    /* Dokunma hedefi en az 44px yüksekliğinde olsun */
    min-height: 46px;
}

.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #854f1f; border-color: #854f1f; color: #fff; }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--surface); }

.btn-wide { width: 100%; }

/* Bölüm sonundaki tek düğme: metinden biraz daha iri dursun */
.btn-lg { padding: 15px 34px; min-height: 52px; }

/* ---------- Üst bölüm ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    flex: none;
    border-radius: 10px;
    background: var(--brand-deep);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .04em;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.logo-text span { font-size: .76rem; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }

/* Mobil menü — <details>, JavaScript yok */
.nav-toggle > summary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    min-height: 44px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* Tarayıcı varsayılan üçgen işaretini kaldır */
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle > summary::marker { content: ''; }

.nav-toggle-bars {
    position: relative;
    width: 17px; height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
    width: 17px; height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-nav {
    position: absolute;
    left: 0; right: 0;
    margin-top: 12px;
    padding: 8px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(18, 33, 46, .1);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.site-nav > ul > li:last-child { border-bottom: 0; }

.site-nav a {
    display: block;
    padding: 13px 2px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* Dil seçici — açılır alt menü (<details>, JavaScript yok) */
.lang-menu {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.lang-menu > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    min-height: 44px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::marker { content: ''; }
.lang-menu > summary:hover { border-color: #c3d0da; }
.lang-menu .ui-icon { color: var(--muted); flex: none; }

/* Aşağı bakan ok; menü açıkken yukarı döner */
.lang-caret {
    flex: none;
    width: 7px; height: 7px;
    margin-left: 2px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-2px) rotate(45deg);
}

.lang-menu[open] > summary .lang-caret { transform: translateY(1px) rotate(-135deg); }

.site-nav .lang-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.site-nav .lang-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: 7px;
}

.site-nav .lang-nav a:hover { background: var(--surface); color: var(--accent); }

.lang-nav .lang-code {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--muted);
}

.lang-nav a.is-current {
    background: var(--brand-deep);
    color: #fff;
}

.lang-nav a.is-current .lang-code { color: rgba(255, 255, 255, .72); }

/* ---------- Kırıntı yolu ---------- */

.breadcrumb { padding-top: 18px; font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; color: #b9c6d1; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(165deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
}

.hero-inner { padding-block: 52px 46px; max-width: 760px; }
.hero .eyebrow { color: rgba(255, 255, 255, .72); }
.hero h1 { color: #fff; font-size: 2.05rem; }
.hero .lead { color: rgba(255, 255, 255, .88); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 0;
}

.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------- İç sayfa üst bölümü ---------- */

/*
 * Anasayfa hero'su ile aynı teknik: fotoğraf <img> olarak basılır
 * (background-image DEĞİL) ki tarayıcı erken keşfetsin, üstüne koyu
 * katman konarak beyaz metnin kontrastı garanti altına alınsın.
 * Fark: iç sayfada bölüm daha alçaktır, asıl iş aşağıdaki içeriktedir.
 */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Metnin bulunduğu sol/üst taraf daha koyu */
    background: linear-gradient(150deg, rgba(10, 26, 40, .95) 0%, rgba(13, 45, 69, .9) 55%, rgba(15, 61, 92, .8) 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 14px 40px;
    max-width: 780px;
}

.page-hero .eyebrow { color: rgba(255, 255, 255, .72); }
.page-hero h1 { color: #fff; margin-bottom: .55em; }
.page-hero .lead { color: rgba(255, 255, 255, .9); margin-bottom: 0; }

/* Başlık altındaki ince bakır çizgi: anasayfadaki bölüm başlıklarıyla aynı dil */
.page-hero h1::after {
    content: '';
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 20px;
    border-radius: 2px;
    background: var(--accent-bright);
}

/* Üst bölümdeki rozet: hizmet sayfasında tahmini süre */
.hero-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    margin: 24px 0 0;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .92rem;
}

.hero-badge span { color: rgba(255, 255, 255, .82); }
.hero-badge strong { color: #fff; }

/* Üst bölümdeki yardımcı satır: blog yazısının yayın tarihi */
.hero-meta { margin: 18px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .82); }

/* Koyu zeminde kırıntı yolu */
.breadcrumb-light { padding-bottom: 4px; }
.breadcrumb-light li { color: rgba(255, 255, 255, .72); }
.breadcrumb-light li + li::before { color: rgba(255, 255, 255, .45); }
.breadcrumb-light a { color: rgba(255, 255, 255, .82); }
.breadcrumb-light a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-light [aria-current="page"] { color: #fff; }

/* ---------- İç sayfa düzeni (metin + yan sütun) ---------- */

/*
 * Geniş ekranda tek başına ortada duran dar bir metin sütunu hem boş
 * hem de bitmemiş görünür. Metin okunabilir genişlikte kalır, artan
 * alan iletişim ve hizmet bağlantılarıyla değerlendirilir.
 */
.page-layout {
    display: grid;
    gap: 34px;
    padding-block: 36px 48px;
}

.page-main { min-width: 0; }

/* Gövde içindeki alt bölümler (süreç adımları, belgeler, hizmet SSS'i) */
.page-block { margin-top: 46px; }
.page-block > h2 { margin-bottom: 20px; }

.page-main > .callout { margin-top: 34px; }

/* ---------- SSS sayfası ----------
   Solda konu başlıkları ve iletişim kutusu, sağda kategori grupları.
   Dar ekranda alt alta iner. */

.faq-page { display: grid; grid-template-columns: 1fr; gap: 30px; }

/* Dar ekran: sarmalayıcı yok sayılır, üç blok tek sütuna dizilir ve
   iletişim kutusu soruların altına iner (önce cevap, sonra çağrı). */
.faq-side { display: contents; }
.faq-index { order: 1; }
.faq-groups { order: 2; }
.faq-ask { order: 3; }

/* Konu başlıkları — sayfa içi çapa bağlantıları (JavaScript yok) */
.faq-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.faq-index a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .97rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}

.faq-index a:hover { background: var(--surface); color: var(--brand); }

.faq-index-count {
    flex: none;
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 20px;
    background: var(--surface);
    font-size: .8rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

.faq-index a:hover .faq-index-count { background: #fff; }

/* "Cevabını bulamadınız mı?" kutusu */
.faq-ask {
    padding: 22px 20px;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.faq-ask h2 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-ask p { margin: 0 0 16px; font-size: .95rem; line-height: 1.6; color: var(--muted); }

.faq-ask-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    /* Arama bağlantısı: parmakla ıskalanmayacak yükseklik */
    min-height: 44px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
}

.faq-ask-phone:hover { color: var(--accent); }

/* Gruplar */
.faq-groups { display: grid; gap: 38px; min-width: 0; }
.faq-intro-text { max-width: 70ch; }

/* Çapayla gelindiğinde başlık yapışkan menünün altında kalmasın */
.faq-group { scroll-margin-top: var(--sticky-top); }

.faq-group-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}

.faq-group-head h2 { margin: 0; font-size: 1.3rem; }

.faq-count { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Izgaranın üstündeki serbest metin girişi (hizmet ve iletişim sayfaları) */
.intro-block { max-width: 70ch; margin-bottom: 36px; }

/* ---------- Kurucu kartı (Hakkımızda) ----------
   Dar ekranda fotoğraf üstte ve dar tutulur (portre, tam genişlikte
   basılırsa sayfayı yutar); geniş ekranda solda sabit sütun olur. */

.founder {
    margin-top: 46px;
    padding-top: 34px;
    border-top: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.founder-figure {
    margin: 0;
    max-width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Fotoğrafın fonu neredeyse beyaz: sayfada yüzer görünmesin diye
       arkasına ılık bir yüzey ve ince çerçeve konur */
    background: var(--surface-warm);
    border: 1px solid var(--line);
}

.founder-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
}

.founder-body > h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    /* Gövde metnindeki h2 çizgisi bu başlıkta tekrarlanmasın */
    padding-top: 0;
    border-top: 0;
}

.founder-title {
    margin: 0 0 16px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.5;
}

.founder-bio { color: var(--ink-soft); }
.founder-bio > :last-child { margin-bottom: 0; }

/* Resmî mesleki yetki kutusu — özgeçmişin altında, ılık zeminli ve ince
   çerçeveli; sol kenardaki vurgu şeridi "resmî belge" hissi verir. */
.founder-license {
    margin-top: 26px;
    padding: 20px 22px;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
}

.founder-license h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--brand);
}

.founder-license .rich { font-size: .95rem; color: var(--ink-soft); }
.founder-license .rich > :last-child { margin-bottom: 0; }
.founder-license .btn { margin-top: 16px; }

/* Uzun sayfalarda bölüm başlıkları ince bir çizgiyle ayrılır */
.page-main .rich h2 {
    margin-top: 2em;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    font-size: 1.4rem;
    color: var(--ink);
}

.page-main .rich > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Liste işaretleri bakır: metin rengine dokunmadan sayfayı canlandırır */
.rich li::marker { color: var(--accent); }

.page-aside {
    display: grid;
    gap: 20px;
    align-content: start;
    min-width: 0;
}

.side-card {
    padding: 24px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.side-card h2 {
    margin: 0 0 16px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.side-list { list-style: none; margin: 0 0 20px; padding: 0; }

.side-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .95rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.side-row:first-child { padding-top: 0; }
.side-row:last-child { padding-bottom: 0; border-bottom: 0; }

.side-icon {
    display: inline-flex;
    flex: none;
    margin-top: 2px;
    color: var(--accent);
}

.side-row a { color: var(--ink); text-decoration: none; }
.side-row a:hover { color: var(--accent); text-decoration: underline; }

.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { border-top: 1px solid var(--line-soft); }

.side-links a {
    display: block;
    padding: 10px 0;
    font-size: .95rem;
    line-height: 1.45;
    color: var(--ink-soft);
    text-decoration: none;
}

.side-links a:hover { color: var(--accent); }

.side-more { margin: 16px 0 0; font-size: .9rem; }
.side-more a { font-weight: 600; text-decoration: none; }
.side-more a:hover { text-decoration: underline; }

/* ---------- Hizmet kartları ---------- */

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 22px 46px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

.service-card:hover {
    border-color: #c9d6e0;
    box-shadow: 0 12px 30px rgba(18, 33, 46, .09);
    transform: translateY(-2px);
}

/* İkon kutusu: bakır tonlu yumuşak zemin, kart hover'ında dolar */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-bottom: 4px;
    border-radius: 12px;
    background: var(--surface-warm);
    color: var(--accent);
    transition: background-color .18s, color .18s;
}

.service-card:hover .service-icon { background: var(--accent); color: #fff; }

/* Başlık + özet kutusu: ikonlu kartta kartın kendi iç boşluğunu kullanır,
   fotoğraflı kartta iç boşluk buraya taşınır (fotoğraf kenara dayansın). */
.service-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Fotoğraflı görünüm (hizmet listesi sayfası) */
.service-card-media {
    padding: 0;
    overflow: hidden;
}

.service-photo {
    display: block;
    line-height: 0;
    background: var(--surface);
}

.service-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-card-media:hover .service-photo img { transform: scale(1.03); }

.service-card-media .service-body { padding: 20px 20px 46px; }
.service-card-media .service-more { left: 20px; }

/* Başlık düzeyi sayfaya göre değişir (anasayfada h3, hizmet listesinde h2 —
   bkz. partials/service-card.php), bu yüzden kurallar ETIKETE DEĞİL sınıfa
   bağlanır. Etikete bağlanırsa liste sayfasında biçim ve tıklama alanı
   sessizce kaybolur. */
.service-card-title { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.service-card-title a { color: var(--ink); text-decoration: none; }

/* Kartın tamamı tıklanabilir olsun ama bağlantı metni başlıkta kalsın:
   ekran okuyucu yalnızca başlığı okur, fare her yeri tıklayabilir. */
.service-card-title a::after { content: ''; position: absolute; inset: 0; }
.service-card:hover .service-card-title a { color: var(--brand); }

.service-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.service-meta { font-size: .87rem !important; }
.service-meta span { font-weight: 600; color: var(--ink-soft); }

.service-more {
    position: absolute;
    left: 22px; bottom: 20px;
    font-size: .87rem;
    font-weight: 600;
    color: var(--accent);
}

/* ---------- Güven kutuları ---------- */

.trust-section { background: var(--surface-warm); }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
}

.trust-item {
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.trust-item dt {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 5px;
}

.trust-item dd {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

/* ---------- Hizmet detay sayfası ---------- */

.callout {
    padding: 22px 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.callout h2 { font-size: 1.05rem; margin-bottom: .4em; }
.callout p { margin: 0; color: var(--ink-soft); }

/* Süreç adımları */
.step-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.step-list li {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    position: relative;
}

/* Adımları birleştiren dikey çizgi */
.step-list li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px; top: 38px; bottom: 4px;
    width: 2px;
    background: var(--line);
}

.step-number {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--brand-deep);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step-body h3 { margin-bottom: .25em; font-size: 1.05rem; }
.step-body p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Adım listesinin üstündeki giriş ve altındaki kapanış notu */
.process-intro { color: var(--ink-soft); }
.process-note { margin-top: 18px; color: var(--muted); font-size: .96rem; }

/* Gereken belgeler */
.doc-list { list-style: none; margin: 0; padding: 0; }

.doc-list li {
    position: relative;
    padding: 11px 0 11px 30px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft);
}

.doc-list li:last-child { border-bottom: 0; }

.doc-list li::before {
    content: '✓';
    position: absolute;
    left: 4px; top: 11px;
    color: var(--accent);
    font-weight: 700;
}

/* ---------- SSS ---------- */

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item > summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--ink);
    min-height: 44px;
}

.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }
.faq-item > summary:hover { color: var(--brand); }

.faq-question { flex: 1; }

/* Artı/eksi işareti — saf CSS */
.faq-sign {
    flex: none;
    position: relative;
    width: 16px; height: 16px;
    margin-top: 5px;
}

.faq-sign::before,
.faq-sign::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform .18s;
}

.faq-sign::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-sign::after { top: 0; left: 7px; width: 2px; height: 16px; }

.faq-item[open] .faq-sign::after { transform: scaleY(0); }

.faq-answer { padding: 0 2px 20px; color: var(--ink-soft); }
.faq-answer > :last-child { margin-bottom: 0; }

/* ---------- Anasayfadaki SSS bölümü ----------
   Solda bölümün ne olduğu ve iletişim çıkışı, sağda kart görünümlü
   akordiyon. İç sayfalardaki düz liste değişmez: kart görünümü yalnızca
   .faq-cards sınıfı verildiğinde devreye girer. JavaScript YOK. */

.faq-feature { display: grid; grid-template-columns: 1fr; gap: 26px; }

.faq-intro h2 { margin-bottom: .35em; }
.faq-lead { margin: 0; color: var(--muted); line-height: 1.7; }

.faq-intro-actions { margin: 20px 0 0; }

.faq-help {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: .95rem;
    color: var(--muted);
}

.faq-help a { font-weight: 600; white-space: nowrap; }

/* Kart görünümlü akordiyon */
.faq-cards {
    border-top: 0;
    display: grid;
    gap: 12px;
    /* Soru numaraları (01, 02…) CSS sayacıyla üretilir — HTML'de yok */
    counter-reset: faq;
}

.faq-cards .faq-item {
    counter-increment: faq;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .18s, box-shadow .18s;
}

.faq-cards .faq-item:hover { border-color: #cdd8e2; }

.faq-cards .faq-item[open] {
    border-color: var(--accent-bright);
    box-shadow: 0 14px 34px -22px rgba(15, 61, 92, .55);
}

.faq-cards .faq-item > summary {
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 18px;
}

.faq-cards .faq-item[open] > summary { color: var(--brand); }

/* Numara + soru metni */
.faq-cards .faq-question {
    display: flex;
    align-items: baseline;
    gap: 12px;
    line-height: 1.45;
}

.faq-cards .faq-question::before {
    content: counter(faq, decimal-leading-zero);
    flex: none;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* Numarasız kart: SSS sayfasında gruplar zaten kısa, her grupta yeniden
   "01"den başlayan numara anlam taşımaz */
.faq-cards-plain .faq-question::before { content: none; }

/* Artı işareti yuvarlak rozete dönüşür, açıkken 45° dönüp çarpı olur */
.faq-cards .faq-sign {
    width: 32px; height: 32px;
    margin-top: 0;
    border-radius: 50%;
    background: var(--surface);
    transition: transform .2s, background-color .2s;
}

.faq-cards .faq-sign::before { top: 15px; left: 8px; width: 16px; height: 2px; }
.faq-cards .faq-sign::after  { top: 8px; left: 15px; width: 2px; height: 16px; }

.faq-cards .faq-item[open] .faq-sign { transform: rotate(45deg); background: var(--surface-warm); }

/* Düz listede artı, eksiye dönüşür; kartta çizgi kalmalı (çarpı olacak) */
.faq-cards .faq-item[open] .faq-sign::after { transform: none; }

.faq-cards .faq-answer {
    margin: 0 18px 18px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line-soft);
}

/* ---------- Kapanış çağrısı ---------- */

/* Alt bölümle aynı koyu aileden ama bir ton AÇIK. Aralarına beyaz şerit
   koymaya gerek kalmadan iki ayrı bant gibi okunur (beyaz çizgi tasarımı
   bozuyordu; ayrımı artık renk tonu yapıyor). */
.cta-section {
    position: relative;
    background: var(--brand);
    color: #fff;
}

/* Üstteki açık zeminden ve alttaki koyu bölümden ince bakır çizgiyle ayrılır */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

.cta-section::before { top: 0; }
.cta-section::after { bottom: 0; }

.cta-inner { padding-block: 44px; }

/* Genişliği .wrap belirler; okunabilirlik sınırı yalnızca metne uygulanır */
.cta-inner h2,
.cta-inner p { max-width: 660px; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }

/* Kapanış çağrısındaki sosyal hesap bağlantıları (yalnızca anasayfa) */
.cta-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 18px 0 0;
    padding: 0;
}

.cta-social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    /* Dokunma alanı: en az 44px yükseklik */
    min-height: 44px;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
    text-decoration: none;
}

.cta-social a:hover { color: var(--accent-bright); }

.cta-social .ch-icon { width: 20px; height: 20px; }

/* ---------- Blog ---------- */

.post-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.post-card {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.post-card:last-child { border-bottom: 0; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.post-card a { color: var(--ink); text-decoration: none; }
.post-card a:hover { color: var(--accent); }
.post-card p { font-size: .95rem; color: var(--muted); }

.post-thumb { display: block; margin-bottom: 14px; }
.post-thumb img { border-radius: var(--radius); width: 100%; object-fit: cover; }

.post-date { font-size: .84rem; color: var(--muted); margin-bottom: .5em; }

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
    font-size: .95rem;
}

.pager a {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
}

.pager a:hover { border-color: var(--brand); }

.page-cover { margin: 0 0 26px; }
.page-cover img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- İletişim ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }

/* İki sütun da kart: solda bilgiler (sıcak zemin), sağda form.
   Başlıklar sayfa başlığıyla yarışmasın diye küçük tutulur; altlarındaki
   kısa bakır çizgi bölüm başlıklarındaki ayracın kart ölçeğindeki hâlidir. */
.contact-grid h2 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    font-size: 1.15rem;
}

.contact-grid h2::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 38px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.contact-info {
    align-self: start;
    padding: 24px 20px;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

/* Bilgi satırları: solda ikon rozeti, sağda etiket + değer */
.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}

.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* İkon rozeti: beyaz zemin + ince sıcak çerçeve, bakır çizgi ikon */
.ci-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e6d9c9;
    color: var(--accent);
}

.ci-body { min-width: 0; font-size: .95rem; overflow-wrap: anywhere; }

.ci-label {
    display: block;
    margin-bottom: 2px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Telefon/e-posta bağlantıları: dokunma alanı 44px.
   Sayfanın en çok dokunulan yeri burası. */
.ci-body a {
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 600;
}

.ci-body a:hover { text-decoration: underline; }

/* Yol tarifi bağlantısı bilgi satırından bir tık küçük */
.ci-body .map-directions { font-size: .88rem; }

.contact-form-wrap {
    padding: 24px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(18, 33, 46, .05);
}

/* Başlığın altındaki kısa yönlendirme cümlesi */
.contact-form-lead { margin: -8px 0 20px; font-size: .92rem; color: var(--muted); }

.field { margin-bottom: 14px; }

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: .89rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.field .optional { font-weight: 400; color: var(--muted); }

.field input,
.field textarea {
    width: 100%;
    /* Dikey dolgu dokunma alanını 44px'in altına düşürmeyecek kadar */
    padding: 12px 14px;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd9e2;
    border-radius: 9px;
    transition: border-color .15s, box-shadow .15s;
}

.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 61, 92, .14);
}

.field.has-error input,
.field.has-error textarea { border-color: #d99a95; background: #fffafa; }

.field-error { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--error); }

/*
 * Bal küpü alanı: gerçek kullanıcıya GÖRÜNMEZ.
 * display:none yerine ekran dışına alınır — bazı botlar display:none
 * alanları atlar, ekran dışındakini ise doldurur.
 */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-consent { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }

.notice {
    padding: 14px 16px;
    border-radius: 9px;
    font-size: .95rem;
    margin-bottom: 20px;
}

.notice-success { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe3cd; }
.notice-error { background: var(--error-bg); color: var(--error); border: 1px solid #f0c6c3; }

.map-section { padding-top: 0; }

/* Harita çerçevesi: başlık şeritli kart, harita paspartu içinde durur */
.map-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 34px -22px rgba(15, 61, 92, .45);
}

.map-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
}

.map-card-title { min-width: 0; }
.map-card-title h2 { margin: 0; font-size: 1.05rem; }
.map-card-title p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }

/* Dar ekranda düğme kendi satırına iner ve tam genişlik olur */
.map-card-btn { width: 100%; font-size: .93rem; }

/* Paspartu: harita kart kenarından ince bir beyaz çerçeveyle ayrılır */
.map-embed {
    margin: 12px;
    line-height: 0;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) - 8px);
    overflow: hidden;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- İçerik tipografisi (editörden gelen HTML) ---------- */

.rich { color: var(--ink-soft); }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }

.rich h2 { margin-top: 1.7em; font-size: 1.35rem; }
.rich h3 { margin-top: 1.5em; font-size: 1.12rem; }
.rich p { margin-bottom: 1.15em; }
.rich ul, .rich ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.rich li { margin-bottom: .4em; }
.rich img { border-radius: var(--radius); margin: 1.4em 0; }
.rich a { color: var(--brand); }
.rich strong { color: var(--ink); }

.rich blockquote {
    margin: 1.5em 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--accent);
    color: var(--ink-soft);
    font-style: italic;
}

/* ---------- Alt bölüm ---------- */

.site-footer {
    margin-top: 8px;
    background: var(--brand-deep);
    color: rgba(255, 255, 255, .8);
    font-size: .94rem;
}

/* Kapanış çağrısından hemen sonra geliyorsa aradaki beyaz şerit kalkar:
   iki koyu bant birbirine yapışır, ayrımı ton farkı verir */
.cta-section + .site-footer { margin-top: 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 40px 30px;
}

.site-footer h2 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }

.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); text-decoration: underline; }

.footer-about .logo-mark { background: rgba(255, 255, 255, .12); margin-bottom: 14px; }
.footer-name { font-weight: 700; color: #fff; margin-bottom: .4em; }
.footer-text { color: rgba(255, 255, 255, .7); font-size: .92rem; }

.footer-contact address { font-style: normal; display: flex; flex-direction: column; gap: 7px; }
.footer-address { color: rgba(255, 255, 255, .7); }

/* Telefon ve e-posta parmakla dokunulacak: satır yüksekliği kadar bir bağlantı
   (26px) telefonda ıskalanır. Hedef kitle çoğunlukla mobilden gelip aramak
   için dokunuyor, bu yüzden dokunma alanı 44px'e çıkarılır — yazı boyutu ve
   rengi değişmez, yalnızca tıklanabilir kutu büyür. */
.footer-contact address a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-hours { margin-top: 14px; font-size: .9rem; }
.footer-hours span { display: block; color: rgba(255, 255, 255, .55); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }

.footer-social { display: flex; gap: 16px; margin-top: 16px !important; }
.footer-social li { margin-bottom: 0; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .86rem;
    color: rgba(255, 255, 255, .6);
}

.footer-bottom p { margin: 0; }

.footer-langs { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-langs li { margin: 0; }
.footer-langs a.is-current { color: var(--accent-bright); font-weight: 600; }


/* ===========================================================================
   Yüzen iletişim widget'ı (eklenti tarzı)
   ---------------------------------------------------------------------------
   Kapalıyken tek yuvarlak düğme; açılınca kanallar dikey olarak yükselir.
   Tamamı <details>/<summary> ile çalışır — JavaScript YOK.
   =========================================================================== */

.social-fab {
    position: fixed;
    bottom: 18px;
    /* Çerez şeridinden (z-index 95) YÜKSEK: geniş ekranda şerit açıkken
       düğme köşede kalır ve şeridin boş kenar payının üzerine oturur */
    z-index: 96;
    /* Kapalıyken yalnızca düğme kadar yer kaplar; liste mutlak konumlu */
    width: 58px;
}

.social-fab-right { right: 18px; }
.social-fab-left { left: 18px; }

/* ---------- Sayfanın başına dön ----------
   Sağ alt köşede; iletişim widget'ı varsayılan olarak SOLDA durur,
   böylece ikisi çakışmaz. */

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    /* Çerez şeridinden yüksek — gerekçe .social-fab'daki notta */
    z-index: 96;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--brand);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(15, 34, 51, .16);
    backdrop-filter: saturate(180%) blur(6px);
    transition: color .18s, border-color .18s, box-shadow .18s;
}

/* Not: burada transform kullanılmaz — aşağıdaki kaydırma animasyonu
   transform'u sürüyor, hover'da verilseydi animasyon onu ezerdi. */
.to-top:hover {
    color: var(--accent);
    border-color: var(--accent-bright);
    box-shadow: 0 10px 24px rgba(15, 34, 51, .22);
}

.to-top .ui-icon { width: 22px; height: 22px; }

/* Widget sağ alt köşeye alınırsa (Ayarlar > İletişim widget'ı) ok,
   widget düğmesinin (58px) üzerine kalkar — ikisi üst üste binmez. */
.to-top-raised { bottom: 84px; }

@media (min-width: 900px) {
    /* Widget bu genişlikte 24px'e iner (aşağıdaki .social-fab kuralı) */
    .to-top-raised { bottom: 90px; }
}

/* JS varsa ok "kaydırınca belir" kipine alınır (site.js .to-top-auto
   sınıfını ekler). JS yoksa sınıf hiç eklenmez ve ok hep görünür —
   aşağıdaki nottaki "bazen kaybolan düğme" tuzağına düşülmez. */
.to-top-auto {
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, color .18s, border-color .18s, box-shadow .18s;
}

.to-top-auto.is-visible {
    opacity: 1;
    visibility: visible;
}

/* NOT: "kaydırınca belirsin" davranışı BİLEREK yapılmadı. JavaScript'siz
   tek yolu CSS kaydırma zaman çizelgesidir (animation-timeline: scroll());
   desteklemeyen ya da farklı davranan bir tarayıcıda düğme hiç
   görünmeyebilirdi. Her zaman görünen sakin bir düğme, bazen kaybolan
   bir düğmeden iyidir. */

/* --- Açma/kapama düğmesi --- */

.social-fab > summary {
    display: block;
    width: 58px; height: 58px;
    list-style: none;
    cursor: pointer;
    border-radius: 50%;
    /* Odak halkası yuvarlağı takip etsin */
    -webkit-tap-highlight-color: transparent;
}

.social-fab > summary::-webkit-details-marker { display: none; }
.social-fab > summary::marker { content: ''; }

.fab-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(15, 61, 92, .34);
    transition: background-color .18s, transform .18s;
}

.social-fab > summary:hover .fab-toggle { transform: scale(1.05); }
.social-fab[open] > summary .fab-toggle { background: var(--brand-deep); }

.fab-toggle .ch-icon { width: 26px; height: 26px; }

/* Sohbet / çarpı ikonları: hangisinin görüneceğine [open] karar verir */
.fab-icon { display: flex; }
.fab-icon-close { display: none; }
.social-fab[open] .fab-icon-open { display: none; }
.social-fab[open] .fab-icon-close { display: flex; }

/* Dikkat çeken yumuşak halka — kapalıyken atar */
.fab-toggle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: .18;
    animation: fab-pulse 2.4s ease-out infinite;
}

.social-fab[open] .fab-toggle::before { display: none; }

@keyframes fab-pulse {
    0%   { transform: scale(1);   opacity: .22; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Hareket azaltma tercihi varsa nabız atmaz */
@media (prefers-reduced-motion: reduce) {
    .fab-toggle::before { animation: none; }
}

/* --- Kanal listesi --- */

.fab-list {
    position: absolute;
    bottom: 70px;
    /* Düğmeyle aynı hizada; sola/sağa göre ayarlanır */
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.social-fab-right .fab-list { right: 0; align-items: flex-end; }
.social-fab-left .fab-list { left: 0; align-items: flex-start; }

.fab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(18, 33, 46, .24);
    transition: transform .15s, box-shadow .15s;
}

.fab-item:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(18, 33, 46, .32);
}

.fab-item .ch-icon { width: 24px; height: 24px; }

/*
 * Etiket görsel olarak gizlenir ama DOM'da kalır: ekran okuyucu
 * "WhatsApp" der, gören kullanıcı ikonu görür. Geniş ekranda
 * üzerine gelince yanda ipucu olarak belirir.
 */
.fab-label {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Kanal renkleri (marka renkleri) --- */

.fab-whatsapp,  .social-chip-whatsapp  { background: #1da851;  /* markadan biraz koyu: beyaz ikonla 3:1 kontrast */ }
.fab-phone,     .social-chip-phone     { background: #0f3d5c; }
.fab-email,     .social-chip-email     { background: #ef4b57; }
.fab-facebook,  .social-chip-facebook  { background: #1877f2; }
.fab-linkedin,  .social-chip-linkedin  { background: #0a66c2; }
.fab-telegram,  .social-chip-telegram  { background: #229ed9; }
.fab-youtube,   .social-chip-youtube   { background: #ff0000; }
.fab-x,         .social-chip-x         { background: #111111; }
.fab-maps,      .social-chip-maps      { background: #34a853; }

/* Instagram markası tek renk değil, degrade kullanır */
.fab-instagram, .social-chip-instagram {
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* --- Geniş ekran: üzerine gelince etiket ipucu --- */

@media (min-width: 900px) {
    .social-fab { bottom: 24px; }
    .social-fab-right { right: 24px; }
    .social-fab-left { left: 24px; }

    .fab-item { position: relative; }

    .fab-label {
        position: absolute;
        width: auto; height: auto;
        padding: 6px 11px;
        margin: 0;
        overflow: visible;
        clip: auto;
        top: 50%;
        transform: translateY(-50%);
        background: var(--brand-deep);
        color: #fff;
        font-size: .8rem;
        font-weight: 600;
        border-radius: 7px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s;
    }

    .social-fab-right .fab-label { right: 62px; }
    .social-fab-left .fab-label { left: 62px; }

    .fab-item:hover .fab-label,
    .fab-item:focus-visible .fab-label { opacity: 1; }
}

/* --- Panelde kullanılan küçük renk örneği --- */

.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #fff;
    flex: none;
}

.social-chip .ch-icon { width: 17px; height: 17px; }


/* ---------- Görsel hero (fotoğraflı üst bölüm) ---------- */

.hero-image { position: relative; overflow: hidden; }

/*
 * Fotoğraf <img> olarak basılır (background-image DEĞİL): tarayıcı onu
 * erkenden keşfeder ve LCP hızlanır. Üstüne koyu bir katman konarak
 * beyaz metnin kontrastı garanti altına alınır.
 */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Metnin bulunduğu sol/alt taraf daha koyu */
    background: linear-gradient(165deg, rgba(15,34,51,.94) 0%, rgba(15,61,92,.88) 55%, rgba(15,61,92,.78) 100%);
}

.hero-image .hero-inner { position: relative; z-index: 2; }

.hero-points {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-points li {
    position: relative;
    padding-left: 28px;
    color: rgba(255, 255, 255, .92);
    font-size: .98rem;
}

.hero-points li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0;
    color: var(--accent-bright);
    font-weight: 700;
}

/* ---------- Hakkımızda bölümü ---------- */

.about-section { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }

.about-figure { margin: 0; }

.about-figure img {
    width: 100%;
    border-radius: var(--radius-lg);
    /* Dikey fotoğraf mobilde çok yer kaplamasın */
    max-height: 380px;
    object-fit: cover;
    object-position: center 30%;
}

/* Gövde 17px'tir; bu bölümün metni uzun olduğu için bir tık küçük
   basılır — hero'daki büyük başlıkla arasındaki hiyerarşi belirginleşir */
.about-body .rich { margin-bottom: 24px; font-size: .94rem; }

.about-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-big {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
}
.stat-big strong { font-size: 2.6rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat-big span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.stat-list {
    display: grid;
    /* Her bilgi kendi kutusunda: sığdıkça yan yana, daralınca alt alta */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    flex: 1;
    min-width: 190px;
}

.stat-list > div {
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
}
/* .8rem = 12.8px: 12px'in altındaki büyük harfli etiketler telefonda
   okunmuyordu. Aynı işi gören footer etiketleri de .8rem. */
.stat-list dt { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.stat-list dd { margin: 2px 0 0; font-size: .95rem; font-weight: 600; }

.about-more { margin: 0; }

/* ---------- Telefon çağrı bandı ---------- */

.call-band { background: var(--accent); color: #fff; }

.call-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-block: 26px;
    text-align: center;
}

.call-text { margin: 0; font-size: 1.02rem; color: rgba(255, 255, 255, .95); }

.call-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Bandın ana eylemi: dokunma alanı 44px'in altına düşmesin */
    min-height: 44px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.call-number:hover { color: #fff; text-decoration: underline; }

/* Telefon ikonu rakamlarla aynı hizada dursun, altı çizilmesin */
.call-number .ui-icon { flex: none; opacity: .9; }

/* ---------- Ortalanmış bölüm başlığı ---------- */

.section-head-center { text-align: center; max-width: 640px; margin-inline: auto; }
.section-head-center .eyebrow { color: var(--accent); }

/* ---------- Anasayfa hizmet bölümü ---------- */

/* Hafif zemin: fotoğraflı beyaz kartlar zeminden ayrılsın */
.services-section { background: var(--surface); padding-block: 44px; }

/* Bölüm sonundaki tek eylem (Tüm hizmetlerimiz) */
.section-actions { margin: 30px 0 0; text-align: center; }

/* ---------- Logo görseli ---------- */

.logo.logo-image { gap: 0; }
.logo-image img { width: auto; height: 54px; }
.footer-logo { width: auto; height: 93px; margin-bottom: 14px; }

/* ---------- Hata sayfası ---------- */



.error-page { padding-block: 60px; text-align: center; }
/* Dekoratif ama yine de METİN: okunabilir olmalı (büyük metin eşiği 3:1) */
.error-page .eyebrow { font-size: 2.4rem; color: #8b93a1; letter-spacing: 0; }

/* ===========================================================================
   Geniş ekran
   =========================================================================== */

@media (min-width: 700px) {
    body { font-size: 17.5px; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }

    .section { padding-block: 62px; }
    .hero-inner { padding-block: 76px 66px; }
    .hero h1 { font-size: 2.7rem; }

    .page-hero-inner { padding-block: 18px 56px; }
    .page-hero h1 { font-size: 2.3rem; }
    .page-layout { padding-block: 52px 62px; }

    /* Henüz tek sütun: iki kart yan yana sığar */
    .page-aside { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); }

    /* Metin solda, düğme sağda: bant boydan boya dolar, sağ yarısı boş kalmaz */
    .cta-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 48px;
        padding-block: 52px;
    }

    .cta-inner h2 { grid-column: 1; }
    .cta-inner p { grid-column: 1; margin-bottom: 0; }
    .cta-inner .btn { grid-column: 2; grid-row: 1 / span 2; }

    .call-inner { flex-direction: row; justify-content: center; gap: 22px; text-align: left; }
    .call-number { font-size: 1.7rem; }

    .hero-points { flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
    .hero-points li { flex: 1 1 260px; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }

    .contact-form-wrap { padding: 32px 30px; }
    .contact-info { padding: 30px 26px; }

    /* Harita başlık şeridi tek satır: düğme sağa yaslanır */
    .map-card-head { flex-wrap: nowrap; padding: 16px 22px; }
    .map-card-btn { width: auto; margin-left: auto; flex: none; }

    .map-embed { margin: 14px; }
    .map-embed iframe { height: 420px; }
}

@media (min-width: 900px) {

    /* Menü artık açılır olmaktan çıkar: yatay çubuk */
    .nav-toggle > summary { display: none; }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 26px;
        margin: 0;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .site-nav > ul { display: flex; align-items: center; gap: 22px; }
    .site-nav > ul > li { border-bottom: 0; }

    .site-nav a { padding: 6px 0; font-size: .95rem; }

    /* Dil seçici menü çubuğunun sağında; listesi altına açılır */
    .lang-menu {
        position: relative;
        margin-top: 0;
        padding-top: 0;
        padding-left: 22px;
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .lang-menu > summary { padding: 7px 11px; min-height: 0; }

    .site-nav .lang-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 70;
        min-width: 178px;
        box-shadow: 0 18px 30px rgba(18, 33, 46, .12);
    }

    .service-grid { grid-template-columns: repeat(4, 1fr); }
    .post-grid { grid-template-columns: repeat(3, 1fr); }
    .services-section { padding-block: 76px; }

    /* Fotoğraf solda, metin sağda */
    .about-section { grid-template-columns: 420px 1fr; gap: 52px; }
    .about-figure img { max-height: none; aspect-ratio: 3 / 4; }
    .logo-image img { height: 62px; }

    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }

    .contact-grid { grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }

    /* Bilgi kartı form uzun olduğu için kaydıkça yerinde kalır —
       telefon/adres form doldurulurken de göz önünde durur */
    .contact-info { position: sticky; top: var(--sticky-top); }

    /* SSS: konu başlıkları solda sabit kalır, sorular sağda kayar */
    .faq-page { grid-template-columns: minmax(240px, 300px) 1fr; gap: 48px; align-items: start; }

    /* Geniş ekranda sarmalayıcı geri gelir: iki blok sol sütunda birlikte
       durur ve sayfa kaydıkça yerinde kalır */
    .faq-side {
        display: flex;
        flex-direction: column;
        gap: 18px;
        min-width: 0;
        position: sticky;
        top: var(--sticky-top);
    }

    /* Kurucu: fotoğraf solda, özgeçmiş sağda */
    .founder { grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
    .founder-figure { max-width: none; }

    /* SSS: açıklama solda sabit kalır, sorular sağda kayar */
    .faq-feature { grid-template-columns: minmax(250px, 330px) 1fr; gap: 56px; align-items: start; }

    .faq-intro { position: sticky; top: var(--sticky-top); }

    .faq-cards .faq-item > summary { padding: 20px 20px 20px 22px; }
    .faq-cards .faq-answer { margin-inline: 22px; }

    .section { padding-block: 76px; }
}

/* İç sayfa iki sütuna ancak metin sütunu dar kalmayacak kadar yer varken geçer */
@media (min-width: 1000px) {
    .page-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 56px;
        align-items: start;
        padding-block: 60px 76px;
    }

    /* Satır uzunluğu okunabilir sınırda tutulur */
    .page-main .rich { max-width: 70ch; }

    .page-aside { grid-template-columns: 1fr; gap: 20px; }

    .page-hero-inner { padding-block: 20px 64px; }
    .page-hero h1 { font-size: 2.5rem; }
}

/* Geniş ekranda menü her zaman görünür olmalı: kullanıcı mobilde menüyü
   kapatıp pencereyi büyüttüğünde <details> hâlâ kapalıdır ve menü kaybolur.

   Yalnızca "display" yetmez — tarayıcılar kapalı <details> içeriğini
   content-visibility: hidden ile gizler ve bu, display kuralını ezer.
   İkisi birden geri alınır. */
@media (min-width: 900px) {
    /* Eski tarayıcılar: kapalı <details> çocuğuna display:none uygular */
    .nav-toggle:not([open]) > .site-nav {
        display: flex;
        content-visibility: visible;
    }

    /* Yeni tarayıcılar (Chrome 131+): içerik ::details-content sözde
       öğesine sarılır ve GİZLENEN o sarmalayıcıdır. Çocuğa verilen kural
       oraya değmez, bu yüzden sarmalayıcı ayrıca açılır.
       Desteklemeyen tarayıcı bu bloğu yok sayar — üstteki kural yeterlidir. */
    .nav-toggle::details-content {
        content-visibility: visible;
        block-size: auto;
    }
}

/* ---------- Yazdırma ---------- */

@media print {
    .site-header, .site-footer, .social-fab, .to-top, .breadcrumb, .cta-section, .page-aside { display: none; }
    .page-hero { background: none; color: #000; }
    .page-hero-bg, .page-hero-image::after { display: none; }
    .page-hero h1 { color: #000; }
    .page-hero .lead { color: #000; }
    body { padding: 0; font-size: 12pt; }
    .wrap { max-width: none; }
    a { text-decoration: underline; }
    .faq-item > summary { font-weight: 700; }
    /* Yazdırmada tüm cevaplar açık olsun */
    .faq-answer { display: block !important; }
}

/* ---------- Anasayfa vurgu kutuları ---------- */

.highlight-section { padding-block: 40px; }
.highlight-grid { align-items: stretch; }
.highlight-card { height: 100%; }

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.highlight-card {
    position: relative;
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .18s, box-shadow .18s;
}

.highlight-card:hover {
    border-color: #d3ddE6;
    box-shadow: 0 12px 32px rgba(18, 33, 46, .07);
}

/* Numarasız, ince çerçeveli daire — ikon burada durur */
.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    margin-bottom: 18px;
    border-radius: 50%;
    border: 1px solid #e6d9c9;
    background: var(--surface-warm);
    color: var(--accent);
}

.highlight-card h2 { font-size: 1.12rem; margin-bottom: .5em; letter-spacing: -.01em; }
.highlight-card p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.65; }

@media (min-width: 900px) {
    .highlight-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .highlight-section { padding-block: 56px; }
}


/* ---------- Genel ikon ---------- */

.ui-icon { display: block; flex: none; }

/* ---------- Bölüm başlığı: ince ayraç ---------- */

.section-head-center h2 { position: relative; padding-bottom: 18px; }

.section-head-center h2::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 46px; height: 2px;
    transform: translateX(-50%);
    background: var(--accent);
    border-radius: 2px;
}

/* ---------- Fotoğraflı hizmet kartı: daha yumuşak ---------- */

.service-card-media { border-radius: var(--radius-lg); }
.service-card-media .service-card-title { line-height: 1.35; }


/* ===========================================================================
   Çerez izni şeridi
   ---------------------------------------------------------------------------
   Sayfanın altında duran beyaz bant: solda metin, sağda iki hap düğme.
   Dar ekranda alt alta yığılır, düğmeler tam genişlik olur.

   AÇILIP KAPANMA — JavaScript YOK:
     .is-open   sunucu henüz karar verilmediğini görüp ekler
     :target    footer'daki "Çerez tercihleri" bağlantısı (#cookie-consent)
                kararını değiştirmek isteyeni şeride geri getirir
   Yönetim paneli gizli bir onay kutusuyla (#cookie-manage) açılır.
   JavaScript yalnızca kararı çereze yazar.
   =========================================================================== */

.cookie-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 34px rgba(15, 34, 51, .14);
    /* İçerik uzunsa (yönetim paneli açıkken) şerit kendi içinde kayar */
    max-height: 88vh;
    overflow-y: auto;
}

.cookie-bar.is-open,
.cookie-bar:target { display: block; }

/* Şerit açıkken yüzen düğmeler NE gizlenir NE her ekranda kalkar:
   - Geniş ekranda (içerik 1120px ortalı, iki yan boş) düğmeler alt
     köşede KALIR; z-index'leri şeridinkinden yüksek olduğundan o boş
     kenar payının üzerine otururlar.
   - İçeriğin kenara yaklaştığı dar ekranda şeridin yazı ve düğmelerini
     örtmemek için şeridin HEMEN üstüne kalkarlar. --cookie-bar-h
     şeridin gerçek yüksekliğidir, site.js ölçer; JS yoksa yaklaşık
     değere düşülür.
   Karar verilince şerit kapanır, hepsi köşeye iner. */
@media (max-width: 1289px) {
    body:has(.cookie-bar.is-open) .to-top,
    body:has(.cookie-bar:target) .to-top,
    body:has(.cookie-bar.is-open) .social-fab,
    body:has(.cookie-bar:target) .social-fab {
        bottom: calc(var(--cookie-bar-h, 108px) + 14px);
    }

    /* Ok widget'ın üzerinde duruyorsa şerit açıkken de üstünde kalır */
    body:has(.cookie-bar.is-open) .to-top-raised,
    body:has(.cookie-bar:target) .to-top-raised {
        bottom: calc(var(--cookie-bar-h, 108px) + 14px + 66px);
    }
}

/* Çerez yönetim paneli açıkken şerit ekranın çoğunu kaplayabilir
   (max-height: 88vh) — o sırada yüzen düğmeler gizlenir. */
body:has(#cookie-manage:checked) .to-top,
body:has(#cookie-manage:checked) .social-fab { display: none; }

.cookie-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 18px;
}

.cookie-text {
    margin: 0;
    font-size: .93rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.cookie-text a { font-weight: 600; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Hap düğmeler --- */

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 46px;
    padding: 11px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}

.cookie-btn-accept { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-btn-accept:hover { background: #854f1f; border-color: #854f1f; }

.cookie-btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.cookie-btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* --- Yönetim panelini açan gizli anahtar --- */

.cookie-manage-toggle {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Klavye kullanıcısı hangi düğmede olduğunu görmeli: odak halkası,
   anahtarın kendisi gizli olduğu için etiketine taşınır */
.cookie-manage-toggle:focus-visible ~ .cookie-bar-inner .cookie-btn-ghost {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.cookie-panel {
    display: none;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.cookie-manage-toggle:checked ~ .cookie-panel { display: block; }

.cookie-panel-inner { padding-block: 20px; }

.cookie-cats {
    display: grid;
    gap: 18px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.cookie-cat { margin: 0; }

.cookie-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.cookie-cat-name { font-weight: 600; font-size: .95rem; color: var(--ink); }

.cookie-cat-fixed {
    font-size: .8rem;
    color: var(--muted);
    padding: 3px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
}

.cookie-cat-text { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }

/* --- Açma/kapama anahtarı --- */

.cookie-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.cookie-switch input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
}

.cookie-switch-track {
    position: relative;
    flex: none;
    width: 42px; height: 24px;
    border-radius: 999px;
    background: #c3cfda;
    transition: background .18s;
}

.cookie-switch-track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 34, 51, .3);
    transition: transform .18s;
}

.cookie-switch input:checked + .cookie-switch-track { background: var(--accent); }
.cookie-switch input:checked + .cookie-switch-track::after { transform: translateX(18px); }

.cookie-switch input:focus-visible + .cookie-switch-track {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.cookie-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Footer'daki "Çerez tercihleri" bağlantısı --- */

.footer-cookies { margin: 0; }
.footer-cookies a { color: inherit; }
.footer-cookies a:hover { color: var(--accent-bright); }

/* --- Footer'daki yapımcı satırı --- */

.footer-credit { margin: 0; }
.footer-credit a {
    color: inherit;
    font-weight: 600;
    /* Dokunma alanı 44px: satır yüksekliği kadar bir bağlantı telefonda
       ıskalanır (footer-contact address a ile aynı gerekçe). */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--accent-bright); }

/* --- İzin verilmediği için basılmayan harita --- */

.map-blocked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.map-blocked p { margin: 0; color: var(--muted); font-size: .93rem; }

@media (min-width: 700px) {
    .cookie-btn { flex: 0 0 auto; }
    .cookie-cats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 900px) {
    .cookie-bar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 36px;
        padding-block: 20px;
    }

    .cookie-text { max-width: 78ch; }
    .cookie-actions { flex: none; }
    .map-blocked { flex-direction: row; align-items: center; justify-content: space-between; }
}
