/* Clean-Pro: logodan türetilmiş lacivert + turkuaz palet, serin zemin, yumuşak gölge */

:root {
  --primary: #0b74a6;
  --primary-hover: #085a85;
  --primary-soft: #e3f5fb;
  --accent-warm: #e6f4f9;
  --bg: #f4fafd;
  --surface: #ffffff;
  --surface-alt: #e8f2f7;
  --text: #0f2747;
  --muted: #4d6378;
  --border: #d3e3ee;
  --danger: #b93a2f;
  --ok: #1f7a4d;
  --shadow: 0 1px 2px rgba(15, 39, 71, 0.04), 0 10px 30px -12px rgba(15, 39, 71, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #4fc3e6;
    --primary-hover: #8ad9f0;
    --primary-soft: #123047;
    --accent-warm: #15324a;
    --bg: #0b1a2b;
    --surface: #122436;
    --surface-alt: #0e1f30;
    --text: #e6f1f8;
    --muted: #9bb3c6;
    --border: #22384d;
    --danger: #ff8a7f;
    --ok: #7fd1a4;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  --primary: #4fc3e6;
  --primary-hover: #8ad9f0;
  --primary-soft: #123047;
  --accent-warm: #15324a;
  --bg: #0b1a2b;
  --surface: #122436;
  --surface-alt: #0e1f30;
  --text: #e6f1f8;
  --muted: #9bb3c6;
  --border: #22384d;
  --danger: #ff8a7f;
  --ok: #7fd1a4;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px; /* iOS input zoom'u önler */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.section { padding: 64px 0; }
.section.tight { padding-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.span-2 { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  background: var(--primary); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 8px 20px -10px var(--primary);
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--primary); box-shadow: none; border: 2px solid var(--primary); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.light { background: #fff; color: var(--primary); box-shadow: none; }
.btn.light:hover { background: var(--primary-soft); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; box-shadow: none; }
.btn.danger { background: var(--danger); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px;
}
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--primary); outline-offset: 2px; }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 4px; padding: 12px 16px 20px;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
}
.nav-toggle:checked ~ .site-nav { display: flex; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--text); text-decoration: none; font-weight: 600; border-radius: var(--radius-sm); }
.site-nav a:hover { background: var(--surface-alt); }
.site-nav a.btn { margin-top: 8px; justify-content: center; color: #fff; }
.site-nav a.btn:hover { background: var(--primary-hover); }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 20px 0 0; font-weight: 500; }
.alert.ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); }
.alert.error { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero h1 .accent { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust li { position: relative; padding-left: 28px; font-weight: 500; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary-soft); box-shadow: inset 0 0 0 4px var(--primary);
}
.hero-visual { display: flex; justify-content: center; }
.hero-badge {
  position: relative; width: min(300px, 80vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow);
}
.hero-badge::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--primary) 35%, transparent);
  animation: spin 40s linear infinite;
}
.hero-badge img {
  width: 78%; height: 78%; border-radius: 50%;
  animation: logo-splash 1.1s var(--ease) both, logo-float 6s ease-in-out 1.2s infinite;
}
.hero-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--primary); pointer-events: none; opacity: 0;
  animation: logo-ripple 2.4s ease-out 0.7s 2;
}

/* ---------- Sections ---------- */
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head p:last-child { margin: 0; }
.section-head a { font-weight: 600; }
.page-head { padding: 48px 0 16px; }
.page-head .lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.service-card h3 { margin-top: 14px; }
.service-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.service-card li { position: relative; padding-left: 18px; color: var(--muted); font-size: 0.97rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.service-no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary); font-family: var(--font-display); font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; padding: 52px 0; margin: 24px 0 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); }
.cta-band p { opacity: 0.9; margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---------- Comments ---------- */
.comment-list { display: grid; gap: 14px; margin-bottom: 40px; }
.comment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.comment header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.comment p { margin: 6px 0 8px; }
.stars { color: #e9a400; letter-spacing: 2px; font-size: 0.95rem; }
.stars .off { color: var(--border); }
.comment-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 48px; }
.comment header strong { flex: 1; min-width: 0; }
.comment-empty { grid-column: 1 / -1; text-align: center; padding: 32px 20px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.comment-empty p { margin: 0; }
.avatar {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); font-family: var(--font-display); font-weight: 700;
}
.comment-form { max-width: 720px; margin: 0 auto; }
@media (min-width: 760px) {
  .comment-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Forms ---------- */
.card-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card-form h3 { margin-bottom: 16px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
label { display: block; font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 12px 14px;
  font: inherit; font-weight: 400; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.form-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.form-foot .btn { width: 100%; }

fieldset.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
fieldset.step legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.step-no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 0.9rem;
}
.field-title { font-weight: 600; font-size: 0.95rem; margin: 16px 0 8px; }

/* Paket ve tür seçimi: büyük dokunma alanlı çipler */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; margin: 0; font-weight: 600; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--bg);
  transition: all 0.2s var(--ease);
}
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px var(--primary); }
.chip input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }

.toggles { display: grid; gap: 10px; margin-top: 14px; }
.toggle {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; margin: 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; font-weight: 600;
}
.toggle input { width: 20px; height: 20px; accent-color: var(--primary); flex-shrink: 0; }
.toggle small { color: var(--muted); font-weight: 400; }

/* Tahmin kutusu */
.estimate {
  display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0;
  padding: 20px; border-radius: var(--radius); background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}
.estimate-label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.estimate strong { font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.4rem); color: var(--text); line-height: 1.1; }
.estimate p { margin: 4px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 64px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand p { margin: 0; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact a { text-decoration: none; color: var(--text); font-weight: 500; }
.footer-contact a.footer-ig { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid { display: grid; gap: 32px; align-items: start; }
.footer-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--text); font-weight: 500; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Icons & FAQ ---------- */
.ig-icon { flex-shrink: 0; margin-right: 8px; }
.site-nav a .ig-icon { color: var(--primary); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 18px; }
.faq-item summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 12px; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Admin ---------- */
body.admin main { padding: 32px 0 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.admin-head h1 { margin: 0; font-size: 1.8rem; }
.admin-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.admin-item p { margin: 6px 0; }
.inline { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.password-box { margin: 32px 0; }
.password-box summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.audit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 16px; }
.audit-row { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.audit-row:last-child { border-bottom: 0; }
.audit-row span:last-child { grid-column: 2; color: var(--muted); }
@media (max-width: 480px) { .audit-row { grid-template-columns: 1fr; } .audit-row span:last-child { grid-column: 1; } }

/* ---------- Yönetim paneli (kompakt) ---------- */
.adm { max-width: 1040px; margin: 0 auto; padding: 20px 16px 56px; }
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-top h1 { font-size: 1.5rem; margin: 0; }
.adm-top small { color: var(--muted); }
.adm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.adm-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.adm-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); line-height: 1.1; }
.adm-stat span { font-size: 0.85rem; color: var(--muted); }
.adm-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.adm-box > summary, .adm-box > h2 { padding: 14px 16px; margin: 0; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.adm-box > summary::-webkit-details-marker { display: none; }
.adm-box > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.adm-box[open] > summary::after { content: "–"; }
.adm-box .adm-body { padding: 0 16px 16px; }
.count { font-size: 0.8rem; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 2px 9px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.row:first-child { border-top: 0; }
.row-main { min-width: 0; }
.row-main p { margin: 4px 0 0; font-size: 0.93rem; }
.row-main small { margin-left: 6px; }
.row-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: flex-start; }
.row-actions form { margin: 0; }
.btn.xs { min-height: 34px; padding: 4px 12px; font-size: 0.85rem; box-shadow: none; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-top: 1px solid var(--border); vertical-align: top; }
.tbl th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-top: 0; }
.tbl td small { color: var(--muted); }
.tbl .num { text-align: right; white-space: nowrap; font-weight: 700; }
.adm-form { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 12px; }
.adm-form label { margin: 0; }
.adm-form .btn { justify-self: start; }
.login-card { max-width: 380px; margin: 56px auto 0; }
.log { font-size: 0.85rem; }
.log div { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.log div:first-child { border-top: 0; }
.log span:first-child { color: var(--muted); min-width: 110px; }

@media (min-width: 640px) {
  .adm-form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .adm-form.two { grid-template-columns: 1fr 1fr auto; }
}

/* ---------- Yönetim paneli: kenar çubuklu düzen ---------- */
body.admin { background: var(--surface-alt); }
.pn { display: flex; flex-direction: column; min-height: 100vh; }
.pn-side {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 12px 16px; display: flex; flex-direction: column; gap: 10px;
}
.pn-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.pn-brand img { width: 36px; height: 36px; border-radius: 50%; }
.pn-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pn-nav::-webkit-scrollbar { display: none; }
.pn-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 40px; padding: 0 12px; border-radius: 10px; text-decoration: none;
  color: var(--muted); font-weight: 600; font-size: 0.95rem;
}
.pn-nav a:hover { background: var(--surface-alt); color: var(--text); }
.pn-nav a.on { background: var(--primary-soft); color: var(--primary); }
.pn-nav .dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 0.72rem; display: inline-grid; place-items: center; }
.pn-side .pn-logout { align-self: flex-start; }

.pn-main { padding: 20px 16px 56px; min-width: 0; }
.pn-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pn-top h1 { font-size: 1.6rem; margin: 0; }
.pn-top span { color: var(--muted); font-size: 0.9rem; }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.kpi small { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.kpi b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; margin-top: 4px; color: var(--text); }
.kpi.hot b { color: var(--primary); }

.pn-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-head h2 { font-size: 1.05rem; margin: 0; font-family: var(--font-body); font-weight: 700; }
.card-body { padding: 16px 18px; }
.card-body.flush { padding: 0; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); }
.tabs a.on { background: var(--primary); color: #fff; border-color: var(--primary); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
.badge.warn { background: color-mix(in srgb, #e9a400 22%, var(--surface)); color: #9a6b00; }
.badge.ok { background: color-mix(in srgb, var(--ok) 18%, var(--surface)); color: var(--ok); }

.pn-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pn-table th, .pn-table td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top; }
.pn-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-top: 0; background: var(--surface-alt); }
.pn-table small { color: var(--muted); }
.pn-table .num { text-align: right; white-space: nowrap; font-weight: 700; }
.table-scroll { overflow-x: auto; }

.item { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.item:first-child { border-top: 0; }
.item p { margin: 4px 0 0; font-size: 0.93rem; color: var(--text); }
.item-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: flex-start; flex-wrap: wrap; }
.item-actions form, .inline { margin: 0; display: inline-flex; }
.empty { padding: 28px 18px; text-align: center; color: var(--muted); margin: 0; }

.btn.xs { min-height: 34px; padding: 4px 12px; font-size: 0.85rem; box-shadow: none; }
.btn.block { width: 100%; }

.pn-form { display: grid; gap: 12px; grid-template-columns: 1fr; }
.pn-form label { margin: 0; }
.pn-form .btn { justify-self: start; }
.pn-form-row { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: end; }

.log-row { display: grid; gap: 4px 12px; grid-template-columns: 140px 1fr; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.log-row:first-child { border-top: 0; }
.log-row .muted { font-size: 0.85rem; }

@media (min-width: 720px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .pn-grid.two { grid-template-columns: 1.4fr 1fr; }
  .pn-form-row { grid-template-columns: 1fr 1fr auto; }
  .pn-form.row3 { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
}
@media (min-width: 960px) {
  .pn { flex-direction: row; }
  .pn-side {
    width: 230px; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
    border-bottom: 0; border-right: 1px solid var(--border); padding: 20px 14px;
  }
  .pn-nav { flex-direction: column; overflow: visible; }
  .pn-nav a { min-height: 42px; }
  .pn-main { flex: 1; padding: 28px 32px 64px; }
}

/* ---------- Responsive (min-width) ---------- */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .toggles { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .form-foot { flex-direction: row; justify-content: space-between; align-items: center; }
  .form-foot .btn { width: auto; }
  .cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .card-form { padding: 32px; }
}

@media (min-width: 880px) {
  .nav-burger { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 6px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav a { min-height: 40px; padding: 0 12px; }
  .site-nav a.btn { margin: 0 0 0 10px; color: #fff; min-height: 44px; }
  .site-nav a.btn:hover { color: #fff; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 96px 0; }
}

/* ---------- Yükleme göstergesi (logodaki ev + dönen yıldızlar) ---------- */
.broom-loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  transition: opacity 0.35s var(--ease);
}
.broom-loader[hidden] { display: none; }
.broom-loader.is-leaving { opacity: 0; pointer-events: none; }
.broom-loader-box { display: grid; justify-items: center; gap: 16px; }
.broom-loader p { margin: 0; font-weight: 600; color: var(--muted); }
.brand-loader { position: relative; width: 140px; height: 140px; display: grid; place-items: center; }
.house-svg { width: 72px; height: 72px; animation: house-bob 1.8s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; animation: spin 3.2s linear infinite; }
.orbit::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--primary) 30%, transparent);
}
.orbit-star { position: absolute; display: block; width: 18px; height: 18px; animation: twinkle 1.2s ease-in-out infinite; }
.orbit-star .star { width: 100%; height: 100%; display: block; }
.orbit-star.s1 { top: -5px; left: 61px; }
.orbit-star.s2 { left: 129px; top: 63px; width: 13px; height: 13px; animation-delay: 0.3s; }
.orbit-star.s3 { top: 128px; left: 62px; width: 15px; height: 15px; animation-delay: 0.6s; }
.orbit-star.s4 { left: -2px; top: 64px; width: 11px; height: 11px; animation-delay: 0.9s; }
@keyframes house-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* ---------- Hareket: sakin ve amaçlı ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
/* Logo splash: küçük ve bulanık başlayıp yaylanarak oturur */
@keyframes logo-splash {
  0%   { transform: scale(0.4) rotate(-14deg); opacity: 0; filter: blur(10px); }
  60%  { transform: scale(1.06) rotate(2deg); opacity: 1; filter: blur(0); }
  100% { transform: scale(1) rotate(0); opacity: 1; filter: blur(0); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes logo-ripple {
  0%   { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.4); opacity: 0; }
}

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