/* ==========================================================
   ÇETİN ELEKTRİK — HERO STYLE
   Tasarım dili: karanlık, sinematik, ampul filamentinin sıcak
   amber tonu tek vurgu rengi olarak kullanılıyor.
   ========================================================== */

:root {
  /* --- Karanlık sahne (yalnızca hero) --- */
  --void: #0a0a0a;          /* hero'nun karanlık zemini */
  --charcoal: #141210;      /* hero ikincil yüzeyler */
  --filament: #ffb347;      /* yanan ampul — ana vurgu (amber) */
  --ember: #ff6a3d;         /* sıcak ikincil vurgu */
  --hot-white: #fff6e9;     /* video üzerindeki parıltılı beyaz metin */
  --muted: #a89e8f;         /* video üzerindeki soluk metin */

  /* --- Açık tema (hero sonrası tüm sayfa) --- */
  --paper: #faf7f1;         /* ana açık zemin (sıcak beyaz) */
  --paper-alt: #f1ece2;     /* ayrışan bölüm zemini */
  --card: #ffffff;          /* kart yüzeyleri */
  --ink: #211c16;           /* ana metin (sıcak siyah) */
  --ink-soft: #6f6558;      /* ikincil metin */
  --amber-deep: #b05f00;    /* açık zeminde okunur amber vurgu */
  --line: rgba(33, 28, 22, 0.12); /* çizgi ve kart kenarlıkları */

  /* --- Tipografi --- */
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ==========================================================
   KİLİTLİ GİRİŞ MEKANİĞİ
   Sayfa scroll'u tamamen kilitlenir (js: html/body.hero-locked);
   fare tekerleği/touch/klavye girişi sayfayı KAYDIRMAZ, yalnızca
   videonun zaman çizelgesini ve final metin belirme oranını sürer.
   Kilit açılınca (js: unlock) sayfa normal şekilde akmaya başlar.
   ========================================================== */
.hero-wrapper {
  position: relative;
  height: 100vh;
  height: 100dvh; /* iOS Safari: dinamik araç çubuğunu hesaba katar */
}

.hero-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--void);
}

/* Giriş kilitliyken sayfanın kayması tamamen engellenir */
html.hero-locked,
body.hero-locked {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--void);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.1s ease;
}

/* Video ilk kareyi oynatmaya hazır olunca görünür kılınır (js: is-ready) */
.hero-video.is-ready {
  opacity: 1;
}

/* Okunabilirlik için üst/alt karanlık degrade */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.32) 22%, rgba(10,10,10,0.32) 60%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}

/* Ampul yandıkça beliren sıcak parıltı — opaklığı JS ile reveal'a bağlı */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 60% 45% at 50% 55%, rgba(255,179,71,0.35) 0%, rgba(255,179,71,0) 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Video parlaklaştıkça metnin okunabilirliği için beliren koyu vinyet */
.hero-text-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(ellipse 68% 58% at 50% 48%, rgba(6,5,4,0.88) 0%, rgba(6,5,4,0.62) 42%, rgba(6,5,4,0) 74%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* --- Köşe marka etiketi (logo) --- */
.brand {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 5;
  opacity: 0.9;
}

/* Karanlık video üzerinde logo tek renk beyaza çevrilir */
.brand img {
  display: block;
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ==========================================================
   FİNAL ŞOV ALANI — slogan, alt başlık, CTA, rozetler
   Başlangıçta gizli; scroll ilerlemesi %85'i geçince JS
   opacity/transform değerlerini günceller.
   ========================================================== */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,640px) minmax(0,1fr);
  align-items: center;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
  pointer-events: none; /* görünmezken tıklanamaz */
}

.hero-content.is-interactive {
  pointer-events: auto;
}

.hero-center {
  grid-column: 2;
  text-align: center;
  /* opacity ve transform JS tarafından satır-içi olarak ayarlanır */
  opacity: 0;
  transform: translateY(28px);
}

.hero-slogan {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--hot-white);
  text-shadow: 0 0 40px rgba(255,179,71,0.35), 0 0 90px rgba(255,106,61,0.15);
}

.hero-slogan span {
  color: var(--filament);
}

.hero-subtitle {
  margin-top: 1.4rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--filament), var(--ember));
  color: #1a0f00;
  box-shadow: 0 0 28px rgba(255,138,61,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255,138,61,0.65);
}

