/* ─── Apple-style Design System ─────────────────────────────────────── */

:root {
    --bg: #fbfbfd;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --accent: #0071e3;
    --border: rgba(0, 0, 0, .08);
    --radius: 18px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

    --bs-primary: var(--accent);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    --bs-border-radius: var(--radius);
    --bs-card-border-color: var(--border);
    --bs-card-bg: var(--surface);
}

[data-theme="dark"] {
    --bg: #000;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: rgba(255, 255, 255, .1);
    --shadow: 0 1px 3px rgba(0, 0, 0, .5);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
}

/* ─── Base ───────────────────────────────────────────────────────────── */

/* Bootstrap'in xxl kırılımındaki 1320px sınırını genişletir (site.css bootstrap'ten
   sonra yüklendiği için ek özgüllük gerekmez). */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl { max-width: 1440px; }

/* Bootstrap oluk tuzağı: .row negatif kenar boşluğunu KENDİ oluğundan alır (g-5 → -1.5rem),
   .container dolgusu ise kendi oluğundan (.75rem). Bu yüzden g-5'li satırlar kapsayıcıdan
   her iki yandan 12px taşar → tüm ekranlarda yatay kaydırma. Kapsayıcının oluğunu satırınkiyle
   eşitleyip taşmayı kapatıyoruz; sütunlar arası boşluk aynı kalır. */
.container:has(> .row.g-5),
.container:has(> .row.gx-5),
.container-fluid:has(> .row.g-5) { --bs-gutter-x: 3rem; }
@media (min-width: 992px) {
    .container:has(> .row.g-lg-5),
    .container:has(> .row.gx-lg-5) { --bs-gutter-x: 3rem; }
}

/* Emniyet ağı: ileride bir bileşen taşarsa sayfa yatay kaymasın. `clip` seçilir (`hidden` değil)
   çünkü kaydırma bağlamı oluşturmaz → içerideki position:sticky öğeler (yan menü, Sayılarla
   sol görseli) çalışmaya devam eder. */
html, body { overflow-x: clip; }

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', var(--bs-font-sans-serif);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .3s cubic-bezier(.4, 0, .2, 1), color .3s cubic-bezier(.4, 0, .2, 1);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

a:hover { color: var(--accent); opacity: .8; }

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

/* ─── Glass effect ───────────────────────────────────────────────────── */

.glass {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
}

[data-theme="dark"] .glass {
    background: rgba(0, 0, 0, .6);
}

/* ─── Bootstrap overrides ────────────────────────────────────────────── */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .6), 0 16px 40px rgba(0, 0, 0, .7);
}

.card-body { padding: 1.75rem; }

.btn {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: -.01em;
    padding: .55rem 1.4rem;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1), background .2s, border-color .2s;
}

.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: .88;
    box-shadow: 0 4px 16px rgba(0, 113, 227, .35);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(41, 151, 255, .4);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.02);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 999px;
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--muted);
    color: var(--text);
    transform: scale(1.02);
}

/* ─── Form controls ──────────────────────────────────────────────────── */

.form-control,
.form-select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
}

.form-control:focus,
.form-select:focus {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, .15);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 3px rgba(41, 151, 255, .2);
}

.form-control::placeholder { color: var(--muted); }

/* Dokunmatik: 16px altı yazı tipi iOS Safari'de odakta sayfayı yakınlaştırır; yükseklik de
   44px dokunma hedefine çıkarılır. (Bootstrap varsayılanı 1rem ama .form-control-sm ve
   tema küçültmeleri 16px'in altına inebiliyor.) */
@media (max-width: 991.98px) {
    .form-control, .form-select, .form-control-sm, .form-select-sm {
        font-size: 1rem;
        min-height: 46px;
        padding: .6rem .85rem;
    }
    textarea.form-control { min-height: 120px; }
    .btn { padding: .7rem 1.5rem; }
    .btn-sm { padding: .5rem 1.1rem; }

    /* Telefon / e-posta bağlantıları dokunmatikte birincil aksiyon; iç sayfalarda alt alta
       dizilmiş 24px'lik satırlardı (yanlış numarayı arama riski). */
    main a[href^="tel:"],
    main a[href^="mailto:"] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

/* ─── Navbar ─────────────────────────────────────────────────────────── */

.navbar {
    background: rgba(255, 255, 255, .8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, .75) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text) !important;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 400;
    opacity: .85;
    transition: opacity .2s;
    border-radius: 8px;
    padding: .4rem .75rem !important;
}

.nav-link:hover { opacity: 1; background: var(--border); }
.nav-link.active { opacity: 1; font-weight: 600; }

/* ─── Dropdown ───────────────────────────────────────────────────────── */

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: .45rem .85rem;
    font-size: .9375rem;
    transition: background .15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--bg);
    color: var(--text);
}

/* ─── Section / Container helpers ───────────────────────────────────── */

section {
    padding: 5rem 0;
}

.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── Typography ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 2.5vw, 2rem); }
h4 { font-size: 1.375rem; }

p { line-height: 1.75; }

.text-muted { color: var(--muted) !important; }

/* ─── Hero ───────────────────────────────────────────────────────────── */

.hero {
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 113, 227, .12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(41, 151, 255, .15) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 640px;
    margin: 1.25rem auto 2.5rem;
    line-height: 1.6;
}

/* ─── Product card ───────────────────────────────────────────────────── */

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .12) !important;
    transform: translateY(-4px);
}

.product-card img {
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover img { transform: scale(1.04); }

/* ─── Category card ──────────────────────────────────────────────────── */

.category-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s cubic-bezier(.4, 0, .2, 1);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14) !important;
}

/* ─── Badge ──────────────────────────────────────────────────────────── */

.badge {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .35em .75em;
}

.badge-accent {
    background: rgba(0, 113, 227, .1);
    color: var(--accent);
}

[data-theme="dark"] .badge-accent {
    background: rgba(41, 151, 255, .15);
}

/* ─── Blog ───────────────────────────────────────────────────────────── */

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.blog-content p { line-height: 1.85; }

.blog-content img { border-radius: 14px; margin: 1.5rem 0; }

.blog-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Prose ──────────────────────────────────────────────────────────── */

.prose img { border-radius: 14px; }

/* Okuma ölçüsü: 1024px tablet yatayda paragraflar ~95 karaktere ulaşıyordu (ideal 60–75).
   Blok elemanların kendisi tam genişlikte kalır, yalnız metin satırı sınırlanır. */
.prose p, .prose li, .blog-content p, .blog-content li { max-width: 72ch; }
.prose h2, .prose h3, .blog-content h2, .blog-content h3 { max-width: 42ch; }

/* Dar ekranda uzun URL / tablo içerikleri sayfayı yatay kaydırmasın */
.prose, .blog-content { overflow-wrap: anywhere; }
.prose table, .blog-content table { display: block; max-width: 100%; overflow-x: auto; }
.prose iframe, .blog-content iframe { max-width: 100%; }

@media (max-width: 767.98px) {
    .prose p, .blog-content p { font-size: 1rem; line-height: 1.75; }
    .prose h2, .blog-content h2 { font-size: 1.4rem; margin-top: 1.75rem; }
    .prose h3, .blog-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }
    .prose ul, .prose ol, .blog-content ul, .blog-content ol { padding-left: 1.25rem; }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem;
    color: var(--muted);
    font-size: .9375rem;
}

footer a { color: var(--muted); transition: color .2s; }
footer a:hover { color: var(--text); }

/* ─── Divider ────────────────────────────────────────────────────────── */

hr {
    border: none;
    border-top: 1px solid var(--border);
    opacity: 1;
}

/* ─── Scrollbar (webkit) ─────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ─── Utilities ──────────────────────────────────────────────────────── */

.surface { background: var(--surface); }
.bg-surface { background: var(--surface) !important; }
.text-accent { color: var(--accent) !important; }
.border-subtle { border-color: var(--border) !important; }
.radius { border-radius: var(--radius) !important; }
.radius-sm { border-radius: 10px !important; }
.radius-xs { border-radius: 6px !important; }
.shadow-card { box-shadow: var(--shadow) !important; }

/* ─── Alert ──────────────────────────────────────────────────────────── */

.alert {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

/* ─── Table ──────────────────────────────────────────────────────────── */

.table {
    color: var(--text);
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: var(--border);
    color: var(--text);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, .02);
    color: var(--text);
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, .03);
}

/* ─── Modal ──────────────────────────────────────────────────────────── */

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    border-top-color: var(--border);
}

/* ─── Pagination ─────────────────────────────────────────────────────── */

.page-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    border-radius: 8px !important;
    margin: 0 2px;
    transition: background .2s, color .2s;
}

.page-link:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
}

/* ─── Responsive grid helpers ────────────────────────────────────────── */

@media (max-width: 575.98px) {
    section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
    .card-body { padding: 1.25rem; }
    h1 { letter-spacing: -.03em; }
}

@media (max-width: 767.98px) {
    .section-lg { padding: 5rem 0; }
    .navbar .btn { display: none; }
}

@media (min-width: 992px) {
    .hero { padding: 9rem 0 7rem; }
}

/* ─── Smooth page transition ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1);
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ─── Floating Header ────────────────────────────────────────────────── */

:root { --header-h: 64px; --ann-h: 0px; }
/* Desktop: üst bar (40px) + ana satır (90px logo + 2×12px padding = 114px) = 154px */
@media (min-width: 992px) { :root { --header-h: 154px; } }

/* --ann-h: header üstü duyuru çubuğu yüksekliği. Çubuk yoksa 0 (DuyuruCubugu bileşeni aktifken
   :root'u 44px'e çeker; kapatılınca JS 0'a döndürür). Header ve body bu değişkenle kayar. */
body { padding-top: calc(var(--header-h) + var(--ann-h)); }

/* İki katmanlı tam genişlik header: başta şeffaf (hero'nun üstüne biner),
   kaydırınca buzlu-cam zemin + alt çizgi belirir. */
.site-header-float {
    position: fixed;
    top: var(--ann-h);
    left: 0;
    right: 0;
    z-index: 1040;
    border-bottom: 1px solid transparent;
    transition: background .35s cubic-bezier(.4,0,.2,1), border-color .35s,
                backdrop-filter .35s;
}

