/* Manavgat Oto Elektronik: mobil öncelikli, tek dosya stil */
:root {
  --teal-900: #0f2f55;
  --teal-800: #174a7c;
  --teal-700: #1f5f9f;
  --teal-600: #2f78c4;
  --teal-100: #d9e8f7;
  --teal-50: #eef5fc;
  --orange: #2f78c4;
  --orange-dark: #1f5f9f;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7fafd;
  --card: #ffffff;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --green: #15803d;
  --green-bg: #f0fdf4;
  --blue: #1d4ed8;
  --blue-bg: #eff6ff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 6px 20px rgba(15,23,42,.06);
  --shadow-lg: 0 10px 40px rgba(15,23,42,.14);
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 76px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* Üst bar */
.topbar { background: var(--teal-50); color: var(--ink-2); font-size: .85rem; border-bottom: 1px solid var(--teal-100); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: var(--teal-800); text-decoration: none; font-weight: 700; }
.topbar .hide-m { display: none; }
@media (min-width: 700px) { .topbar .hide-m { display: inline; } }

header.site { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand small { white-space: nowrap; display: block; font-weight: 600; color: var(--muted); font-size: .75rem; letter-spacing: .02em; text-transform: uppercase; }
.brand span { line-height: 1.1; }
nav.main { margin-left: auto; display: none; gap: 4px; align-items: center; }
nav.main a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.btn-menu { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.btn-menu svg { width: 22px; height: 22px; }
@media (min-width: 900px) { nav.main { display: flex; } .btn-menu { display: none; } }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 49; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; min-height: 48px; transition: transform .1s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(31,95,159,.30); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-800); color: #fff; }
.btn-wa { background: #16a34a; color: #fff; }
.btn-wa:hover { background: #15803d; color: #fff; }
.btn-ghost { background: #fff; color: var(--teal-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { position: relative; color: var(--ink); background: linear-gradient(180deg, #f3f8ff 0%, #e4effa 100%); overflow: hidden; border-bottom: 1px solid var(--teal-100); }
.hero-grid { display: grid; gap: 28px; align-items: center; padding-top: 36px; padding-bottom: 44px; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 44px; padding-top: 52px; padding-bottom: 60px; } }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--teal-100); color: var(--teal-800); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 700; margin-bottom: 16px; }
.hero h1 { max-width: 20ch; color: var(--teal-900); }
.hero h1 em { font-style: normal; color: var(--teal-600); }
.hero p.lead { font-size: 1.1rem; max-width: 56ch; color: var(--ink-2); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-media .float { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; }
.hero-media .float b { font-size: 1.6rem; color: var(--teal-600); line-height: 1; }
.hero-media .float span { font-size: .85rem; line-height: 1.2; color: var(--ink-2); font-weight: 650; }
.searchbox { position: relative; max-width: 620px; margin: 22px 0 14px; }
.searchbox input { width: 100%; height: 58px; border-radius: 16px; border: 2px solid var(--teal-100); padding: 0 56px 0 52px; font-size: 1.05rem; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.searchbox input:focus { border-color: var(--teal-600); outline: none; }
.searchbox .ico { position: absolute; left: 16px; top: 17px; width: 24px; height: 24px; color: var(--teal-700); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--teal-100); color: var(--teal-800); text-decoration: none; font-weight: 650; font-size: .92rem; }
.chip:hover { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.results { position: absolute; left: 0; right: 0; top: 64px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 30; max-height: 70vh; overflow: auto; display: none; }
.results.show { display: block; }
.results a { display: flex; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); align-items: center; }
.results a:hover, .results a.on { background: var(--teal-50); }
.results .tag { font-size: .78rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--teal-100); color: var(--teal-900); flex: none; text-transform: uppercase; }
.results .tag.kod { background: #e0e7ff; color: #3730a3; }
.results .tag.lamba { background: #fef3c7; color: #92400e; }
.results .none { padding: 16px; color: var(--muted); }

/* Bölümler */
section.block { padding: 44px 0; }
section.block.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.kicker { text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--teal-700); margin-bottom: 6px; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-600); }
.card .thumb { aspect-ratio: 3/2; height: auto; object-fit: cover; width: 100%; background: var(--teal-50); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.card .meta { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.cat { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 150px; color: #fff; text-decoration: none; display: flex; align-items: end; box-shadow: var(--shadow); isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,47,44,.92), rgba(8,47,44,.1) 70%); z-index: -1; }
.cat:hover img { transform: scale(1.05); }
.cat .t { padding: 14px; }
.cat strong { display: block; font-size: 1.08rem; }
.cat span { font-size: .85rem; opacity: .9; }

/* Rozetler */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .01em; }
.badge.dur { background: var(--red-bg); color: var(--red); }
.badge.dikkat { background: var(--amber-bg); color: var(--amber); }
.badge.rahat { background: var(--green-bg); color: var(--green); }
.badge.kat { background: var(--teal-50); color: var(--teal-800); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Makale sayfası */
.crumbs { font-size: .88rem; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }
.page-head { padding: 12px 0 8px; }
.page-head .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 70ch; }
.article-grid { display: grid; gap: 28px; padding: 18px 0 48px; }
@media (min-width: 980px) { .article-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.article section { margin-bottom: 30px; }
.article h2 { display: flex; align-items: center; gap: 10px; }
.article h2 .n { width: 32px; height: 32px; border-radius: 10px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-size: .95rem; flex: none; }
.cover { border-radius: var(--radius); overflow: hidden; margin: 14px 0 22px; box-shadow: var(--shadow); }
.cover img { width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; }

.callout { border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; border: 1px solid; display: flex; gap: 14px; }
.callout .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; }
.callout.dur { background: var(--red-bg); border-color: #fecaca; } .callout.dur .ic { background: var(--red); }
.callout.dikkat { background: var(--amber-bg); border-color: #fde68a; } .callout.dikkat .ic { background: #d97706; }
.callout.rahat { background: var(--green-bg); border-color: #bbf7d0; } .callout.rahat .ic { background: var(--green); }
.callout h3 { margin-bottom: 2px; }
.callout p { margin: 0; }

.signs { list-style: none; padding: 0; display: grid; gap: 8px; }
.signs li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 44px; position: relative; }
.signs li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #d9e8f7; }

.causes { display: grid; gap: 10px; }
.cause { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cause .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cause strong { font-size: 1.02rem; }
.cause p { margin: 6px 0 0; color: var(--ink-2); font-size: .96rem; }
.meter { display: inline-flex; gap: 3px; align-items: center; font-size: .82rem; font-weight: 800; color: var(--muted); }
.meter i { width: 14px; height: 8px; border-radius: 3px; background: var(--line); display: inline-block; }
.meter i.on { background: var(--orange); }
.meter b { margin-left: 6px; }

.checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; align-items: flex-start; }
.checklist input { width: 22px; height: 22px; accent-color: var(--teal-700); margin-top: 2px; flex: none; }
.checklist li.done { background: var(--teal-50); border-color: var(--teal-100); }
.checklist li.done span { text-decoration: line-through; color: var(--muted); }
.checklist label { cursor: pointer; display: flex; gap: 12px; width: 100%; }

.warn-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.warn-list li { background: var(--red-bg); border: 1px solid #fecaca; border-radius: 12px; padding: 12px 14px 12px 44px; position: relative; }
.warn-list li::before { content: "!"; position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: .85rem; display: grid; place-items: center; }
.trap { background: var(--amber-bg); border: 1px solid #fde68a; border-radius: var(--radius); padding: 18px; }
.trap ul { margin: 8px 0 0; padding-left: 1.1em; }
.trap li { margin-bottom: 6px; }
.trap h3 { color: var(--amber); }

details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
details.faq summary { padding: 14px 16px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--teal-700); }
details.faq[open] summary::after { content: "−"; }
details.faq div { padding: 0 16px 14px; color: var(--ink-2); }

aside.side { display: grid; gap: 16px; align-content: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 10px; }
.panel.cta { background: linear-gradient(160deg, var(--teal-700), var(--teal-600)); color: #fff; border: 0; }
.panel.cta h3 { color: #fff; }
.panel.cta p { color: #eaf3ff; }
.panel.cta .btn-primary { background: #fff; color: var(--teal-800); box-shadow: none; }
.panel.cta .btn-primary:hover { background: var(--teal-50); color: var(--teal-900); }
.panel .kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.panel .kv:last-child { border: 0; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.mini-list li:last-child a { border: 0; }
.code-pill { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-weight: 800; background: #e0e7ff; color: #3730a3; padding: 3px 8px; border-radius: 8px; text-decoration: none; margin: 0 6px 6px 0; }
.code-pill:hover { background: #c7d2fe; color: #312e81; }
.yt { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 650; }
.yt svg { width: 38px; height: 38px; flex: none; }

/* Arıza kodu sayfası */
.code-hero { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.code-big { font-family: ui-monospace, Consolas, monospace; font-weight: 900; font-size: clamp(2rem, 8vw, 3.2rem); background: #1e1b4b; color: #fff; padding: 10px 20px; border-radius: 16px; letter-spacing: .04em; }
.sev { display: flex; gap: 6px; align-items: center; font-weight: 800; }
.sev i { width: 26px; height: 10px; border-radius: 4px; background: var(--line); }
.sev.s1 i:nth-child(-n+1) { background: var(--green); }
.sev.s2 i:nth-child(-n+2) { background: #d97706; }
.sev.s3 i { background: var(--red); }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
table.tbl th, table.tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { background: var(--teal-50); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-800); }
table.tbl tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: 12px; }
.code-list { display: grid; gap: 8px; }
.code-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.code-row:hover { border-color: var(--teal-600); box-shadow: var(--shadow); }
.code-row b { font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; color: #3730a3; }
.code-row .sev { justify-self: end; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filterbar button { border: 1px solid var(--line); background: #fff; padding: 9px 14px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .92rem; color: var(--ink-2); }
.filterbar button.on { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.input { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: 12px; font-size: 1.02rem; background: #fff; color: var(--ink); }
.input:focus { border-color: var(--teal-600); outline: none; }
textarea.input { height: auto; padding: 12px 16px; min-height: 110px; resize: vertical; font-family: inherit; }
select.input { padding-right: 10px; }
label.lbl { display: block; font-weight: 700; margin: 0 0 6px; font-size: .95rem; }
.field { margin-bottom: 16px; }

/* Lamba kartları */
.lamp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; box-shadow: var(--shadow); }
.lamp .icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #0f172a; color: var(--c); font-weight: 900; font-size: .95rem; }
.lamp .icon svg { width: 38px; height: 38px; }
.lamp.kirmizi { --c: #ef4444; border-left: 5px solid #ef4444; }
.lamp.sari { --c: #fbbf24; border-left: 5px solid #f59e0b; }
.lamp.yesil { --c: #4ade80; border-left: 5px solid #22c55e; }
.lamp.mavi { --c: #60a5fa; border-left: 5px solid #3b82f6; }
.lamp h3 { margin: 0 0 4px; }
.lamp p { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); }
.lamp .do { background: var(--teal-50); border-radius: 10px; padding: 8px 10px; font-size: .93rem; }
.lamp .ok { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* Araçlar */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.tool h2 { font-size: 1.25rem; }
.tool .out { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--teal-50); border: 1px solid var(--teal-100); min-height: 56px; }
.tool .out.dur { background: var(--red-bg); border-color: #fecaca; }
.tool .out.dikkat { background: var(--amber-bg); border-color: #fde68a; }
.tool .out.rahat { background: var(--green-bg); border-color: #bbf7d0; }
.gauge { height: 14px; border-radius: 999px; background: linear-gradient(90deg, #dc2626, #f59e0b 40%, #16a34a 75%); position: relative; margin: 14px 0 4px; }
.gauge i { position: absolute; top: -6px; width: 6px; height: 26px; background: var(--ink); border-radius: 3px; transform: translateX(-50%); transition: left .3s; }
.fuse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.fuse { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.fuse i { width: 26px; height: 34px; border-radius: 6px; border: 2px solid rgba(0,0,0,.25); flex: none; }
.fuse b { display: block; }
.fuse small { color: var(--muted); }

/* Teşhis sihirbazı */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto; }
.wizard .step { color: var(--muted); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.wizard .opts { display: grid; gap: 10px; margin-top: 16px; }
.wizard .opt { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 16px; font-size: 1.05rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.wizard .opt:hover { border-color: var(--teal-600); background: var(--teal-50); }
.wizard .opt small { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.wizard .back { background: none; border: 0; color: var(--teal-700); font-weight: 700; cursor: pointer; padding: 8px 0; font-size: .95rem; }
.progress { height: 6px; background: var(--line); border-radius: 999px; margin-bottom: 14px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--orange); transition: width .3s; }

/* Altbilgi */
footer.site { background: #eaf2fb; color: var(--ink-2); padding: 44px 0 20px; margin-top: 0; border-top: 1px solid var(--teal-100); }
footer.site a { color: var(--teal-800); text-decoration: none; font-weight: 600; }
footer.site a:hover { text-decoration: underline; }
footer.site h3 { color: var(--teal-900); font-size: 1rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.legal { border-top: 1px solid #cfe0f2; margin-top: 28px; padding-top: 16px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Mobil alt çubuk */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 24px rgba(15,23,42,.1); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; text-decoration: none; font-weight: 750; font-size: .8rem; border-radius: 12px; color: var(--ink); }
.dock a svg { width: 24px; height: 24px; }
.dock a.call { background: var(--orange); color: #fff; }
.dock a.wa { background: #16a34a; color: #fff; }
.dock a.rep { background: var(--teal-50); color: var(--teal-900); }
@media (min-width: 900px) { .dock { display: none; } }

.notice { font-size: .88rem; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; display: grid; place-items: center; }
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; margin-bottom: 12px; }
.pillar .ic svg { width: 26px; height: 26px; }
.band { background: linear-gradient(120deg, #eaf3ff, #dcebfb); color: var(--ink); border: 1px solid var(--teal-100); border-radius: 22px; overflow: hidden; display: grid; }
.band.brand { background: linear-gradient(120deg, var(--teal-700), var(--teal-600)); color: #fff; border: 0; }
.band.brand p { color: #eaf3ff; }
.band.brand h2 { color: #fff; }
@media (min-width: 800px) { .band { grid-template-columns: 1.1fr 1fr; } }
.band .txt { padding: 32px; }
.band img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.band p { color: var(--ink-2); }
@media print { header.site, .dock, .topbar, footer.site, aside.side, .btn-row { display: none !important; } body { background: #fff; padding: 0; } }

/* Hizmet kartları, süreç, yorumlar, hakkımızda */
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-600); }
.svc img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: var(--teal-50); }
.svc .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc h3 { margin: 0; color: var(--teal-900); }
.svc p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.svc .more { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--teal-700); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: relative; margin: 0; }
.quote::before { content: "\201C"; position: absolute; right: 16px; top: -6px; font-size: 4rem; color: var(--teal-100); font-family: Georgia, serif; line-height: 1; }
.quote p { font-size: 1.02rem; }
.quote cite { display: block; font-style: normal; font-weight: 800; color: var(--teal-900); }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--teal-700); line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: .95rem; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.photo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; }
.photo-grid figcaption { padding: 10px 12px; font-size: .9rem; color: var(--ink-2); }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.logo-full { max-width: 340px; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 800; }
.svc-hero { display: grid; gap: 22px; align-items: center; margin-bottom: 8px; }
@media (min-width: 900px) { .svc-hero { grid-template-columns: 1.1fr .9fr; } }
.svc-hero img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 5px solid #fff; }

.steps.h { grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps.h { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .signs.cols { grid-template-columns: 1fr 1fr; } }
.svc.cta { background: linear-gradient(160deg, var(--teal-700), var(--teal-600)); color: #fff; border: 0; justify-content: center; }
.svc.cta:hover { transform: none; }
.svc.cta h3 { color: #fff; font-size: 1.2rem; }
.svc.cta p { color: #eaf3ff; }
.svc.cta .btn-primary { background: #fff; color: var(--teal-800); box-shadow: none; }
.g4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ================= MOBİL İYİLEŞTİRMELER ================= */
html { scroll-padding-top: 132px; }
* { -webkit-tap-highlight-color: rgba(31, 95, 159, .15); }
a, button, summary, label, input, select { touch-action: manipulation; }
img { height: auto; }
.article section[id], .article h2[id] { scroll-margin-top: 130px; }

/* Sayfa içi atlama çubuğu (telefonda uzun sayfalar için) */
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 10px; position: sticky; top: 60px; z-index: 20;
  background: linear-gradient(var(--bg) 82%, rgba(247, 250, 253, 0)); margin-bottom: 8px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 750; color: var(--teal-800); }
.jump a:active { background: var(--teal-700); color: #fff; }
@media (min-width: 980px) { .jump { display: none; } }

/* Başlıkta hızlı arama düğmesi */
.btn-call { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-700); color: #fff; place-items: center; margin-left: auto; flex: none; }
.btn-call svg { width: 22px; height: 22px; }
.mn-actions { display: none; }
.mn-info { display: none; }

/* Dokunma alanları */
.code-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin: 0 8px 8px 0; }
.filterbar button { min-height: 44px; padding: 10px 16px; }
.chip { min-height: 44px; }
.mini-list li a { padding: 12px 0; }
details.faq summary { min-height: 52px; align-items: center; }
.checklist li { padding: 14px; }
.checklist input { width: 24px; height: 24px; }

@media (max-width: 899px) {
  .topbar { display: none; }
  header.site .wrap { height: 60px; gap: 8px; }
  .btn-call { display: grid; }
  .btn-menu { margin-left: 0; }
  .mobile-nav { top: 60px; max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .mobile-nav a { padding: 0 18px; min-height: 54px; display: flex; align-items: center; font-size: 1.05rem; }
  .mn-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }
  .mn-actions .btn { border-top: 0; padding: 0 12px; }
  .mn-info { display: block; margin: 0; padding: 0 18px 20px; color: var(--muted); font-size: .9rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 14px; }
  h1 { font-size: 1.7rem; }
  section.block { padding: 30px 0; }
  .sec-head { margin-bottom: 16px; }
  .sec-head .btn { width: 100%; }
  .page-head .lede { font-size: 1.02rem; }

  /* Başlık bölümü */
  .hero-grid { padding-top: 20px; padding-bottom: 28px; gap: 20px; }
  .hero h1 { font-size: 1.7rem; max-width: none; }
  .hero p.lead { font-size: 1rem; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .hero-media img { aspect-ratio: 16/10; border-width: 4px; }
  .searchbox input { height: 54px; font-size: 1rem; }
  .searchbox .ico { top: 15px; }
  .results { top: 60px; max-height: 60vh; }

  /* Filtre çubukları yatay kaydırılır */
  .filterbar { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 0 14px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .filterbar::-webkit-scrollbar { display: none; }
  .filterbar button { flex: none; scroll-snap-align: start; }

  /* Kartlar ve listeler */
  .card .body { padding: 12px 14px 14px; }
  .cat { min-height: 128px; }
  .cause .row { flex-direction: column; gap: 4px; }
  .code-row { grid-template-columns: 74px 1fr; padding: 14px; }
  .code-row .sev { display: none; }
  .lamp { grid-template-columns: 52px 1fr; padding: 14px; gap: 12px; }
  .lamp .icon { width: 52px; height: 52px; border-radius: 14px; }
  .lamp .icon svg { width: 30px; height: 30px; }
  .signs li, .warn-list li { padding-top: 14px; padding-bottom: 14px; }

  /* Makale sayfaları */
  .crumbs { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .article h2 { font-size: 1.22rem; }
  .article-grid { gap: 20px; padding-bottom: 36px; }
  .callout { padding: 14px; gap: 12px; }
  .cover { margin: 10px 0 18px; }
  .cover img { aspect-ratio: 16/10; }
  .panel { padding: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .code-big { padding: 8px 16px; }

  /* Bantlar, sihirbaz, hesaplayıcılar */
  .band .txt { padding: 22px 18px; }
  .band img { min-height: 170px; }
  .wizard { padding: 16px; border-radius: 16px; }
  .wizard .opt { padding: 15px; }
  .tool { padding: 16px; }
  .photo-grid img { height: 190px; }
  .stat b { font-size: 1.7rem; }
  .foot-grid { gap: 22px; }
  .legal { flex-direction: column; }
}

@media (max-width: 380px) {
  h1, .hero h1 { font-size: 1.55rem; }
  .brand { font-size: .98rem; }
  .brand small { display: none; }
  .dock a { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* taşma düzeltmeleri */
.article-grid > *, .article, .grid > *, .svc-hero > *, .band > * { min-width: 0; }
.panel .kv { flex-wrap: wrap; }
.panel .kv b { overflow-wrap: anywhere; text-align: right; }
.panel .kv span { color: var(--muted); }
.panel p, .article p, .lede { overflow-wrap: anywhere; }

/* Sohbet yardımcısı */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat { background: #fff; border: 1px solid var(--teal-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 0 0 24px; }
.chat h2 { margin-top: 0; }
.chat-lede { color: var(--ink-2); margin: 0 0 12px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px; margin-bottom: 12px; }
.chat-log:empty { display: none; }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.k { align-self: flex-end; background: var(--teal-700); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.a { align-self: flex-start; background: var(--teal-50); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.d { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 12px; }
.chat-form textarea { flex: 1; min-height: 48px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.chat-form textarea:focus { outline: 2px solid var(--teal-600); border-color: transparent; }
.chat-cta { background: var(--green-bg); border: 1px solid #bbf7d0; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.chat-cta p { margin: 0 0 10px; font-weight: 700; }
@media (max-width: 520px) { .chat-form { flex-direction: column; align-items: stretch; } .chat-msg { max-width: 95%; } }

/* Ana sayfa ürün kaydırıcı: web 4, mobil 1 ürün görünür */
.urun-kaydir { position: relative; }
.uk-seri { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.uk-seri::-webkit-scrollbar { display: none; }
.uk-seri > .card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }
.uk-ok { position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; color: var(--teal-900); }
.uk-geri { left: -14px; } .uk-ileri { right: -14px; }
@media (max-width: 720px) {
  .uk-seri > .card { flex-basis: 100%; }
  .uk-geri { left: 4px; } .uk-ileri { right: 4px; }
}
