/* ===========================================================================
   724 ACİL SU TESİSAT — Tasarım Sistemi
   ---------------------------------------------------------------------------
   Yön: editoryal / teknik / sakin. Sektördeki mavi-kırmızı gradient
   şablonlarının tam tersi. Kemik beyazı zemin, derin petrol, tek bir
   kararlı yanık turuncu. Gölge yerine hairline çizgi. Stok fotoğraf yok.
   =========================================================================== */

/* ---------- 1. Reset ---------------------------------------------------- */

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

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

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

:target { scroll-margin-top: 6rem; }


/* ---------- 2. Tasarım token'ları --------------------------------------- */

:root {
  /* Yüzeyler — sıcak kemik beyazı, saf beyaz değil (anında "tasarlanmış" okur) */
  --paper:        #FAF8F4;
  --paper-raised: #FFFFFF;
  --paper-sunk:   #F1EDE5;
  --paper-warm:   #EFE9DE;

  /* Mürekkep */
  --ink:      #11161C;
  --ink-2:    #2C3540;
  --ink-soft: #5A6675;
  --ink-mute: #8A94A1;

  /* Marka — derin petrol. Sektörün klasik "tesisatçı mavisi" değil. */
  --deep:    #0B2B33;
  --deep-2:  #10404C;
  --deep-3:  #175867;

  /* Vurgu — yanık turuncu. Az ve kararlı kullanılır. */
  --accent:      #E1622C;
  --accent-dark: #BE4A1B;
  --accent-soft: #FBEDE5;

  /* Durum */
  --ok:      #17784F;
  --ok-soft: #E6F2EC;
  --wa:      #1FA855;

  /* Çizgi — gölge yerine hairline kullanıyoruz */
  --line:        rgba(11, 43, 51, .14);
  --line-strong: rgba(11, 43, 51, .28);
  --line-light:  rgba(250, 248, 244, .18);

  /* Tipografi */
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-text:    'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.5rem, 6.4vw, 5rem);
  --fs-h1:      clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2:      clamp(1.7rem, 3.2vw, 2.6rem);
  --fs-h3:      clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lead:    clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      .875rem;
  --fs-xs:      .78rem;

  /* Ölçü */
  --wrap:   1240px;
  --wrap-n: 860px;          /* dar okuma kolonu */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sect-y: clamp(3.75rem, 8vw, 7rem);

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --header-h: 74px;
}


/* ---------- 3. Temel tipografi ------------------------------------------ */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 450;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h3, h4 { line-height: 1.2; letter-spacing: -.02em; }

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

/* Göz üstü etiketi — numaralı editoryal başlık sistemi */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--light { color: var(--accent); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.tabular { font-variant-numeric: tabular-nums; }


/* ---------- 4. Yerleşim -------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-n); }

.section { padding-block: var(--sect-y); }
.section--sunk  { background: var(--paper-sunk); }
.section--deep  { background: var(--deep); color: var(--paper); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lead { color: rgba(250, 248, 244, .72); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head h2 { font-size: var(--fs-h2); margin-block: .7rem .85rem; }

/* Editoryal iki kolonlu başlık: solda başlık, sağda açıklama */
.section__head--split {
  display: grid;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
}
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .section__head--split h2 { margin-bottom: 0; }
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }


/* ---------- 5. Butonlar -------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .82em 1.5em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg    { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--accent-dark); --btn-bd: var(--accent-dark); }

.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #17904a; --btn-bd: #17904a; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }

.btn--on-deep { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--line-light); }
.btn--on-deep:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.55); }

.btn--lg   { padding: 1.02em 1.9em; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Metin bağlantısı — alt çizgi hover'da soldan sağa açılır */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  color: var(--deep);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.tlink:hover { background-size: 100% 2px; color: var(--accent-dark); }
.tlink svg   { width: .85em; height: .85em; transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }


/* ---------- 6. Başlık / navigasyon --------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, .86);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex: none;
  margin-right: auto;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: -.035em;
  color: var(--deep);
  white-space: nowrap;
}
.brand__sub {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Masaüstü menü eşiği 1180px.
   Daha düşük değerde marka + 6 bağlantı + telefon + buton tek satıra sığmıyor;
   telefon numarası alt alta kırılıp buton ekrandan taşıyordu. */