.site-header-float.scrolled,
.site-header-float.menu-open {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom-color: var(--border);
}
[data-theme="dark"] .site-header-float.scrolled,
[data-theme="dark"] .site-header-float.menu-open { background: rgba(0,0,0,.75); }

/* Mobil menü açıkken panel neredeyse tam ekranı kaplıyor; %82 saydam + saturate(160%) zeminde
   arkadaki görselin rengi menü satırlarının arasından sızıyordu. Açık panelde zemin düz. */
@media (max-width: 991.98px) {
    .site-header-float.menu-open {
        background: var(--surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Menü açıkken: arka plan kaymasın, yüzen butonlar (WhatsApp / AI sohbet / Hesap) menünün
   üstüne binmesin. #aiChatRoot z-index'i 2.1 milyar olduğu için sınıfla gizlemek şart. */
body.nav-open { overflow: hidden; }
@media (max-width: 991.98px) {
    body.nav-open .wa-fab,
    body.nav-open .acc-fab,
    body.nav-open #aiChatRoot {
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility .2s;
    }
}

/* Olabildiğince geniş: max-width sınırı yok, kenar boşluğunu padding verir */
.site-header-inner {
    max-width: none;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 992px) { .site-header-inner { padding: 0 3rem; } }

/* ── Üst bar: iletişim (sol) + üst menü (sağ) — yalnız desktop; kaydırınca kapanır ── */
.site-topbar {
    border-bottom: 1px solid rgba(255,255,255,.25);
    overflow: hidden;
    max-height: 40px;
    transition: max-height .3s cubic-bezier(.4,0,.2,1), opacity .25s, border-color .3s;
}
.site-header-float.scrolled .site-topbar,
.site-header-float.menu-open .site-topbar { border-bottom-color: var(--border); }
.site-header-float.scrolled .site-topbar { max-height: 0; opacity: 0; }

.site-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 40px;
}

.site-topbar-contact { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }

.site-topbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Şeffaf durumda (hero üstü) header içeriği BEYAZ; scrolled/menu-open'da (açık cam zemin)
   normal tema renklerine döner — beyaz yazı beyaz zeminde okunmaz. */
.site-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    color: #fff;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .15s;
}
.site-topbar-link:hover { color: #fff; opacity: 1; }
.site-header-float.scrolled .site-topbar-link,
.site-header-float.menu-open .site-topbar-link { color: var(--muted); }
.site-header-float.scrolled .site-topbar-link:hover,
.site-header-float.menu-open .site-topbar-link:hover { color: var(--text); }

/* Üst bar sağ grup: üst menü + dil seçici birlikte sağa yaslanır (row space-between'i bozmadan) */
.site-topbar-right { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }

/* Satır içi dil seçici — .site-topbar overflow:hidden olduğu için dropdown yerine inline
   (kırpılma/JS yok; tek tıkla dil değişir). Renkler topbar-link gibi kaydırma durumuna uyar. */
.site-topbar-lang { display: inline-flex; align-items: center; gap: .2rem; }
.site-topbar-lang-item {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .15rem .5rem; border-radius: 999px;
    font-size: .8125rem; line-height: 1;
    color: rgba(255,255,255,.68);
    text-decoration: none !important; white-space: nowrap;
    transition: color .15s, background .15s;
}
.site-topbar-lang-item { font-weight: 600; letter-spacing: .04em; }
.site-topbar-lang-item:hover { color: #fff; }
.site-topbar-lang-item.is-active { color: #fff; font-weight: 600; background: rgba(255,255,255,.16); }
/* Scrolled / menu-open (açık cam zemin) → tema renkleri */
.site-header-float.scrolled .site-topbar-lang-item,
.site-header-float.menu-open .site-topbar-lang-item { color: var(--muted); }
.site-header-float.scrolled .site-topbar-lang-item:hover,
.site-header-float.menu-open .site-topbar-lang-item:hover { color: var(--text); }
.site-header-float.scrolled .site-topbar-lang-item.is-active,
.site-header-float.menu-open .site-topbar-lang-item.is-active { color: var(--text); background: rgba(0,0,0,.06); }

/* Mobil panel dil seçici (üst bar mobilde gizli; dil buradan) */
.site-header-mobile-lang { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; }
.site-header-mobile-lang-item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 56px; min-height: 44px;   /* dokunma hedefi */
    padding: .4rem .9rem; border-radius: 999px;
    border: 1px solid var(--border); color: var(--text);
    font-size: .9rem; font-weight: 600; letter-spacing: .04em;
    text-decoration: none !important;
}
.site-header-mobile-lang-item.is-active { background: var(--accent); color: #fff; border-color: transparent; }

/* Satır içeriği: mobil logo 52px → 6*2+52=64px; desktop logo 90px → 12*2+90=114px
   (+40px üst bar = 154px). Bu toplamlar :root --header-h ile eşleşmeli. */
.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .375rem 0;
    transition: padding .2s cubic-bezier(.4,0,.2,1);
}

@media (min-width: 992px) {
    .site-header-row { padding: .75rem 0; gap: 1.5rem; }
    .site-header-float.scrolled .site-header-row { padding: .5rem 0; }
}

.site-header-logo { flex-shrink: 0; text-decoration: none !important; }
/* Logo boyutu: mobil 52px, desktop 90px (satır yükseklik hesabıyla uyumlu) */
.site-header-logo img { max-height: 52px; width: auto; }
@media (min-width: 992px) { .site-header-logo img { max-height: 90px; } }
.site-header-logo span { color: #fff; }
.site-header-float.scrolled .site-header-logo span,
.site-header-float.menu-open .site-header-logo span { color: var(--text); }

/* Ana menü sağa yaslı (logo solda, menü + aksiyon ikonları sağda) */
.site-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.site-header-link {
    font-size: 1rem;
    font-weight:600;
    color: #fff;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .15s;
}
.site-header-link:hover { color: #fff; opacity: 1; }
/* Kaydırılmış (buzlu-cam zeminli) header'da menü siyah.
   --text kullanılır, #000 değil: karanlık temada zemin koyulaştığı için
   sabit siyah okunmaz olurdu; --text orada açık renge döner. */
.site-header-float.scrolled .site-header-link,
.site-header-float.menu-open .site-header-link { color: var(--text); }
/* Taban artık --text olduğu için hover'ı accent yapıyoruz; aksi hâlde
   üzerine gelince hiçbir değişiklik olmazdı. */
.site-header-float.scrolled .site-header-link:hover,
.site-header-float.menu-open .site-header-link:hover { color: var(--accent); }

/* ── Açılır alt menü (yalnız desktop) ─────────────────────────────────────
   Kod'u "yasal" olan menü öğesi kullanır; içerik YasalUyari'dan otomatik gelir.
   Saf CSS: :hover fare için, :focus-within klavye (Tab) için. JS bağımlılığı yok. */
.site-header-has-sub { position: relative; }
.site-header-caret {
    font-size: .7em;
    margin-left: .35rem;
    transition: transform .2s ease;
    display: inline-block;
}
.site-header-has-sub:hover .site-header-caret,
.site-header-has-sub:focus-within .site-header-caret { transform: rotate(180deg); }

.site-header-sub {
    position: absolute;
    top: 100%;
    /* Menü öğesinin ortasına hizalanır (eskiden right:0 idi ve panel
       sola doğru taşıyordu). translateX(-50%) açılış animasyonundaki
       translateY ile birlikte yazılmak zorunda — ikisi tek transform. */
    left: 50%;
    min-width: 240px;
    margin: 0;
    padding: .5rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px -12px rgba(0,0,0,.35);
    /* Kapalıyken tıklanamaz + ekran okuyucuya açık kalır (display:none yerine) */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 20;
}
.site-header-has-sub:hover .site-header-sub,
.site-header-has-sub:focus-within .site-header-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
[data-theme="dark"] .site-header-sub { background: #1c1c1e; }

.site-header-sub a {
    display: block;
    padding: .55rem 1.1rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.site-header-sub a:hover,
.site-header-sub a:focus-visible {
    background: color-mix(in srgb, var(--accent, #0071e3) 10%, transparent);
    color: var(--accent, #0071e3);
}

/* Mobil panelde alt öğe stilleri: .site-header-mobile-link tanımı bu satırlardan SONRA geldiği
   için burada değil, dosya sonundaki "MOBİL / TABLET İNCE AYAR" bloğunda tanımlanır. */

/* Çapa hedefi header'ın altında kalmasın (header fixed + içeriğin üstüne biniyor).
   Kurumsal sayfaların Klasik düzenindeki bölüm sarmalayıcısı kullanır. */
.bolum-capa { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ─── Kurumsal "Yan Menü" düzeni — sol başlık listesi ─────────────────────
   Bölüm başlıkları ayrı kartlar; seçili olan accent dolgulu. Renk ve tipografi
   anasayfa token'larından gelir (--accent panelden değişince burası da değişir).
   Bootstrap .list-group öğeleri bitişik render eder; burada ayrıştırılıp
   kart görünümüne çevrilir. */
.kurumsal-yanmenu {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    border-radius: 0;              /* Bootstrap'in dış köşe yuvarlaması iptal */
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}

.kurumsal-yanmenu .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;                     /* Bootstrap komşu öğelerde negatif margin veriyor */
    padding: 1.15rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: -.01em;
    box-shadow: var(--shadow);
    transition: background .2s ease, color .2s ease, border-color .2s ease,
                transform .2s ease;
}

.kurumsal-yanmenu .list-group-item:hover {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
    transform: translateX(3px);
}

.kurumsal-yanmenu .list-group-item.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: none;
}

.kurumsal-yanmenu .list-group-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.kurumsal-yanmenu-ad { min-width: 0; }

.kurumsal-yanmenu-ok {
    flex-shrink: 0;
    font-size: .85rem;
    opacity: .55;
    transition: transform .25s ease, opacity .2s ease;
}
.kurumsal-yanmenu .list-group-item.active .kurumsal-yanmenu-ok {
    transform: rotate(180deg);     /* seçili öğede yukarı bakar */
    opacity: 1;
}

/* Sağ sütunda bölüm başlığı tekrar basılmaz — sol listede zaten var.
   h2.fw-bold yalnız bölüm partial'larının bastığı başlıktır; panelden girilen
   içerik (.prose) ham HTML olduğu için bu sınıfı taşımaz, etkilenmez. */
.kurumsal-yanmenu-icerik h2.fw-bold { display: none; }

/* Bölüm partial'ları kendi okuma genişliğini sınırlar (col-lg-9 mx-auto = %75).
   Yan Menü'de sağ sütun ZATEN daraltılmış olduğu için bu ikinci daraltma
   içeriği gereksiz sıkıştırıyordu → tam genişlik.
   Yalnız ORTALANMIŞ TEK sütun hedeflenir; Görselli-Metin'in iki sütunlu hâli
   (col-md-6 / col-lg-6) ve galeri ızgaraları etkilenmez. */
.kurumsal-yanmenu-icerik .col-lg-9.mx-auto,
.kurumsal-yanmenu-icerik .col-lg-8.mx-auto {
    width: 100%;
    max-width: 100%;
}

/* ─── Kart görünümlü akordeon ─────────────────────────────────────────────
   Yan Menü'deki başlık kartlarıyla aynı dil: ayrı kartlar, açık olan accent
   dolgulu. Bootstrap 5.3'ün kendi CSS değişkenleri üzerinden kurulur; böylece
   :hover/:focus/geçiş davranışı Bootstrap'te kalır, biz yalnız görünümü veririz.
   Kullanım: <div class="accordion akordeon-kart"> */
.akordeon-kart {
    --bs-accordion-bg: var(--surface);
    --bs-accordion-border-color: var(--border);
    --bs-accordion-border-radius: 14px;
    --bs-accordion-inner-border-radius: 14px;
    --bs-accordion-btn-color: var(--text);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-padding-y: 1.15rem;
    --bs-accordion-btn-padding-x: 1.35rem;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: #fff;
    --bs-accordion-active-bg: var(--accent);
    --bs-accordion-body-padding-y: 1.25rem;
    --bs-accordion-body-padding-x: 1.35rem;

    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Bootstrap öğeleri bitişik basar ve yalnız ilk/son köşeyi yuvarlar;
   burada her öğe bağımsız bir kart olur. */
.akordeon-kart .accordion-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.akordeon-kart .accordion-button {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: -.01em;
}

/* Bootstrap'in chevron'u koyu renkli bir SVG; açık kartta zemin accent olduğu
   için beyaza çevrilir (SVG'yi yeniden tanımlamak yerine filtre ile). */
.akordeon-kart .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.akordeon-kart .accordion-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* lg altında liste tam genişlikte akar (bkz. _DuzenYanMenu col-lg-3) → sticky anlamsız */
@media (max-width: 991.98px) {
    .kurumsal-yanmenu { position: static; gap: .6rem; }
    .kurumsal-yanmenu .list-group-item { padding: 1rem 1.15rem; font-size: .98rem; min-height: 56px; }
    .kurumsal-yanmenu .list-group-item:hover { transform: none; }

    .akordeon-kart {
        gap: .6rem;
        --bs-accordion-btn-padding-y: 1rem;
        --bs-accordion-btn-padding-x: 1.15rem;
    }
    .akordeon-kart .accordion-button { font-size: .98rem; min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .kurumsal-yanmenu .list-group-item,
    .kurumsal-yanmenu-ok { transition: none; }
    .kurumsal-yanmenu .list-group-item:hover { transform: none; }
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

/* Aksiyon ikon butonları (arama / sepet / hesap) — AI arama tetikleyicisiyle aynı dil,
   44px dokunma alanı. İki class'lı seçici: partial'daki .site-ai-search-trigger'ı da ezer. */
.site-header-actions .site-header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.site-header-actions .site-header-icon-btn:hover {
    background: rgba(255,255,255,.3);
    color: #fff;
    transform: scale(1.06);
}
.site-header-float.scrolled .site-header-actions .site-header-icon-btn,
.site-header-float.menu-open .site-header-actions .site-header-icon-btn {
    background: color-mix(in srgb, var(--text, #1d1d1f) 6%, transparent);
    color: var(--text, #1d1d1f);
}
.site-header-float.scrolled .site-header-actions .site-header-icon-btn:hover,
.site-header-float.menu-open .site-header-actions .site-header-icon-btn:hover {
    background: color-mix(in srgb, var(--accent, #0071e3) 14%, transparent);
    color: var(--accent, #0071e3);
}
.site-header-actions .site-header-icon-btn:focus-visible {
    outline: 2px solid var(--accent, #0071e3);
    outline-offset: 2px;
}

.site-header-burger {
    /* 34×31'di — mobildeki tek gezinme tetikleyicisi, 44px dokunma hedefine çıkarıldı */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    border-radius: 50%;
}
.site-header-burger:hover { background: rgba(255,255,255,.2); }
.site-header-float.scrolled .site-header-burger,
.site-header-float.menu-open .site-header-burger { color: var(--text); }
.site-header-float.scrolled .site-header-burger:hover,
.site-header-float.menu-open .site-header-burger:hover { background: var(--border); }

.site-header-mobile-panel {
    overflow: hidden;
    max-height: 0;
    border-top: 1px solid transparent;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), border-color .35s;
}
/* Sabit 640px'ti: menü + alt başlıklar + dil + iletişim toplamı ~1290px olduğu için listenin
   yarısı kırpılıyor ve erişilemiyordu. Artık kalan ekran yüksekliği kadar açılır ve içeride
   kaydırılır; overscroll-behavior sayfanın arkadan kaymasını engeller. */
.site-header-mobile-panel.open {
    max-height: calc(100vh - var(--header-h) - var(--ann-h) - .5rem);
    max-height: calc(100dvh - var(--header-h) - var(--ann-h) - .5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-top-color: var(--border);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.site-header-mobile-menu {
    list-style: none;
    padding: .5rem 0 .25rem;
    margin: 0;
}
/* Dokunma hedefi 44px+ (eski: 22px metin + 20px dolgu ≈ 36px) ve tam kontrastlı metin
   (eski --muted, buzlu cam üstünde ~3.4:1 ile AA altındaydı). */
.site-header-mobile-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    padding: .625rem .25rem;
    text-decoration: none !important;
    border-bottom: 1px solid var(--border);
    transition: color .15s, background .15s;
}
.site-header-mobile-link:hover,
.site-header-mobile-link:active { color: var(--accent); opacity: 1; }

.site-header-mobile-auth { padding: .75rem 0 .25rem; }

/* Mobil panelde üst menü öğeleri (ikincil ton) ve iletişim bloğu */
.site-header-mobile-link-sec { font-size: .875rem; }
.site-header-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: 1rem;
    padding: .75rem 0 .5rem;
    border-top: 1px solid var(--border);
}
/* 28px'lik satırlardı → 44px dokunma hedefi + tam kontrast */
.site-header-mobile-contact .site-topbar-link {
    display: flex; align-items: center; gap: .55rem;
    min-height: 44px; font-size: .9375rem;
}
.site-header-float.menu-open .site-header-mobile-contact .site-topbar-link { color: var(--text); }

/* ─── Hero v2 (video / image background) ────────────────────────────── */

.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
    min-height: 100vh;
}

@media (min-width: 768px)  { .hero-v2 { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 7rem; } }
@media (min-width: 992px)  { .hero-v2 { padding-top: calc(var(--header-h) + 10rem); padding-bottom: 9rem; } }

/* Mobil/tablet: hero tam ekran (100dvh) ama içerik üstte duruyor, altında ~600px ölü alan
   kalıyordu. İçeriği dikeyde ortala — görselin ilgi noktası da açıkta kalır. */
@media (max-width: 991.98px) {
    .hero-v2 {
        display: flex;
        align-items: center;
        padding-top: calc(var(--header-h) + 2rem);
        padding-bottom: calc(3rem + env(safe-area-inset-bottom));
    }
    .hero-v2-content { width: 100%; }
}

.hero-v2-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    /* border: 1px solid rgba(0, 0, 0, .08); */
}
@media (min-width: 992px) {
    .hero-v2-bg {
        /* border-radius: 48px; */
    }
}
[data-theme="dark"] .hero-v2-bg { border-color: rgba(255,255,255,.05); }

/* Medya tam görünür (mock: full-bleed görsel/video + beyaz içerik).
   Okunurluk gölge katmanıyla (admin > Hero/Slider > gölge) ve text-shadow ile sağlanır. */
.hero-v2-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.hero-v2-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.hero-v2-content {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 992px) { .hero-v2-content { padding: 0 3rem; } }

.hero-v2-text { max-width: 42rem; text-align: center; margin: 0 auto; }
@media (min-width: 992px) { .hero-v2-text { text-align: left; margin: 0; max-width: 100%; } }

.hero-v2-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.05;
    max-width: 32rem;
    margin: 0 auto 2rem;
    color: var(--text);
}
@media (min-width: 992px) { .hero-v2-h1 { margin: 0 0 2rem; } }

.hero-v2-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}
@media (min-width: 992px) { .hero-v2-lead { margin: 0 0 2.5rem; } }

.hero-v2-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
}
@media (min-width: 576px) { .hero-v2-btns { flex-direction: row; justify-content: center; } }
@media (min-width: 992px) { .hero-v2-btns { justify-content: flex-start; } }

/* ─── Hero içerik (eyebrow + dev başlık + açıklama + CTA) ───────────────
   Hem hero-v2 (tekli/video) hem carousel caption'da ortak. Eşleme:
   Baslik → eyebrow, AltBaslik → dev başlık, Aciklama → paragraf, Buton → CTA. */

.hero-eyebrow {
    color: var(--accent);
    font-size: clamp(.8125rem, 1.1vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .24em;
    margin: 0 0 1rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
/* Accent renk koyu hero görselinin üstünde ~2:1 kontrast veriyordu (AA altı); dar ekranda
   .24em harf aralığı da satırı ikiye kırıyordu. Mobil/tablette beyaza döner, aralık daralır. */
@media (max-width: 991.98px) {
    .hero-eyebrow {
        color: rgba(255, 255, 255, .95);
        letter-spacing: .16em;
    }
    .hero-v2--plain .hero-eyebrow { color: var(--accent); }
}
@media (max-width: 767.98px) {
    .hero-eyebrow { letter-spacing: .12em; font-size: .75rem; margin-bottom: .75rem; }
}

.hero-big-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2.75rem, 7.5vw, 6.25rem);
    line-height: .98;
    letter-spacing: -.03em;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 28px rgba(0, 0, 0, .4);
}

.hero-lead-desc {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 0 2rem;
    white-space: pre-line;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .4);
}
/* hero-v2 mobilde içerik ortalı → açıklama da ortalansın; desktop sola yaslı */
.hero-v2-text .hero-lead-desc { margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .hero-v2-text .hero-lead-desc { margin-left: 0; margin-right: 0; } }

/* CTA — hk-card-btn ile aynı tasarım: beyaz zemin, accent metin, sağda ok. */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: fit-content;
    padding: .9rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    color: var(--accent) !important;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}
.hero-cta:hover { opacity: .92; transform: translateY(-1px); }

.hero-cta-text { white-space: nowrap; }

.hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-cta:active { transform: scale(.97); }

.hero-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Medyasız hero (arka plan görseli/videosu yok): beyaz metin düz zeminde okunmaz,
   tema renklerine dön. */
.hero-v2--plain .hero-eyebrow { text-shadow: none; }
.hero-v2--plain .hero-big-title { color: var(--text); text-shadow: none; }
.hero-v2--plain .hero-lead-desc { color: var(--muted); text-shadow: none; }
/* Beyaz CTA düz zeminde kaybolur → renkleri ters çevir (accent zemin, beyaz metin). */
.hero-v2--plain .hero-cta { background: var(--accent); color: #fff !important; }
.hero-v2--plain .hero-cta:focus-visible { outline-color: var(--accent); }

/* ─── Hero logo marquee (hero-refs) — SET ft-refs portu ─────────────────
   Hero'nun alt kenarına bindirilmiş, kesintisiz kayan logo şeridi.
   İçerik iki kez basılır; translateX(-50%) ile sonsuz döngü. */

.hero-refs {
    --hr-slot: 120px;
    --hr-gap: 24px;
    /* CTA butonunun altında, sola hizalı 3 logoluk pencere (SET ft-refs formülü) */
    width: calc(var(--hr-slot) * 3 + var(--hr-gap) * 2);
    max-width: 100%;
    margin-top: 2.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hero-refs__track {
    display: flex;
    align-items: center;
    gap: var(--hr-gap);
    width: max-content;
    animation: heroRefsScroll 28s linear infinite;
}
.hero-refs:hover .hero-refs__track { animation-play-state: paused; }

.hero-refs__item {
    flex: 0 0 var(--hr-slot);
    width: var(--hr-slot);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-refs__item img {
    height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    opacity: .7;
    transition: opacity .25s ease;
}
.hero-refs__item:hover img { opacity: 1; }

@keyframes heroRefsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-refs__track { animation: none; }
}
@media (max-width: 767.98px) {
    .hero-refs { --hr-slot: 96px; --hr-gap: 16px; margin-top: 1.75rem; }
    .hero-refs__item img { height: 32px; }
}

/* ─── Logo Slider ────────────────────────────────────────────────────── */

.logo-slider-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: .25rem 0 .75rem;
}

.logo-slider-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
@media (min-width: 768px) {
    .logo-slider-wrap { flex-direction: row; padding: 0 3rem; }
}

.logo-slider-label {
    font-size: .8125rem;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .logo-slider-label { min-width: 8rem; text-align: right; padding-right: 1.5rem; border-right: 1px solid var(--border); }
}

.logo-slider-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 0;
    min-width: 0;
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logo-scroll 36s linear infinite;
}
.logo-slider-track:hover { animation-play-state: paused; }

@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-slider-track img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
    display: inline-block;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s, filter .2s;
}
[data-theme="dark"] .logo-slider-track img { filter: grayscale(1) invert(1); }
.logo-slider-track img:hover { opacity: 1; filter: none; }

.logo-slider-fade-l {
    position: absolute; inset-y: 0; left: 0; width: 4rem;
    background: linear-gradient(to right, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}
.logo-slider-fade-r {
    position: absolute; inset-y: 0; right: 0; width: 4rem;
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none; z-index: 1;
}

/* ─── Faz 8.5: Accessibility (WCAG AA) ─────────────────────────── */
/* Focus ring — keyboard kullanıcıları için belirgin */
:focus-visible {
    outline: 3px solid #0071e3;
    outline-offset: 2px;
    border-radius: 2px;
}
/* Mouse click'te outline gözükmesin */
:focus:not(:focus-visible) {
    outline: none;
}
/* Skip-link odaklanınca görünür */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}
/* Reduced motion — kullanıcı animasyon istemiyorsa kapat */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Form input renk kontrastı — light mode */
input::placeholder, textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* ── Ürün detay: sağ kenarda sabit hızlı aksiyonlar (Yazdır / Teklif İste) ── */
.urun-fixed-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1030;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
    max-width: 100vw;
}
.urun-fixed-actions .uf-print {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
    margin-right: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.urun-fixed-actions .uf-teklif {
    display: flex;
    align-items: center;
    border-radius: 2rem 0 0 2rem;
    font-weight: 600;
    padding: .7rem 1.2rem;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* ── WhatsApp yüzen buton efekti (SET projesindeki .wa-fab'dan) ──
   Hafif yukarı-aşağı süzülme + yeşil nabız halkası */
.wa-fab { animation: waFloat 3s ease-in-out infinite; }
.wa-fab::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab::before { animation: none; } }

/* ─── Hizmet Vitrini ("Our Services": başlık bandı + kart slider) ─────────── */
.hizmet-vitrin { padding: 5rem 0; }
.hizmet-vitrin-inner { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 992px) { .hizmet-vitrin-inner { padding: 0 3rem; } }

/* Başlık bandı: solda eyebrow + serif başlık, sağda açıklama */
.hizmet-vitrin-head {
    display: grid; grid-template-columns: 1fr; gap: 1rem 3rem;
    align-items: end; margin-bottom: 3rem;
}
@media (min-width: 992px) { .hizmet-vitrin-head { grid-template-columns: 1.4fr 1fr; } }

/* Carousel bölümünün başlığı (.cr-eyebrow/.cr-title) da aynı tipografiyi kullanır */
.hizmet-eyebrow, .cr-eyebrow {
    display: inline-block; padding: .3rem .85rem; border-radius: 8px;
    background: color-mix(in srgb, var(--text) 6%, transparent);
    color: var(--text); font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
    margin-bottom: 1.25rem;
}
.hizmet-title, .cr-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 500; letter-spacing: -.01em; line-height: 1.05;
    /* Alt sınır 2.25rem (36px) idi; 390px ekranda başlıklar 3 satıra kırılıyordu. */
    font-size: clamp(1.75rem, 6vw, 2.5rem); color: var(--text); margin: 0;
}
@media (max-width: 767.98px) {
    .hizmet-title, .cr-title { line-height: 1.12; }
    .hizmet-eyebrow, .cr-eyebrow { margin-bottom: .85rem; }
    .hizmet-desc { font-size: 1rem; }
}
.hizmet-desc {
    color: var(--muted); font-size: 1.0625rem; line-height: 1.7; margin: 0; max-width: 34rem;
}
@media (min-width: 992px) { .hizmet-vitrin-head-right { padding-bottom: .5rem; } }

/* Kart slider: yatay scroll-snap şerit */
.hizmet-slider-wrap { position: relative; }
.hizmet-slider {
    display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .5rem; scrollbar-width: none; -ms-overflow-style: none;
}
.hizmet-slider::-webkit-scrollbar { display: none; }
.hizmet-card {cursor:pointer;
    flex: 0 0 calc((100% - 1.5rem) / 2); scroll-snap-align: start;   /* varsayılan: 2'li */
    background: #f2f5f1; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, background .25s;
}
/* Tam kartlar görünsün (kesilmesin): ekran genişledikçe 1 → 2 → 3 → 4'lü */
@media (max-width: 575.98px) { .hizmet-card { flex-basis: 82%; } }
@media (min-width: 992px)    { .hizmet-card { flex-basis: calc((100% - 3rem) / 3); } }
@media (min-width: 1200px)   { .hizmet-card { flex-basis: calc((100% - 4.5rem) / 4); } }
.hizmet-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); background: var(--accent); border-color: transparent; }
.hizmet-card-img { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--bg); }
.hizmet-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hizmet-card-body { padding: 3rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.hizmet-card-title {
    font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
    color: var(--text); margin: 0;
}
.hizmet-card-btn {
    margin-top: auto; align-self: stretch;
    display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .85rem 1.25rem; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); font-weight: 600; font-size: .95rem;
    text-decoration: none !important; transition: background .2s, color .2s, border-color .2s;
}
.hizmet-card-btn:hover { background: var(--bg); }

/* Hover: kart marka rengi zemine döner, beyaz yazı + beyaz buton (mavi kısım artık hover'da) */
.hizmet-card:hover .hizmet-card-title { color: #fff; }
.hizmet-card:hover .hizmet-card-btn { background: #fff; color: var(--text); border-color: transparent; }
.hizmet-card:hover .hizmet-card-btn:hover { background: rgba(255,255,255,.9); }

/* Prev / Next */
.hizmet-slider-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1.5rem; }
.hizmet-slider-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .15s, color .15s, transform .15s;
}
.hizmet-slider-btn:hover { background: var(--accent); color: #fff; border-color: transparent; transform: scale(1.05); }

/* ─── Hakkımızda Vitrini alt bölümü (execor 761c5fe: foto + yeşil kart + akordeon) ─── */
.hk-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .hk-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Sol: fotoğraf + alıntı + üstüne binen yeşil kart */
.hk-left { position: relative; }
.hk-photo {
    position: relative; border-radius: 22px; overflow: hidden;
    aspect-ratio: 3 / 3.3; background: var(--bg); max-width: 620px;
}
.hk-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* "Insight" kartı — zemin SİTE TEMA RENGİNE (var(--accent)) otomatik bağlı */
.hk-card {
    --hk-green: var(--accent);
    position: relative; margin-top: -3.5rem; margin-left: auto; width: min(340px, 100%);
    background: var(--hk-green); color: #fff;
    border-radius: 20px; padding: 1.75rem; overflow: hidden; z-index: 3;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
@media (min-width: 992px) {
    .hk-card { position: absolute; right: -1.5rem; bottom: -2rem; margin: 0; width: 320px; }
    .hk-left { padding-bottom: 2rem; }
}
/* Üst alan: yüklenen görsel (hk-card-media) YA DA dekoratif dalga (hk-card-wave) */
.hk-card-media { position: absolute; top: 0; left: 0; right: 0; height: 150px; overflow: hidden; }
.hk-card-media picture, .hk-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Görselin altını kart zeminine (var(--accent)) doğru erit — üstte şeffaf, altta tam renk */
.hk-card-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(180deg, transparent 30%, var(--accent) 100%);
}
.hk-card-wave { position: absolute; top: 0; left: 0; right: 0; height: 150px; color: #fff; opacity: .5; pointer-events: none; }
.hk-card-wave svg { width: 100%; height: 100%; }
.hk-card-title { position: relative; font-size: 1.375rem; font-weight: 600; margin: 9rem 0 1rem; letter-spacing: -.01em;color:#fff; }
.hk-card-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.hk-card-list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .95rem; line-height: 1.35; }
.hk-card-list li svg { flex-shrink: 0; margin-top: .1rem; }
.hk-card-btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
    padding: .9rem 1.25rem; border-radius: 12px; background: #fff; color: var(--accent);
    font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: opacity .2s, transform .2s;
}
.hk-card-btn:hover { opacity: .92; transform: translateY(-1px); color: var(--accent); }

/* Sağ: akordeon */
.hk-accordion {
    display: flex; flex-direction: column;
    border: 1px solid var(--border); border-radius: 20px;
    padding: .75rem 2.25rem; background: var(--surface);
}
@media (max-width: 575.98px) { .hk-accordion { padding: .5rem 1.25rem; } }
.hk-acc-item { border-bottom: 1px solid var(--border); }
.hk-acc-item:last-child { border-bottom: none; }
.hk-acc-head {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.5rem .25rem; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; color: var(--text); letter-spacing: -.01em;
}
.hk-acc-head::-webkit-details-marker { display: none; }
.hk-acc-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; color: var(--muted); }
.hk-acc-icon::before, .hk-acc-icon::after {
    content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: currentColor; border-radius: 2px;
}
.hk-acc-icon::before { width: 18px; height: 2px; }
.hk-acc-icon::after  { width: 2px; height: 18px; transition: opacity .2s, transform .2s; }
.hk-acc-item[open] .hk-acc-icon { color: var(--text); }
.hk-acc-item[open] .hk-acc-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.hk-acc-body { padding: 0 .25rem 1.75rem; color: var(--muted); }
.hk-acc-body p { font-size: 1rem; line-height: 1.7; margin: 0 0 1rem; }
.hk-acc-list { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.hk-acc-list li { display: flex; align-items: flex-start; gap: .65rem; color: var(--text); font-size: .95rem; line-height: 1.4; }
.hk-acc-list li svg { flex-shrink: 0; margin-top: .1rem; color: var(--accent); }

/* ─── PictureImage helper <picture> sarmalayıcıları — kapsayıcıyı doldursun ─── */
.hizmet-card-img picture, .hk-photo picture, .hero-v2-bg picture { display: block; width: 100%; height: 100%; }
.site-header-logo picture, .hero-refs__item picture { display: inline-flex; }

/* ─── Sayılarla İSBİ (execor 8f5d3c5: sticky sol görsel + scroll istatistikler) ─── */
.sy-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .sy-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
/* Izgara öğelerinin varsayılan min-width:auto'su, içerideki sabit genişlikli .sy-num yüzünden
   sütunu içeriğin min genişliğine (≈388px) şişiriyordu → dar ekranda yatay taşma. */
.sy-left, .sy-right, .sy-stat { min-width: 0; }

/* Sol: kayarken sabit kalan görsel — sağ istatistiklerle AYNI top (hizalı) */
@media (min-width: 992px) { .sy-left { position: sticky; top: var(--sy-top); } }
.sy-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 3.4; background: var(--bg); max-width: 620px; }
.sy-media picture, .sy-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* execor renkleri (bu bölüm birebir execor): koyu yeşil + lime buton */
.sy-vitrin { --sy-green: #0f3d3a; --sy-lime: #c8f8a9; --sy-top: calc(var(--header-h) + 2rem); }
.sy-media-btn {
    position: absolute; left: 1.5rem; bottom: 1.5rem;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.3rem; border-radius: 8px; background: var(--accent); color: #fff;
    font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: opacity .2s, transform .2s;
}
.sy-media-btn:hover { opacity: .92; transform: translateY(-2px); color: #fff; }
/* Görselin sağ-altındaki grafik çubukları (execor dekoru) — üste doğru solar */
.sy-media-bars {
    position: absolute; right: 0; bottom: 0; width: 48%; max-width: 224px; height: 130px; pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
    mask-image: linear-gradient(to top, #000 45%, transparent);
}
.sy-media-bars svg { width: 100%; height: 100%; display: block; }
.sy-media-bars rect { fill: #fff; opacity: .85; }

/* Sağ: scroll ile yığılan istatistikler (execor 8f5d3c5 GERÇEK mekanizması) */
.sy-right { display: flex; flex-direction: column; }
/* Her kart 100vh; sticky + artan top offset (~120px) ile ÜST ÜSTE yığılır.
   Kartlar SIRAYLA gri/beyaz → yığılınca ayrım kendiliğinden oluşur (gölge yok). --i = kartın sırası. */
.sy-stat {
    display: flex; gap: 2rem; align-items: flex-start;
    padding: 1.75rem 2rem; border-radius: 12px; background: #f2f5f1;
}
.sy-stat:nth-child(even) { background: #fff; }
[data-theme="dark"] .sy-stat:nth-child(odd)  { background: color-mix(in srgb, var(--text) 7%, var(--surface)); }
[data-theme="dark"] .sy-stat:nth-child(even) { background: var(--bg); }
@media (min-width: 992px) {
    .sy-stat {
        position: sticky;
        /* İlk kart sol görselle hizalı (--sy-top); her kart +9rem aşağı yığılır (içerik sığsın, üst üste girmesin) */
        top: calc(var(--sy-top) + var(--i, 0) * 9rem);
        min-height: calc(100vh - var(--sy-top) - 1rem);
    }
    /* Son (ortalı) kart: yığılma offset'i yok, sol görselle hizalı pin — içerik dikey ortalanır */
    .sy-stat:last-child { top: var(--sy-top); }
    /* SON kart: premium ORTALI finale (execor'daki gibi büyük, ortada) */
    .sy-stat:last-child {
        flex-direction: column; align-items: center; justify-content: center; text-align: center;
        gap: .75rem; background: var(--bg);
    }
    .sy-stat:last-child .sy-num { flex: none; width: auto; font-size: clamp(3.75rem, 6.5vw, 6rem); }
    .sy-stat:last-child .sy-info { max-width: 34rem; }
    .sy-stat:last-child .sy-stat-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
}
/* Mobil: yığılma yok, normal alt alta kartlar */
@media (max-width: 991.98px) { .sy-stat { margin-bottom: 1rem; } }
.sy-num {
    flex: 0 0 12rem;
    text-align: left;
    font-family: var(--font-baslik);
    font-weight: 400;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--accent);
}
.sy-stat-title { font-size: 1.375rem; font-weight: 600; margin: 0 0 .5rem; letter-spacing: -.01em; color: var(--text); }
.sy-stat-desc { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; max-width: 26rem; }

/* Dar ekran: sayı sütunu 12rem sabitti; metne ~90px kalıyor, her satıra 1-2 kelime sığıyor ve
   ızgara kapsayıcıdan taşıyordu. Tek sütuna dön — sayı üstte, metin altında.
   (Bu blok .sy-num tanımından SONRA gelmeli; aynı özgüllükte sonraki kural kazanır.) */
@media (max-width: 767.98px) {
    .sy-stat { flex-direction: column; gap: .4rem; padding: 1.5rem 1.35rem; }
    .sy-num { flex: 0 0 auto; width: auto; font-size: clamp(1.75rem, 8vw, 2.25rem); }
    .sy-stat-title { font-size: 1.2rem; margin-bottom: .35rem; }
    .sy-stat-desc { max-width: none; font-size: .95rem; }
    .sy-media { aspect-ratio: 4 / 3.6; }
    .sy-media-btn { left: 1rem; bottom: 1rem; }
}

/* ─── Referanslar (logo duvarı) — 6'lı çerçeveli kart grid + buton ────── */
/* Başlık bandı anasayfa geneliyle aynı tipografi: .hizmet-eyebrow + .hizmet-title */
.refs-section { padding: 5rem 0; background: color-mix(in srgb, var(--text) 3%, var(--bg)); }
.refs-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.refs-head .hizmet-title { margin-top: .25rem; }

/* Masaüstü 6, tablet 4/3, mobil 2 sütun (24 logo → 6×4) — semantik <ul>/<li> */
.refs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.refs-grid > li { min-width: 0; display: flex; }
@media (min-width: 576px) { .refs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .refs-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .refs-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }

.refs-card {
    width: 100%;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2;                 /* eşit kutu + yer ayır (CLS yok) */
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.refs-card picture { display: contents; }  /* <picture>'ı layout'tan çıkar → <img> flex çocuğu olsun */
.refs-card img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain;
    transition: filter .25s ease, opacity .25s ease;
}
    .refs-card:hover img {
        filter: grayscale(100%);
        opacity: .68;
    }
.refs-card-text { color: var(--muted); font-size: .875rem; font-weight: 500; text-align: center; line-height: 1.3; }

/* Hover: her kartta logo renklenir; yalnız linkli kart yükselir (tık-affordance) */
.refs-card:hover img { filter: grayscale(0); opacity: 1; }
a.refs-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.refs-cta { text-align: center; margin-top: 2.5rem; }
/* CTA butonu Sayılarla'daki .sy-media-btn tasarımının birebir aynısı; sadece absolute konumu nötrle */
.refs-cta .sy-media-btn { position: static; }

/* Dar ekranda 2 sütun × 1.25rem dolgu → logoya ~110px kalıyordu; dolguyu kısıp logoya yer aç */
@media (max-width: 575.98px) {
    .refs-grid { gap: .75rem; }
    .refs-card { padding: .85rem; border-radius: 12px; aspect-ratio: 3 / 2.1; }
}

@media (prefers-reduced-motion: reduce) {
    .refs-card, .refs-card img { transition: none; }
    a.refs-card:hover { transform: none; }
}

/* ─── Form Bölümü (İletişim) — execor 05fb46d, sistem paletiyle ───────── */
/* Zemin sabit #fff idi → karanlık temada beyaz blok olarak patlıyordu. */
.form-bolumu { padding: 5rem 0 9rem; background: var(--surface); }
.form-bolumu .hizmet-vitrin-head { margin-bottom: 2.5rem; }
/* refs + form bölümleri, hizmet-vitrin (hk-vitrin / sy-vitrin) ile AYNI hizada:
   .hizmet-vitrin-inner ile birebir inner genişlik + gutter (Bootstrap .container ezilir) */
.refs-section > .container,
.form-bolumu > .container {
    max-width: 1440px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem;
}
@media (min-width: 992px) {
    .refs-section > .container,
    .form-bolumu > .container { padding-left: 3rem; padding-right: 3rem; }
}

/* Mobil (varsayılan): dikey yığın — görsel, bilgi kartı, form kartı */
.fb-stage { display: flex; flex-direction: column; gap: 1.5rem; }
.fb-media {
    width: 100%;
    position: relative; border-radius: 20px; overflow: hidden;
    min-height: 240px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000));
}
.fb-media picture { display: contents; }
.fb-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }

/* Sol-alt bilgi kartı — üstte anasayfa rengiyle BUZLU CAM başlık, altta açık iletişim listesi */
.fb-info { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
/* Frosted header: accent tint + backdrop-blur → arkadaki görsel hafif geçer */
.fb-info-head {
    padding: 1.5rem 1.6rem 1.35rem;
    background: linear-gradient(155deg,
        color-mix(in srgb, var(--accent) 80%, transparent),
        color-mix(in srgb, var(--accent) 60%, transparent));
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    color: #fff;
}
.fb-info-title { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0 0 .5rem; letter-spacing: -.01em; }
.fb-info-desc { font-size: .9rem; color: rgba(255, 255, 255, .82); margin: 0; line-height: 1.6; }

/* İletişim listesi: açık zemin, koyu metin, açık ikon kutuları, ayraç, ok */
.fb-contacts { display: flex; flex-direction: column; background: var(--surface); }
.fb-contact {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.6rem; text-decoration: none;
    color: var(--text); border-top: 1px solid var(--border); transition: background .18s;
}
.fb-contacts > .fb-contact:first-child { border-top: none; }
.fb-contact:hover { color: var(--text); background: color-mix(in srgb, var(--text) 3%, var(--surface)); }
.fb-contact-ic {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px; color: var(--text);
    background: color-mix(in srgb, var(--text) 4%, var(--surface)); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.fb-contact-txt { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.fb-contact-txt small { font-size: .78rem; color: var(--muted); }
.fb-contact-txt strong { font-weight: 600; font-size: .95rem; color: var(--text); }
.fb-contact-arrow { flex: 0 0 auto; color: var(--muted); display: flex; }

/* Sağ form kartı */
.fb-form-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    overflow: hidden; box-shadow: var(--shadow);
}
.fb-form-head {
    display: flex; align-items: center; gap: .75rem; padding: 1.05rem 1.5rem;
    background: var(--accent); color: #fff;
}
.fb-form-head .fb-logo { height: 28px; width: auto; display: block; }
.fb-form-head .fb-logo-text { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.fb-form-head-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .35); }
.fb-form-head-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.15;
    /* Eski: clamp(1.5rem, 5vw, 1.2rem) — min > max olduğu için clamp her zaman 1.5rem
       döndürüyordu; mobilde başlık iki satıra kırılıyordu. */
    font-size: clamp(1.05rem, 3.2vw, 1.2rem);
}
.fb-form-head-icon { margin-left: auto; color: #fff; opacity: .95; }

.fb-form-body { padding: 1.5rem; }
.fb-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; }
.fb-field { display: flex; flex-direction: column; gap: .35rem; }
.fb-field.fb-col2 { grid-column: 1 / -1; }
.fb-field label { font-size: .95rem; font-weight: 600; color: var(--text); }
.fb-req { color: var(--accent); }
.fb-field input, .fb-field textarea {
    width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: .6rem .75rem;
    background: var(--surface); color: var(--text); font-size: .95rem; font-family: inherit; line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
}
.fb-field textarea { resize: vertical; min-height: 96px; }
/* Dokunmatikte: 16px altı yazı tipi iOS Safari'de odaklanınca sayfayı otomatik yakınlaştırır;
   ayrıca ~32px'lik alanlar 44px dokunma hedefinin altındaydı. */
@media (max-width: 991.98px) {
    .fb-grid { grid-template-columns: 1fr; gap: .9rem; }
    .fb-field input, .fb-field textarea { font-size: 1rem; padding: .75rem .85rem; }
    .fb-field input { min-height: 48px; }
    .fb-field textarea { min-height: 120px; }
    .fb-form-body { padding: 1.25rem; }
    .fb-stage { gap: 1.25rem; }
    .fb-media { min-height: 0; }
}
.fb-field input:focus, .fb-field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.fb-field input::placeholder, .fb-field textarea::placeholder { color: var(--muted); }

.fb-actions { margin-top: 1.1rem; }
/* Submit = anasayfa .sy-media-btn tasarımı; absolute konumu nötrle */
.fb-actions .sy-media-btn { position: static; }
.fb-submit.is-loading { opacity: .7; pointer-events: none; }
.fb-fineprint { margin: .9rem 0 0; font-size: .74rem; color: var(--muted); line-height: 1.55; }
.fb-form-msg { margin-top: .85rem; padding: .7rem .9rem; border-radius: 8px; font-size: .9rem; line-height: 1.45; }
.fb-form-msg.ok { background: color-mix(in srgb, #16a34a 14%, transparent); color: #15803d; }
.fb-form-msg.err { background: color-mix(in srgb, #dc2626 12%, transparent); color: #b91c1c; }
[data-theme="dark"] .fb-form-msg.ok { color: #4ade80; }
[data-theme="dark"] .fb-form-msg.err { color: #fca5a5; }

/* Masaüstü: görsel solda, form kartı sağda üstüne biner; bilgi kartı görselin sol-altında */
@media (min-width: 992px) {
    .fb-stage { display: block; position: relative; }
    .fb-form-card { position: relative; z-index: 2; width: 48%; margin-left: auto; margin-right: 2%; }  /* akışta → sahne yüksekliğini belirler */
    .fb-media {
position: absolute;
        left: 0;
        top: 4rem;
        z-index: 1;
        width: 58%;
        height: calc(100% - 9rem);
        min-height: 0;
        border-radius: 22px;
    }
    .fb-media img { height: 100%; aspect-ratio: auto; }
    .fb-info {
        position: absolute;
        left: 2rem;
        bottom: -8.3rem;
        z-index: 2;
        width: 34%;
        max-width: 380px;
    }
}
@media (min-width: 1200px) {
    .fb-media { width: 100%; }
    .fb-form-card { width: 46%; }
    .fb-info { max-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
    .fb-field input, .fb-field textarea { transition: none; }
}

/* ─── Blog Bölümü (execor 413d07d) — hk/sy/refs/form ile aynı hizada ───── */
.blog-section { padding: 5rem 0; }
.blog-section .hizmet-vitrin-head { margin-bottom: 2.5rem; }

/* 1 → 2 → 4 sütun */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 576px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }

.blog-card { display: flex; flex-direction: column; }
/* Uzun görsel (portre), yuvarlak köşe */
.blog-card-media {
    display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4;
    background: color-mix(in srgb, var(--text) 5%, var(--bg));
}
.blog-card-media picture { display: contents; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }

.blog-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.1rem; }
.blog-badge {
    display: inline-block; padding: .3rem .7rem; border-radius: 7px; font-size: .78rem; font-weight: 500;
    background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); letter-spacing: .01em;
}
.blog-date { font-size: .82rem; color: var(--muted); }

.blog-card-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin: .6rem 0 0; }
.blog-card-title a { color: var(--text); text-decoration: none; transition: color .2s; }
.blog-card:hover .blog-card-title a { color: var(--accent); }

/* Açıklama: varsayılan gizli, hover'da aç (dokunmatikte hep görünür) */
.blog-card-desc {
    color: var(--muted); font-size: .75rem; line-height: 1.55; margin: 0;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease, margin .35s ease;
}
.blog-card:hover .blog-card-desc,
.blog-card:focus-within .blog-card-desc { max-height: 9rem; opacity: 1; margin-top: .6rem; }
@media (hover: none) {
    .blog-card-desc { max-height: none; opacity: 1; margin-top: .6rem; }
}

.blog-cta { text-align: center; margin-top: 3rem; }
.blog-cta .sy-media-btn { position: static; }  /* anasayfa buton standardı, absolute konumu nötrle */

@media (prefers-reduced-motion: reduce) {
    .blog-card-media img, .blog-card-title a, .blog-card-desc { transition: none; }
    .blog-card:hover .blog-card-media img { transform: none; }
}

/* ─── Footer (execor befd5d0) — koyu zemin, sistem tipografisi ─────────── */
.footer-wrapper {     margin-top: -2px;background: var(--accent); color: rgba(255, 255, 255, .68); padding: 4rem 0 1.5rem; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 992px) { .footer-inner { padding: 0 3rem; } }

/* Bülten kayıt bandı — açık zemin, ortalı serif başlık + form + alta çizgi geçişi (execor befd5d0) */
.footer-subscribe { background: color-mix(in srgb, var(--text) 3%, var(--bg)); padding: 4.5rem 0 0; }
.footer-subscribe-inner { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 3.5rem; text-align: center; }
/* Tipografi .hizmet-title'dan gelir (h2'de iki sınıf birlikte); burada yalnız alt boşluk */
.footer-subscribe-title { margin: 0 0 2rem; }
.footer-subscribe-form { width: 100%; }
.footer-subscribe-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; }
.footer-subscribe-fields { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.footer-subscribe-fields input[type=email] {
    width: min(340px, 80vw); padding: .85rem 1.1rem; border-radius: 10px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    font-size: .95rem; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.footer-subscribe-fields input::placeholder { color: var(--muted); }
.footer-subscribe-fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.footer-subscribe-btn { position: static; }  /* sy-media-btn */
.footer-subscribe-btn.is-loading { opacity: .7; pointer-events: none; }
.footer-subscribe-note { max-width: 300px; margin: 0; text-align: left; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.footer-subscribe-note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-subscribe-result { margin-top: 1.1rem; font-size: .9rem; }
.footer-subscribe-result.ok { color: #16a34a; }
.footer-subscribe-result.warn { color: #b45309; }
.footer-subscribe-result.err { color: #dc2626; }

/* Çizgi geçişi (SVG mask) — açık banttan footer rengine erir; renk footer ile AYNI (var(--accent)) */
.footer-stripes {
    height: 180px;
    width: 100%;
    background-position: bottom center;
    background-repeat: repeat-x;
    background-image: url(../img/footer-stripes.svg);
}

/* Ana sütunlar */
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 576px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-cols { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 3rem; } }
.footer-logo { max-height: 90px; width: auto; display: block; margin-bottom: 1.1rem; }
.footer-logo-text { color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.footer-brand-desc { color: rgba(255, 255, 255, .75); font-size: .92rem; line-height: 1.7; margin: 0; max-width: 36ch; }
.footer-col-title { color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
/* Accent zemin üstünde .55 opaklık ~2.6:1 kontrast veriyordu (AA sınırı 4.5:1). */
.footer-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-address { color: rgba(255, 255, 255, .82); font-size: .92rem; line-height: 1.7; margin: 0; }

/* Yukarı çık + sosyal */
.footer-social-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-top { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .7); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.footer-top:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-left: auto; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 1.05rem;
    transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* Alt bar */
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap;
    padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .84rem; color: #fff;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal a { color: #fff; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ── Footer: mobil/tablet ince ayar ────────────────────────────────────── */
/* Dokunmatik cihazlar (tablet dâhil): bağlantılar 20px yüksekliğindeydi → 44px hedef */
@media (max-width: 991.98px) {
    .footer-links { gap: 0; }
    .footer-links a { display: flex; align-items: center; min-height: 44px; font-size: .95rem; }
    .footer-legal { gap: 0 1.25rem; }
    .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-top { min-height: 44px; }
}

@media (max-width: 767.98px) {
    .footer-wrapper { padding: 2.75rem 0 1.25rem; }
    .footer-cols { gap: 2rem; padding-bottom: 1.75rem; }
    .footer-legal { gap: 0 1rem; }
    .footer-logo { max-height: 64px; }
    /* Çizgi geçişi 180px'ti; dar ekranda sayfanın onda birini yiyordu */
    .footer-stripes { height: 88px; }
    .footer-subscribe { padding-top: 3rem; }
    .footer-subscribe-inner { padding-bottom: 2.5rem; }
    .footer-subscribe-title { margin-bottom: 1.5rem; }
    .footer-subscribe-fields { width: 100%; }
    .footer-subscribe-fields input[type=email] { width: 100%; min-height: 48px; font-size: 1rem; }
    /* Ortalanmış blokta sola yaslı duruyordu */
    .footer-subscribe-note { text-align: center; max-width: 34rem; margin-inline: auto; }
    .footer-social-row { padding: 1.25rem 0; }
    .footer-bottom { font-size: .8rem; }
}
/* Alt bar bağlantıları görsel olarak beyaz ama tıklama alanı dar kalmasın */
.footer-social a { min-width: 44px; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
    .footer-social a:hover { transform: none; }
    .footer-newsletter-input input { transition: none; }
}

/* ─── Carousel Bölümü (kategori filtreli, otomatik dönen kart carousel'i) ───── */
.cr-vitrin { padding: 5rem 0; }
.cr-inner { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 992px) { .cr-inner { padding: 0 3rem; } }

/* Başlık bandı: solda eyebrow + başlık, sağda kategori butonları */
.cr-head { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
/* .cr-eyebrow / .cr-title stilleri .hizmet-eyebrow / .hizmet-title ile ORTAK tanımlıdır
   (yukarıdaki "Hizmet Vitrini başlık bandı" bloğunda) — ikisi hep aynı görünür. */
/* Kategori filtre butonları (pill) */
.cr-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.cr-cat {
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    padding: .7rem 1.4rem; border-radius: 999px; font-size: .9375rem; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.cr-cat:hover { transform: translateY(-1px); border-color: var(--muted); }
.cr-cat.is-active { background: var(--accent); color: #fff; border-color: transparent; }

/* Kart şeridi — yatay scroll-snap */
.cr-slider-wrap { position: relative; }
.cr-slider {
    display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .5rem; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.cr-slider::-webkit-scrollbar { display: none; }
.cr-card { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; min-width: 0; }
@media (max-width: 991.98px) { .cr-card { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .cr-card { flex-basis: 86%; } }
.cr-card.is-hidden { display: none; }

/* Kart görseli: yuvarlak + SOL ALT köşede çentik (referans tasarım) */
.cr-card-media {
    position: relative; border-radius: 20px; overflow: hidden; background: var(--bg);
    aspect-ratio: 1 / 1.06; margin-bottom: 1.25rem;
    /* Referans tasarımın şekli: 20px yuvarlak köşeler + SOL ALT köşede sekme/çentik.
       (border-radius, clip-path desteklemeyen tarayıcılarda yedek olarak kalır.) */
    -webkit-clip-path: polygon(calc(100% - 20px) 0, calc(100% - 20px) 0, calc(100% - 16.755822px) .26176637px, calc(100% - 13.678336px) 1.01961376px, calc(100% - 10.808714px) 2.23236459px, calc(100% - 8.188128px) 3.85884128px, calc(100% - 5.85775px) 5.85786625px, calc(100% - 3.858752px) 8.18826192px, calc(100% - 2.232306px) 10.80885071px, calc(100% - 1.019584px) 13.67845504px, calc(100% - 0.261758px) 16.75589733px, calc(100% - 0px) 20px, calc(100% - 0px) calc(100% - 20px), calc(100% - 0px) calc(100% - 20px), calc(100% - 0.261758px) calc(100% - 16.755822px), calc(100% - 1.019584px) calc(100% - 13.678336px), calc(100% - 2.232306px) calc(100% - 10.808714px), calc(100% - 3.858752px) calc(100% - 8.188128px), calc(100% - 5.85775px) calc(100% - 5.85775px), calc(100% - 8.188128px) calc(100% - 3.858752px), calc(100% - 10.808714px) calc(100% - 2.232306px), calc(100% - 13.678336px) calc(100% - 1.019584px), calc(100% - 16.755822px) calc(100% - 0.261758px), calc(100% - 20px) calc(100% - 0px), calc(100% - 20px) calc(100% - 0px), calc(100% - 24.914044px) calc(100% - 0px), calc(100% - 38.552352px) calc(100% - 0px), calc(100% - 59.259188px) calc(100% - 0px), calc(100% - 85.378816px) calc(100% - 0px), calc(100% - 115.2555px) calc(100% - 0px), calc(100% - 147.233504px) calc(100% - 0px), calc(100% - 179.657092px) calc(100% - 0px), calc(100% - 210.870528px) calc(100% - 0px), calc(100% - 239.218076px) calc(100% - 0px), calc(100% - 263.044px) calc(100% - 0px), 148.956px calc(100% - 0px), 141.7424066px calc(100% - 0.868261px), 135.7796128px calc(100% - 3.269048px), 130.7435982px calc(100% - 6.819867px), 126.3103424px calc(100% - 11.138224px), 122.155825px calc(100% - 15.841625px), 117.9560256px calc(100% - 20.547576px), 113.3869238px calc(100% - 24.873583px), 108.1244992px calc(100% - 28.437152px), 101.8447314px calc(100% - 30.855789px), 94.2236px calc(100% - 31.747px), 22.2305px calc(100% - 31.747px), 22.2305px calc(100% - 31.747px), 16.19741876px calc(100% - 32.257571px), 11.36840101px calc(100% - 33.643488px), 7.60942554px calc(100% - 35.686057px), 4.78647114px calc(100% - 38.166584px), 2.76551661px calc(100% - 40.866375px), 1.41254076px calc(100% - 43.566736px), .59352237px calc(100% - 46.048973px), .17444025px calc(100% - 48.094392px), .0212732px calc(100% - 49.484299px), 0 calc(100% - 50px), 0 20px, 0 20px, .26176637px 16.75589733px, 1.01961376px 13.67845504px, 2.23236459px 10.80885071px, 3.85884128px 8.18826192px, 5.85786625px 5.85786625px, 8.18826192px 3.85884128px, 10.80885071px 2.23236459px, 13.67845504px 1.01961376px, 16.75589733px .26176637px, 20px 0, calc(100% - 20px) 0);
    clip-path: polygon(calc(100% - 20px) 0, calc(100% - 20px) 0, calc(100% - 16.755822px) .26176637px, calc(100% - 13.678336px) 1.01961376px, calc(100% - 10.808714px) 2.23236459px, calc(100% - 8.188128px) 3.85884128px, calc(100% - 5.85775px) 5.85786625px, calc(100% - 3.858752px) 8.18826192px, calc(100% - 2.232306px) 10.80885071px, calc(100% - 1.019584px) 13.67845504px, calc(100% - 0.261758px) 16.75589733px, calc(100% - 0px) 20px, calc(100% - 0px) calc(100% - 20px), calc(100% - 0px) calc(100% - 20px), calc(100% - 0.261758px) calc(100% - 16.755822px), calc(100% - 1.019584px) calc(100% - 13.678336px), calc(100% - 2.232306px) calc(100% - 10.808714px), calc(100% - 3.858752px) calc(100% - 8.188128px), calc(100% - 5.85775px) calc(100% - 5.85775px), calc(100% - 8.188128px) calc(100% - 3.858752px), calc(100% - 10.808714px) calc(100% - 2.232306px), calc(100% - 13.678336px) calc(100% - 1.019584px), calc(100% - 16.755822px) calc(100% - 0.261758px), calc(100% - 20px) calc(100% - 0px), calc(100% - 20px) calc(100% - 0px), calc(100% - 24.914044px) calc(100% - 0px), calc(100% - 38.552352px) calc(100% - 0px), calc(100% - 59.259188px) calc(100% - 0px), calc(100% - 85.378816px) calc(100% - 0px), calc(100% - 115.2555px) calc(100% - 0px), calc(100% - 147.233504px) calc(100% - 0px), calc(100% - 179.657092px) calc(100% - 0px), calc(100% - 210.870528px) calc(100% - 0px), calc(100% - 239.218076px) calc(100% - 0px), calc(100% - 263.044px) calc(100% - 0px), 148.956px calc(100% - 0px), 141.7424066px calc(100% - 0.868261px), 135.7796128px calc(100% - 3.269048px), 130.7435982px calc(100% - 6.819867px), 126.3103424px calc(100% - 11.138224px), 122.155825px calc(100% - 15.841625px), 117.9560256px calc(100% - 20.547576px), 113.3869238px calc(100% - 24.873583px), 108.1244992px calc(100% - 28.437152px), 101.8447314px calc(100% - 30.855789px), 94.2236px calc(100% - 31.747px), 22.2305px calc(100% - 31.747px), 22.2305px calc(100% - 31.747px), 16.19741876px calc(100% - 32.257571px), 11.36840101px calc(100% - 33.643488px), 7.60942554px calc(100% - 35.686057px), 4.78647114px calc(100% - 38.166584px), 2.76551661px calc(100% - 40.866375px), 1.41254076px calc(100% - 43.566736px), .59352237px calc(100% - 46.048973px), .17444025px calc(100% - 48.094392px), .0212732px calc(100% - 49.484299px), 0 calc(100% - 50px), 0 20px, 0 20px, .26176637px 16.75589733px, 1.01961376px 13.67845504px, 2.23236459px 10.80885071px, 3.85884128px 8.18826192px, 5.85786625px 5.85786625px, 8.18826192px 3.85884128px, 10.80885071px 2.23236459px, 13.67845504px 1.01961376px, 16.75589733px .26176637px, 20px 0, calc(100% - 20px) 0);
}
/* clip-path poligonu SABİT px koordinatlar içeriyor (çentik ~264px'te başlıyor). Kart ~335px'in
   altına inince koordinatlar birbirini geçiyor, poligon tersine dönüyor ve GÖRSEL HİÇ ÇİZİLMİYOR.
   Dar ekranda dekoratif çentiği bırakıp düz yuvarlak köşeye dönüyoruz. */
@media (max-width: 767.98px) {
    .cr-card-media {
        -webkit-clip-path: none;
        clip-path: none;
        border-radius: 18px;
        aspect-ratio: 4 / 3.6;
        margin-bottom: 1rem;
    }
}
.cr-card-media picture, .cr-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-card-media-link { display: block; width: 100%; height: 100%; }
.cr-card-media img { transition: transform .5s cubic-bezier(.4,0,.2,1); }
.cr-card:hover .cr-card-media img { transform: scale(1.04); }
/* Görselin üstündeki kategori rozeti */
.cr-badge {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    background: #fff; color: var(--text); border-radius: 999px;
    padding: .45rem 1rem; font-size: .6875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.cr-card-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .6rem; color: var(--text); }
.cr-card-title a { color: inherit; text-decoration: none !important; }
/* Dokunmatikte kart başlığı ana hedef — 24px'lik satırdı */
@media (max-width: 991.98px) {
    .cr-card-title { font-size: 1.15rem; }
    .cr-card-title a { display: inline-flex; align-items: center; min-height: 44px; }
}
.cr-card-title a:hover { color: var(--accent); opacity: 1; }
.cr-card-desc { color: var(--muted); font-size: .9688rem; line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   MOBİL / TABLET İNCE AYAR
   Bu blok DOSYANIN SONUNDA durmalı: aşağıdaki kuralların çoğu yukarıdaki
   bölüm tanımlarıyla aynı özgüllükte (0,1,0). Aynı özgüllükte SONRAKİ kural
   kazandığı için, medya sorgusunu bölümün yanına yazmak işe yaramıyordu.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Dokunmatik cihazlar: hedef büyüklüğü ─────────────────────────────────
   Genişlik değil GİRDİ TÜRÜ ölçüt: 1024px'lik bir tablet masaüstü düzenini görür ama
   parmakla kullanılır. `pointer: coarse` fare kullanıcılarını etkilemeden yalnız
   dokunmatikte tıklama alanlarını 44px'e çıkarır (Apple HIG / Material 48dp). */
@media (pointer: coarse) {
    .site-header-menu .site-header-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    /* Üst bar 40px sabit yükseklikte (--header-h hesabına giriyor) → yalnız genişlik artırılır */
    .site-topbar-lang-item { min-width: 44px; justify-content: center; min-height: 32px; }

    .footer-links { gap: 0; }
    .footer-links a { display: flex; align-items: center; min-height: 44px; }
    .footer-legal a,
    .footer-top { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-social a { min-width: 44px; min-height: 44px; }

    .cr-card-title a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ── Mobil menü paneli: akordeon ──────────────────────────────────────────
   Alt menüler eskiden hep açık listeleniyordu (panel 1390px). Artık kapalı başlar;
   başlık satırının sağındaki ok butonu açar. Başlığın kendisi link olarak kalır. */
.site-header-mobile-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
}
.site-header-mobile-row .site-header-mobile-link {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: 0;
}
.site-header-mobile-caret {
    flex: 0 0 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-left: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    border-radius: 0;
}
.site-header-mobile-caret i {
    display: block;
    font-size: .85rem;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}
.site-header-mobile-item.is-open .site-header-mobile-caret { color: var(--accent); }
.site-header-mobile-item.is-open .site-header-mobile-caret i { transform: rotate(180deg); }

/* Yükseklik bilmeden yumuşak açılış: 0fr → 1fr ızgara satırı.
   Kapalıyken visibility:hidden — aksi hâlde gizli linkler Tab sırasında kalırdı. */
.site-header-mobile-subwrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s cubic-bezier(.4, 0, .2, 1);
}
.site-header-mobile-item.is-open .site-header-mobile-subwrap { grid-template-rows: 1fr; }
.site-header-mobile-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: visibility .28s;
}
.site-header-mobile-item.is-open .site-header-mobile-sub { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
    .site-header-mobile-subwrap,
    .site-header-mobile-sub,
    .site-header-mobile-caret i { transition: none; }
}

/* ── Mobil menü paneli: hiyerarşi ─────────────────────────────────────────
   Ana başlıklar koyu ve kalın, alt öğeler girintili/ince. (Alt öğe kuralı burada
   çünkü .site-header-mobile-link tanımı yukarıda ve aynı özgüllükte sonuncu kazanır.) */
.site-header-mobile-link-sub {
    padding-left: 1.25rem !important;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--muted);
    min-height: 44px;
}
.site-header-mobile-link-sub::before {
    content: '';
    flex: 0 0 auto;
    width: 7px; height: 1px; margin-right: .6rem;
    background: currentColor; opacity: .55;
}
.site-header-mobile-link-sub:hover { color: var(--accent); }

/* ── Tablet (≤991px) ──────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Bootstrap .container varsayılanı 12px yan dolgu; dar ekranda metin ekran kenarına
       yapışıyordu. Anasayfa bölümleriyle (.hizmet-vitrin-inner = 1.5rem) aynı nefes payı.
       .row kendi --bs-gutter-x'ini tanımladığı için sütun oluğu bundan etkilenmez. */
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl { --bs-gutter-x: 3rem; }

    /* Hero okunurluğu: masaüstünde metin görselin sakin sol tarafında duruyor, dar ekranda ise
       ortada — özneyle çakışıyor ve okunurluk yalnız text-shadow'a kalıyordu. Yumuşak dikey
       perde hem metni hem şeffaf header'ı taşır. (.hero-v2-content z-index:10 → metin üstte.) */
    .hero-v2-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg,
            rgba(0, 0, 0, .48) 0%,
            rgba(0, 0, 0, .12) 34%,
            rgba(0, 0, 0, .20) 62%,
            rgba(0, 0, 0, .46) 100%);
    }

    /* Anasayfa bölümleri dikey ritmi: masaüstünde 5rem, tablette 4rem */
    .hizmet-vitrin,
    .refs-section,
    .blog-section,
    .cr-vitrin { padding: 4rem 0; }
    .form-bolumu { padding: 4rem 0 5rem; }
}

/* ── Mobil (≤767px) ───────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    /* Bölüm dolguları: sınıf seçicileri 5rem'i sabitliyordu, `section { padding: 3rem }`
       kuralı özgüllük yüzünden geçemiyor ve dar ekranda 80px'lik ölü bantlar kalıyordu. */
    .hizmet-vitrin,
    .refs-section,
    .blog-section,
    .cr-vitrin { padding: 3.25rem 0; }
    .form-bolumu { padding: 3.25rem 0 4rem; }

    .hizmet-vitrin-head,
    .cr-head,
    .refs-head { margin-bottom: 2rem; }
    .blog-cta { margin-top: 2rem; }
    .refs-cta { margin-top: 1.75rem; }
    .hk-grid, .sy-grid { gap: 2rem; }

    /* Hizmet kartı: 3rem üst dolgu + 4/4.6 portre görsel kartı gereksiz uzatıyordu */
    .hizmet-card-img { aspect-ratio: 4 / 3.4; }
    .hizmet-card-body { padding: 1.5rem 1.25rem; gap: 1rem; }
    .hizmet-card-title { font-size: 1.2rem; }
    .hizmet-card-btn { padding: .8rem 1.1rem; }
    .hizmet-slider { gap: 1rem; }
    .hizmet-slider-nav { margin-top: 1.25rem; }

    /* Hakkımızda vitrini */
    .hk-photo { aspect-ratio: 4 / 3.8; }
    .hk-card { margin-top: -2.5rem; padding: 1.35rem; }
    .hk-card-title { margin-top: 8rem; font-size: 1.2rem; }
    .hk-acc-head { padding: 1.15rem .25rem; font-size: 1.0625rem; min-height: 56px; }
    .hk-acc-body { padding-bottom: 1.25rem; }
}

/* ── Küçük telefon (≤575px) ───────────────────────────────────────────── */
@media (max-width: 575.98px) {
    /* Blog: tek sütunda 3/4 portre görsel kart başına ~520px yer kaplıyor,
       4 kart = 2000px+ kaydırma. Manzara oranı listeyi taranabilir yapar. */
    .blog-grid { gap: 1.5rem; }
    .blog-card-media { aspect-ratio: 4 / 3; }
    .blog-card-title { font-size: 1.0625rem; }
}
