/* ============================================================
   KARACA TESİSAT — Tasarım Sistemi (v2 · cesur yeniden tasarım)
   "7/24 acil su müdahale birimi" — lacivert dünya · acil turuncu
   sinyali · su motifi. Dispatch / ops dokusu, gerçek saha hissi.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700;1,900&family=Caveat:wght@600&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand blues (logodan türetildi) */
  --brand-700: #00468a;
  --brand-600: #0062c4;
  --brand-500: #0d7ad6;
  --brand-400: #2f97e8;
  --brand-300: #7bc0f4;
  --brand-200: #b9defa;

  /* Navy bloklar */
  --navy-980: #030f1f;
  --navy-950: #04162a;
  --navy-900: #07223c;
  --navy-850: #0a2c4d;
  --navy-800: #0d3559;

  /* Acil aksanı (sıcak turuncu) — yalnızca "şimdi ara" sinyali */
  --acil-700: #d4470f;
  --acil-600: #f1571c;
  --acil-500: #ff6a2b;
  --acil-400: #ff8a52;
  --acil-300: #ffb38c;
  --acil-soft: #fff1ea;

  /* Nötrler */
  --paper: #eef3f9;

  --paper-2: #e4ecf5;
  --white: #ffffff;
  --ink: #0a2238;
  --ink-2: #415d79;
  --ink-3: #556f8a;
  --line: #dce6f1;
  --line-2: #c6d6e6;

  /* Lacivert üzeri metin */
  --on-navy: #eaf3fc;
  --on-navy-2: #a9c2da;
  --on-navy-3: #7d99b6;

  /* Olumlu/uyarı */
  --ok-600: #137a52;
  --ok-500: #18a06b;
  --ok-soft: #e3f5ec;
  --warn-600: #b4760a;
  --warn-soft: #fdf3e0;
  --info-soft: #e6f1fc;
  --star: #f5a623;

  /* Tipografi */
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Radius & gölge */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --shadow-sm: 0 1px 2px rgba(10,34,60,.06), 0 2px 6px rgba(10,34,60,.05);
  --shadow: 0 6px 18px rgba(10,34,60,.08), 0 2px 6px rgba(10,34,60,.05);
  --shadow-md: 0 14px 34px rgba(10,34,60,.12), 0 4px 12px rgba(10,34,60,.07);
  --shadow-lg: 0 30px 70px rgba(4,22,42,.30), 0 10px 24px rgba(4,22,42,.16);
  --shadow-brand: 0 16px 38px rgba(0,98,196,.32);
  --shadow-acil: 0 14px 32px rgba(241,87,28,.40);
  /* Son CTA karti footer dalgasinin hemen ustunde duruyor. --shadow-lg asagi
     dogru buyuyor (30px offset), golge tam dalganin uzerine birikip acik
     zemin -> lacivert gecisini sert bir kademe gibi gosteriyordu. Bu kartta
     golge YUKARI aliniyor: kart yerinde duruyor, dip temiz kaliyor. */
  --shadow-cta: 0 -24px 56px rgba(4,22,42,.20), 0 -6px 16px rgba(4,22,42,.10);
  --ring: 0 0 0 4px rgba(13,122,214,.16);

  /* Bolum dikisi (dalgali gecis) yuksekligi — hem .seam hem de dikis
     barindiran bolumlerin alt payi bu tek degerden turuyor. */
  --seam-h: clamp(58px, 6vw, 92px);

  /* Hareket */
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-out-quart: cubic-bezier(.25,1,.5,1);
  --t-fast: .16s;
  --t: .26s;
  --t-slow: .5s;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 74px;

  /* z-index ölçeği */
  --z-base: 1;
  --z-sticky: 40;
  --z-callbar: 55;
  --z-nav: 60;
  --z-drawer: 80;
  --z-modal: 100;
  --z-toast: 120;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  margin: 0;
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* Tipografi ölçeği */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -.034em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 900; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.measure { max-width: 68ch; }

/* Tabular "readout" — canlı veriler (telefon, süre, puan) */
.tnum, .readout { font-variant-numeric: tabular-nums; }
.readout { font-family: var(--display); letter-spacing: -.01em; }

/* Layout yardımcıları */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; }
/* Dikey pay --pad-y uzerinden: dikis tasiyan bolumler (.has-seam) buna dikis
   payini ekliyor. Mobil override da padding yerine SADECE bu degiskeni
   degistirir; yoksa kisayol padding, .has-seam'in alt payini eziyordu. */
.section { --pad-y: clamp(60px, 8vw, 116px); padding-block: var(--pad-y); }

/* Sayfa tarafinda ara ton YOK. Once main'e paper -> --footer-approach
   gradyani verilmisti; bu, dalganin USTUNDE ayri bir grimsi bant yaratiyordu
   (ust gri / alt farkli). Koyulasmayi footer kendi icinde .site-footer::after
   ile zaten yapiyor; iki katman birden gereksiz ve gorunur bir kademe uretiyor. */