.nav__links { display: none; gap: .1rem; align-items: center; }
@media (min-width: 1180px) { .nav__links { display: flex; } }

.nav__link {
  /* inline-flex: açılır menüdeki "Hizmetler" zaten inline-flex olduğu için
     diğerlerinden daha yüksek bir kutu oluşturuyordu; hover arka planları
     farklı boyutta çıkıyordu. Hepsini aynı kutu modeline alıyoruz. */
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .5rem .6rem;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover      { color: var(--deep); background: var(--paper-sunk); }
.nav__link[aria-current="page"] { color: var(--accent-dark); }

/* Açılır hizmet menüsü */
.nav__drop { position: relative; }
.nav__drop > .nav__link { display: inline-flex; align-items: center; gap: .3em; }
.nav__drop > .nav__link svg { width: .7em; height: .7em; transition: transform .2s var(--ease); }
.nav__drop:hover > .nav__link svg,
.nav__drop:focus-within > .nav__link svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 290px;
  padding: .5rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 44px -22px rgba(11, 43, 51, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__drop:hover .nav__menu,
.nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__menu a {
  display: block;
  padding: .55rem .7rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav__menu a:hover { background: var(--paper-sunk); color: var(--deep); }

/* Başlıktaki telefon — masaüstünde her zaman görünür */
.nav__phone {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-decoration: none;
  padding-right: .25rem;
}
@media (min-width: 820px) { .nav__phone { display: flex; } }
.nav__phone small {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.nav__phone span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;   /* numara asla alt satıra kırılmasın */
}
.nav__phone:hover span { color: var(--accent-dark); }

.nav__cta { display: none; }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }

/* Mobil menü aç/kapa */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
@media (min-width: 1180px) { .nav__toggle { display: none; } }
.nav__toggle span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top:  6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobil panel */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1180px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

.mobile-nav ul { padding-block: .75rem 1.25rem; }
.mobile-nav a {
  display: block;
  padding: .7rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav a.is-sub {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .92rem;
  padding-left: 1rem;
  color: var(--ink-soft);
}
.mobile-nav .btn-row { padding-block: 1rem 1.5rem; }


/* ---------- 7. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}

/* Arka plan: elle çizilmiş teknik boru şeması (stok fotoğraf değil) */
.hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
}
.hero__art svg { width: 100%; height: 100%; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 78% at 78% 8%, rgba(225,98,44,.20), transparent 58%);
  pointer-events: none;
}

.hero > .wrap { position: relative; z-index: 2; }

.hero__grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.32fr) minmax(0, .88fr); gap: 4rem; }
}

.hero__title {
  font-size: var(--fs-display);
  color: #fff;
  margin-block: 1.1rem .1rem;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  font-size: var(--fs-lead);
  color: rgba(250, 248, 244, .78);
  max-width: 52ch;
  margin-top: 1.35rem;
}

.hero__actions { margin-top: 2rem; }

/* Hero altı ölçüm şeridi */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 2.75rem;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  overflow: hidden;
}
@media (min-width: 620px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }

.hero__stat { background: var(--deep); padding: 1rem 1.15rem; }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero__stat span {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, .58);
  margin-top: .15rem;
}


/* ---------- 8. Canlı durum kartı (rakiplerde yok) ------------------------ */

.status-card {
  background: var(--paper-raised);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
}

.status-card__top {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.status-card__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
  position: relative;
}
.status-card__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--ok);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { opacity: .7; transform: scale(.55); }
  80%  { opacity: 0;  transform: scale(1.35); }
  100% { opacity: 0;  transform: scale(1.35); }
}
.status-card__state {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: var(--ok);
}
.status-card__time {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.status-card__rows { padding-block: 1rem; display: grid; gap: .7rem; }
.status-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: .89rem;
}
.status-card__row dt { color: var(--ink-soft); }
.status-card__row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep);
  text-align: right;
}

