/* =====================================================================
   Digiturk Avantaj — ana stil
   Tema: derin lacivert + altın vurgu, güven veren kamu odaklı tasarım
   ===================================================================== */

:root {
    --navy: #0b2e4f;
    --navy-700: #0f3a63;
    --navy-600: #16487a;
    --gold: #f5a623;
    --gold-600: #e0930f;
    --ink: #16202b;
    --muted: #5b6b7b;
    --line: #e6ebf1;
    --bg: #f5f7fa;
    --bg-soft: #eef2f7;
    --white: #ffffff;
    --green: #1f9d55;
    --danger: #d64545;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 46, 79, .06), 0 2px 8px rgba(11, 46, 79, .06);
    --shadow: 0 10px 30px rgba(11, 46, 79, .10);
    --shadow-lg: 0 24px 60px rgba(11, 46, 79, .18);
    --container: 1160px;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: .18s ease; text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #3a2600; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: #3a2600; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: var(--gold);
    font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { color: var(--navy); font-size: 1.12rem; }
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--navy); font-weight: 600; }
.main-nav a:hover { color: var(--gold-600); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-700); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff;
    background: radial-gradient(1200px 500px at 80% -10%, var(--navy-600), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
    padding: 72px 0 84px; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px;
    background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .35em; }
