/* ==========================================================================
   DURUTES Su Tesisatı & Doğalgaz — Eskişehir
   Renkler logodan alınmıştır: lacivert #063a66 · mavi #105e9b
   açık mavi #198fc9 · turuncu #f18b18
   ========================================================================== */

@font-face {
  font-family: 'Inter Var';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marka */
  --navy: #063a66;
  --navy-soft: #0a4b80;
  --blue: #105e9b;
  --blue-dark: #0d4d80;
  --sky: #198fc9;
  --sky-tint: #e9f4fb;
  --orange: #f18b18;
  --orange-dark: #d97a0c;
  --orange-tint: #fff4e6;

  /* Yüzeyler */
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --bg-muted: #eaf2f8;
  --border: #d9e6f0;
  --border-strong: #bcd3e6;

  /* Metin */
  --fg: #0f2436;
  --fg-soft: #4a5c6b;
  --fg-muted: #6b7d8c;

  /* Durum */
  --online: #10b981;
  --online-text: #047857;
  --online-tint: #ecfdf5;
  --wa: #128c7e;
  --wa-bright: #25d366;
  --danger: #d92d20;

  /* Ölçü */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(6 58 102 / 6%), 0 1px 3px rgb(6 58 102 / 8%);
  --shadow-md: 0 4px 12px rgb(6 58 102 / 8%), 0 2px 4px rgb(6 58 102 / 6%);
  --shadow-lg: 0 12px 32px rgb(6 58 102 / 12%), 0 4px 8px rgb(6 58 102 / 6%);
  --header-h: 68px;
  --maxw: 1140px;

  color-scheme: light;
}

/* -------------------------------------------------------------- temel */

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

/* .btn gibi display tanımlı öğelerde hidden özniteliği ezilmesin */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter Var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* mobil sabit çubuk içeriği örtmesin */
  padding-bottom: env(safe-area-inset-bottom);
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.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;
}

section { padding-block: clamp(48px, 7vw, 80px); }
section.tint { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--fg-soft); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* -------------------------------------------------------------- butonlar */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

/* Turuncu + lacivert metin: 4.5:1 üzeri kontrast, logoyla aynı dil */
.btn-call {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 4px 14px rgb(241 139 24 / 35%);
}
.btn-call:hover { background: #ffa033; color: var(--navy); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 14px rgb(18 140 126 / 30%);
}
.btn-wa:hover { background: #0f7a6e; color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--sky-tint); border-color: var(--sky); color: var(--navy); }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- online chip */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border-radius: var(--radius-pill);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg-soft);
}

.chip-online {
  background: var(--online-tint);
  border-color: #a7f3d0;
  color: var(--online-text);
}
.chip-online[data-open='false'] {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--online);
}
.dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--online);
  opacity: 0;
  animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
.chip-online[data-open='false'] .dot { background: #ea580c; }
.chip-online[data-open='false'] .dot::after { border-color: #ea580c; }

@keyframes ping {
  0%   { transform: scale(.6); opacity: .9; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.chip .clock { font-variant-numeric: tabular-nums; opacity: .85; }

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: .01em;
  color: var(--navy);
}
.brand-sub {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--blue); border-bottom-color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta .chip { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-left: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--navy);
  cursor: pointer;
}

/* -------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 68px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 82% -10%, rgb(25 143 201 / 13%), transparent 60%),
    radial-gradient(700px 380px at 5% 0%, rgb(241 139 24 / 9%), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(6 58 102 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(6 58 102 / 4%) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero h1 { margin-bottom: 14px; }
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 62%, rgb(241 139 24 / 40%) 62%);
}
.hero-lead {
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  color: var(--fg-soft);
  max-width: 52ch;
  margin-bottom: 22px;
}
.hero .btn-row { margin-bottom: 18px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

.hero-note {
  font-size: .88rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: min(100%, 380px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #fff;
}

/* güven şeridi */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 5vw, 52px);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
}
.trust-item .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--sky-tint);
  color: var(--blue);
}
.trust-item strong { display: block; font-size: .95rem; color: var(--navy); }
.trust-item span { font-size: .82rem; color: var(--fg-muted); line-height: 1.45; }

/* -------------------------------------------------------------- hizmet kartları */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card .ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--sky-tint), #fff);
  border: 1px solid var(--border);
  color: var(--blue);
}
.service-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.service-card p { color: var(--fg-soft); font-size: .92rem; margin-bottom: 14px; }

.service-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.service-card li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  color: var(--fg-soft);
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 4px; top: .52em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.service-card .card-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; }

.detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.detail-toggle:hover { color: var(--navy); text-decoration: underline; }
.detail-toggle svg { transition: transform .18s ease; }
.detail-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }

/* htmx ile yüklenen detay paneli */
.service-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  font-size: .92rem;
  color: var(--fg-soft);
}
.service-detail:empty { display: none; }
.service-detail h4 {
  margin: 14px 0 6px;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.service-detail p { margin-bottom: .8em; }
.service-detail .symptom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.service-detail .symptom-list li {
  padding: 4px 11px;
  background: var(--orange-tint);
  border: 1px solid #fcd9a8;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  color: #92400e;
}
.htmx-request .detail-spinner { display: inline-block; }
.detail-spinner { display: none; font-size: .85rem; color: var(--fg-muted); }

/* -------------------------------------------------------------- neden biz */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature .ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange-dark);
}
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; color: var(--fg-soft); margin: 0; }

