/* =========================================================
   KodBoy — site stilleri
   Renkler yönetim panelinden --kb-primary, --kb-secondary,
   --kb-accent ve --kb-dark değişkenleriyle gelir.
   ========================================================= */

:root {
  --kb-primary: #2563eb;
  --kb-secondary: #0ea5e9;
  --kb-accent: #f59e0b;
  --kb-dark: #0f172a;

  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6474;
  --border: #e4e8f0;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 68px;
}

html[data-theme="dark"] {
  --bg: #0b1020;
  --bg-alt: #0f1629;
  --surface: #131b31;
  --text: #e6eaf3;
  --muted: #9aa4b8;
  --border: #233050;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
}

* { 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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kb-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--kb-primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--kb-primary) 60%, transparent); outline-offset: 2px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--kb-primary); color: #fff; font: 600 15px/1 var(--font);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--kb-primary) 35%, transparent); }
.btn-light { background: #fff; color: var(--kb-dark); }
.btn-ghost { background: transparent; color: var(--kb-primary); border: 1px solid var(--border); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
/* Bulanık arka plan sözde öğede: header üzerinde backdrop-filter olursa mobil menü (position:fixed) kırpılır */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.main-nav { min-width: 0; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 21px; letter-spacing: -.03em; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--kb-primary), var(--kb-secondary));
  color: #fff; font: 700 14px var(--mono); letter-spacing: -1px;
}
.brand-logo { max-height: 42px; width: auto; }

.main-nav { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 10px; color: var(--text); font: 600 15px var(--font);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: var(--bg-alt); text-decoration: none; color: var(--kb-primary); }
.caret { font-size: 11px; opacity: .7; }
.sub-only { display: none; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.sub li { position: relative; }
.sub .nav-link { display: flex; width: 100%; padding: 9px 12px; font-weight: 500; }
.sub .sub { top: -8px; left: 100%; }
.has-sub:hover > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-mini { display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 0 4px 0 12px; }
.search-mini input { border: 0; background: none; outline: 0; width: 140px; padding: 9px 0; color: var(--text); font: 14px var(--font); }
.search-mini button { border: 0; background: none; color: var(--muted); padding: 6px; cursor: pointer; display: grid; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { color: var(--kb-primary); }
.i-moon { display: none; }
html[data-theme="dark"] .i-sun { display: none; }
html[data-theme="dark"] .i-moon { display: block; }
.burger { display: none; gap: 4px; align-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) { .search-mini { display: none; } }
/* Dar ekran veya menü tek satıra sığmadığında: main.js <html> öğesine .nav-compact ekler */
.nav-compact .search-mini { display: none; }
.nav-compact .burger { display: inline-grid; }
.nav-compact .main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); overflow-y: auto;
  padding: 12px 20px 40px; transform: translateX(100%); visibility: hidden;
  transition: transform .25s, visibility .25s; border-top: 1px solid var(--border);
}
.nav-compact .main-nav.open { transform: none; visibility: visible; }
.nav-compact .nav-list { flex-direction: column; gap: 0; }
.nav-compact .nav-list > li, .nav-compact .sub li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.nav-compact .nav-link { flex: 1; padding: 14px 4px; font-size: 17px; justify-content: space-between; white-space: normal; }
.nav-compact .sub-only { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; }
.nav-compact .sub, .nav-compact .sub .sub {
  position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 14px; background: transparent; min-width: 0;
}
.nav-compact .has-sub.open > .sub { display: block; }
.nav-compact .sub li { border-bottom: 0; }
.nav-compact .sub .nav-link { padding: 10px 4px; font-size: 16px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--kb-secondary) 55%, transparent) 0, transparent 45%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--kb-accent) 30%, transparent) 0, transparent 40%),
    linear-gradient(135deg, var(--kb-dark), color-mix(in srgb, var(--kb-primary) 70%, var(--kb-dark)));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.eyebrow { display: inline-block; font: 600 13px var(--mono); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-bottom: 18px; }
.hero .lead { font-size: 18px; opacity: .88; max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-search input {
  height: 46px; min-width: 260px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff; font: 15px var(--font); outline: 0;
}
.hero-search input::placeholder { color: rgba(255,255,255,.65); }
.hero-search input:focus { background: rgba(255,255,255,.18); }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 28px; }
.hero-stats span { font-size: 13px; opacity: .75; }