.status-card__phone {
  display: block;
  padding: 1.05rem 1rem;
  margin-top: .35rem;
  background: var(--deep);
  border-radius: var(--r);
  text-align: center;
  text-decoration: none;
  transition: background .2s var(--ease);
}
.status-card__phone:hover { background: var(--deep-2); }
.status-card__phone small {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250,248,244,.6);
}
.status-card__phone strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-top: .15rem;
}

.status-card__note {
  font-size: .76rem;
  color: var(--ink-mute);
  text-align: center;
  margin-top: .8rem;
  line-height: 1.5;
}


/* ---------- 9. Güven rozetleri ------------------------------------------- */

.badges {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 640px)  { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .badges { grid-template-columns: repeat(4, 1fr); } }

.badge {
  display: flex;
  gap: .9rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) clamp(1rem, 2vw, 1.5rem);
  background: var(--paper);
}
.badge__icon {
  width: 26px; height: 26px;
  flex: none;
  color: var(--accent);
  margin-top: .1rem;
}
.badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--deep);
}
.badge span {
  display: block;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: .15rem;
}


/* ---------- 10. Kartlar --------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
a.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
a.card:hover::before { transform: scaleY(1); }

.card__icon {
  width: 40px; height: 40px;
  color: var(--deep-3);
  margin-bottom: 1.1rem;
}
.card__title {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--deep);
  margin-bottom: .5rem;
}
.card__text {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.card__foot { margin-top: auto; }

/* Numaralı kart varyantı */
.card--num { padding-top: clamp(1.6rem, 2.6vw, 2.1rem); }
.card__num {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .8rem;
}


/* ---------- 11. Süreç adımları -------------------------------------------- */

.steps { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 2rem 1.5rem 2rem 0;
  border-top: 2px solid var(--line);
}
@media (min-width: 900px) { .step { padding-right: 2rem; } }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .9rem;
}
.step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .8s var(--ease);
}
.step.is-in::after { width: 44px; }

.step h3 { font-size: 1.1rem; color: var(--deep); margin-bottom: .45rem; }
.step p  { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }


/* ---------- 12. Arıza teşhis aracı (interaktif) --------------------------- */

.triage {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.triage__head {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper-sunk);
}
.triage__head h3 { font-size: 1.25rem; color: var(--deep); }
.triage__head p  { font-size: .88rem; color: var(--ink-soft); margin-top: .3rem; }

.triage__body { padding: clamp(1.25rem, 2.4vw, 1.75rem); }

.triage__step { display: none; }
.triage__step.is-active { display: block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.triage__q {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--deep);
  margin-bottom: 1rem;
}

.triage__opts { display: grid; gap: .55rem; }
@media (min-width: 620px) { .triage__opts { grid-template-columns: repeat(2, 1fr); } }

.triage__opt {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--font-text);
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease),
              transform .18s var(--ease);
}
.triage__opt:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(3px);
}
.triage__opt svg { width: 22px; height: 22px; flex: none; color: var(--deep-3); }

/* Sonuç ekranı */
.triage__result { display: none; }
.triage__result.is-active { display: block; animation: fadeUp .35s var(--ease); }

.triage__verdict {
  display: flex;
  gap: .9rem;
  padding: 1.1rem;
  background: var(--accent-soft);
  border-radius: var(--r);
  margin-bottom: 1.15rem;
}
.triage__verdict svg { width: 26px; height: 26px; flex: none; color: var(--accent-dark); margin-top: .1rem; }
.triage__verdict b   { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--deep); }
.triage__verdict p   { font-size: .88rem; line-height: 1.55; color: var(--ink-2); margin-top: .25rem; }

.triage__tips { margin-bottom: 1.25rem; }
.triage__tips li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .89rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.triage__tips li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.triage__reset {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 1rem;
  background: none;
  border: 0;
  padding: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.triage__reset:hover { color: var(--ink); }

.triage__progress {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.triage__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width .4s var(--ease);
}


/* ---------- 13. Fiyat tablosu (şeffaflık — rakiplerde yok) ---------------- */

.pricing {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-raised);
}
.pricing__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1.25rem;
  align-items: baseline;
  padding: 1.05rem clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.pricing__row:last-child { border-bottom: 0; }
