/* ==========================================================================
   Kar-Gaz A.Ş. — kurumsal site
   Claude Design projesinden statik HTML/CSS/JS'e aktarım.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tasarım değişkenleri
   -------------------------------------------------------------------------- */
:root {
  --ink:        #16181a;
  --ink-soft:   #3d4347;
  --muted:      #5c6266;
  --muted-dim:  #7a8085;
  --blue:       #1f6fd0;
  --blue-light: #7fb2ee;
  --surface:    #ffffff;
  --surface-2:  #f4f5f6;
  --surface-3:  #eceef0;
  --dark:       #16181a;
  --dark-hover: #1d2023;
  --wa:         #25d366;
  --wa-hover:   #1eb85a;

  --line:        rgba(22, 24, 26, 0.12);
  --line-strong: rgba(22, 24, 26, 0.24);
  --line-soft:   rgba(22, 24, 26, 0.08);
  --line-dark:   rgba(255, 255, 255, 0.14);

  --sans: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell:   1360px;
  --gutter:  clamp(20px, 4vw, 56px);
  --nav-h:   68px;
  --radius:  6px;
  --radius-lg: 14px;

  --ease: 200ms ease;
}

/* --------------------------------------------------------------------------
   2. Temel
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue); }

img { display: block; max-width: 100%; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   3. Yerleşim yardımcıları
   -------------------------------------------------------------------------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
}

.section { padding: clamp(64px, 8vw, 120px) var(--gutter); }
.section--tight { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--page-head { padding: clamp(130px, 15vh, 180px) var(--gutter) clamp(40px, 5vw, 60px); }

.section--light { background: var(--surface); }
.section--muted { background: var(--surface-2); }
.section--dark  { background: var(--dark); color: #fff; }

.section--dark a { color: #fff; }
.section--dark a:hover { color: var(--blue-light); }

/* --------------------------------------------------------------------------
   4. Tipografi
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--light { color: var(--blue-light); }
.eyebrow--onmedia { color: inherit; opacity: 0.82; }

.display {
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.h2 {
  margin: 14px 0 16px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.h2--plain { margin: 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; }
.h2--onmedia { font-size: clamp(28px, 4vw, 54px); letter-spacing: -0.035em; line-height: 1.02; }

.lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.lede--onmedia {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: inherit;
  opacity: 0.9;
}

.measure-sm { max-width: 540px; }
.measure    { max-width: 620px; }
.measure-lg { max-width: 760px; }

/* --------------------------------------------------------------------------
   5. Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--sm { height: 46px; padding: 0 24px; font-size: 13.5px; }
.btn--wide { min-width: 236px; }
.btn--wide-sm { min-width: 220px; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); color: #fff; }

.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--surface); color: var(--ink); }

.btn--light { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--solid-light { background: #fff; color: var(--ink) !important; }
.btn--solid-light:hover { background: var(--blue-light); color: var(--ink) !important; }

.btn--glass {
  background: rgba(22, 24, 26, 0.42);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--glass:hover { background: rgba(22, 24, 26, 0.7); color: #fff; }

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}
.link-arrow:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   6. Navigasyon
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}

.nav__brand { display: flex; align-items: center; gap: 10px; justify-self: start; }
.nav__brand img { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.nav__phone {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--ease);
}
.nav__cta:hover { background: var(--blue); color: #fff; }

.nav__links a,
.nav__cta,
.nav__phone { white-space: nowrap; }

/* Aktif sayfa */
.nav__links a[aria-current="page"] { color: var(--blue); }
.nav-mobile a[aria-current="page"] { color: var(--blue); }

/* Mobil şerit */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 49;
  height: 44px;
  align-items: center;
  overflow-x: auto;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile__inner { display: flex; gap: 20px; font-size: 13px; font-weight: 500; }