.section-sm { --pad-y: clamp(44px, 5vw, 76px); padding-block: var(--pad-y); }
.grid { display: grid; gap: 22px; }

/* Lacivert dünya (drenched navy sahneleri) */
.navy-world { background: var(--navy-950); color: var(--on-navy); position: relative; overflow: hidden; }
.navy-world :is(h1,h2,h3,h4) { color: #fff; }
.navy-deep { background: var(--navy-980); }

/* Etkileşimli su dalgası canvas (lacivert hero arka planı) */
.wave-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* Su dokusu katmanı (lacivert sahnelerde) */
.water-texture::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('assets/stock-water-dark.jpg');
  background-size: cover; background-position: center;
  opacity: .16; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 78%);
}
.grid-texture::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(123,192,244,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,192,244,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 80% at 72% 18%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 72% 18%, #000, transparent 75%);
}
.glow-brand::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 86% -10%, rgba(13,122,214,.40), transparent 60%),
              radial-gradient(56% 60% at 2% 108%, rgba(0,98,196,.22), transparent 58%);
}

/* ============ Butonlar ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease-out-quart), box-shadow var(--t) ease, background var(--t) ease, color var(--t) ease, border-color var(--t) ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.96); }
.btn svg { width: 19px; height: 19px; }

.btn-acil { background: var(--acil-500); color: #fff; box-shadow: var(--shadow-acil); }
.btn-acil:hover { background: var(--acil-600); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(241,87,28,.60), 0 0 15px rgba(255,106,43,.4); }

.btn-brand { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-brand); }
.btn-brand:hover { background: var(--brand-700); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,98,196,.50), 0 0 15px rgba(13,122,214,.4); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--info-soft); }

.btn-light { background: #fff; color: var(--navy-900); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.34); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }

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

/* ============ Etiket / rozet ============ */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 800;
  font-size: .78rem; letter-spacing: .02em;
  padding: 7px 13px; border-radius: 999px;
  background: var(--info-soft); color: var(--brand-700);
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-acil { background: var(--acil-soft); color: var(--acil-600); }
.tag-live { background: rgba(255,255,255,.1); color: #fff; }

/* Canlı durum pili (acil servis açık) */
.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 13px; border-radius: 999px;
  background: rgba(255,106,43,.14); border: 1px solid rgba(255,138,82,.42);
  font-family: var(--display); font-weight: 800; font-size: .8rem;
  letter-spacing: .04em; color: #ffd0b8;
}

/* Pulse (canlı / acil) */
.pulse { position: relative; }
.pulse::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: currentColor; opacity: .5; animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::before { animation: none; } }

/* ============ Kart ============ */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out-expo), box-shadow var(--t) ease;
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}

/* Scrollbar (panel) */
.thin-scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.thin-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
.thin-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-3); background-clip: content-box; }

/* Form alanları */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-family: var(--display); font-weight: 800; font-size: .86rem; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.input, .textarea, .select {
  font-family: var(--body); font-size: .98rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); padding: 13px 14px; width: 100%;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand-500); box-shadow: var(--ring);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }

/* Char counter */
.counter { font-size: .76rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.counter.over { color: var(--acil-600); font-weight: 700; }

/* Görsel placeholder */
.img-ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(13,122,214,.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(13,122,214,.05) 0 14px, rgba(13,122,214,.09) 14px 28px),
    var(--paper-2);
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
}
.img-ph .img-ph-label {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; opacity: .65;
  display: flex; align-items: center; gap: 8px;
}

/* Çerçeveli görsel (foto + lacivert maske) */
.framed { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.framed::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); border-radius: inherit; pointer-events: none; }
.framed img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Parallax gorseli cerceveden buyuk tutulur — kaydirirken alt/ust bosluk acilmaz. */
.framed .parallax-img { position: absolute; top: -9%; left: 0; height: 118%; }
.duotone-navy { position: relative; }
.duotone-navy::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,22,42,.10) 0%, rgba(4,22,42,.06) 45%, rgba(4,22,42,.86) 100%),
              linear-gradient(95deg, rgba(0,98,196,.20), transparent 55%);
  mix-blend-mode: multiply;
}

/* ============ Hareket / reveal ============
   Opaklık DAİMA 1 (zaman çizelgesi donsa bile içerik gizlenmez);
   yalnızca hafif kaydırma uygulanır. */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: revealIn .9s var(--ease-out-expo) both; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: linear animate-in-and-out both;
      animation-timeline: view();
      /* Entry: eleman asagidan girdiginde; Exit: eleman yukaridan ciktiginda */
      animation-range: entry 5% cover 25%;
    }
  }
}
@keyframes revealIn { 
  0% { transform: translateY(35px) scale(0.96); opacity: 0; } 
  100% { transform: translateY(0) scale(1); opacity: 1; } 
}