.pricing__row:nth-child(odd) { background: rgba(241, 237, 229, .45); }

.pricing__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--deep);
}
.pricing__desc {
  grid-column: 1 / -1;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-mute);
}
.pricing__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-dark);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pricing__note {
  display: flex;
  gap: .7rem;
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  background: var(--paper-sunk);
  border-radius: var(--r);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pricing__note svg { width: 20px; height: 20px; flex: none; color: var(--deep-3); margin-top: .15rem; }


/* ---------- 14. Acil rehber (biz gelene kadar) ---------------------------- */

.guide { display: grid; gap: 1px; background: var(--line-light); }
@media (min-width: 780px) { .guide { grid-template-columns: repeat(3, 1fr); } }

.guide__item { background: var(--deep); padding: clamp(1.4rem, 2.5vw, 1.9rem); }
.guide__num {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .85rem;
}
.guide__item h3 { font-size: 1.08rem; color: #fff; margin-bottom: .5rem; }
.guide__item p  { font-size: .9rem; line-height: 1.6; color: rgba(250,248,244,.7); }


/* ---------- 15. İlçe listesi + arama -------------------------------------- */

.district-search { position: relative; max-width: 460px; margin-bottom: 2rem; }
.district-search input {
  width: 100%;
  padding: .95rem 1rem .95rem 2.9rem;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .95rem;
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.district-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.district-search svg {
  position: absolute;
  left: 1.05rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-mute);
  pointer-events: none;
}

.side-group { margin-bottom: 2.5rem; }
.side-group__title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.side-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.district-list {
  display: grid;
  gap: .4rem;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}
.district-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem .85rem;
  font-size: .91rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: all .16s var(--ease);
}
.district-list a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  color: var(--accent);
  transition: all .18s var(--ease);
}
.district-list a:hover {
  background: var(--paper-raised);
  border-color: var(--line);
  color: var(--deep);
}
.district-list a:hover::after { opacity: 1; transform: none; }
.district-list a.is-hidden { display: none; }

.district-empty {
  display: none;
  padding: 1rem 0;
  font-size: .9rem;
  color: var(--ink-mute);
}
.district-empty.is-shown { display: block; }


/* ---------- 16. SSS ------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  letter-spacing: -.02em;
  color: var(--deep);
  transition: color .18s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-dark); }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  margin-left: auto;
  margin-top: .35em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .28s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }

.faq__answer {
  padding-bottom: 1.5rem;
  max-width: 76ch;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.faq__item[open] .faq__answer { animation: fadeUp .3s var(--ease); }


/* ---------- 17. Yorumlar --------------------------------------------------- */

.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: .7;
  color: var(--accent);
  opacity: .32;
  margin-bottom: .6rem;
}
.quote p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.quote footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--ink-mute);
}
.quote footer b { display: block; font-family: var(--font-display); color: var(--deep); font-size: .92rem; }


/* ---------- 18. Çağrı bandı ------------------------------------------------ */

.cta-band {
  position: relative;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 130% at 15% 100%, rgba(225,98,44,.28), transparent 62%);
}
.cta-band > .wrap { position: relative; z-index: 2; }

.cta-band__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .cta-band__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; }
}
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p  { color: rgba(250,248,244,.75); margin-top: .9rem; max-width: 48ch; }


/* ---------- 19. Prose (hizmet/ilçe sayfa gövdesi) ------------------------- */

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--deep); margin-top: 2.75rem; }
.prose h3 { font-size: 1.18rem; color: var(--deep); margin-top: 2rem; }
.prose p  { color: var(--ink-soft); line-height: 1.75; }
.prose a  { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--ink); }

