/* ==========================================================================
   Mafal Çelik — Public Tasarım Sistemi
   Kimlik: "Çelik + Tahıl" — derin çelik lacivert + tahıl amber accent.
   Özgün, modern, demo58/Metronic'ten bağımsız.
   ========================================================================== */

:root {
    /* Marka */
    --brand: #163a5f;
    --brand-600: #1d4a78;
    --brand-700: #102c47;
    --accent: #f4a91b;
    --accent-600: #e09600;
    --accent-soft: rgba(244, 169, 27, .12);

    /* Yüzeyler (açık tema) */
    --ink: #0d1826;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-elev: #ffffff;
    --surface-2: #eef2f7;
    --text: #1a2533;
    --text-soft: #5b6b7d;
    --text-muted: #8593a3;
    --border: #e4e9f0;
    --border-strong: #d2dae4;
    --shadow-sm: 0 1px 2px rgba(13, 24, 38, .06), 0 2px 8px rgba(13, 24, 38, .05);
    --shadow-md: 0 8px 30px rgba(13, 24, 38, .10);
    --shadow-lg: 0 24px 60px rgba(13, 24, 38, .16);

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --container: 1240px;
    --header-h: 78px;

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .3, 1);
}

[data-theme="dark"] {
    --ink: #060b12;
    --bg: #0b121c;
    --bg-alt: #0f1825;
    --bg-elev: #131e2d;
    --surface-2: #16222f;
    --text: #e7edf5;
    --text-soft: #a9b7c7;
    --text-muted: #6f8095;
    --border: #1d2a3a;
    --border-strong: #27384b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background .3s var(--ease), color .3s var(--ease);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--text); margin: 0 0 .5em; }

::selection { background: var(--accent); color: #1a1200; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #dfe7f1; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section-head p { color: var(--text-soft); font-size: 1.08rem; margin: 0; }
.section--ink .section-head p { color: #aebccd; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 600; font-size: .98rem; line-height: 1;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: #1a1200; box-shadow: 0 10px 24px rgba(244,169,27,.32); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(244,169,27,.42); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); }
.btn-light { background: #fff; color: var(--brand); }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brand); }

/* ===== Header ===== */
.site-header {
    position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: all .3s var(--ease);
}
.site-header.scrolled { height: 64px; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; background: #fff; padding: 8px 12px; border-radius: 10px; }
[data-theme="dark"] .site-header .brand-logo { background: #fff; padding: 6px 10px; border-radius: 9px; height: 36px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.brand-text span { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-600); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav > a, .nav-drop > button {
    font: inherit; font-weight: 600; font-size: .96rem; color: var(--text-soft);
    background: none; border: 0; cursor: pointer;
    padding: 10px 16px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s, background .2s;
}
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.active { color: var(--text); background: var(--surface-2); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-drop:hover > button svg { transform: rotate(180deg); }

.mega {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
    width: min(500px, 92vw); background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    opacity: 0; visibility: hidden; transition: all .25s var(--ease); z-index: 50;
}
.nav-drop:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; transition: background .2s; }
.mega a:hover { background: var(--surface-2); }
.mega .ic { width: 28px; height: 28px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex-shrink: 0; }
.mega .ic svg { width: 15px; height: 15px; }
.mega .tx b { display: block; font-size: .82rem; color: var(--text); font-weight: 600; line-height: 1.3; }
.mega .tx small { color: var(--text-muted); font-size: .72rem; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
    width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border);
    background: var(--bg-elev); color: var(--text-soft); cursor: pointer;
    display: grid; place-items: center; transition: all .2s;
}
.icon-btn:hover { color: var(--accent-600); border-color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }

/* Birleşik kontrol kapsülü (tema + dil) — şık */
.ctrl-pill { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.ctrl-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text-soft); cursor: pointer; font: inherit; font-weight: 700; font-size: .82rem; transition: background .2s, color .2s; }
.ctrl-btn:hover { background: var(--surface-2); color: var(--text); }
.ctrl-btn svg { width: 18px; height: 18px; }
.ctrl-btn--lang .txt { letter-spacing: .04em; }
.ctrl-btn--lang svg:last-child { width: 13px; height: 13px; opacity: .6; transition: transform .25s; }
.lang-switch:hover .ctrl-btn--lang svg:last-child { transform: rotate(180deg); }
.ctrl-sep { width: 1px; height: 18px; background: var(--border); margin: 0 2px; }
.lang-check { margin-left: auto; display: inline-flex; color: var(--accent-600); }
.lang-check svg { width: 15px; height: 15px; }
[data-theme="dark"] .lang-check { color: var(--accent); }

.lang-switch { position: relative; }
.lang-switch > button { gap: 7px; padding-inline: 14px; width: auto; font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
    background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .2s var(--ease); z-index: 60;
}
.lang-switch:hover .lang-menu, .lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.lang-menu a:hover, .lang-menu a.active { background: var(--surface-2); color: var(--text); }
.lang-menu a .flag { width: 22px; text-align: center; }

.burger { display: none; }

/* ===== Hero ===== */
.hero {
    position: relative; padding-top: calc(var(--header-h) + clamp(50px, 8vw, 110px));
    padding-bottom: clamp(60px, 9vw, 130px); overflow: hidden;
    background: radial-gradient(120% 90% at 85% -10%, rgba(244,169,27,.10), transparent 60%),
                linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* ===== Hero: tam genişlik arka plan slider ===== */
.hero--bg { display: flex; align-items: center; min-height: min(88vh, 760px); padding: calc(var(--header-h) + 56px) 0 64px; background: var(--ink); }
.hero--bg .container { display: block; position: relative; z-index: 2; }
.hero--bg .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero--bg .hero-bg .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.hero--bg .hero-bg .hero-slide.active { opacity: 1; }
.hero--bg .hero-bg .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero--bg .hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(8,15,26,.94) 0%, rgba(8,15,26,.82) 34%, rgba(8,15,26,.45) 66%, rgba(8,15,26,.18) 100%); }
.hero--bg .hero-copy { max-width: 680px; }
.hero--bg .hero-badge { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color: #eef3f9; box-shadow: none; }
.hero--bg h1 { color: #fff; }
.hero--bg .lead { color: #cfdae6; }
.hero--bg .hero-trust { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
.hero--bg .hero-trust .t b { color: #fff; }
.hero--bg .hero-trust .t span { color: #aebccd; }
.hero--bg .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero--bg .btn-ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
/* Noktalar (slider) */
.hero--bg .hero-dots { position: absolute; bottom: 26px; right: max(24px, 6%); z-index: 3; display: flex; gap: 8px; }
.hero--bg .hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: all .25s; }
.hero--bg .hero-dots button.active { background: var(--accent); width: 26px; border-radius: 999px; }
@media (max-width: 768px) { .hero--bg { min-height: 0; padding: calc(var(--header-h) + 40px) 0 48px; } .hero--bg .hero-bg::after { background: linear-gradient(180deg, rgba(8,15,26,.88), rgba(8,15,26,.92)); } }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
    background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.03em; }
.hero h1 .hl { background: linear-gradient(120deg, var(--accent), var(--accent-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 540px; margin: 22px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust .t b { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.hero-trust .t span { font-size: .85rem; color: var(--text-muted); }

.hero-visual { position: relative; }
.hero-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/5; background: linear-gradient(160deg, var(--brand), var(--ink));
    box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.hero-card .silo-art { width: 70%; color: rgba(255,255,255,.92); }
.hero-card .hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* Hero slider (carousel) */
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 22px; background: linear-gradient(0deg, rgba(8,15,26,.86), transparent); color: #fff; z-index: 3; }
.hero-slide-cap span { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero-slide-btn { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: #1a1200; background: var(--accent); padding: 9px 16px; border-radius: 999px; transition: all .2s; }
.hero-slide-btn:hover { background: #fff; transform: translateY(-1px); }
.hero-slide-btn svg { width: 15px; height: 15px; }
.hero-dots { position: absolute; top: 16px; right: 16px; display: flex; gap: 7px; z-index: 4; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s; }
.hero-dots button.active { background: var(--accent); width: 22px; border-radius: 999px; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 20%, rgba(244,169,27,.22), transparent 70%); }
.hero-float {
    position: absolute; background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 12px; align-items: center;
}
.hero-float.f1 { left: -28px; top: 34px; }
.hero-float.f2 { right: -24px; bottom: 46px; }
.hero-float .fi { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; }
.hero-float .fi svg { width: 22px; height: 22px; }
.hero-float b { display: block; font-size: 1.05rem; }
.hero-float small { color: var(--text-muted); font-size: .76rem; }

/* ===== Trust band ===== */
.band-strip { border-block: 1px solid var(--border); background: var(--bg); }
.band-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; flex-wrap: wrap; }
.band-strip .item { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-weight: 600; font-size: .95rem; }
.band-strip .item svg { width: 26px; height: 26px; color: var(--accent-600); }

/* ===== Category grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
    position: relative; background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 26px 26px; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-600)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-ic { width: 58px; height: 58px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; margin-bottom: 22px; transition: all .35s var(--ease); }
.cat-ic svg { width: 30px; height: 30px; }
.cat-card:hover .cat-ic { background: var(--accent); color: #1a1200; transform: rotate(-6deg); }
.cat-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.cat-card p { color: var(--text-soft); font-size: .92rem; margin: 0 0 18px; }
.cat-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--brand); }
[data-theme="dark"] .cat-link { color: var(--accent); }
.cat-link svg { width: 16px; height: 16px; transition: transform .25s; }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* ===== Stats band ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; }
.stat .num .suf { color: var(--accent); }
.stat .lbl { margin-top: 10px; color: #aebccd; font-weight: 500; font-size: .98rem; }

/* ===== About / split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; background: linear-gradient(160deg, var(--brand-600), var(--ink)); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.about-figure svg { width: 60%; color: rgba(255,255,255,.9); }
.about-figure--photo { background: var(--surface-2); }
.about-figure--photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: 22px; bottom: 22px; background: var(--accent); color: #1a1200; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-md); }
.about-badge b { font-size: 1.9rem; display: block; line-height: 1; font-weight: 800; }
.about-badge span { font-size: .8rem; font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.feature-list .ck svg { width: 15px; height: 15px; }
.feature-list b { display: block; color: var(--text); }
.feature-list span { color: var(--text-soft); font-size: .94rem; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-cover { aspect-ratio: 16/10; background: linear-gradient(160deg, var(--brand), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover svg { width: 64px; height: 64px; color: rgba(255,255,255,.5); }
.news-card .body { padding: 24px; }
.news-date { font-size: .8rem; color: var(--accent-600); font-weight: 700; letter-spacing: .04em; }
.news-card h3 { font-size: 1.12rem; margin: 8px 0 10px; }
.news-card p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* ===== CTA band ===== */
.cta {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--brand-700), var(--brand-600)); color: #fff;
    padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 10%, rgba(244,169,27,.28), transparent 60%); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta p { color: #c8d6e6; margin: 10px 0 0; position: relative; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #b6c4d4; padding-top: 72px; }
.site-footer a { color: #b6c4d4; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 54px; }
.footer-brand .brand-text b { color: #fff; }
.footer-about { margin: 20px 0; max-width: 320px; color: #8ea0b3; font-size: .94rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; }
.footer-social a:hover { background: var(--accent); color: #1a1200; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col ul a { font-size: .94rem; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .92rem; color: #8ea0b3; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7d90a4; }

/* ===== Reveal animations ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { max-width: 440px; margin-inline: auto; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .main-nav, .lang-switch span.txt { display: none; }
    .burger { display: grid; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}
@media (max-width: 560px) {
    .cat-grid, .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-trust { gap: 20px; }
}

/* ===== Mega (tek sütun) ===== */
.mega.mega-1 { grid-template-columns: 1fr; width: min(250px, 92vw); }
/* "Tüm Ürünler" alt bağlantısı küçük */
.mega a[style*="grid-column"] { font-size: .82rem !important; padding: 9px 10px; margin-top: 2px; border-top: 1px solid var(--border); border-radius: 0 0 9px 9px; }
.mega a[style*="grid-column"] svg { width: 14px; height: 14px; }

/* ===== Page hero (iç sayfa banner) ===== */
.page-hero {
    position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-600)); color: #fff; overflow: hidden;
    background-size: cover; background-position: center;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 88% 0%, rgba(244,169,27,.22), transparent 60%); pointer-events: none; }
/* Görselli banner: görsel net görünsün, yazı okunabilir kalsın */
.page-hero.has-img { background-size: cover; background-position: center; min-height: 240px; display: flex; align-items: center; }
.page-hero.has-img h1, .page-hero.has-img .crumb, .page-hero.has-img .news-date { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0; position: relative; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #b9c8d9; margin-bottom: 16px; position: relative; flex-wrap: wrap; }
.crumb a { color: #b9c8d9; }
.crumb a:hover { color: #fff; }
.crumb strong { color: var(--accent); font-weight: 600; }

/* ===== Page layout (yan menü + içerik) ===== */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
/* Kenar çubuğu olmayan sayfalar tam genişlik (sadece kenar boşlukları) */
.page-layout--full { grid-template-columns: 1fr; }
.page-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 12px 14px 8px; margin: 0; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--text-soft); transition: all .2s; }
.aside-card a svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: all .2s; }
.aside-card a:hover { background: var(--surface-2); color: var(--text); }
.aside-card a:hover svg { opacity: 1; transform: none; }
.aside-card a.active { background: var(--brand); color: #fff; }
[data-theme="dark"] .aside-card a.active { background: var(--accent); color: #1a1200; }
.aside-card a.active svg { opacity: 1; transform: none; }

/* ===== Prose (zengin metin içeriği) ===== */
.prose { max-width: 760px; color: var(--text-soft); font-size: 1.05rem; line-height: 1.8; }
.prose h2, .prose h3 { color: var(--text); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.4rem; }
.prose p { margin: 0 0 1.2em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose ul li::marker { color: var(--accent-600); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .prose a { color: var(--accent); }
.prose .lead-quote { font-size: 1.4rem; line-height: 1.5; color: var(--text); border-left: 4px solid var(--accent); padding: 6px 0 6px 22px; margin: 1.4em 0; }
/* Lojistik sayfası: tır görseli + politika listesi */
/* Hem seed'lenen .lojistik-figure hem CKEditor'ün ürettiği figure.image ortalı görünsün */
.lojistik-figure,
.prose figure.image {
    margin: 0 auto 1.6em; padding: 22px 24px;
    background: linear-gradient(135deg, var(--bg-alt), var(--surface-2));
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    text-align: center; max-width: 540px; display: block;
}
/* Sayfa başlık banner'ı — tam genişlik, float YOK (kayma olmaz) */
.prose figure.image.page-banner { float: none; max-width: 100%; width: 100%; margin: 0 0 1.8em; padding: 0; background: none; border: 0; border-radius: var(--radius); overflow: hidden; }
.prose figure.image.page-banner img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* Sağa/sola yaslı (float) görsel — metin etrafından akar (CKEditor image-style-side) */
.prose figure.image.image-style-side { float: right; max-width: 40%; margin: 4px 0 1.2em 1.8em; padding: 10px; }
.prose figure.image.image-style-align-left { float: left; max-width: 40%; margin: 4px 1.8em 1.2em 0; padding: 10px; }
.prose figure.image.image-style-side img,
.prose figure.image.image-style-align-left img { border-radius: 10px; }
@media (max-width: 700px) {
    .prose figure.image.image-style-side,
    .prose figure.image.image-style-align-left { float: none; max-width: 100%; margin: 0 auto 1.4em; }
}
.lojistik-figure img,
.prose figure.image img { width: auto; max-width: 100%; height: auto; display: inline-block; }
.prose figure.image figcaption { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: 10px; }
/* Kategori açıklamasına gömülen galeri görselleri (3'lü ızgara) */
.prose .cat-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1em 0 1.4em; }
.prose .cat-photos figure.image { margin: 0; padding: 0; max-width: none; background: none; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.prose .cat-photos figure.image img { width: 100%; height: 100%; object-fit: cover; max-width: 100%; border-radius: 0; }
@media (max-width: 600px) { .prose .cat-photos { grid-template-columns: 1fr 1fr; } }
.prose .policy-list { list-style: none; padding-left: 0; margin: 1.2em 0; display: grid; gap: 12px; }
.prose .policy-list li { position: relative; padding: 14px 16px 14px 46px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; margin: 0; line-height: 1.6; }
.prose .policy-list li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.prose .policy-list li strong { color: var(--text); }

/* Sertifika görselleri */
/* Ardışık görseller yan yana (JS ile gruplanır) — sertifikalar vb. */
.prose .figure-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 1.4em 0; align-items: start; }
.prose .figure-row figure.image,
.prose .figure-row figure.cert { float: none !important; max-width: 100% !important; width: 100%; margin: 0 !important; padding: 10px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.prose .figure-row figure img,
.prose .figure-row > img { width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; margin: 0; }
.prose .figure-row > img { background: var(--bg-elev); border: 1px solid var(--border); padding: 8px; }
@media (max-width: 480px) { .prose .figure-row { grid-template-columns: 1fr; } }

.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 1.4em 0; }
.cert { margin: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert img { width: 100%; height: auto; display: block; background: #fff; }
.cert figcaption { text-align: center; font-size: .9rem; font-weight: 600; color: var(--text); padding: 12px; border-top: 1px solid var(--border); }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
@media (max-width: 880px) {
    .page-layout { grid-template-columns: 1fr; }
    .page-aside { position: static; }
}

/* ===== Ürünler: arama + filtre ===== */
.prod-toolbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.prod-search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.prod-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--text-muted); }
.prod-search input { width: 100%; padding: 14px 18px 14px 46px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--bg-elev); color: var(--text); font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.prod-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.prod-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg-elev); color: var(--text-soft); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .chip.active { background: var(--accent); border-color: var(--accent); color: #1a1200; }

.cat-card-link { text-decoration: none; display: block; }

/* Fotoğraflı kategori kartı */
.cat-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cat-card--photo .cat-card-body { padding: 22px 24px 24px; }
.cat-cover { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card--photo:hover .cat-cover img { transform: scale(1.06); }
.cat-card--photo::before { display: none; }

/* ===== Ürün kartları ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-thumb { aspect-ratio: 4/3; background: linear-gradient(160deg, var(--brand), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-thumb svg { width: 64px; height: 64px; color: rgba(255,255,255,.4); }
.prod-body { padding: 20px 22px 24px; }
.prod-cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); }
.prod-card h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.prod-card p { color: var(--text-soft); font-size: .9rem; margin: 0; }

/* Kategori boş-durum galerisi */
.cat-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.cat-gallery-item { padding: 0; border: 0; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.cat-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .cat-gallery { grid-template-columns: 1fr 1fr; } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state--soft { padding: 24px 20px; }
.empty-state--soft svg { width: 34px; height: 34px; }
.empty-state svg { width: 48px; height: 48px; margin-bottom: 14px; opacity: .5; }
.empty-state p { font-size: 1.05rem; margin: 0 0 4px; }

/* ===== Ürün detay ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 16px; }
.pd-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); box-shadow: var(--shadow-md); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-placeholder { display: grid; place-items: center; background: linear-gradient(160deg, var(--brand), var(--ink)); }
.pd-placeholder svg { width: 40%; color: rgba(255,255,255,.5); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 80px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); background: none; padding: 0; cursor: pointer; transition: border-color .2s; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 10px; }
.pd-info h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 14px; }
.pd-sku { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.pd-lead { font-size: 1.1rem; color: var(--text-soft); margin: 0 0 26px; line-height: 1.7; }
.pd-prose { max-width: none; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.pd-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.pd-prose th, .pd-prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.pd-prose th { background: var(--surface-2); font-weight: 700; color: var(--text); }

@media (max-width: 880px) {
    .prod-grid { grid-template-columns: 1fr 1fr; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

/* ===== Galeri ===== */
.album-card { display: block; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.album-cover { position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, var(--brand), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-card:hover .album-cover img { transform: scale(1.06); }
.album-cover svg { width: 56px; height: 56px; color: rgba(255,255,255,.4); }
.album-count { position: absolute; right: 12px; bottom: 12px; background: rgba(13,24,38,.7); color: #fff; font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.album-body { padding: 18px 20px; }
.album-body h3 { font-size: 1.1rem; margin: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo:hover img { transform: scale(1.08); }
@media (max-width: 880px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(5,10,18,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover { background: var(--accent); color: #1a1200; }
.lb-close svg { width: 22px; height: 22px; }

/* ===== İletişim ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-map { width: 100%; height: 280px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 10px; }
/* Leaflet harita konteyneri (iletişim + anasayfa) */
.mc-map { width: 100%; height: 280px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 10px; background: var(--bg-elev); z-index: 0; }
.mc-map--home { height: 100%; min-height: 320px; margin-top: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.map-pin { background: none; border: 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.leaflet-container { font: inherit; }
.contact-form-wrap { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 22px; }
.contact-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .f-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.contact-form label { font-size: .88rem; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.contact-form textarea { resize: vertical; }
.f-check { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.f-check input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--accent-600); }
.f-check a { color: var(--brand); font-weight: 600; text-decoration: underline; }
[data-theme="dark"] .f-check a { color: var(--accent); }
.form-errors { color: #c0392b; background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.25); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; }
.form-errors:empty { display: none; }
.form-errors ul { margin: 0; padding-left: 18px; }
.contact-success { text-align: center; padding: 30px 10px; }
.contact-success .cs-ic { width: 70px; height: 70px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; margin: 0 auto 20px; }
.contact-success .cs-ic svg { width: 34px; height: 34px; }
.contact-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-success p { color: var(--text-soft); margin-bottom: 22px; }
@media (max-width: 880px) {
    .contact-layout { grid-template-columns: 1fr; gap: 36px; }
    .contact-form .f-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 26px; }
}

/* ===== Hata sayfası (404 vb.) ===== */
.error-section { padding-top: calc(var(--header-h) + 60px); min-height: 70vh; display: flex; align-items: center; }
.error-box { max-width: 620px; margin-inline: auto; text-align: center; }
.error-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.error-box h1 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.error-box p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 30px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Sayfa yükleme spinner'ı (preloader) ===== */
.preloader {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: var(--bg);
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-box { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.preloader-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 3px solid var(--surface-2);
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: preloader-spin .9s linear infinite;
}
.preloader-logo { width: 44px; height: 44px; object-fit: contain; animation: preloader-pulse 1.6s var(--ease) infinite; }
.preloader-word { font-size: .82rem; font-weight: 800; letter-spacing: .28em; color: var(--text-muted); padding-left: .28em; }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) { .preloader-ring { animation-duration: 2s; } .preloader-logo { animation: none; } }

/* ===== Yukarı çık butonu ===== */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 1200;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--brand); color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: #1a1200; }
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* ===== Çerez bildirimi (minimal bar) ===== */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; background: color-mix(in srgb, var(--ink) 96%, transparent); color: #e7edf5; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -8px 30px rgba(0,0,0,.25); transform: translateY(100%); transition: transform .4s var(--ease); }
.cookie-bar.show { transform: none; }
.cookie-bar-inner { max-width: var(--container); margin-inline: auto; padding: 16px 24px; }
.cookie-bar-main { display: flex; align-items: center; gap: 24px; }
.cookie-bar-text { flex: 1; min-width: 0; }
.cookie-bar-text h4 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.cookie-bar-text p { color: #aebccd; font-size: .88rem; line-height: 1.5; margin: 0; }
.cookie-bar-text a { color: var(--accent); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.ck-btn { font: inherit; font-size: .86rem; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: all .2s var(--ease); }
.ck-btn-accent { background: var(--accent); color: #1a1200; }
.ck-btn-accent:hover { background: var(--accent-600); }
.ck-btn-outline { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.ck-btn-outline:hover { border-color: #fff; }
.ck-btn-ghost { background: rgba(255,255,255,.08); color: #fff; }
.ck-btn-ghost:hover { background: rgba(255,255,255,.16); }
/* Tercih paneli (gizli, açılınca) */
.cookie-prefs { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.cookie-prefs .cookie-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; cursor: pointer; }
.cookie-prefs .cookie-cat input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.cookie-prefs .cookie-cat b { display: block; font-size: .85rem; color: #fff; }
.cookie-prefs .cookie-cat small { color: #93a4b7; font-size: .73rem; line-height: 1.3; }
.cookie-prefs .ck-save { align-self: stretch; }
@media (max-width: 860px) {
    .cookie-bar-main { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-bar-actions { flex-wrap: wrap; }
    .cookie-bar-actions .ck-btn { flex: 1; }
    .cookie-prefs { grid-template-columns: 1fr; }
}

/* ===== Mobile drawer ===== */
.mobile-nav { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgba(5,10,18,.55); opacity: 0; transition: opacity .3s; }
.mobile-nav.open .scrim { opacity: 1; }
.mobile-nav .panel { position: absolute; inset: 0 0 0 auto; width: min(330px, 86vw); background: var(--bg); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease); padding: 22px; overflow-y: auto; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel a { display: block; padding: 14px 12px; border-radius: 10px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav .panel a:hover { background: var(--surface-2); }
.mobile-nav .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