.hero p.lead { color: #cfe0f1; font-size: 1.16rem; max-width: 40ch; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(245, 166, 35, .16);
    color: var(--gold); border: 1px solid rgba(245, 166, 35, .35); padding: 7px 14px;
    border-radius: 999px; font-weight: 700; font-size: .82rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .05em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badges div { display: flex; flex-direction: column; }
.hero-badges b { font-size: 1.5rem; color: var(--gold); }
.hero-badges span { color: #b9cee2; font-size: .85rem; }
.hero-card {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px; padding: 24px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 12px; color: #dbe8f5; }
.hero-card li svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--gold-600); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .2em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-alt { background: var(--white); }

/* ---------- Kurum kartları ---------- */
.kurum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.kurum-card {
    display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: .2s; position: relative; overflow: hidden;
}
.kurum-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--kc, var(--navy)); }
.kurum-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.kurum-ico {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--kc, var(--navy)) 12%, #fff); color: var(--kc, var(--navy));
}
.kurum-ico svg { width: 28px; height: 28px; }
.kurum-card h3 { font-size: 1.1rem; margin: 0; }
.kurum-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.kurum-card .kk-link { color: var(--kc, var(--navy)); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Kampanya kartları ---------- */
.kampanya-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.kampanya-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative;
}
.kampanya-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kampanya-card.populer { border-color: var(--gold); box-shadow: 0 12px 34px rgba(245, 166, 35, .18); }
.kk-head { padding: 22px 22px 0; }
.kk-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.kk-badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; }
.kk-badge.gold { background: var(--gold); color: #3a2600; }
.kk-badge.type { background: var(--bg-soft); color: var(--navy); }
.kk-badge.kapsam { background: color-mix(in srgb, var(--navy) 8%, #fff); color: var(--navy); }
.kk-head h3 { font-size: 1.22rem; margin: 0 0 4px; }
.kk-head .kk-sub { color: var(--muted); font-size: .9rem; margin: 0; }
.kk-price { padding: 16px 22px; display: flex; align-items: baseline; gap: 10px; }
.kk-price .now { font-size: 2rem; font-weight: 800; color: var(--navy); }
.kk-price .per { color: var(--muted); font-weight: 600; }
.kk-price .old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.canli-rozet { margin-left: auto; font-size: .72rem; font-weight: 800; color: var(--green); background: color-mix(in srgb, var(--green) 12%, #fff); padding: 3px 8px; border-radius: 999px; align-self: center; }
.kk-features { list-style: none; margin: 0; padding: 0 22px 8px; display: grid; gap: 9px; }
.kk-features li { display: flex; gap: 10px; align-items: flex-start; color: #2c3a48; font-size: .93rem; }
.kk-features li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.kk-foot { margin-top: auto; padding: 16px 22px 22px; }
.kk-gift { display: flex; gap: 8px; align-items: center; color: var(--gold-600); font-size: .85rem; font-weight: 600; margin-bottom: 12px; }

/* ---------- İller / harita ---------- */
.iller-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 30px; align-items: start; }
.map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.map-wrap svg { width: 100%; height: auto; display: block; }
.tr-map g[data-city-code] path { fill: #d7e2ee; stroke: #fff; stroke-width: .6; transition: fill .15s; cursor: pointer; }
.tr-map g[data-city-code]:hover path { fill: var(--gold); }
.tr-map g[data-city-code].active path { fill: var(--navy); }
.map-tooltip {
    position: fixed; pointer-events: none; background: var(--navy); color: #fff; padding: 5px 10px;
    border-radius: 8px; font-size: .82rem; font-weight: 700; transform: translate(-50%, -140%); opacity: 0; transition: opacity .1s; z-index: 60; white-space: nowrap;
}
.map-tooltip.show { opacity: 1; }
.il-panel { position: sticky; top: 90px; }
.il-search { position: relative; margin-bottom: 14px; }
.il-search input {
    width: 100%; padding: 13px 16px 13px 42px; border: 1.5px solid var(--line); border-radius: 12px;
    font-size: 1rem; font-family: inherit; background: #fff;
}
.il-search input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(22, 72, 122, .12); }
.il-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.il-list { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.il-bolge-group > summary {
    cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--navy); list-style: none;
    display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line);
}
.il-bolge-group:first-child > summary { border-top: 0; }
.il-bolge-group[open] > summary { color: var(--gold-600); }
.il-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 6px 10px 12px; }
.il-links a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: #2c3a48; font-size: .92rem; }
.il-links a:hover { background: var(--bg-soft); color: var(--navy); }
.il-plaka { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 4px; background: var(--bg-soft); border-radius: 6px; font-size: .72rem; font-weight: 700; color: var(--navy); }

/* ---------- İl / kurum başlık şeridi ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy), var(--navy-700)); color: #fff; padding: 56px 0 44px; position: relative; }
.page-hero .crumb { color: #a9c3db; font-size: .85rem; margin-bottom: 14px; }
.page-hero .crumb a { color: #cfe0f1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-hero p { color: #cfe0f1; max-width: 60ch; }
.page-hero .ph-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 16px; color: var(--gold); }
.page-hero .ph-icon svg { width: 34px; height: 34px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #eaf2fb; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Avantaj listesi ---------- */
.avantaj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.avantaj-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.avantaj-item svg { width: 24px; height: 24px; color: var(--green); flex: none; }
.avantaj-item strong { color: var(--navy); }

/* ---------- Başvuru sihirbazı ---------- */
.basvuru-shell { max-width: 760px; margin: 0 auto; }
.steps { display: flex; align-items: center; margin: 0 0 30px; counter-reset: step; }
.step-dot { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; color: var(--muted); font-size: .82rem; font-weight: 700; }
.step-dot::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 1rem; z-index: 2; }
.step-dot::after { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 1; }
.step-dot:first-child::after { display: none; }
.step-dot.active { color: var(--navy); }
.step-dot.active::before { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-dot.done::before { background: var(--green); border-color: var(--green); color: #fff; content: "✓"; }
.step-dot.done::after { background: var(--green); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-size: .92rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(22, 72, 122, .12); }
.field input.invalid, .field select.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(214, 69, 69, .12); }
.field .hint { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.field .err-msg { color: var(--danger); font-size: .82rem; margin-top: 5px; display: none; }
.field.has-error .err-msg { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 10px; padding: 14px; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.check-row label { font-weight: 500; color: #2c3a48; font-size: .9rem; margin: 0; }

/* Seçili kampanya özeti */
.secili-kampanya { border: 1.5px solid var(--gold); background: color-mix(in srgb, var(--gold) 8%, #fff); border-radius: var(--radius-sm); padding: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.secili-kampanya .sk-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.secili-kampanya small { color: var(--muted); }
.kampanya-secim { display: grid; gap: 12px; }
.kampanya-secenek { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.kampanya-secenek:hover { border-color: var(--navy-600); }
.kampanya-secenek input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.kampanya-secenek.selected { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, #fff); }
.kampanya-secenek .ks-info { flex: 1; }
.kampanya-secenek .ks-info b { color: var(--navy); }
.kampanya-secenek .ks-info small { display: block; color: var(--muted); }
.kampanya-secenek .ks-price { font-weight: 800; color: var(--navy); white-space: nowrap; text-align: right; }
.ks-kod { display: inline-block; background: var(--navy); color: #fff; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 6px; letter-spacing: .04em; vertical-align: middle; }
.ks-canli { color: var(--green); font-size: .72rem; font-weight: 800; margin-left: 4px; }

.alert { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.alert-error { background: #fdecec; color: #a12d2d; border: 1px solid #f5c6c6; }
.ozet-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ozet-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ozet-list li span { color: var(--muted); }
.ozet-list li b { color: var(--navy); text-align: right; }

/* ---------- Teşekkürler ---------- */
.thanks { text-align: center; max-width: 620px; margin: 0 auto; padding: 30px 0; }
.thanks .tick { width: 90px; height: 90px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, #fff); color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .tick svg { width: 48px; height: 48px; }

/* ---------- CTA şerit ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-600)); color: #fff; border-radius: 22px; padding: 42px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f1; max-width: 50ch; margin: 0 auto 22px; }

/* ---------- WhatsApp FAB (sol altta; chat sağ altta) ---------- */
.wa-fab { position: fixed; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 40; transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab svg { width: 32px; height: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d7e6; margin-top: 40px; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-note { color: #9db6cd; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c7d7e6; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: .82rem; color: #9db6cd; flex-wrap: wrap; }

/* ---------- Admin dashboard ---------- */
.admin-wrap { padding: 28px 0 60px; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.stat-card .stat-ico { font-size: 1.6rem; }
.stat-card b { display: block; font-size: 1.7rem; color: var(--navy); line-height: 1; }
.stat-card small { color: var(--muted); font-size: .82rem; }

.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tab-btn { background: none; border: 0; padding: 12px 18px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fade .2s ease; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar input { flex: 1; min-width: 220px; padding: 11px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.admin-toolbar input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(22,72,122,.12); }
.empty-note { color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; }

.basvuru-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.bv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bv-head b { color: var(--navy); font-size: 1.05rem; }
.bv-id { color: var(--muted); font-size: .8rem; margin-left: 6px; }
.badge-durum { background: var(--gold); color: #3a2600; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.bv-rows { display: grid; gap: 7px; }
.bv-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.bv-rows > div:last-child { border-bottom: 0; }
.bv-rows span { color: var(--muted); flex: none; }
.bv-rows b, .bv-rows a { color: var(--ink); text-align: right; word-break: break-word; }
.bv-not { background: var(--bg-soft); border-radius: 8px; padding: 8px 10px; font-size: .85rem; color: #2c3a48; margin: 0; }
.bv-actions { display: flex; gap: 8px; }
.bv-actions .btn { flex: 1; }

.kirilim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; margin-bottom: 18px; }
.panel h3 { margin-top: 0; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar-label { width: 130px; font-size: .85rem; color: #2c3a48; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; height: 12px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-600), var(--gold)); border-radius: 999px; }
.bar-val { width: 34px; text-align: right; font-weight: 700; color: var(--navy); flex: none; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kv-grid > div { display: flex; flex-direction: column; background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.kv-grid span { color: var(--muted); font-size: .78rem; }
.kv-grid b { color: var(--navy); }
.log-view { background: #0f2233; color: #cfe0f1; border-radius: 10px; padding: 14px; overflow-x: auto; font-size: .8rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 380px; }
.log-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.log-files li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--bg-soft); border-radius: 8px; font-size: .85rem; }
.log-files span { color: var(--muted); }

.chat-list { display: grid; gap: 10px; }
.chat-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.chat-item > summary { cursor: pointer; padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chat-item > summary b { color: var(--navy); }
.chat-thread { padding: 0 16px 16px; display: grid; gap: 8px; }
.chat-msg { max-width: 80%; padding: 8px 12px; border-radius: 12px; font-size: .88rem; }
.chat-msg.from-user { background: var(--navy); color: #fff; justify-self: end; border-bottom-right-radius: 3px; }
.chat-msg.from-bot { background: var(--bg-soft); color: #2c3a48; justify-self: start; border-bottom-left-radius: 3px; }

/* ---------- Canlı destek chat ---------- */
#chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 45; font-family: var(--font); }
.chat-launcher { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); font: inherit; font-weight: 700; transition: transform .2s; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher.hidden { display: none; }
.chat-launcher-avatar, .chat-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #3a2600; font-weight: 800; flex: none; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; width: 370px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 40px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel.open { display: flex; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(120deg, var(--navy), var(--navy-600)); color: #fff; }
.chat-header .chat-avatar { width: 42px; height: 42px; }
.chat-header-txt { flex: 1; line-height: 1.2; }
.chat-header-txt strong { display: block; font-size: .95rem; }
.chat-header-txt small { color: #cfe0f1; font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #37e07a; display: inline-block; box-shadow: 0 0 0 3px rgba(55,224,122,.25); }
.chat-end-btn { background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; }
.chat-end-btn:hover { background: rgba(255,255,255,.28); }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-start { padding: 20px; display: block; }
.chat-start-info { color: var(--muted); font-size: .9rem; }
.chat-start input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: 10px; }
.chat-start input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(22,72,122,.12); }
.chat-start-err { color: var(--danger); font-size: .82rem; display: block; min-height: 16px; margin-bottom: 4px; }
.chat-start-kvkk { color: var(--muted); font-size: .74rem; display: block; margin-top: 10px; text-align: center; }
.chat-ui { display: none; flex-direction: column; flex: 1; min-height: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; word-wrap: break-word; }
.chat-msg a { color: inherit; text-decoration: underline; }
.chat-msg-user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg-admin { align-self: flex-start; background: color-mix(in srgb, var(--gold) 14%, #fff); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-agent-tag { display: block; color: var(--gold-600); font-weight: 700; font-size: .7rem; margin-bottom: 2px; }
.chat-typing { display: none; align-items: center; gap: 4px; padding: 4px 16px 8px; }
.chat-typing-label { color: var(--muted); font-size: .78rem; font-style: normal; margin-right: 4px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatdot 1s infinite; }
.chat-typing span:nth-child(3) { animation-delay: .15s; } .chat-typing span:nth-child(4) { animation-delay: .3s; }
@keyframes chatdot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }
.chat-input input:focus { outline: none; border-color: var(--navy-600); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-send:hover { background: var(--navy-700); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-wa-btn { width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; font-weight: 800; font-size: .8rem; }
.chat-restart { margin: 10px; padding: 10px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 480px) {
    .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); max-height: none; }
    .chat-launcher-text { display: none; }
}

/* ---------- 404 ---------- */
.err404 { text-align: center; padding: 80px 0; }
.err404 .big { font-size: 6rem; font-weight: 800; color: var(--navy); line-height: 1; }

/* ---------- Yardımcılar ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { order: -1; }
    .iller-layout { grid-template-columns: 1fr; }
    .il-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-cta { text-align: center; margin-top: 8px; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .step-dot span { display: none; }
    .form-card { padding: 20px; }
    .cta-band { padding: 30px 20px; }
}
