/* ParkLoom – statik site stilleri */
:root {
  --green-700: #0b7a5a;
  --green-800: #096549;
  --green-900: #075c43;
  --green-100: #e3f4ee;
  --green-300: #5fd4a8;
  --navy: #0b1b2b;
  --navy-2: #13263a;
  --navy-3: #1b3147;
  --ink: #0b1b2b;
  --ink-2: #3f5164;
  --ink-3: #4a5b6c;
  --line: #e1e6ec;
  --line-2: #c9d2dc;
  --bg: #f7f8fa;
  --white: #fff;
  --red-bg: #fdecec;
  --red: #8a1c1c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 8px 24px rgba(11, 27, 43, .06);
  --shadow-lg: 0 24px 60px rgba(11, 27, 43, .18);
  --font-head: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.section-head h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 700; }
.center-actions { justify-content: center; }
.footer-about { margin-top: 12px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.02em; margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(11, 122, 90, .25); }
.btn-primary:hover { background: var(--green-800); }
.btn-outline { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-light { background: var(--green-300); color: #062a1f; font-weight: 700; }
.btn-light:hover { background: #7ddfb9; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 27, 43, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand svg, .brand img { width: 36px; height: 36px; flex: none; }
.nav { display: none; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-700);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: none; align-items: center; gap: 10px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease);
  border-top: 1px solid transparent; background: var(--white);
}
.mobile-menu > div { overflow: hidden; }
.mobile-menu.is-open { grid-template-rows: 1fr; border-color: var(--line); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px 20px 20px; gap: 4px; }
.mobile-menu nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

@media (min-width: 1140px) {
  .nav { display: flex; gap: 28px; }
  .nav a { white-space: nowrap; }
  .header-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(95, 212, 168, .18), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; padding-block: 40px 56px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 88px 96px; } }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-100); color: var(--green-900);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-700); }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 20px 0; }
.hero h1 em { font-style: normal; color: var(--green-700); }
.hero .lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--green-700); }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

