/* ============================================================
   Ergül OSGB — Ana Stil Dosyası
   ============================================================ */

:root {
  --primary: #0c4a6e;
  --primary-dark: #082f49;
  --primary-light: #e0f2fe;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);
  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 800; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--primary-dark);
  color: #bae6fd;
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; flex-shrink: 0; }
.topbar .pill {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 4px 14px; border-radius: 99px; font-size: 12.5px;
}
.topbar .pill:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }

/* Footer'da logo beyaz bir yüzey üzerinde durur */
.footer .brand { display: inline-flex; background: #fff; padding: 10px 16px; border-radius: 12px; }
.footer .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 9px; border-radius: 10px; font-weight: 600; font-size: 13.5px;
  color: var(--ink); transition: background .2s, color .2s; white-space: nowrap;
}
.nav a:hover { background: var(--primary-light); color: var(--primary); }
.nav a.active { color: var(--primary); background: var(--primary-light); }
.nav .btn { margin-left: 8px; padding: 11px 18px; white-space: nowrap; }

/* Header sağ blok: her ekranda görünen Tahlil butonu + menü tuşu */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Tahlil Sonuçları butonu (belirgin) ---------- */
.btn.btn-lab {
  background: linear-gradient(135deg, #059669, #047857); color: #fff;
  position: relative; padding: 12px 18px; white-space: nowrap;
}
.btn.btn-lab:hover { background: linear-gradient(135deg, #047857, #065f46); transform: translateY(-2px); }
/* Dikkat çeken nabız efekti — box-shadow kullanır, yerleşimi etkilemez */
.btn-lab::after {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  animation: lab-pulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes lab-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70%  { box-shadow: 0 0 0 13px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.btn-lab .lab-short { display: none; }

/* Topbar'daki Tahlil kısayolu */
.topbar .pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #10b981; color: #fff;
}
.topbar .pill:hover { background: #059669; color: #fff; }
.topbar .pill svg { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px; font-weight: 700; font-size: 15px;
  font-family: var(--font); cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, .35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, #0e7490 100%);
  padding: 96px 0 110px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 24px; color: #e0f2fe;
}
.hero-badge svg { width: 15px; height: 15px; color: #7dd3fc; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #fdba74; }
.hero p.lead { font-size: 18px; color: #cbe7f7; max-width: 54ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); border-radius: 20px; padding: 28px;
}
.hero-card-row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  background: rgba(255,255,255,.07); border-radius: 14px; margin-bottom: 12px;
  transition: transform .2s;
}
.hero-card-row:last-child { margin-bottom: 0; }
.hero-card-row:hover { transform: translateX(6px); }
.hero-card-row .ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
.hero-card-row .ico svg { width: 21px; height: 21px; }
.hero-card-row strong { color: #fff; font-size: 15px; display: block; }
.hero-card-row small { color: #bae6fd; font-size: 12.5px; }

/* ---------- Stats ---------- */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats-grid {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px; gap: 20px;
}
.stat { text-align: center; padding: 0 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-size: 36px; font-weight: 800; color: var(--primary); display: block; letter-spacing: -.02em; }
.stat b span { color: var(--accent); }
.stat small { color: var(--muted); font-weight: 600; font-size: 13.5px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.02em; margin-bottom: 16px; }
.section-head p { font-size: 16.5px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 22px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center;
  transition: background .25s, color .25s;
}
.card:hover .ico { background: var(--primary); color: #fff; }
.card .ico svg { width: 27px; height: 27px; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 15px; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--primary); font-weight: 700; font-size: 14px;
}
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature list (about) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-panel {
  border-radius: 22px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--primary), #0e7490);
  aspect-ratio: 4 / 3.4; display: grid; place-items: center; color: #fff;
}
.about-panel svg.big { width: 46%; height: auto; opacity: .92; }
.about-float {
  position: absolute; bottom: -24px; right: -18px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px 24px; display: flex; align-items: center; gap: 14px;
}
.about-float .ico {
  width: 46px; height: 46px; border-radius: 12px; background: #fff7ed; color: var(--accent);
  display: grid; place-items: center;
}
.about-float .ico svg { width: 23px; height: 23px; }
.about-float b { display: block; font-size: 22px; color: var(--ink); line-height: 1.2; }
.about-float small { color: var(--muted); font-weight: 600; font-size: 12.5px; }

.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list li svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.check-list li small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; counter-increment: step;
}
.step::before {
  content: '0' counter(step);
  font-size: 44px; font-weight: 800; color: var(--primary-light);
  display: block; margin-bottom: 8px; line-height: 1;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14px; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border-radius: 24px; padding: 64px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(249, 115, 22, .18); filter: blur(10px);
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; letter-spacing: -.02em; }
.cta p { color: #cbe7f7; max-width: 52ch; }
.cta .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Branch cards ---------- */
.branch-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.branch-head {
  background: linear-gradient(120deg, var(--primary), #0e7490);
  color: #fff; padding: 26px 30px; display: flex; align-items: center; gap: 15px;
}
.branch-head .ico {
  width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.15);
  display: grid; place-items: center; flex-shrink: 0;
}
.branch-head .ico svg { width: 24px; height: 24px; }
.branch-head h3 { color: #fff; font-size: 20px; }
.branch-head small { color: #bae6fd; font-weight: 600; font-size: 13px; }
.branch-body { padding: 28px 30px; display: grid; gap: 16px; }
.branch-body .row { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; }
.branch-body .row svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.branch-body .row a:hover { color: var(--primary); }
.branch-body .row strong { color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.nice { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.nice th {
  background: var(--primary); color: #fff; text-align: left;
  padding: 15px 20px; font-weight: 700; font-size: 14px;
}
table.nice td { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--body); }
table.nice tr:nth-child(even) td { background: var(--bg); }
.tag { display: inline-block; padding: 4px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.tag.low { background: #d1fae5; color: #065f46; }
.tag.mid { background: #fef3c7; color: #92400e; }
.tag.high { background: #fee2e2; color: #991b1b; }

/* ---------- Calculator ---------- */
.calc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 26px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 8px; }
.field select, .field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg);
  transition: border-color .2s, background .2s; outline: none;
}
.field select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--primary); background: #fff;
}
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.calc-result {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; text-align: center;
}
.calc-result b { display: block; font-size: 27px; color: var(--primary); font-weight: 800; }
.calc-result small { color: var(--muted); font-weight: 600; font-size: 13px; }
.note {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: var(--radius-sm); padding: 15px 20px; font-size: 13.5px; margin-top: 22px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-item .ico {
  width: 48px; height: 48px; border-radius: 13px; background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-item .ico svg { width: 23px; height: 23px; }
.contact-item h3 { font-size: 16px; margin-bottom: 5px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--body); }
.contact-item a:hover { color: var(--primary); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { font-size: 14.5px; margin-bottom: 26px; }
.form-alert {
  border-radius: var(--radius-sm); padding: 15px 18px; margin-bottom: 22px;
  font-size: 14.5px; font-weight: 600; border: 1px solid;
}
.form-alert.ok  { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.form-alert.err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card .btn { margin-top: 22px; width: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 70%, #0e7490);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; margin-bottom: 12px; }
.page-hero p { color: #cbe7f7; max-width: 64ch; font-size: 17px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #7dd3fc; margin-bottom: 18px; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-dark); color: #93b8cc; padding: 70px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer p { max-width: 34ch; }
.footer .brand { margin-bottom: 18px; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #7dd3fc; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: #fff; padding-left: 5px; }
.footer .frow { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
.footer .frow svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.footer .frow a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom a { color: #7dd3fc; }
.footer-bottom a:hover { color: #fff; }

/* Tasarımcı kredisi rozeti */
.footer-bottom .credit {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.footer-bottom .credit:hover {
  background: rgba(249, 115, 22, .14);
  border-color: rgba(249, 115, 22, .55);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.footer-bottom .credit svg {
  width: 16px; height: 16px; color: var(--accent); flex-shrink: 0;
  transition: transform .25s;
}
.footer-bottom .credit:hover svg { transform: rotate(-8deg) scale(1.1); }
.credit-label {
  font-size: 11px; font-weight: 700; color: #7f9fb3;
  text-transform: uppercase; letter-spacing: .09em; white-space: nowrap;
}
.credit-name {
  font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap;
  transition: color .25s;
}
.footer-bottom .credit:hover .credit-name { color: #fdba74; }

/* ---------- Tahlil sonuçları vurgu bandı ---------- */
.lab-band {
  background: linear-gradient(120deg, #065f46, #059669 60%, #10b981);
  border-radius: 22px; padding: 40px 46px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.lab-band::after {
  content: ''; position: absolute; right: -60px; bottom: -90px;
  width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.12);
}
.lab-band-text { display: flex; align-items: center; gap: 22px; position: relative; z-index: 1; }
.lab-band .ico {
  width: 62px; height: 62px; border-radius: 17px; flex-shrink: 0;
  background: rgba(255,255,255,.18); display: grid; place-items: center;
}
.lab-band .ico svg { width: 31px; height: 31px; }
.lab-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; letter-spacing: -.02em; }
.lab-band p { color: #d1fae5; font-size: 15.5px; max-width: 56ch; }
.lab-band .btn { position: relative; z-index: 1; flex-shrink: 0; }
.lab-band .btn-light { color: #047857; }

/* ---------- Referans logoları: kayan şerit ---------- */
.logos { overflow: hidden; position: relative; }
.logos::before, .logos::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.logos::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logos::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.section.alt .logos::before { background: linear-gradient(to right, #fff, transparent); }
.section.alt .logos::after { background: linear-gradient(to left, #fff, transparent); }

.logos-track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 34s linear infinite;
}
.logos:hover .logos-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-item {
  flex: 0 0 auto; width: 178px; height: 96px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: center; padding: 16px 22px;
}
.logo-item img {
  max-height: 60px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s;
}
.logo-item:hover img { filter: none; opacity: 1; }

/* ---------- Referanslar sayfası ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ref-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 150px; display: grid; place-items: center; padding: 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ref-card img { max-height: 92px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- 404 sayfası ---------- */
.notfound { text-align: center; padding-top: 76px; }
.notfound-code {
  display: block; font-size: clamp(90px, 16vw, 170px); font-weight: 800;
  line-height: .9; letter-spacing: -.04em; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary) 15%, #0e7490 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
}
.notfound h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; margin-bottom: 16px; }
.notfound p { max-width: 56ch; margin: 0 auto 34px; font-size: 16.5px; }
.notfound-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 404'teki öneri kartları tıklanabilir olduğu için başlık rengi korunur */
a.card { display: block; color: inherit; }
a.card h3 { color: var(--ink); }

@media (max-width: 640px) {
  .notfound { padding-top: 52px; }
  .notfound-actions .btn { width: 100%; }
}

/* ---------- Prose (yasal metin sayfaları) ---------- */
.prose {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; max-width: 900px; margin-inline: auto;
}
.prose h2 { font-size: 22px; margin: 34px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--primary); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ---------- KVKK bildirimi ---------- */
.kvkk-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--primary-dark); color: #cbe7f7;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px 24px; display: flex; align-items: center; gap: 20px;
  max-width: 980px; margin-inline: auto; font-size: 14px; line-height: 1.55;
  animation: kvkk-in .45s ease;
}
@keyframes kvkk-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.kvkk-banner p { margin: 0; }
.kvkk-banner a { color: #7dd3fc; font-weight: 700; text-decoration: underline; }
.kvkk-banner a:hover { color: #fff; }
.kvkk-banner .btn { flex-shrink: 0; padding: 10px 22px; font-size: 14px; }
@media (max-width: 640px) {
  .kvkk-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; }
  .prose { padding: 28px 22px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .logos-track { animation: none; }
  .btn-lab::after { animation: none; opacity: 0; }
}

/* ---------- Responsive ---------- */
/* Menü, logo + Tahlil butonu + linkler sıkışmadan önce mobil moda geçer */
@media (max-width: 1120px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 76px; z-index: 99;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px 24px 26px; gap: 6px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .nav .btn { margin: 12px 0 0; }
  .nav-toggle { display: block; }
}

@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 72px 0 96px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .topbar-group.secondary { display: none; }
  .lab-band { flex-direction: column; align-items: stretch; text-align: left; padding: 34px 28px; }
  .lab-band .btn { width: 100%; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .steps, .calc-grid, .form-grid, .calc-results { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ref-card { height: 118px; padding: 18px; }
  .ref-card img { max-height: 74px; }
  .logo-item img { max-height: 52px; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 24px 14px; }
  .stat b { font-size: 28px; }
  .stat + .stat { border-left: 0; }
  .section { padding: 64px 0; }
  .cta { flex-direction: column; text-align: center; padding: 48px 28px; }
  .calc, .form-card { padding: 28px 22px; }
  .about-float { right: 0; bottom: -20px; padding: 14px 18px; }
  .hero-actions .btn { width: 100%; }
  .brand img { height: 38px; }
  .logo-item { width: 148px; height: 84px; padding: 14px 18px; }
  .logos::before, .logos::after { width: 40px; }
  .lab-band-text { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Çok küçük ekranlarda Tahlil butonu kısa metne düşer */
@media (max-width: 500px) {
  .btn-lab { padding: 11px 16px; font-size: 14px; }
  .btn-lab .lab-full { display: none; }
  .btn-lab .lab-short { display: inline; }
  .header .container { gap: 10px; }
}