@keyframes animate-in-and-out {
  0% { opacity: 0; transform: translateY(50px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* GSAP devredeyken CSS reveal tamamen susar — iki sistem ayni transform'u
   cekistirirse eleman titrer. GSAP yuklenmezse .gsap-on hic eklenmez ve
   yukaridaki CSS yolu aynen calisir. */
html.gsap-on .reveal { animation: none !important; }

/* Hareket motoru durmus: GSAP'in inline yazdigi opacity/transform ezilir.
   !important, important olmayan inline stili yener — icerik geri gelir. */
html.motion-stalled .reveal,
html.motion-stalled .hero-anim,
html.motion-stalled .parallax-img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Daktilo imleci (hero bölge dönüşü) */
.tw-caret { display: inline-block; width: .07em; height: .92em; background: currentColor; margin-left: .04em; vertical-align: -.06em; border-radius: 2px; animation: caretBlink 1.05s steps(1) infinite; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tw-caret { animation: none; opacity: 1; } }

/* Focus görünürlüğü */
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }

/* ============================================================
   OPS STATUS PANEL (hero dispatch konsolu)
   ============================================================ */
.ops-panel {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(10,44,77,.92), rgba(4,22,42,.94));
  border: 1px solid rgba(123,192,244,.18);
  border-radius: var(--r-xl);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ops-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ops-divider { height: 1px; background: rgba(255,255,255,.10); margin: 16px 0; }
.ops-label { font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-3); }
.ops-big { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.ops-feed { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--on-navy-2); }

/* ============================================================
   HERO TİPOGRAFİSİ (iki katmanlı başlık + marker altı çizgi)
   ============================================================ */
.hero-h1 { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 16px); }
.hero-q {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem); letter-spacing: -.01em;
  color: var(--brand-300);
  display: inline-flex; align-items: center; gap: 13px;
}
.hero-q::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 2px; display: inline-block; flex: 0 0 auto; }
.hero-main {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.9rem, 6.6vw, 5.4rem); line-height: .92; letter-spacing: -.038em; color: #fff;
}
.hero-accent { position: relative; color: var(--brand-300); white-space: nowrap; }
.hero-underline {
  position: absolute; left: -.01em; bottom: -.16em;
  width: calc(100% + .02em); height: .4em; overflow: visible;
}
.hero-underline path { stroke: var(--acil-500); fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-underline path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawline 1s .55s var(--ease-out-expo) forwards; }
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* ============================================================
   TRUST READOUT (lacivert üzeri enstrüman okuması)
   ============================================================ */
.readout-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.readout-cell { display: flex; align-items: center; gap: 14px; padding: 22px 4px; position: relative; }
.readout-cell + .readout-cell::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: rgba(255,255,255,.10); }
.readout-num { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1; color: #fff; letter-spacing: -.02em; }
.readout-cap { font-size: .88rem; color: var(--on-navy-3); margin-top: 4px; }

/* ============================================================
   HİZMET INDEX (kart ızgarası yerine editoryal sıra dizini)
   ============================================================ */
/* Duz tablo cizgisi yerine uclarda sonen degrade hairline — kenar
   "div siniri" gibi degil, sayfaya karisan bir ayrac gibi okunur. */
.svc-index {
  background-image: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: top;
}
.svc-row {
  position: relative;
  display: grid; grid-template-columns: auto 56px 1fr auto;
  align-items: center; gap: clamp(14px, 2vw, 26px);
  padding: clamp(18px, 2.4vw, 26px) clamp(8px, 1.4vw, 18px);
  transition: background var(--t) ease;
}
.svc-row::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
  transition: opacity var(--t) ease;
}
.svc-row::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--acil-500); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t) var(--ease-out-quart);
}
.svc-num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1rem; color: var(--ink-3); width: 2ch; }
.svc-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--info-soft); color: var(--brand-600); display: grid; place-items: center; transition: background var(--t) ease, color var(--t) ease; }
.svc-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.18rem, 1.8vw, 1.5rem); letter-spacing: -.02em; }
.svc-desc { color: var(--ink-2); font-size: .98rem; margin-top: 3px; }
.svc-right { display: flex; align-items: center; gap: 18px; }
.svc-thumb { width: 92px; height: 64px; border-radius: 12px; object-fit: cover; filter: grayscale(.5) brightness(.95); outline: 1px solid rgba(0,0,0,.08); outline-offset: -1px; transition: filter var(--t) ease, transform var(--t) var(--ease-out-quart); }
.svc-price { font-family: var(--display); font-weight: 800; font-size: .82rem; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; width: 144px; text-align: center; flex: 0 0 auto; }
.svc-go { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease, transform var(--t) var(--ease-out-quart), box-shadow var(--t) ease; }
@media (hover: hover) {
  .svc-row:hover { background: #fff; z-index: 2; box-shadow: 0 10px 40px rgba(0,98,196,0.08); border-radius: var(--r); }
  .svc-row:hover::before { opacity: 0; }
  .svc-row:hover::after { transform: scaleY(1); border-radius: 4px; }
  .svc-row:hover .svc-ic { background: var(--brand-600); color: #fff; box-shadow: 0 8px 20px rgba(0,98,196,0.3); transform: scale(1.05); }
  .svc-row:hover .svc-thumb { filter: grayscale(0) brightness(1); transform: scale(1.1) rotate(2deg); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
  .svc-row:hover .svc-go { background: var(--acil-500); border-color: var(--acil-500); color: #fff; transform: translate(4px, -4px) scale(1.1); box-shadow: 0 6px 15px rgba(255,106,43,0.4); }
}

/* ============================================================
   HERO ARKA PLAN MEDYASI (video-hazir · poster fallback)
   ============================================================ */
/* Ust/alt tasma parallax icin pay birakir — kaydirirken kenarda bosluk acilmaz.
   Parallax sarmalayiciya, Ken Burns ic gorsele uygulanir; ayni elemanda
   iki transform kaynagi cakisirdi. */
.hero-media { position: absolute; top: -8%; bottom: -8%; left: 0; right: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-media-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .30;
  filter: saturate(.55) contrast(1.06);
  will-change: transform;
}
/* Video yokken poster yavas bir Ken Burns ile yasar. */
@media (prefers-reduced-motion: no-preference) {
  .hero-media-img { animation: heroDrift 26s ease-in-out infinite alternate; }
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.2%, -1.6%, 0); }
}
/* Metin kontrasti pazarlik konusu degil — medya her zaman lacivertin altinda kalir. */
.hero-media-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,22,42,.72) 0%, rgba(4,22,42,.58) 42%, rgba(4,22,42,.92) 100%),
    linear-gradient(100deg, rgba(4,22,42,.86) 0%, rgba(4,22,42,.30) 58%, rgba(4,22,42,.62) 100%);
}