.prose ul { display: grid; gap: .6rem; }
.prose ul li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Yan sütun (sticky) */
.layout-aside { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 1000px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) 330px; gap: 4rem; }
  .layout-aside__side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.side-cta {
  padding: 1.6rem;
  background: var(--deep);
  border-radius: var(--r-lg);
  color: #fff;
}
.side-cta h3 { font-size: 1.15rem; color: #fff; }
.side-cta p  { font-size: .88rem; color: rgba(250,248,244,.7); margin-block: .5rem 1.15rem; line-height: 1.55; }

.side-box {
  padding: 1.4rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.side-box h3 {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .9rem;
}
.side-box ul { display: grid; gap: .1rem; }
.side-box a {
  display: block;
  padding: .45rem 0;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.side-box a:hover { color: var(--accent-dark); padding-left: .3rem; }
.side-box a[aria-current="page"] { color: var(--accent-dark); }


/* ---------- 20. Sayfa başlığı + breadcrumb -------------------------------- */

.page-head {
  background: var(--paper-sunk);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.25rem, 4.5vw, 3.5rem);
}
.page-head h1 { font-size: var(--fs-h1); color: var(--deep); margin-block: .9rem .9rem; }
.page-head .lead { max-width: 62ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--ink-mute);
}
.crumbs a { text-decoration: none; color: var(--ink-mute); transition: color .16s var(--ease); }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs li { display: flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs [aria-current="page"] { color: var(--ink-2); font-weight: 600; }


/* ---------- 21. Footer ----------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 248, 244, .72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  font-size: .9rem;
}
.site-footer a { text-decoration: none; color: inherit; transition: color .16s var(--ease); }
.site-footer a:hover { color: #fff; }

.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }

.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub  { color: rgba(250,248,244,.45); }
.footer__brand p { margin-top: 1rem; line-height: 1.65; max-width: 34ch; color: rgba(250,248,244,.6); }

.footer__col h4 {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250,248,244,.42);
  margin-bottom: 1rem;
}
.footer__col li { margin-bottom: .55rem; }

.footer__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.035em;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
  margin-bottom: .3rem;
}
.footer__hours {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--ok);
}
.footer__hours::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(250, 248, 244, .12);
  font-size: .8rem;
  color: rgba(250, 248, 244, .45);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.footer__districts {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(250, 248, 244, .12);
  font-size: .78rem;
  line-height: 2;
  color: rgba(250, 248, 244, .38);
}
.footer__districts a:hover { color: rgba(250,248,244,.85); }
.footer__districts b {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250,248,244,.32);
  margin-bottom: .4rem;
}


/* ---------- 22. Mobil alt aksiyon çubuğu ---------------------------------- */

.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1px;
  background: rgba(11, 43, 51, .2);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-bar.is-shown { transform: none; }
@media (min-width: 780px) { .mobile-bar { display: none; } }

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem .75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .96rem;
  letter-spacing: -.01em;
  text-decoration: none;
  color: #fff;
}
.mobile-bar svg { width: 1.1em; height: 1.1em; }
.mobile-bar__call { background: var(--accent); }
.mobile-bar__wa   { background: var(--wa); }

/* Çubuk sayfa sonunu kapatmasın */
@media (max-width: 779px) { body { padding-bottom: 62px; } }


/* ---------- 22b. Çerez onayı ----------------------------------------------
   Yalnızca Google Ads takibi açıkken sayfaya basılır (bkz. build/config.py >
   GOOGLE_ADS). Takip kapalıyken site hiç çerez yazmaz, bu blok da gelmez. */

.cookie {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--ink);
  color: rgba(250, 248, 244, .84);
  border-top: 2px solid var(--accent);
  animation: cookieUp .4s var(--ease);
}
@media (max-width: 779px) { .cookie { bottom: 62px; } }   /* mobil çubuğun üstünde */

@keyframes cookieUp { from { transform: translateY(100%); } to { transform: none; } }