.btn-secondary {
  border: 1px solid rgba(255,246,233,0.3);
  color: var(--hot-white);
}

.btn-secondary:hover {
  border-color: rgba(255,179,71,0.7);
  background: rgba(255,179,71,0.08);
}

/* --- Rozetler (destekleyici öğeler) --- */
.badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(20px);
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
}

/* Rozet göründüğünde nokta filaman gibi "yanar" */
.badge.is-lit .badge-dot {
  background: var(--filament);
  box-shadow: 0 0 10px 2px rgba(255,179,71,0.8);
}

.badge-left { grid-column: 1; justify-self: end; }
.badge-right { grid-column: 3; justify-self: start; }
.badge-center { justify-content: center; margin-top: 1.8rem; }

/* --- Aşağı kaydırma göstergesi --- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.4s ease;
}

.scroll-cue-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 42px;
  background: rgba(255,246,233,0.2);
  overflow: hidden;
}

.scroll-cue-dot {
  position: absolute;
  top: 0;
  left: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--filament);
  box-shadow: 0 0 8px 2px rgba(255,179,71,0.7);
  animation: scrollCueMove 1.8s ease-in-out infinite;
}

@keyframes scrollCueMove {
  0%   { top: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 38px; opacity: 0; }
}

/* ==========================================================
   PREFERS-REDUCED-MOTION — BASİT MOD
   Kilitli giriş yerine final metinler doğrudan gösterilir
   (js: is-revealed). Kilitli giriş mobilde de aktiftir.
   ========================================================== */
.mode-simple .hero-content {
  grid-template-columns: 1fr;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.mode-simple .hero-center,
.mode-simple .badge-left,
.mode-simple .badge-right {
  grid-column: auto;
  justify-self: center;
}

.mode-simple .badge-left { order: 2; }
.mode-simple .hero-center { order: 1; }
.mode-simple .badge-right { order: 3; }

/* is-revealed sınıfı JS tarafından video 'ended' olayında eklenir */
.mode-simple .hero-content.is-revealed .hero-center,
.mode-simple .hero-content.is-revealed .badge {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.mode-simple .hero-content.is-revealed .badge-left { transition-delay: 0.1s; }
.mode-simple .hero-content.is-revealed .badge-right { transition-delay: 0.25s; }
.mode-simple .hero-content.is-revealed .badge-center { transition-delay: 0.4s; }

.mode-simple .scroll-cue { display: none; }

/* ==========================================================
   RESPONSIVE — masaüstü altı düzen (rozetler slogan altına iner)
   ========================================================== */
@media (max-width: 900px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: 0 6vw;
  }
  .badge-left { order: 2; justify-self: center; }
  .hero-center { order: 1; }
  .badge-right { order: 3; justify-self: center; }
  .brand { top: 1.4rem; left: 1.4rem; font-size: 0.68rem; }
}

/* Erişilebilirlik: klavye odağı görünür kalsın (açık zeminde koyu amber) */
.btn:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.footer-contact a:focus-visible,
.contact-item a:focus-visible,
.whatsapp-note a:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
}

/* Hero'nun karanlık videosu üzerinde parlak amber odak daha görünür */
.hero-content .btn:focus-visible {
  outline-color: var(--filament);
}

/* Hareket azaltma tercihi: süsleme animasyonları kapanır */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-dot { animation: none; opacity: 1; top: 0; }
  .btn, .badge, .hero-center, .hero-video { transition-duration: 0.2s; }
  .circuit-figure-inner img,
  .circuit-glow,
  .current-dot {
    animation: none;
  }
  .current-dot { opacity: 0; }   /* akım noktaları tamamen gizli */
  .circuit-glow { opacity: 0.5; } /* parıltı sabit ve yumuşak kalır */
}

/* ==========================================================
   SAYFA GENELİ — hero sonrası bölümler
   ========================================================== */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5vw;
}

.site-section {
  padding: 6.5rem 0;
  scroll-margin-top: 84px; /* yapışkan menünün altına hizalanır */
}