/* -------------------------------------------------------------- adımlar */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgb(6 58 102 / 25%);
}
.step h3 { margin: 8px 0 6px; font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--fg-soft); margin: 0; }

/* -------------------------------------------------------------- tablo */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.rates {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .93rem;
}
table.rates caption {
  padding: 14px 18px;
  text-align: left;
  font-size: .85rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}
table.rates th,
table.rates td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.rates thead th {
  background: var(--bg-muted);
  color: var(--navy);
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
table.rates tbody tr:last-child th,
table.rates tbody tr:last-child td { border-bottom: 0; }
table.rates tbody th { font-weight: 700; color: var(--navy); }
table.rates td { color: var(--fg-soft); }
table.rates .price { font-weight: 600; color: var(--fg); white-space: nowrap; }

/* -------------------------------------------------------------- ilçeler */

.district-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.district-tab {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--fg-soft);
  cursor: pointer;
  transition: all .16s ease;
}
.district-tab:hover { border-color: var(--sky); color: var(--blue); background: var(--sky-tint); }
.district-tab[aria-selected='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.district-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.district-panel[hidden] { display: none; }
.district-panel h3 { margin-bottom: 4px; }
.district-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.district-panel > p { color: var(--fg-soft); font-size: .95rem; }
.district-panel .mahalle-label {
  margin: 18px 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.mahalleler {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.mahalleler li {
  padding: 4px 11px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  font-size: .81rem;
  color: var(--fg-soft);
}

/* -------------------------------------------------------------- SSS */

.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: .98rem;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--fg-soft);
  font-size: .93rem;
}

/* -------------------------------------------------------------- iletişim */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: start;
}
.contact-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.nap { margin: 0 0 20px; display: grid; gap: 14px; }
.nap div { display: flex; gap: 12px; align-items: flex-start; }
.nap dt {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--sky-tint);
  color: var(--blue);
}
.nap dd { margin: 0; font-size: .94rem; }
.nap dd .label {
  display: block;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.nap dd a { font-weight: 700; color: var(--navy); text-decoration: none; }
.nap dd a:hover { color: var(--blue); text-decoration: underline; }

.cta-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--navy), var(--blue) 70%, #1573b8);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-panel h3 { color: #fff; font-size: 1.3rem; }
.cta-panel p { color: rgb(255 255 255 / 82%); font-size: .95rem; }
.cta-panel .chip {
  background: rgb(255 255 255 / 14%);
  border-color: rgb(255 255 255 / 26%);
  color: #fff;
  margin-bottom: 16px;
}
.cta-panel .btn-ghost {
  background: rgb(255 255 255 / 10%);
  color: #fff;
  border-color: rgb(255 255 255 / 35%);
}
.cta-panel .btn-ghost:hover { background: rgb(255 255 255 / 18%); color: #fff; }

/* -------------------------------------------------------------- footer */

.site-footer {
  padding: clamp(40px, 5vw, 56px) 0 0;
  background: var(--navy);
  color: rgb(255 255 255 / 78%);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 34px;
}
.site-footer h4 {
  margin-bottom: 14px;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgb(255 255 255 / 78%); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-brand img {
  width: 120px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
}
.footer-districts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .85rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding: 18px 0 calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .84rem;
  color: rgb(255 255 255 / 60%);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }

/* -------------------------------------------------------------- yüzen / sabit */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  box-shadow: 0 8px 24px rgb(18 140 126 / 45%);
  transition: transform .16s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float::before,
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-bright);
  animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}
.wa-float::after { animation-delay: 1.2s; }
.wa-float .badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--online);
  border: 2.5px solid #fff;
}

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgb(6 58 102 / 10%);
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; }

/* -------------------------------------------------------------- yasal sayfa */

.legal-page { padding-block: clamp(36px, 6vw, 64px); }
.legal-page .prose { max-width: 760px; }
.legal-page .prose h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal-page .prose h2:first-of-type { margin-top: 0; }
.legal-page .prose ul { padding-left: 20px; color: var(--fg-soft); }
.legal-page .prose li { margin-bottom: .4em; }
.legal-page .prose p { color: var(--fg-soft); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------------------------------------------- duyarlı */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(100%, 300px); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .main-nav[data-open='true'] { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
  }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: 0; order: 3; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 11px 13px; }
}

@media (max-width: 620px) {
  :root { --header-h: 62px; }
  body { padding-bottom: 76px; }
  .mobile-bar { display: flex; }
  .wa-float { bottom: 88px; right: 14px; width: 50px; height: 50px; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom nav { margin-left: 0; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .6rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .district-panel, .contact-card, .cta-panel { padding: 20px; }
}

@media (min-width: 861px) {
  .header-cta .chip { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .dot::after, .wa-float::before, .wa-float::after { display: none; }
}

@media print {
  .site-header, .mobile-bar, .wa-float, .btn-row, .district-tabs { display: none !important; }
  body { padding: 0; }
}