/* ---------- Dashboard preview ---------- */
.dash-wrap { position: relative; max-width: 470px; margin: 0 auto; width: 100%; padding: 24px 8px; }
.dash {
  background: var(--navy); color: #fff; border-radius: 24px; padding: 22px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .06);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-logo { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--green-300); }
.live .ping { position: relative; width: 8px; height: 8px; }
.live .ping::before, .live .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d399; }
.live .ping::before { animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.tabs-mini { display: inline-flex; gap: 2px; background: var(--navy-3); padding: 4px; border-radius: 10px; margin-top: 16px; }
.tabs-mini button {
  border: 0; background: transparent; color: #c5d1dd; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 7px; cursor: pointer; min-height: 32px;
  transition: background-color .2s, color .2s;
}
.tabs-mini button[aria-selected="true"] { background: var(--green-300); color: #062a1f; }
.dash-label { font-size: 12px; color: #c5d1dd; margin-top: 18px; }
.dash-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.dash-value strong { font-family: var(--font-head); font-size: 32px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trend { font-size: 13px; font-weight: 700; color: var(--green-300); }
.trend.down { color: #fda4af; }
.chart { position: relative; height: 128px; margin-top: 18px; display: flex; align-items: flex-end; gap: 6px; }
.chart::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.08) 0 1px, transparent 1px 42px);
  pointer-events: none;
}
.bar {
  flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(11, 155, 112, .85);
  transform-origin: bottom; transition: height .8s var(--ease), background-color .2s;
  position: relative; min-height: 6px;
}
.bar:last-child { background: var(--green-300); }
.bar:hover { background: #34d399; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; color: #c5d1dd; margin-top: 8px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpi { background: var(--navy-2); border-radius: 12px; padding: 10px 12px; }
.kpi span { display: block; font-size: 11px; color: #c5d1dd; }
.kpi b { font-size: 16px; font-variant-numeric: tabular-nums; }
.dash-foot { font-size: 11px; color: #9fb1c3; margin-top: 12px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 12px;
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.float-card .ic { width: 32px; height: 32px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.dash-wrap .dash { margin: 28px 0; }
.float-card.top { right: -4px; top: 0; }
.float-card.bottom { left: -4px; bottom: 0; animation-delay: -3s; }
.float-card span { color: var(--ink-3); }
@media (min-width: 600px) { .float-card.top { right: -28px; } .float-card.bottom { left: -28px; } }

/* ---------- Stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-block: 32px; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.stat b.accent { color: var(--green-700); }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; color: var(--green-700); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 700; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
[id] { scroll-margin-top: 84px; }

/* Steps */
.cards-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d2dbe4; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; transition: background-color .3s, transform .3s var(--ease); }
.card:hover .icon-box { background: #ccecdf; transform: rotate(-4deg) scale(1.05); }
.icon-box svg { width: 26px; height: 26px; }
.step-no { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: #b8c3cf; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* Benefits */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.benefits { display: grid; gap: 22px; }
@media (min-width: 600px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { display: flex; gap: 14px; }
.benefit svg { width: 26px; height: 26px; color: var(--green-700); flex: none; margin-top: 2px; }
.benefit h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.benefit p { font-size: 15px; color: var(--ink-2); }

/* Calculator */
.calc { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 1fr; } }
.calc-inputs { padding: 28px; display: grid; gap: 28px; }
@media (min-width: 768px) { .calc-inputs { padding: 40px; } }
.range-row { display: grid; gap: 10px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-head label { font-weight: 600; font-size: 15px; }
.range-head output { font-family: var(--font-head); font-weight: 700; color: var(--green-900); font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
  --p: 50%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--green-700) var(--p), #d5dee7 var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #d5dee7; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--green-700); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green-700); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .15s;
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--green-700); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-note { font-size: 13px; color: var(--ink-3); }
.calc-out { background: var(--navy); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
@media (min-width: 768px) { .calc-out { padding: 40px; } }
.calc-out small { display: block; font-size: 13px; color: #c5d1dd; }
.calc-out .gross { font-family: var(--font-head); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out .net-wrap { border-top: 1px solid var(--navy-3); padding-top: 22px; }
.calc-out .net { font-family: var(--font-head); font-size: clamp(36px, 5vw, 46px); font-weight: 700; color: var(--green-300); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9d9cb; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); color: var(--green-700); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: 40px 28px; display: grid; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(95,212,168,.25), transparent); }
@media (min-width: 768px) { .cta-band { padding: 56px; grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c5d1dd; margin-top: 10px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: #3b5268; }
.cta-band .btn-outline:hover { border-color: #fff; }

/* Footer */
.site-footer { background: var(--navy); color: #c5d1dd; padding: 48px 0 32px; font-size: 14px; margin-top: 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; }
.site-footer h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--navy-3); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Forms (apply / auth) ---------- */
.page-simple { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.form-layout { display: grid; gap: 40px; padding-block: 32px 64px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1fr 1.6fr; gap: 56px; padding-block: 72px 96px; } }
.form-aside h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; font-weight: 700; margin-bottom: 14px; }
.form-aside > p { color: var(--ink-2); }
.steps-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.steps-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.steps-list .n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: #e9eef3; color: var(--ink-3); transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.steps-list li.is-active { color: var(--ink); }
.steps-list li.is-active .n { background: var(--green-700); color: #fff; transform: scale(1.06); }
.steps-list li.is-done .n { background: var(--green-100); color: var(--green-900); }
.info-box { background: var(--green-100); color: var(--green-900); border-radius: 14px; padding: 16px 18px; font-size: 14px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .form-card { padding: 40px; } }
.progress { height: 6px; background: #e9eef3; border-radius: 3px; overflow: hidden; margin-bottom: 28px; }
.progress span { display: block; height: 100%; width: 33%; background: var(--green-700); border-radius: 3px; transition: width .5s var(--ease); }
.form-step { display: none; }
.form-step.is-active { display: grid; gap: 20px; animation: slideIn .4s var(--ease); }
.form-step h2 { font-size: 24px; font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white);
  font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #6b7b8b; }
.input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(11, 122, 90, .15); }
.input[aria-invalid="true"] { border-color: #c0392b; }
textarea.input { resize: vertical; min-height: 96px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233f5164' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.row-2 { display: grid; gap: 20px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-700); flex: none; }
.check a { color: var(--green-900); text-decoration: underline; }
.summary { border: 1px solid var(--line); border-radius: 14px; margin: 0; overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.alert { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 500; animation: fadeIn .25s ease; }
.alert[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-nav .btn-primary { margin-left: auto; }
.turnstile-wrap { min-height: 65px; }
.success { display: none; text-align: left; animation: popIn .5s var(--ease); }
.success.is-visible { display: grid; gap: 16px; }
.success .check-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.success .check-ic svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
.success h2 { font-size: 28px; }
.success p { color: var(--ink-2); }
.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 14px; font-weight: 700; display: inline-block; }

/* Auth */
.auth-grid { display: grid; min-height: 100vh; min-height: 100dvh; }
@media (min-width: 1024px) { .auth-grid { grid-template-columns: 1fr 1fr; } }
.auth-main { display: flex; flex-direction: column; padding: 24px 20px; }
@media (min-width: 600px) { .auth-main { padding: 32px 48px; } }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top a.back { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.auth-box { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; display: grid; gap: 24px; animation: slideUp .5s var(--ease); }
.auth-box h1 { font-size: clamp(28px, 4vw, 34px); font-weight: 700; }
.auth-box > div > p { color: var(--ink-2); margin-top: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #e9eef3; border-radius: 12px; padding: 4px; position: relative; }
.seg button {
  position: relative; z-index: 1; border: 0; background: transparent; min-height: 42px; border-radius: 9px;
  font-weight: 600; font-size: 14px; color: var(--ink-3); cursor: pointer; transition: color .25s;
}
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--white); border-radius: 9px; box-shadow: 0 1px 3px rgba(11,27,43,.12); transition: transform .3s var(--ease); }
.seg[data-active="1"] .thumb { transform: translateX(100%); }
.seg-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: block; }
#auth-form { display: grid; gap: 18px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 0; top: 0; bottom: 0; width: 48px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-3); }
.pw-toggle svg { width: 20px; height: 20px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 14px; color: var(--green-900); font-weight: 500; }
.only-register { display: none; }
.is-register .only-register { display: grid; }
.is-register .only-login { display: none; }
.hint { font-size: 13px; color: var(--ink-3); }
.auth-side { display: none; background: var(--navy); color: #fff; padding: 64px; flex-direction: column; justify-content: center; gap: 32px; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(95,212,168,.18), transparent); }
@media (min-width: 1024px) { .auth-side { display: flex; } }
.auth-side h2 { font-size: 40px; line-height: 1.15; font-weight: 700; color: #fff; max-width: 460px; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: #dbe4ec; }
.auth-side li svg { width: 22px; height: 22px; color: var(--green-300); flex: none; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound .big { font-family: var(--font-head); font-size: clamp(80px, 18vw, 160px); font-weight: 700; color: var(--green-100); line-height: 1; letter-spacing: -.05em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero-anim > * { animation: slideUp .8s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .08s; }
.hero-anim > *:nth-child(3) { animation-delay: .16s; }
.hero-anim > *:nth-child(4) { animation-delay: .24s; }
.hero-anim > *:nth-child(5) { animation-delay: .32s; }
.zoom-in { animation: zoomIn 1s .2s var(--ease) both; }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-menu, .float-card, .cta-band .actions { display: none !important; }
  body { background: #fff; }
}

/* ---------- Mobil ince ayarlar ---------- */
@media (max-width: 599px) {
  body { font-size: 15.5px; }
  .hero h1 { margin: 16px 0 14px; }
  .hero-actions { margin-top: 24px; }
  .dash-wrap { padding-inline: 0; }
  .dash { padding: 18px; border-radius: 20px; }
  .dash-value strong { font-size: 28px; }
  .chart { gap: 4px; height: 112px; }
  .float-card { padding: 8px 12px; }
  .float-card.top { right: 6px; }
  .float-card.bottom { left: 6px; }
  .stat span { display: block; line-height: 1.4; }
  .section-head { margin-bottom: 32px; }
  .card { padding: 22px; }
  .calc-inputs, .calc-out { padding: 22px; }
  .calc { border-radius: 20px; }
  .cta-band { padding: 32px 22px; border-radius: 22px; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .faq summary { padding: 16px; }
  .faq .answer { padding: 0 16px 16px; }
  .form-card { padding: 20px; border-radius: 20px; }
  .form-nav .btn { flex: 1; }
  .steps-list { margin: 20px 0; gap: 12px; }
  .footer-bottom { flex-direction: column; }
  .notfound .hero-actions .btn { width: 100%; }
}
.notfound .big { color: #cfe9de; }
.notfound h1 { font-size: clamp(26px, 6vw, 40px); margin-bottom: 12px; }
.notfound .lead { color: var(--ink-2); max-width: 460px; margin: 0 auto; }

/* ---------- Takip / şifre / yönetim sayfaları ---------- */
.narrow-page { max-width: 760px; padding-block: 40px 72px; display: grid; gap: 24px; }
@media (min-width: 768px) { .narrow-page { padding-block: 72px 96px; } }
.page-intro h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; margin-bottom: 10px; }
.page-intro p { color: var(--ink-2); max-width: 600px; }
.stack { display: grid; gap: 18px; }
.field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.track-form { display: grid; gap: 10px; }
.track-row { display: flex; flex-wrap: wrap; gap: 10px; }
.track-row .input { flex: 1 1 220px; }
.track-row .btn { flex: 0 0 auto; }
@media (max-width: 479px) { .track-row .btn { flex: 1 1 100%; } }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.muted { color: var(--ink-3); }
.center-text { text-align: center; }
.center-note { text-align: center; color: var(--ink-3); font-size: 14px; }
.center-note a, .link { color: var(--green-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.track-result { display: grid; gap: 22px; animation: slideUp .5s var(--ease); }
.track-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; }
.track-head h2 { font-size: 24px; font-weight: 700; margin-top: 2px; }
.track-head .eyebrow { margin-bottom: 6px; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff4d6; color: #7a5200; }
.status-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-badge.is-done { background: var(--green-100); color: var(--green-900); }
.status-badge.is-rejected { background: var(--red-bg); color: var(--red); }
.track-progress { margin: 0; height: 8px; }
.track-progress span { width: 0; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 600px) { .stage-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stage-list { grid-template-columns: repeat(3, 1fr); } }
.stage { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); animation: slideUp .5s var(--ease) both; }
.stage .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #e9eef3; color: var(--ink-3); flex: none; }
.stage small { display: block; font-size: 12px; color: var(--ink-3); }
.stage b { font-size: 14px; font-weight: 700; }
.stage.is-done { border-color: #b9dccd; background: #f2faf6; }
.stage.is-done .n { background: var(--green-700); color: #fff; }
.stage.is-current { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(11,122,90,.15); }
.stage.is-current .n { background: var(--green-700); color: #fff; }
.info-box.is-rejected { background: var(--red-bg); color: var(--red); }

.admin-main { padding-block: 32px 72px; }
.admin-login { max-width: 440px; margin: 24px auto; display: grid; gap: 14px; }
.admin-login h1 { font-size: 28px; font-weight: 700; }
.admin-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.admin-top h1 { font-size: 30px; font-weight: 700; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-filters .input { width: auto; flex: 1 1 200px; }
.admin-list { display: grid; gap: 12px; }
.app-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; }
@media (min-width: 900px) { .app-card { grid-template-columns: 1.3fr 1fr 1.2fr; align-items: start; } }
.app-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.app-card .meta { font-size: 14px; color: var(--ink-2); display: grid; gap: 2px; word-break: break-word; }
.app-card .meta a { color: var(--green-900); }
.app-card .actions { display: grid; gap: 8px; }
.app-card textarea.input { min-height: 64px; }
.app-card .saved { font-size: 13px; color: var(--green-900); min-height: 18px; }
.admin-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 20px; }
.empty { text-align: center; color: var(--ink-3); padding: 40px 16px; background: var(--white); border: 1px dashed var(--line-2); border-radius: 16px; }

/* ---------- Yasal metin ---------- */
.legal { max-width: 860px; padding-block: 40px 80px; }
@media (min-width: 768px) { .legal { padding-block: 64px 104px; } }
.legal-head h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; margin-bottom: 14px; }
.legal-head p { color: var(--ink-2); margin-bottom: 8px; }
.legal section { margin-top: 40px; scroll-margin-top: 90px; }
.legal h2 { font-size: clamp(21px, 3vw, 26px); font-weight: 700; margin-bottom: 14px; }
.legal h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal b { color: var(--ink); }
.toc { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.toc ol { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { padding: 3px 0; break-inside: avoid; }
.toc a { color: var(--green-900); font-weight: 600; }
@media (max-width: 599px) { .toc ol { columns: 1; } }
.legal-dl { background: var(--white); margin-top: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 13px; color: var(--ink-3); background: #fafbfc; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal .table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; margin: 12px 0; }
.site-footer > .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }
.site-footer .footer-bottom a { color: #c5d1dd; }
.site-footer .footer-bottom a:hover { color: #fff; }
.legal .notice { background: #fff8e6; border: 1px solid #f3d58a; color: #6b4a00; border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.legal .notice b { color: #6b4a00; }
.legal-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 599px) { .legal-table { font-size: 13.5px; } .legal-table th, .legal-table td { padding: 10px 8px; } }

/* ---------- İletişim / destek ---------- */
.contact-page { max-width: 1040px; padding-block: 120px 64px; }
.contact-grid { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 17px; margin: 6px 0 0; }
.contact-card p { margin: 0; color: var(--ink-3); font-size: 14px; }
.contact-card a { color: var(--green-800); font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; margin-top: 6px; }
.contact-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.contact-form-card { max-width: 760px; margin-inline: auto; }
.contact-form-card h2 { margin-top: 0; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact a { word-break: break-all; }
.inline-contact { font-size: 14px; color: var(--ink-3); }
.inline-contact a { color: var(--green-800); font-weight: 600; }
.btn-link { background: none; border: 0; color: var(--green-900); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-page { padding-block: 96px 48px; } }

/* ---------- Çerez bildirimi ---------- */
.cookie-bar { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 980px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: cookieIn .35s var(--ease); }
.cookie-bar.is-leaving { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.cookie-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 20px; }
.cookie-text h2 { font-size: 17px; margin: 0 0 6px; }
.cookie-text p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.cookie-text a { color: var(--green-800); font-weight: 600; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 14px; }
.cookie-prefs .check { font-size: 13.5px; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 190px; }
.cookie-actions .btn-link { text-align: center; font-size: 14px; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; max-height: calc(100dvh - 16px); overflow-y: auto; }
  .cookie-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .cookie-actions { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } .cookie-bar.is-leaving { transition: none; } }

/* ---- İl sayfaları (SEO) ---- */
.city-hero { padding-top: 120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--green-900); }
.city-intro { max-width: 760px; }
.city-intro h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.1; margin: 16px 0; }
.city-intro h1 em { font-style: normal; color: var(--green-700); }
.city-intro .lead { font-size: 18px; color: var(--ink-2); }
.city-intro .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.district-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.district-chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.process { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.process li { counter-increment: s; background: var(--bg, #f4f7f5); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 6px; }
.process li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: #fff; font-weight: 700; }
.process b { font-size: 17px; }
.process span { color: var(--ink-2); font-size: 15px; }
.center-note { text-align: center; color: var(--ink-2); max-width: 720px; margin: 24px auto 0; }