/* Ardışık bölümler arasında hafif zemin ayrımı */
.site-section.alt {
  background: var(--paper-alt);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.22;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-lead {
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.7;
}

/* ==========================================================
   KAYDIRINCA BELİRME — html.js sınıfı JS tarafından eklenir;
   JS yoksa içerik hiç gizlenmez (erişilebilirlik güvencesi).
   ========================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hizmet kartları kademeli girer */
html.js .services-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
html.js .services-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
html.js .services-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
html.js .services-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
html.js .services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   YAPIŞKAN ÜST MENÜ
   ========================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(-100%);
  /* visibility, gizliyken buton parıltısının alttan sızmasını önler */
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Kullanıcı hero'yu geçince görünür olur (js: is-visible) */
.site-nav.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.35s ease;
}

.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-nav-brand {
  display: flex;
  align-items: center;
}

.site-nav-brand img {
  display: block;
  height: 30px;
  width: auto;
}

.site-nav-links {
  display: flex;
  gap: 1.8rem;
}

.site-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav-links a:hover {
  color: var(--amber-deep);
}

.btn-small {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* ==========================================================
   HİZMETLER
   ========================================================== */
.services-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 95, 0, 0.45);
  box-shadow: 0 14px 34px rgba(33, 28, 22, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(176, 95, 0, 0.08);
  border: 1px solid rgba(176, 95, 0, 0.25);
  color: var(--amber-deep);
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================
   RAKAMLAR BANDI
   ========================================================== */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 0;
  background: var(--paper-alt);
}

.stats-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--amber-deep);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ==========================================================
   NEDEN BİZ — metin + animasyonlu devre şeması, altında liste
   ========================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Devre şeması görseli (assets/devre-hero.jpeg) ---
   Animasyonlar: yavaş süzülme (Ken Burns), çizimdeki ampulde
   nabız gibi atan parıltı, teller üzerinde akan "akım" noktaları */
.circuit-figure {
  position: relative;
}

.circuit-figure-inner {
  position: relative;
  overflow: hidden;
  /* Kenarlardaki defter/masa dokusunu bölüm zeminine eritir */
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 55%, transparent 97%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 55%, transparent 97%);
}

.circuit-figure-inner img {
  width: 100%;
  height: auto;
  display: block;
  animation: circuitDrift 18s ease-in-out infinite alternate;
}

/* Görselin yavaşça süzülüp yakınlaşması (Ken Burns etkisi) */
@keyframes circuitDrift {
  from { transform: scale(1.03) translate(-0.6%, 0.4%); }
  to   { transform: scale(1.08) translate(0.8%, -0.6%); }
}

/* Çizimdeki ampulün üzerinde nabız gibi atan sıcak parıltı.
   Konum, görselin doğal oranına göre yüzdeyle verilir (ampul
   görselin ~%64 / %50 noktasında). */
.circuit-glow {
  position: absolute;
  left: 64%;
  top: 50%;
  width: 36%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.55) 0%, rgba(255, 179, 71, 0) 65%);
  animation: glowPulse 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  from { opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
  to   { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06); }
}

/* Teller üzerinde akan "akım" noktaları (çizimdeki CURRENT FLOW
   oklarıyla aynı yönde). Animasyon başlamadan görünmesinler diye
   temel opaklık 0'dır. */
.current-dot {
  position: absolute;
  left: 20%;
  width: clamp(6px, 0.8vw, 9px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--filament);
  box-shadow: 0 0 10px 3px rgba(255, 179, 71, 0.75);
  opacity: 0;
  pointer-events: none;
}

.current-dot.d1 {
  top: 76.5%; /* alt tel hizası */
  animation: currentFlow 4.5s linear infinite;
}

.current-dot.d2 {
  top: 30.5%; /* üst tel hizası */
  animation: currentFlow 5.2s linear infinite;
  animation-delay: 2.4s;
}

@keyframes currentFlow {
  0%   { left: 20%; opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { left: 61%; opacity: 0; }
}

/* Kontrol listesi görsel + metin satırının altında dört sütun akar */
.why-list {
  list-style: none;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.why-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(176, 95, 0, 0.1);
  color: var(--amber-deep);
  margin-top: 0.15rem;
}

.why-check svg {
  width: 15px;
  height: 15px;
}

.why-list h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.why-list p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================
   ÇALIŞMA SÜRECİ
   ========================================================== */
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-deep);
  margin-bottom: 0.8rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================
   7/24 ARIZA BANDI — sayfanın hero dışındaki tek "parlak" anı
   ========================================================== */