/* ============================================================
   HIZMET INDEX — imleci takip eden gorsel onizleme (masaustu)
   ============================================================ */
.svc-index-wrap { position: relative; }
.svc-preview {
  position: absolute; top: 0; left: 0;
  width: clamp(230px, 22vw, 330px);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  opacity: 0; visibility: hidden;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255,255,255,.5); outline-offset: -1px;
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 860px) { .svc-preview { display: none; } }
/* Buyuk onizleme varken satir ici thumbnail gereksiz gurultu. */
html.gsap-on .svc-index-wrap .svc-thumb { display: none; }
@media (hover: none) { html.gsap-on .svc-index-wrap .svc-thumb { display: block; } }

/* ============================================================
   BOLUM DIKISI — sivi gecis
   Ust bolumun icinde, dibinde durur. Ustu seffaf: o bolumun kendi
   zemini gorunur. Iki dalga katmani farkli hizlarda kayinca kesin
   renk siniri yumusak bir gecise donusur.
   ============================================================ */
.seam {
  position: absolute; left: 0; right: 0; bottom: -1px;
  /* Dar ekranda 46px'te dalga genligi ~11px'e dusuyor ve dikis "duz bir
     bulanik serit" gibi okunuyordu; taban 58px'e cikinca dalga geri geldi. */
  height: calc(var(--seam-h) + 1px);
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}
.seam-flow { position: relative; bottom: 0; }
/* Ters dikis bolumun TEPESINE oturur (footer girisi). */
.seam-flip { top: -1px; bottom: auto; }
.seam svg { position: absolute; left: -10%; bottom: 0; width: 120%; height: 100%; display: block; }
.seam path { fill: currentColor; }
/* Arka dalga yalnizca bir derinlik fisiltisi.
   .42'de acik --paper, koyu lacivertin uzerinde rgb(102,115,129) veriyordu:
   yumusak ara ton degil, notr bir GRI SERIT. Acik rengi koyu zemine yari
   saydam koyunca ara ton hep camurlanir; bu yuzden opaklik dusuruldu ve
   dalgalarin arasi acildi — sonuc serit degil, dalganin altindaki golge. */
.seam-w1 { opacity: .16; }
/* Bolumlerin dikisi barindirabilmesi icin konumlandirma baglami.
   Dikis mutlak konumlu: bolumun dip seridini KAPLAR, yer kaplamaz. Bu yuzden
   bolumun alt padding'i yetmezse icerik dalganin uzerine tasar — turuncu acil
   panelinin 46px'e uzanan golgesi tam dalganin ustune dusup gecisi camurlu,
   bulanik bir bant haline getiriyordu. Alt padding'e dikis payi ekleniyor.
   Sinif iki kez yazildi: ozgulluk (0,2,0) — .field-band gibi kendi kisayol
   padding'ini dosyanin ilerisinde tanimlayan bolumler bu payi ezmesin. */