.hero-visual { position: relative; }
.code-window { background: rgba(5, 10, 25, .75); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.cw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: 10px; font: 12px var(--mono); opacity: .6; }
.code-window pre { margin: 0; padding: 20px 22px; font: 14px/1.7 var(--mono); color: #dbe4ff; overflow-x: auto; }
.code-window .k { color: #c792ea; } .code-window .f { color: #82aaff; } .code-window .n { color: #f78c6c; } .code-window .s { color: #c3e88d; }
.blocks { position: absolute; right: -10px; bottom: -36px; display: flex; flex-direction: column; align-items: flex-start; }
.blk { display: inline-block; padding: 9px 16px 9px 14px; color: #fff; font: 600 13px var(--font); border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.25); margin-top: -2px; position: relative; }
.blk.b1 { background: #e6a817; border-radius: 18px 18px 8px 8px; }
.blk.b2 { background: #ffab19; margin-left: 0; }
.blk.b3 { background: #4c97ff; margin-left: 16px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { display: none; }
  .hero-search input { min-width: 0; width: 100%; }
  .hero-search { flex: 1 1 220px; }
}

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.section-head p { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cat-card {
  --cat: var(--kb-primary);
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cat); }
.cat-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cat) 40%, var(--border)); }
.cat-icon { display: grid; place-items: center; width: 50px; height: 50px; font-size: 26px; border-radius: 14px; background: color-mix(in srgb, var(--cat) 14%, transparent); margin-bottom: 6px; }
.cat-name { font-weight: 700; font-size: 18px; }
.cat-desc { font-size: 14px; color: var(--muted); flex: 1; }
.cat-count { font-size: 13px; font-weight: 600; color: var(--cat); margin-top: 6px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
@media (max-width: 400px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { --cat: var(--kb-primary); aspect-ratio: 16 / 9; display: block; background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 85%, #000), color-mix(in srgb, var(--cat) 55%, var(--kb-secondary))); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { display: grid; place-items: center; height: 100%; font-size: 52px; color: #fff; font-family: var(--mono); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.chip { --chip: var(--kb-primary); font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--chip); background: color-mix(in srgb, var(--chip) 12%, transparent); }
.chip:hover { text-decoration: none; background: color-mix(in srgb, var(--chip) 20%, transparent); }
.level { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border); }
.level-baslangic { color: #15803d; } .level-orta { color: #b45309; } .level-ileri { color: #b91c1c; }
html[data-theme="dark"] .level-baslangic { color: #4ade80; } html[data-theme="dark"] .level-orta { color: #fbbf24; } html[data-theme="dark"] .level-ileri { color: #f87171; }
.card-title { font-size: 19px; margin: 0 0 8px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--kb-primary); text-decoration: none; }
.card-text { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.card-foot { font-size: 13px; }

/* ---------- Sayfa başlıkları ---------- */
.page-hero, .article-head {
  --cat: var(--kb-primary);
  padding: 48px 0 40px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 10%, var(--bg)), var(--bg-alt));
  border-bottom: 1px solid var(--border);
}
.page-hero h1, .article-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin: 8px 0 12px; }
.page-hero .lead, .article-head .lead { font-size: 18px; color: var(--muted); margin: 0; max-width: 720px; }
.ph-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--cat) 16%, transparent); vertical-align: middle; font-size: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--kb-primary); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 14px; }

.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 500; }
.filter:hover { text-decoration: none; border-color: var(--kb-primary); }
.filter.active { background: var(--kb-primary); border-color: var(--kb-primary); color: #fff; }

/* ---------- Makale ---------- */
.article > .container { padding-top: 40px; padding-bottom: 64px; }
.article-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.article-layout .article-main { max-width: 780px; }
.guide-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.guide-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.guide-root { display: block; font-weight: 700; color: var(--text); padding: 6px 8px; border-radius: 8px; }
.guide-box ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: g; }
.guide-box li a { display: block; padding: 8px 8px 8px 34px; border-radius: 8px; color: var(--muted); font-size: 14.5px; position: relative; }
.guide-box li a::before { counter-increment: g; content: counter(g); position: absolute; left: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--bg-alt); border: 1px solid var(--border); }
.guide-box a:hover { background: var(--bg-alt); text-decoration: none; color: var(--text); }
.guide-box a.active { background: color-mix(in srgb, var(--kb-primary) 12%, transparent); color: var(--kb-primary); font-weight: 600; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 24px; } .guide-nav { position: static; } }

.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.prose { font-size: 17.5px; line-height: 1.8; overflow-wrap: break-word; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 12px; margin: 1.5em auto; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 16px 20px; border-left: 4px solid var(--kb-accent); background: color-mix(in srgb, var(--kb-accent) 10%, var(--bg)); border-radius: 0 12px 12px 0; }
.prose code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--border); }
.prose pre, .prose pre.ql-syntax { font: 14.5px/1.65 var(--mono); background: #0d1326; color: #dbe4ff; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 1.5em 0; white-space: pre; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-alt); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; margin: 1.5em 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.prose .ql-video { width: 100%; aspect-ratio: 16/9; }

.subpages { margin-top: 48px; }
.subpages h2 { font-size: 22px; }
.subpage-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.subpage-list a { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: var(--surface); transition: border-color .15s, transform .15s; }
.subpage-list a:hover { text-decoration: none; border-color: var(--kb-primary); transform: translateX(4px); }
.subpage-list .num { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--kb-primary); color: #fff; font-weight: 700; }
.subpage-list small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pn { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); font-weight: 600; }
.pn small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.pn:hover { border-color: var(--kb-primary); text-decoration: none; }
.pn.next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .prev-next { grid-template-columns: 1fr; } .pn.next { grid-column: auto; } }

.preview-bar { background: var(--kb-accent); color: #111; text-align: center; padding: 10px; font-weight: 600; font-size: 14px; }
.preview-bar a { color: #111; text-decoration: underline; }

/* ---------- Diğer ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.pagination a:hover { border-color: var(--kb-primary); text-decoration: none; }
.pagination .current { background: var(--kb-primary); border-color: var(--kb-primary); color: #fff; }
.pagination .dots { border: 0; }

.empty-state { text-align: center; padding: 64px 0; }
.big-code { font: 800 96px var(--mono); background: linear-gradient(135deg, var(--kb-primary), var(--kb-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-big { display: flex; gap: 10px; max-width: 620px; margin: 20px auto 0 0; }
.empty-state .search-big { margin: 24px auto; }
.search-big input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 16px var(--font); }
.page-hero .search-big .btn-light { background: var(--kb-primary); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--kb-dark); color: #cbd5e1; padding-top: 56px; margin-top: 0; }
.site-footer .brand-text { color: #fff; }
.site-footer .muted { color: #94a3b8; max-width: 380px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-links a, .socials a { color: #cbd5e1; }
.footer-links a:hover, .socials a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: #94a3b8; }
.to-top { color: #cbd5e1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