.emergency {
  background: linear-gradient(135deg, var(--filament), var(--ember));
  color: #1a0f00;
  padding: 3.5rem 0;
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.emergency-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 15, 0, 0.65);
  margin-bottom: 0.7rem;
}

.emergency h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 0.5rem;
}

.emergency p {
  color: rgba(26, 15, 0, 0.75);
  font-weight: 500;
}

.btn-dark {
  background: var(--void);
  color: var(--hot-white);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 1rem 2.2rem;
  white-space: nowrap;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================
   WHATSAPP TEKLİF ALANI + İLETİŞİM
   ========================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.whatsapp-box {
  margin-top: 2.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.13);
  color: #1da851;
}

.whatsapp-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-box h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

.whatsapp-box p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 48ch;
}

/* WhatsApp'ın koyu yeşili — beyaz metinle yeterli kontrast sağlar */
.btn-whatsapp {
  background: #128c7e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-whatsapp:hover {
  background: #0e7367;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.3);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.whatsapp-note a {
  color: var(--amber-deep);
  font-weight: 600;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-item a {
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--amber-deep);
}

.contact-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: var(--paper-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-brand img {
  display: block;
  height: 34px;
  width: auto;
}

.footer-tagline {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a,
.footer-contact a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--amber-deep);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.footer-bottom p {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* ==========================================================
   RESPONSIVE — hero sonrası bölümler
   ========================================================== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .site-nav-links { display: none; } /* mobilde marka + telefon yeterli */
}

@media (max-width: 640px) {
  .site-section { padding: 4.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .stats-inner { justify-content: flex-start; column-gap: 3rem; row-gap: 1.6rem; }
  .emergency-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   "BENİ ARA" BUTONU — sol altta sabit, yanıp sönen ampul
   formunda arama butonu; üstünde konuşma balonu etiketi.
   ========================================================== */
.call-fab {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  display: block;
  width: 58px;
}

/* Ampul gövdesi: karanlık daire içinde yanıp sönen ampul ikonu */
.call-fab-bulb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--void);
  border: 1px solid rgba(255, 179, 71, 0.35);
  animation: fabGlow 2.2s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.call-fab-bulb svg {
  width: 27px;
  height: 27px;
  color: var(--filament);
  animation: bulbBlink 2.2s ease-in-out infinite;
}

.call-fab:hover .call-fab-bulb {
  transform: scale(1.08);
}

/* Ampulün yanıp sönmesi: çoğunlukla yanık, kısa bir sönme anı */
@keyframes bulbBlink {
  0%, 55%   { color: var(--filament); filter: drop-shadow(0 0 7px rgba(255, 179, 71, 0.95)); }
  68%, 80%  { color: #6e675c; filter: none; }
  93%, 100% { color: var(--filament); filter: drop-shadow(0 0 7px rgba(255, 179, 71, 0.95)); }
}

/* Dairenin çevresindeki parıltı ampulle eş zamanlı yanıp söner */
@keyframes fabGlow {
  0%, 55%   { box-shadow: 0 0 20px 4px rgba(255, 179, 71, 0.45); }
  68%, 80%  { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
  93%, 100% { box-shadow: 0 0 20px 4px rgba(255, 179, 71, 0.45); }
}

/* Konuşma balonu: butonun üstünde, hafifçe süzülür */
.call-fab-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(33, 28, 22, 0.15);
  white-space: nowrap;
  animation: bubbleFloat 3s ease-in-out infinite;
}

/* Balonun ampule bakan kuyruğu */
.call-fab-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

.call-fab:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 4px;
  border-radius: 50%;
}

@media (max-width: 640px) {
  .call-fab { left: 1rem; bottom: 1rem; width: 52px; }
  .call-fab-bulb { width: 52px; height: 52px; }
  .call-fab-bulb svg { width: 24px; height: 24px; }
  .call-fab-bubble { font-size: 0.75rem; }
}

/* Hareket azaltma: yanıp sönme durur, ampul sabit yanık kalır */
@media (prefers-reduced-motion: reduce) {
  .call-fab-bulb,
  .call-fab-bulb svg,
  .call-fab-bubble {
    animation: none;
  }
  .call-fab-bulb {
    box-shadow: 0 0 20px 4px rgba(255, 179, 71, 0.45);
  }
  .call-fab-bulb svg {
    filter: drop-shadow(0 0 7px rgba(255, 179, 71, 0.95));
  }
}