@media (max-width: 1180px) {
  .nav__phone { display: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav-mobile { display: flex; }
  /* mobil şerit sayfayı 44px aşağı iter */
  .section--page-head { padding-top: clamp(160px, 18vh, 200px); }
  .page-head-media { padding-top: 150px; }
}

/* --------------------------------------------------------------------------
   7. Görsel bölümler (full-bleed)
   -------------------------------------------------------------------------- */
.media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0; /* görsel her zaman en altta */
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media img.is-panned { object-position: 72% center; }

.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* karartma görselin üstünde, metnin altında */
}
.scrim--hero {
  background: linear-gradient(180deg, rgba(10,12,14,0.62) 0%, rgba(10,12,14,0.40) 42%, rgba(10,12,14,0.74) 100%);
}
.scrim--band {
  background: linear-gradient(180deg, rgba(8,10,12,0.30) 0%, rgba(8,10,12,0.15) 40%, rgba(8,10,12,0.72) 100%);
}
.scrim--head {
  background: linear-gradient(180deg, rgba(8,10,12,0.62) 0%, rgba(8,10,12,0.46) 45%, rgba(8,10,12,0.82) 100%);
}
.scrim--tesis {
  background: linear-gradient(180deg, rgba(8,10,12,0.70) 0%, rgba(8,10,12,0.42) 50%, rgba(8,10,12,0.68) 100%);
}
.scrim--side {
  background: linear-gradient(90deg, rgba(8,10,12,0.82) 0%, rgba(8,10,12,0.40) 60%, rgba(8,10,12,0.12) 100%);
}
.scrim--konum {
  background: linear-gradient(180deg, rgba(8,10,12,0.35) 0%, rgba(8,10,12,0.20) 40%, rgba(8,10,12,0.78) 100%);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px 56px;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2; /* metin her zaman görselin ve karartmanın üstünde */
  text-align: center;
  color: #fff;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  pointer-events: none;
}
.hero__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__title {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero__sub {
  margin: 0;
  max-width: 620px;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  opacity: 0.9;
}
.hero__actions { margin-top: 10px; pointer-events: auto; }

.hero__marks {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px clamp(28px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Sayfa başlığı (görselli) */
.page-head-media {
  position: relative;
  min-height: clamp(400px, 58vh, 560px);
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) clamp(44px, 5vw, 64px);
  overflow: hidden;
  color: #fff;
}

/* Bant */
.band {
  position: relative;
  height: 76vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 6vh, 72px);
  overflow: hidden;
  color: #fff;
}
.band--tall {
  min-height: clamp(520px, 88vh, 860px);
  height: auto;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: clamp(110px, 13vh, 150px) var(--gutter) clamp(44px, 6vh, 64px);
}
.band--center {
  align-items: center;
  height: auto;
  min-height: clamp(480px, 78vh, 720px);
  padding: clamp(56px, 7vw, 90px) var(--gutter);
}
.band--konum {
  height: auto;
  min-height: clamp(360px, 56vh, 540px);
  padding: clamp(48px, 6vw, 80px) var(--gutter);
}
.band__inner { position: relative; z-index: 2; width: 100%; max-width: var(--shell); margin: 0 auto; }
.band__copy { max-width: 600px; }
.band__copy p { margin: 0 0 24px; }

/* --------------------------------------------------------------------------
   8. İstatistikler
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(18px, 3vw, 44px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stats--onmedia {
  position: relative;
  border-top-color: rgba(255, 255, 255, 0.28);
  padding-top: 26px;
  margin-top: 48px;
}
.stat__value {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stat__label {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.stats--onmedia .stat__label { color: inherit; opacity: 0.78; }

.stat-pair { display: flex; gap: clamp(24px, 4vw, 56px); }
.stat-pair .stat__value { font-size: clamp(26px, 3vw, 40px); }
.stat-pair .stat__label { font-size: 10.5px; }

/* --------------------------------------------------------------------------
   9. Başlık satırı
   -------------------------------------------------------------------------- */
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.head-row--wide { margin-bottom: clamp(36px, 5vw, 56px); }

/* --------------------------------------------------------------------------
   10. Gaz kartları
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}
.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.gas-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  transition: background var(--ease);
}
.gas-card:hover { background: var(--surface-3); color: var(--ink); }

.gas-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.gas-card__media img { width: 100%; height: 100%; object-fit: cover; }

.gas-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-grid--wide .gas-card__body { padding: 24px 24px 26px; gap: 9px; }

.gas-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.gas-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card-grid--wide .gas-card__title { font-size: 21px; }

.gas-card__formula {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue);
  white-space: nowrap;
}
.gas-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.gas-card__spec {
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.gas-card__sds {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}
.gas-card__sds:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   11. Koyu kutucuk ızgarası
   -------------------------------------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-dark);
}
.tile-grid--sm { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile-grid--md { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.tile {
  background: var(--dark);
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}
.tile--tall { min-height: 230px; transition: background var(--ease); }
.tile--tall:hover { background: var(--dark-hover); }
.tile--short { min-height: 190px; gap: 11px; padding: clamp(26px, 2.6vw, 36px); }
.tile--mid { min-height: 200px; gap: 11px; padding: clamp(26px, 2.6vw, 36px); }

.tile__no {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue-light);
  letter-spacing: 0.14em;
}
.tile__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tile--short .tile__title,
.tile--mid .tile__title { font-size: 19px; }
.tile__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------------
   12. Sektör kartları
   -------------------------------------------------------------------------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}
.sector {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sector img { width: 100%; height: 100%; object-fit: cover; }
.sector__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,14,0) 45%, rgba(10,12,14,0.78) 100%);
  pointer-events: none;
}
.sector__copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 32px;
  color: #fff;
  pointer-events: none;
}
.sector__copy h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.sector__copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   13. CTA
   -------------------------------------------------------------------------- */
.cta {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.cta--sm { gap: 16px; }
.cta--sm h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06; }
.cta p { max-width: 560px; }
.cta .btn-row { margin-top: 8px; }

/* --------------------------------------------------------------------------
   14. Güvenlik / iki sütun
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--form { gap: clamp(36px, 5vw, 80px); align-items: start; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(22, 24, 26, 0.16);
  border-radius: 999px;
  background: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   15. Referans listesi
   -------------------------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.ref {
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(18px, 2vw, 28px);
  min-height: 78px;
  color: #fff;
  transition: background var(--ease);
}
.ref:hover { background: var(--dark-hover); color: #fff; }
.ref__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  min-width: 26px;
}
.ref__name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.ref__arrow { font-family: var(--mono); font-size: 13px; color: var(--muted-dim); }

/* --------------------------------------------------------------------------
   16. İletişim / form
   -------------------------------------------------------------------------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.contact-list__label {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.contact-list__value {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
a.contact-list__value:hover { color: var(--blue); }

.form-card {
  background: var(--surface-2);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.field input,
.field select,
.field textarea {
  border: 1px solid rgba(22, 24, 26, 0.16);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--ease);
}
.field input,
.field select { height: 46px; padding: 0 14px; }
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); outline: none; }
.field input:invalid:not(:placeholder-shown) { border-color: #c9503f; }

.form__submit { height: 50px; letter-spacing: 0.04em; }
.form__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-dim);
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  justify-content: center;
  text-align: center;
}
.form-success__title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.form-success p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.form-success .btn { align-self: center; margin-top: 12px; height: 44px; padding: 0 24px; text-transform: none; }

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(48px, 6vw, 72px) var(--gutter) 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(26px, 3vw, 48px);
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand img { height: 44px; width: auto; }
.footer__brand p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer__title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.footer__col a { color: rgba(255, 255, 255, 0.78); }
.footer__col a:hover { color: #fff; }
.footer__col span:not(.footer__title) { color: var(--muted-dim); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
}

/* --------------------------------------------------------------------------
   18. WhatsApp butonu
   -------------------------------------------------------------------------- */
.wa {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 60;
  width: 60px;
  height: 60px;
}
.wa__ring {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--wa);
  animation: kgRing 2.4s ease-out infinite;
  pointer-events: none;
}
.wa__ring--delay { animation-delay: 1.2s; }