.has-seam { position: relative; }
.has-seam.has-seam { padding-bottom: calc(var(--pad-y, 52px) + var(--seam-h) * .75); }

/* ============================================================
   SEVKIYAT HARITASI (canli mudahale gorsellestirmesi)
   Semaik hizmet bolgesi diyagrami — cografi olarak olcekli degil.
   ============================================================ */
.dm-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(10, 44, 77, .95), rgba(3, 15, 31, .98));
  border: 1px solid rgba(123, 192, 244, .18);
  box-shadow: var(--shadow-lg);
}
.dm-svg { width: 100%; height: 100%; display: block; }

/* Varsayilan CIZILI: GSAP yoksa ya da hareket durursa rotalar gorunur kalir. */
.dm-route {
  fill: none;
  stroke: var(--brand-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: .85;
}
.dm-dot { fill: var(--brand-300); }
/* Cizgi cizilirken uzerinde yol alan kisa isik parcasi. */
.dm-comet {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: .07 .93; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(123, 192, 244, .9));
}
.dm-sweep { transform-box: view-box; }
.dm-ring { fill: none; stroke: var(--brand-300); stroke-width: 1.6; opacity: 0; }
.dm-base { fill: var(--acil-500); }
.dm-base-ring { fill: none; stroke: var(--acil-500); stroke-width: 2; opacity: 0; }
.dm-label {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  fill: var(--on-navy-2); letter-spacing: .01em;
}
.dm-label-base { fill: #fff; font-weight: 900; font-size: 15px; }
/* Rota o ilceye ulastigi an etiket yanar. */
.dm-node-label { transition: fill .35s ease; }
.dm-node-label.is-live { fill: #fff; }

/* Ustte: haritanin alt kenarini turuncu acil paneli kapliyor. */
.dm-readout {
  position: absolute; left: 18px; right: 18px; top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: var(--r);
  background: rgba(4, 22, 42, .72);
  border: 1px solid rgba(123, 192, 244, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dm-live {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 800; font-size: .78rem;
  letter-spacing: .04em; color: #9be8c4;
}
.dm-eta { font-size: .84rem; color: var(--on-navy-2); }
.dm-eta strong { color: #fff; font-weight: 900; font-size: 1.05rem; margin-right: 2px; }

/* ============================================================
   SAHA SERIDI — scroll'a bagli yatay gorsel bant
   ============================================================ */
.field-band { --pad-y: clamp(60px, 7vw, 100px); padding: clamp(56px, 7vw, 96px) 0 var(--pad-y); }
.field-band-head { position: relative; z-index: 2; margin-bottom: clamp(28px, 3.5vw, 46px); }
/* Yorum seridiyle ayni motor: native yatay scroll konteyneri. */
.field-viewport {
  position: relative; z-index: 2;
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.field-viewport::-webkit-scrollbar { display: none; }
.field-viewport.dragging { cursor: grabbing; user-select: none; }
.field-viewport.dragging .field-shot { pointer-events: none; }
/* padding-inline YOK: sonsuz dongude tekrar periyodunu bozar ve her turda
   gorunur bir sicrama birakir. Bant zaten tam genislikte akiyor. */
.field-track {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  width: max-content;
}
.field-shot {
  position: relative; margin: 0; flex: 0 0 auto;
  width: clamp(230px, 27vw, 400px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.field-shot img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transition: transform var(--t-slow) var(--ease-out-expo), filter var(--t-slow) ease;
}
.field-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,22,42,0) 45%, rgba(4,22,42,.88) 100%);
}
.field-shot figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  font-family: var(--display); font-weight: 800; font-size: .96rem;
  color: #fff; letter-spacing: -.01em;
}
@media (hover: hover) {
  .field-shot:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.04); }
}


/* ============================================================
   YANIT AKIŞI (4 adımlı süreç — gerçek dizi, numara hak edilmiş)
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }

/* Surec hatti. Genis ekranda AKAN SU CIZGISI (SVG dalga), tek sutuna
   dusunce basit dikey cubuk. Duz dikdortgen cubuk sayfanin akiskan
   dilinin disinda kaliyordu. */
.flow-pipe {
  position: absolute; left: 0; right: 0; top: 14px; height: 40px;
  z-index: 0; pointer-events: none;
}
.flow-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.flow-wave-v { display: none; }
.flow-wave path { fill: none; stroke-linecap: round; }
.flow-wave-bg { stroke: rgba(0, 98, 196, .16); stroke-width: 3; }
.flow-wave-fill {
  stroke: url(#flowGrad); stroke-width: 3.4;
  /* pathLength=1 → dasharray/offset dogrudan ilerleme orani olur. */
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--flow-p, 0));
  filter: drop-shadow(0 0 6px rgba(47, 151, 232, .55));
}
/* Motor yoksa hat dolu gorunur. */
/* Dikey ikiz kendi (dusey) gradyanini kullanir. Bu kural .flow-wave-fill'den
   SONRA gelmeli; once gelirse yatay gradyan kazanir. */
