:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --text: #101b20;
  --muted: #5b6970;
  --line: #d8e2e5;
  --brand: #087c78;
  --brand-dark: #08343f;
  --ink: #0b1f2a;
  --accent: #f2a531;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 52, 63, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 34px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
}

.brand b {
  display: block;
  font-weight: 900;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #0b5964);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(8, 124, 120, .26);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #30413f;
  font-size: 15px;
}

nav a:not(.nav-cta) {
  color: var(--muted);
  font-weight: 650;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 8px;
  color: white;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(8, 124, 120, .2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 64px);
  min-height: calc(100vh - 104px);
  background:
    radial-gradient(circle at 82% 18%, rgba(8, 124, 120, .16), transparent 32%),
    linear-gradient(135deg, #f7fbfb 0%, #eef5f5 46%, #f9fbfa 100%);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.hero-media {
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(220, 231, 232, .72));
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(8, 124, 120, .18), rgba(242, 165, 49, .12));
  filter: blur(22px);
}

.hero-media img {
  width: 100%;
  height: clamp(440px, 48vw, 590px);
  object-fit: cover;
  border-radius: 12px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 22px;
}

.hero-text,
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.primary { color: white; background: linear-gradient(135deg, var(--brand), #0a5d67); box-shadow: 0 16px 34px rgba(8, 124, 120, .24); }
.ghost { border-color: var(--line); background: white; color: var(--ink); }
.light { color: var(--brand-dark); background: white; }
.full { width: 100%; margin-top: 18px; }

.media-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  max-width: 330px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  background: rgba(11, 31, 42, .86);
  color: white;
  box-shadow: 0 18px 45px rgba(11, 31, 42, .24);
  backdrop-filter: blur(12px);
}

.media-card strong {
  font-size: 16px;
}

.media-card span {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1240px;
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 22px 50px rgba(8, 52, 63, .08);
}

.trust-item {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 104px;
  padding: 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }
.trust-item b { color: var(--brand); font-size: 24px; }
.trust-item span { color: var(--muted); font-size: 14px; }

.section {
  padding: clamp(54px, 6vw, 92px) clamp(18px, 4vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 { margin-top: 0; line-height: 1.25; }
p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.panel,
.quote {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(8, 52, 63, .05);
}

.card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 124, 120, .32);
  box-shadow: 0 20px 45px rgba(8, 52, 63, .09);
}

.card p { margin-bottom: 0; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(8, 124, 120, .1);
  color: var(--brand);
  font-weight: 900;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.center-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.panel ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.panel li + li { margin-top: 10px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 22px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}

.steps strong { color: var(--text); display: block; }

.city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.city-link {
  display: grid;
  gap: 6px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.city-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.city-top b {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.city-link span { font-weight: 900; font-size: 20px; color: var(--brand-dark); }
.city-link small { color: var(--muted); }
.city-link em { color: var(--brand); font-size: 13px; font-style: normal; font-weight: 800; align-self: end; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.mini-card strong {
  display: block;
  color: var(--brand);
  font-size: 18px;
}

.mini-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.materials {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.material-pill {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
  font-weight: 800;
  transition: border-color .2s, transform .2s;
}

.material-pill:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.quote {
  display: grid;
  gap: 14px;
}

.quote label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfdfc;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.page-hero {
  padding: clamp(48px, 7vw, 108px) clamp(18px, 4vw, 64px);
  background: linear-gradient(135deg, #e6f6f3, #fff7e6);
  border-bottom: 1px solid var(--line);
}

.city-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 64px);
}

.city-content article {
  max-width: 820px;
}

.sticky {
  position: sticky;
  top: 92px;
}

.cta-band {
  max-width: none;
  margin: 0 clamp(18px, 4vw, 64px) clamp(42px, 6vw, 82px);
  border-radius: 8px;
  text-align: center;
  background: var(--brand);
  color: white;
}

.cta-band p,
.cta-band h2 { color: white; margin-left: auto; margin-right: auto; max-width: 840px; }

@media (max-width: 980px) {
  .topbar { display: none; }
  .nav-inner { align-items: center; }

  .hero,
  .intro,
  .split,
  .city-content,
  .site-footer { grid-template-columns: 1fr; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 760px;
  }

  .hero-media img {
    height: 440px;
  }

  .grid,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .materials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { position: static; }
}

@media (max-width: 720px) {
  .nav-inner { align-items: center; }
  nav { display: none; }
  .hero h1,
  .page-hero h1 { font-size: 38px; }
  .stats,
  .grid,
  .steps,
  .city-grid,
  .mini-grid,
  .materials,
  .trust-strip { grid-template-columns: 1fr; }
  .hero {
    padding-top: 36px;
  }
  .hero-media img { height: 300px; }
  .media-card {
    position: static;
    margin: 10px 0 0;
    max-width: none;
    border-radius: 10px;
  }
  .trust-strip {
    margin: 0 18px;
  }
}


/* ============================================================
   STICKY FOOTER (DÜZELTİLDİ)
   Kural: Footer her zaman EN ALTTA. Footer'dan SONRA hiçbir
   <section> olmayacak. stats/machine/cta bölümleri footer'ın
   ÜSTÜNDE, .page-main içinde kalır.
   ============================================================ */
html, body { height: auto; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Tüm içerik bu sarmalayıcının içinde -> boşluğu o emer */
.page-main { flex: 1 0 auto; }

/* Footer bloğu daima en altta, asla içeriğin üstüne çıkmaz */
.footer-wrap { flex-shrink: 0; }

/* ============================================================
   PROFESYONEL BÖLÜMLER (footer'ın ÜSTÜNDE durur)
   ============================================================ */
.stats-section, .machine-park, .cta-section { position: relative; z-index: 1; }

.stats-section { padding: 80px 20px; background: #f8fafc; }
.stats-section h2, .machine-park h2 { text-align: center; font-size: clamp(32px,4vw,48px); margin: 0 0 40px; font-weight: 800; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { background: #087c78; color: #fff; border-radius: 18px; padding: 30px 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.stat-card h3 { font-size: 42px; margin: 0; color: #fff; }
.stat-card p { margin: 8px 0 0; color: rgba(255,255,255,.85); }

.machine-park { padding: 80px 20px; background: #fff; }
.machine-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.machine-grid div { background: #fff; border: 2px solid #e5e7eb; border-radius: 14px; padding: 20px; text-align: center; font-weight: 600; }
.machine-total { text-align: center; margin-top: 25px; font-size: 20px; font-weight: 700; color: #087c78; }

.cta-section { padding: 80px 20px; background: linear-gradient(135deg,#087c78,#08343f); color: #fff; text-align: center; }
.cta-section h2 { font-size: clamp(34px,5vw,56px); margin: 0 0 10px; color: #fff; }
.cta-section p { font-size: 22px; color: rgba(255,255,255,.9); }
.cta-btn { display: inline-block; margin-top: 18px; background: #fff; color: #087c78; padding: 16px 34px; border-radius: 50px; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 24px;
  padding: 42px clamp(18px, 4vw, 64px);
  background: #10201f;
  color: white;
}

.site-footer p,
.site-footer a {
  display: block;
  color: #c9d8d5;
  margin: 8px 0 0;
}

.site-footer h4 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.site-footer a:hover { color: #fff; }

/* Footer altı şeritler -> footer'la aynı koyu zemin, kopuk durmasın */
.footer-brand, .footer-seo {
  text-align: center;
  background: #0b1716;
  color: #9fb3af;
}
.footer-brand {
  padding: 16px 12px;
  font-weight: 600;
  color: #c9d8d5;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-seo {
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .site-footer { grid-template-columns: 1fr; }
  .stats-grid, .machine-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 576px) {
  .stats-grid, .machine-grid { grid-template-columns: 1fr; }
}