.cookie__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.cookie p {
  flex: 1 1 min(30rem, 100%);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.cookie__actions { display: flex; gap: .6rem; flex: none; }
.cookie__actions .btn { padding: .6em 1.2em; font-size: .88rem; }
.cookie__actions .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(250,248,244,.35); }
.cookie__actions .btn--ghost:hover { --btn-bd: #fff; }


/* ---------- 23. Hareket / erişilebilirlik --------------------------------- */

/* Scroll reveal — SADECE JS varken gizle.
   <html class="js"> sınıfını head'deki satır içi script ekler. JS kapalıysa
   veya main.js yüklenemezse bu kural hiç uygulanmaz ve içerik normal görünür.
   (Aksi hâlde ana sayfadaki 9 blok kalıcı olarak görünmez kalırdı.) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -5rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

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

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


/* ---------- 24. Yazdırma --------------------------------------------------- */

@media print {
  .site-header, .mobile-bar, .fab, .hero__art, .triage, .cta-band { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}


/* ---------- 25. Sabit aksiyon butonlari (sag alt) -------------------------- */
/*
   Mobilde .mobile-bar ekranin altini zaten kapliyor; bu grup yalnizca
   >=780px'te gorunur, boylece ikisi ust uste binmez.
   Sayfa 420px asagi kayinca main.js .is-shown ekler.
*/

.fab {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 65;                 /* mobile-bar (70) altinda kalsin */
  display: none;
  flex-direction: column;
  gap: .7rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
@media (min-width: 780px) { .fab { display: flex; } }
.fab.is-shown { opacity: 1; visibility: visible; transform: none; }

.fab__btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(11, 22, 28, .22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab__btn:hover,
.fab__btn:focus-visible {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 26px rgba(11, 22, 28, .3);
}
.fab__btn svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.fab__btn--wa   { background: var(--wa); }
.fab__btn--call { background: var(--accent); }

/* Hover'da soldan cikan etiket */
.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: -.01em;
  padding: .5rem .75rem;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.fab__tip::after {              /* kucuk ok */
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
.fab__btn:hover .fab__tip,
.fab__btn:focus-visible .fab__tip { opacity: 1; transform: translate(0, -50%); }

/* Arama butonunda dikkat ceken nabiz halkasi */
.fab__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
  z-index: 0;
  animation: fab-pulse 2.4s var(--ease) infinite;
}
@keyframes fab-pulse {
  0%   { transform: scale(1);    opacity: .5; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* Hareket azaltma tercihi: nabiz ve gecisler kapanir, buton calismaya devam eder */
@media (prefers-reduced-motion: reduce) {
  .fab { transition: none; }
  .fab__ring { animation: none; display: none; }
  .fab__btn { transition: none; }
  .fab__btn:hover, .fab__btn:focus-visible { transform: none; }
  .fab__tip { transition: none; }
}


/* ---------- 26. Icerik ici teknik cizimler -------------------------------- */
/*
   Stok fotograf yerine anlatan cizim. SVG oldugu icin her ekranda net,
   dosya boyutu birkac KB ve renkleri sitenin paletinden geliyor.
*/

.diagram {
  margin: 2rem 0 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
/* CSS grid cocuklarinin varsayilan min-width'i "auto"dur: icerideki genis
   ogeyi kucultmez, kutuyu disari tasirir. Cizim 600px genisliginde oldugu
   icin bu, mobilde tum sayfaya yatay kaydirma ekliyordu. */
.layout-aside > * { min-width: 0; }

.diagram { max-width: 100%; }
.diagram__scroll { position: relative; max-width: 100%; }
.diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.diagram figcaption {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.5;
  text-align: center;
}

/* Dar ekranda cizimdeki yazilar okunamayacak kadar kuculuyor;
   yatay kaydirmaya izin verip cizimi kendi genisliginde tutuyoruz. */
@media (max-width: 640px) {
  .diagram { padding: 1.25rem 0 1rem; }
  .diagram__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: 1.25rem;
  }
  .diagram svg { width: 600px; max-width: none; }
  /* Sagdaki solma, kaydirilabildigini belli eder */
  .diagram__scroll::after {
    content: "";
    position: sticky;
    right: 0; top: 0;
    float: right;
    width: 40px; height: 100%;
    margin-left: -40px;
    background: linear-gradient(90deg, rgba(255,255,255,0), var(--paper-raised));
    pointer-events: none;
  }
  .diagram figcaption { margin-inline: 1.25rem; }
}