.flow-wave-fill-v { stroke: url(#flowGradV); }
html:not(.gsap-on) .flow-wave-fill,
html.motion-stalled .flow-wave-fill { stroke-dashoffset: 0; }



/* Hareket motoru yoksa hat dolu gorunur — icerik eksik izlenimi vermez. */
/* Surec adimlari: motor donarsa gorunur kalir. Yalnizca transform/opacity
   ezilir; yerlesim (margin-inline: auto) CSS'te oldugu icin bozulmaz. */
html.motion-stalled .flow-badge,
html.motion-stalled .flow-step h3,
html.motion-stalled .flow-step p { opacity: 1 !important; transform: none !important; }
html.motion-stalled .flow-num { transform: none !important; }

.flow-step { position: relative; z-index: 1; }
/* Dolum adimi gectiginde rozet yanar. */
.flow-badge { transition: background var(--t-slow) var(--ease-out-quart), box-shadow var(--t-slow) ease, transform var(--t-slow) var(--ease-out-quart); }
.flow-num { transition: transform var(--t) var(--ease-out-quart), background var(--t) ease; }
.flow-step.is-on .flow-badge {
  background: var(--brand-600);
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 34px rgba(0, 98, 196, .34);
}
.flow-step.is-on .flow-num { transform: scale(1.14); }
.flow-badge svg { transition: transform var(--t-slow) var(--ease-out-quart); }
.flow-step.is-on .flow-badge svg { transform: scale(1.06); }
/* Adim yanarken disari acilan halka — olcegi GSAP surer. */
.flow-ring {
  position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--brand-400);
  opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .flow-badge, .flow-num { transition: none; }
}
.flow-badge {
  /* Ortalama CSS'te: inline style JS tarafindan silinebiliyordu. */
  margin-inline: auto;
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: var(--navy-900); color: #fff; position: relative; margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(4,22,42,.30);
}
.flow-num { position: absolute; top: -9px; right: -9px; width: 28px; height: 28px; border-radius: 999px; background: var(--acil-500); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: .9rem; border: 3px solid var(--paper); }

/* ============================================================
   YORUM KARTI & YATAY OTOMATİK KAYDIRMA (MARQUEE)
   ============================================================ */
.review-card { padding: 28px; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* Otomatik akan + elle kaydirilabilir yorum seridi.
   Native overflow konteyneri: mobilde parmak, masaustunde surukleme ve
   tekerlek/trackpad calisir. Otomatik akis JS ile scrollLeft uzerinden
   bindirilir; boylece iki etkilesim ayni ekseni paylasir. */
.review-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 24px;
  cursor: grab;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.review-viewport::-webkit-scrollbar { display: none; }
.review-viewport.dragging { cursor: grabbing; user-select: none; }
.review-viewport.dragging .review-card { pointer-events: none; }
.review-track { display: flex; gap: 22px; width: max-content; padding-inline: 24px; }
.review-track > div { width: clamp(300px, 80vw, 420px); flex: 0 0 auto; }


.review-stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 14px; }
.review-stars svg { fill: var(--star); }
.review-text { font-size: 1.04rem; color: var(--ink); flex: 1; line-height: 1.62; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; flex: 0 0 auto; }

/* ============================================================
   FOOTER — genis, sade, altinda su damlasi alani
   ============================================================ */
.site-footer { position: relative; overflow: hidden; }
/* Dalganin hemen altinda kademeli koyulasma: gecis paper'dan dogrudan
   navy-980'e dusunce sert bir renk sicramasi gibi okunuyordu. */
.site-footer::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: clamp(180px, 22vw, 300px);
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 53, 89, .55), rgba(3, 15, 31, 0));
}
.foot-inner { position: relative; z-index: 2; padding: clamp(56px, 6vw, 84px) 24px clamp(120px, 12vw, 150px); }

/* Marka blogu solda, uc dar sutun sagda. Tek satirda nefes alan bir duzen. */
.foot-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.foot-pitch { margin-top: 16px; color: var(--on-navy-2); font-size: .97rem; max-width: 38ch; }
/* Iki buton dar ekranda da yan yana: sarma kapali, yatay padding ve
   yazi boyu esnek. .btn'in <=600px'teki "satir kirilabilir" kurali burada
   geri alinir — telefon numarasi asla bolunmemeli. */
.foot-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: nowrap; }
.foot-cta .btn {
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap;
  padding-inline: clamp(13px, 3.6vw, 26px);
  font-size: clamp(.9rem, 3.4vw, 1rem);
}