.wa__btn {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--wa);
  box-shadow: 0 12px 30px rgba(15, 90, 50, 0.34);
  animation: kgBeat 1.9s ease-in-out infinite;
  transition: background 220ms ease, box-shadow 220ms ease;
}
.wa__btn:hover {
  background: var(--wa-hover);
  box-shadow: 0 16px 40px rgba(15, 90, 50, 0.5);
}

@keyframes kgRing {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes kgBeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.14); }
  24% { transform: scale(1); }
  36% { transform: scale(1.09); }
  48% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   19. Küçük ekran düzeltmeleri
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .hero { min-height: 560px; padding-bottom: 40px; }
  .hero__marks { gap: 10px 20px; font-size: 10.5px; }
  .btn--wide, .btn--wide-sm { min-width: 100%; }
  .btn-row { width: 100%; }
  .band--tall { min-height: 640px; }
  .footer__base { justify-content: flex-start; }
}

/* Yazdırma */
@media print {
  .nav, .nav-mobile, .wa, .skip-link { display: none !important; }
  body { color: #000; }
  .section--dark, .footer { background: #fff !important; color: #000 !important; }
}

/* --------------------------------------------------------------------------
   20. Liste ve tanım listesi sıfırlamaları
        (stats/tiles semantik <dl>/<ol> olarak işaretlendi)
   -------------------------------------------------------------------------- */
.stats,
.stat-pair,
.tile-grid,
.ref-grid,
.coverage,
.chip-row {
  list-style: none;
}
.stats dd,
.stat-pair dd { margin: 0; }
.stats dt,
.stat-pair dt { font-weight: inherit; }

ol.tile-grid,
ul.coverage { margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   21. Bölüm aralıkları
   -------------------------------------------------------------------------- */
.section-intro { margin-bottom: clamp(32px, 4vw, 56px); }
.section-outro { margin-top: clamp(32px, 4vw, 48px); }
.h2--flush { margin-bottom: 0; }

.section--refs { padding: clamp(48px, 6vw, 84px) var(--gutter); }

/* Lojistik kapsama alanı */
.coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* Sayfa başlığı bloğundaki display başlık üstten boşluksuz başlar */
.page-head-media .display { margin-top: 14px; }

/* --------------------------------------------------------------------------
   22. WordPress uyumluluğu
        Tasarım statik HTML'de <a> listeleriydi; wp_nav_menu <ul>/<li>
        katmanı ekliyor. Aşağıdaki kurallar tasarımdaki düzeni korur.
   -------------------------------------------------------------------------- */
.nav__links,
.nav-mobile__inner,
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links li,
.nav-mobile__inner li { display: flex; align-items: center; }

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* WP core aktif öğeye aria-current="page" basıyor (kural 296. satırda).
   Sınıf tabanlı yedek — özel bağlantı tiplerinde aria-current gelmeyebilir. */
.nav__links .current-menu-item > a,
.nav__links .current_page_parent > a,
.nav-mobile__inner .current-menu-item > a,
.nav-mobile__inner .current_page_parent > a { color: var(--blue); }

/* Logo yüklenmemişse site adı metin olarak düşer */
.nav__brand-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.footer__brand-text {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Sabit nav yönetim çubuğunun altına girmesin */
body.admin-bar .nav { top: 32px; }
body.admin-bar .nav-mobile { top: calc(var(--nav-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
  body.admin-bar .nav-mobile { top: calc(var(--nav-h) + 46px); }
}

/* Sayfa içeriği sabit navın altında kalmasın.
   Tasarımda her sayfanın ilk bölümü kendi üst boşluğunu veriyordu
   (.hero tam ekran, .section--page-head / .page-head-media büyük padding).
   WordPress'te ilk blok her şey olabilir; güvenli taban boşluk: */
.wp-site-blocks > main { padding-top: var(--nav-h); }

/* Tasarımdaki sayfa açılış bölümleri navı kendi üst boşluklarıyla zaten
   temizliyor; onlarda taban boşluk kaldırılır. wp:post-content araya
   .entry-content sarmalayıcısı koyduğu için iki seviye de kontrol edilir. */
.wp-site-blocks > main:has(> :is(.hero, .page-head-media, .section--page-head, .band):first-child),
.wp-site-blocks > main:has(> .entry-content > :is(.hero, .page-head-media, .section--page-head, .band):first-child) {
  padding-top: 0;
}
@media (max-width: 900px) {
  .wp-site-blocks > main { padding-top: calc(var(--nav-h) + 44px); }
}

/* Editör tuvalinde header/footer bağlantıları da tıklanmasın.
   Section blokları bunu `inert` özniteliğiyle çözüyor (bkz. kargaz_block_attrs),
   ama bu iki blok ACF bloğu olmadığı için is_preview bayrağı taşımıyor. */
.editor-styles-wrapper :is(.nav, .nav-mobile, .footer, .wa) a { pointer-events: none; }

/* Blok editörü içinde sabit/tam ekran öğeler tuvali kilitlemesin */
.editor-styles-wrapper .nav,
.editor-styles-wrapper .nav-mobile,
.editor-styles-wrapper .wa { position: static; }
.editor-styles-wrapper .hero { height: auto; }
.editor-styles-wrapper .wp-site-blocks > main { padding-top: 0; }

/* Kısa sayfalarda footer sayfanın dibine otursun */
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-site-blocks > main { flex: 1 0 auto; }

/* Blok editöründe alanları boş bırakılmış bölümler için uyarı kutusu.
   Ön yüzde hiç basılmaz (bkz. kargaz_block_placeholder). */
.kargaz-placeholder {
  margin: 0;
  padding: 28px var(--gutter);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   23. Blok yardımcı sınıfları
        Statik tasarımda satır içi style ile verilmiş birkaç ölçü, bloklarda
        inline stil basmamak için adlandırılmış sınıflara taşındı.
   -------------------------------------------------------------------------- */

/* gazlar/hizmetler sayfa başlığı: h1 genişliği (tasarımda style="max-width:820px") */
.page-head-media .display { max-width: 820px; }

/* referanslar sayfa başlığı: düz varyantın metin kolonu ve başlık ölçüsü */
.page-head-plain .head-row { margin-bottom: 0; }
.measure-md { max-width: 680px; }
.page-head-plain__title {
  font-size: clamp(32px, 4.4vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

/* Görselli bant — merkez varyantında metin ile liste arası boşluk
   (tasarımda style="margin-bottom:26px") */
.band--center .measure-sm .lede { margin-bottom: 26px; }

/* Görselli bant — konum varyantı (tasarımda satır içi stillerdi) */
.band--konum .band__inner { margin-bottom: 0; }
.band--konum .h2 { font-size: clamp(26px, 3.4vw, 44px); }
.band--konum .lede { font-size: 16px; line-height: 1.6; }

/* İki sütunlu bölüm — metnin altındaki boşluk ve ölçü
   (tasarımda style="margin-bottom:28px; max-width:520px") */
.split__lede { margin-bottom: 28px; max-width: 520px; }

/* Teklif formu bölümü (tasarımda satır içi stillerdi) */
.quote-section { padding-bottom: clamp(64px, 8vw, 110px); }
.quote__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; }
.quote__lede { margin-bottom: 34px; max-width: 460px; }

/* --------------------------------------------------------------------------
   24. Serbest metin (prose)
        Metin Bölümü bloğundaki WYSIWYG çıktısı çıplak p/h3/ul/table üretiyor;
        tasarım CSS'i yalnızca kendi bileşen sınıflarını stillendirdiği için
        bu etiketler burada tasarım token'larıyla tanımlanıyor.
   -------------------------------------------------------------------------- */
.prose {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.prose > *:first-child { margin-top: 0; }
.prose > *:last-child  { margin-bottom: 0; }

.prose p { margin: 0 0 18px; }

.prose h2,
.prose h3,
.prose h4 {
  margin: 40px 0 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 17px; letter-spacing: -0.01em; }

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--ink); }

.prose strong { color: var(--ink); font-weight: 600; }

/* 20. bölümdeki liste sıfırlamaları sınıf tabanlı; buradaki listeler
   normal madde işaretlerini korur. */
.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted-dim); }

.prose blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--blue);
  color: var(--ink);
}

.prose hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}

/* Geniş tablolar sayfayı yatay kaydırmasın, kendi içinde kaysın */
.prose .wp-block-table,
.prose figure.wp-block-table { margin: 0 0 24px; }
.prose table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

.prose img { margin: 24px 0; border-radius: var(--radius); }

/* Koyu zeminde kullanılırsa okunurluk korunsun */
.section--dark .prose { color: rgba(255, 255, 255, 0.78); }
.section--dark .prose h2,
.section--dark .prose h3,
.section--dark .prose h4,
.section--dark .prose strong { color: #fff; }
.section--dark .prose a { color: var(--blue-light); }