.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.foot-h {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 800;
}
.foot-list { display: flex; flex-direction: column; gap: 11px; font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.foot-list a, .foot-list span { color: var(--on-navy-2); transition: color var(--t) ease; }
.foot-list a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { color: var(--brand-400); flex: 0 0 auto; margin-top: 3px; }

/* Bolgeler: 7 ayri cip yerine tek sakin satir — eski hali footer'in en
   dagitik parcasiydi. */
.foot-bottom {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: baseline;
}
.foot-areas { color: var(--on-navy-2); font-size: .9rem; }
.foot-areas-label {
  display: inline-block; margin-right: 10px;
  font-family: var(--display); font-weight: 800; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-3);
}
.foot-copy { color: var(--on-navy-3); font-size: .84rem; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
/* Etiket ve imza tek parca sarar — ikisi ayri satira dusmez. */
.foot-credit-wrap { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.foot-credit-label { color: var(--on-navy-3); font-size: .78rem; }
.foot-credit {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-size: 1.3rem; font-weight: 600; line-height: 1;
  color: var(--brand-300);
  transition: color var(--t) ease, transform var(--t) var(--ease-out-quart);
  display: inline-block;
}
.foot-credit:hover { color: #fff; transform: rotate(-2deg) scale(1.04); }

/* Su damlalari — dagitik, derinlikli, fareyle tepkili.
   Uc ayri katman uc ayri transform tasir; carpismasinlar diye ayrildi:
     .foot-drop    -> GSAP x/y (fare itmesi)
     .foot-drop i  -> CSS salinim
     .foot-drop svg-> sabit olcek + egim                                    */
.foot-drops {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(140px, 15vw, 190px);
  z-index: 1; pointer-events: none; overflow: hidden;
}
/* Islak zemin: damlalar boslukta durmasin, suya ait hissetsin. */
.foot-drops::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70%;
  background: linear-gradient(to top, rgba(47, 151, 232, .11), rgba(47, 151, 232, 0));
}
.foot-drop { position: absolute; display: block; color: var(--brand-400); will-change: transform; }
.foot-drop i { display: block; }
.foot-drop svg { width: 20px; height: 20px; display: block; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .foot-drop i { animation: dropBob 6s ease-in-out infinite alternate; }
}
@keyframes dropBob {
  from { transform: translateY(7px); }
  to { transform: translateY(-11px); }
}
/* Imleci takip eden islak parilti — .foot-drops'un ICINDE DEGIL, dogrudan
   footer'in katmani. Damla seridi 190px ve overflow:hidden oldugu icin
   360px'lik parilti orada dikdortgen olarak kesiliyordu. */
.foot-glow {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(47, 151, 232, .20), rgba(47, 151, 232, 0) 70%);
}

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; }
}
/* Sabit mobil arama cubugu footer'in dibini ortuyordu — alt bosluk ona
   gore acilir, damlalar da cubugun ustunde okunur kalir. */
@media (max-width: 860px) {
  .foot-inner { padding-bottom: calc(clamp(120px, 12vw, 150px) + 78px); }
  .foot-drops { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ACİL ÇAĞRI PANELİ (turuncu)
   ============================================================ */
.acil-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--acil-500), var(--acil-600));
  color: #fff; border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-acil);
}
.acil-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 100% at 100% 0%, rgba(255,255,255,.22), transparent 55%); }

/* SSS akordeon */
.faq-item { overflow: hidden; transition: border-color var(--t) ease; }
.faq-q { width: 100%; background: none; border: none; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.faq-q-text { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.faq-chev { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: var(--paper); color: var(--ink-2); display: grid; place-items: center; transition: transform var(--t) var(--ease-out-quart), background var(--t) ease, color var(--t) ease; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease-out-expo); }
.faq-body > div { overflow: hidden; }

.res-mob-label { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .seo-layout { grid-template-columns: 240px 1fr !important; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 44px !important; }
  .hero-visual { max-width: 520px; }
  .why-grid, .about-grid, .contact-grid, .detail-grid, .campaign-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .detail-aside { position: static !important; }
  .flow { grid-template-columns: repeat(2, 1fr) !important; }
  /* 2 sutunlu ara duzende hat bir sey anlatmiyor — gizlenir. */
  .flow-pipe { display: none; }
  .values-grid, .reviews-grid { grid-template-columns: repeat(2,1fr) !important; }
  .admin-dash-grid { grid-template-columns: 1fr !important; }

  /* Panel: kenar çubuğunu gizle, çekmeceye geç */
  .admin-shell { grid-template-columns: 1fr !important; }
  .admin-side { display: none !important; }
  .admin-drawer { display: block !important; }
  .admin-burger { display: grid !important; }
}

@media (max-width: 920px) {
  .seo-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
  .seo-list {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    border-radius: var(--r) !important;
    -webkit-overflow-scrolling: touch;
  }
  .seo-list button {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 8px 14px !important;
  }
}

/* İşletme Bilgileri sayfası düzeni */
.biz-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
@media (max-width: 1024px) {
  .biz-layout { grid-template-columns: 1fr !important; }
  .biz-preview { position: static !important; }
}

@media (max-width: 860px) {
  /* Genel site navigasyonu → hamburger */
  .site-nav-desktop, .site-nav-cta { display: none !important; }
  .site-nav-burger { display: flex !important; position: absolute; right: 16px; }
  
  /* Mobil Header özel ortalanmış yapı */
  .nav-wrap { position: relative; justify-content: center !important; }
  .nav-logo-link { position: absolute; left: 50%; transform: translateX(-50%); }

  .mobile-callbar { display: flex !important; }
  /* main'e alt bosluk YOK: sabit arama cubugunun payini footer kendi icinde
     (.foot-inner padding-bottom) zaten aciyor. Ikisi birden olunca son bolum
     ile footer dalgasi arasinda 78px'lik olu bir acik bant kaliyordu. */

  .readout-strip { grid-template-columns: repeat(2,1fr) !important; }
  .readout-cell:nth-child(2)::before, .readout-cell:nth-child(4)::before { display: none; }
  .final-cta { grid-template-columns: 1fr !important; }
  .admin-services-grid { grid-template-columns: 1fr !important; }
  .admin-stats { grid-template-columns: repeat(2,1fr) !important; }
  .traffic-stats, .traffic-grid { grid-template-columns: 1fr 1fr !important; }
  .admin-login { grid-template-columns: 1fr !important; }
  .admin-login-art { display: none !important; }
  .admin-topbar-phone { display: none !important; }

  /* Rezervasyon tablosu → kart */
  .res-head { display: none !important; }
  .res-row { grid-template-columns: 1fr !important; gap: 10px !important; padding: 16px 18px !important; }
  .res-row select { width: 100% !important; margin-top: 4px; }
  .res-mob-label { display: inline; color: var(--ink-3); font-weight: 600; }
}

@media (max-width: 640px) {
  .svc-row { grid-template-columns: auto 46px 1fr; row-gap: 6px; }
  .svc-num { width: 1.6ch; }
  .svc-ic { width: 46px; height: 46px; }
  .svc-right { grid-column: 1 / -1; justify-content: flex-start; gap: 12px; padding-left: calc(1.6ch + 46px + 28px); }
  .svc-thumb { display: none; }
  .modal-card { max-width: 100% !important; border-radius: 16px 16px 0 0 !important; }
  .modal-card .field-grid, .modal-card form { grid-template-columns: 1fr !important; }
  .admin-status-bar { padding: 14px !important; }
}

@media (max-width: 600px) {
  /* Uzun etiketli butonlar (or. "Google'da 310 degerlendirmenin tamamini oku")
     nowrap yuzunden ekrandan tasiyordu. Dar ekranda satir kirilmasina izin. */
  .btn { white-space: normal; max-width: 100%; line-height: 1.25; text-align: center; }

  .flow { grid-template-columns: 1fr !important; gap: 16px !important; }
  /* Tek sutun: yatay dalga gizlenir, DIKEY ikizi devreye girer.
     Ayni --flow-p, ayni stroke-dashoffset teknigi. */
  .flow-wave { display: none; }
  .flow-wave-v { display: block; }
  /* Yilankavi hat butun sutun genisligini kullanir; ust/alt ucu ilk ve son
     rozetin MERKEZINE oturur (degerleri JS olcup yaziyor, JS yoksa makul
     varsayilan). Eskiden 40px'lik dar bir seritti — dalga oraya sigmayinca
     duz cizgi gibi goruunuyordu. */
  .flow-pipe {
    display: block;
    left: 0; right: 0; width: auto; height: auto; transform: none;
    top: var(--flow-pipe-top, 32px); bottom: var(--flow-pipe-bot, 126px);
  }
  .values-grid, .reviews-grid { grid-template-columns: 1fr !important; }
  .traffic-stats, .traffic-grid { grid-template-columns: 1fr !important; }
  .detail-grid .img-ph { aspect-ratio: 16/10; }
  .section { --pad-y: 52px; }   /* kisayol padding YOK: .has-seam alt payini ezerdi */
  .wrap { padding-inline: 18px; }   /* dikey padding'i EZME: .foot-inner gibi kurallari siliyordu */
  .display { font-size: clamp(2.3rem, 10vw, 3.1rem); }
  .hero-cta .btn { width: 100%; }
  .modal-card { max-width: 100% !important; }
}

@media (max-width: 380px) {
  .admin-stats { grid-template-columns: 1fr !important; }
}

@media (max-width: 340px) {
  .readout-strip { grid-template-columns: 1fr !important; }
  .readout-cell::before { display: none !important; }
}
