/* ==========================================================================
   AGE TECH PROJE — Kurumsal Tasarım Sistemi
   Security | Technology | Network
   --------------------------------------------------------------------------
   İçindekiler
   01. Tasarım token'ları (renk, tipografi, boşluk, gölge)
   02. Reset ve temel öğeler
   03. Yerleşim (container, section, grid)
   04. Tipografi bileşenleri (eyebrow, başlık, lead)
   05. Butonlar
   06. Kartlar
   07. Header ve navigasyon
   08. Hero
   09. İçerik bölümleri (süreç, sektör, proje, neden biz, CTA)
   10. Formlar
   11. Footer
   12. Yüzen iletişim butonu
   13. Yardımcı sınıflar ve hareket ayarları
   14. Responsive
   ========================================================================== */

/* ==========================================================================
   01. TASARIM TOKEN'LARI
   ========================================================================== */
:root {
  /* --- Marka renkleri (logodan alınmıştır) --- */
  --brand-red: #e31e24;
  --brand-red-600: #c8161c;
  --brand-red-700: #a41217;
  --brand-red-tint: #fdecec;
  --brand-ink: #17181a; /* en koyu zemin */
  --brand-anthracite: #2b2a29; /* logo metin rengi */

  /* --- Nötr ölçek --- */
  --c-900: #17181a;
  --c-800: #232528;
  --c-700: #33363b;
  --c-600: #4c5158;
  --c-500: #6a7079;
  --c-400: #949aa3;
  --c-300: #c3c8cf;
  --c-200: #e2e6ea;
  --c-100: #eff2f5;
  --c-50: #f7f9fb;
  --c-white: #ffffff;

  /* --- Anlamsal --- */
  --text: var(--c-900);
  --text-soft: var(--c-600);
  --text-muted: var(--c-500);
  --surface: var(--c-white);
  --surface-soft: var(--c-50);
  --line: var(--c-200);
  --line-strong: var(--c-300);
  --success: #1a8a52;
  --error: #c8161c;

  /* --- Tipografi --- */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-xs: 0.75rem;      /* 12 */
  --fs-sm: 0.8125rem;    /* 13 */
  --fs-base: 0.9375rem;  /* 15 */
  --fs-md: 1rem;         /* 16 */
  --fs-lg: 1.125rem;     /* 18 */
  --fs-xl: clamp(1.25rem, 0.6vw + 1.1rem, 1.375rem);
  --fs-h4: clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem);
  --fs-h3: clamp(1.25rem, 0.9vw + 1.05rem, 1.5rem);
  --fs-h2: clamp(1.625rem, 1.9vw + 1.1rem, 2.4rem);
  --fs-h1: clamp(2rem, 3.6vw + 1.1rem, 3.5rem);
  --lh-tight: 1.14;
  --lh-snug: 1.32;
  --lh-normal: 1.65;

  /* --- Boşluk ölçeği (4px tabanlı) --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --section-y: clamp(56px, 7vw, 104px);

  /* --- Yapı --- */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* --- Gölge (yumuşak, abartısız) --- */
  --shadow-xs: 0 1px 2px rgba(23, 24, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(23, 24, 26, 0.06);
  --shadow-md: 0 10px 28px rgba(23, 24, 26, 0.08);
  --shadow-lg: 0 18px 48px rgba(23, 24, 26, 0.12);

  /* --- Hareket --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 0.16s;
  --dur: 0.24s;

  /* --- Katmanlar --- */
  --z-header: 100;
  --z-drawer: 200;
  --z-float: 90;

  --header-h: 78px;
  --header-h-compact: 64px;
}

/* ==========================================================================
   02. RESET VE TEMEL ÖĞELER
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--sp-4);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand-red-600);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--brand-red-700); }

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

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: var(--sp-2); }

strong { color: var(--text); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-10) 0; }

:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   03. YERLEŞİM
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--soft { background: var(--surface-soft); }
.section--line { border-top: 1px solid var(--line); }

/* Koyu bölüm — ritmi kırmak için */
.section--dark {
  background: linear-gradient(100deg, #17181a 0%, #232528 100%);
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 78% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 90% at 78% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

/* Hero altına binen güven şeridi */
.trustbar-wrap {
  position: relative;
  z-index: 3;
  margin-top: clamp(-56px, -4vw, -32px);
  padding-bottom: var(--sp-4);
}

/* Çok hafif teknik grid dokusu — arka plan için */
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 24, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 24, 26, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.section--grid > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ==========================================================================
   04. TİPOGRAFİ BİLEŞENLERİ
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-red);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  font-size: var(--fs-lg);
  color: var(--text-soft);
  margin-bottom: 0;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-soft);
}

/* Koyu zeminlerde tipografi */
.on-dark { color: rgba(255, 255, 255, 0.76); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: #fff; }
.on-dark .eyebrow { color: #ff6b6f; }
.on-dark .eyebrow::before { background: var(--brand-red); }
.on-dark .section-head p { color: rgba(255, 255, 255, 0.74); }

/* ==========================================================================
   05. BUTONLAR
   ========================================================================== */
.btn {
  --btn-bg: var(--brand-red);
  --btn-fg: #fff;
  --btn-bd: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}
.btn:hover {
  --btn-bg: var(--brand-red-600);
  --btn-bd: var(--brand-red-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(227, 30, 36, 0.25);
}
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover {
  --btn-bg: transparent;
  --btn-bd: var(--brand-red);
  color: var(--brand-red-600);
  box-shadow: none;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.34);
}
.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-bd: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: none;
}

.btn--sm { padding: 10px 18px; font-size: var(--fs-sm); }
.btn--lg { padding: 16px 32px; font-size: var(--fs-md); }
.btn--block { width: 100%; }

.btn .ico { width: 17px; height: 17px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Metin bağlantısı — oklu */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--brand-red-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   06. KARTLAR
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--brand-red);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card:hover::after { opacity: 1; transform: scaleX(1); }

.card h3 { margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-base); color: var(--text-soft); }
.card .link-arrow { margin-top: auto; padding-top: var(--sp-5); }

/* Hizmet kartı ikon çerçevesi */
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--brand-red);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--brand-red-tint); border-color: #f7cdcf; }

/* Sade özellik satırı (ikon + metin) */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  font-size: var(--fs-base);
  color: var(--text-soft);
}
.feature-list svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--brand-red); }

/* Güven şeridi (hero altı) */
.trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-6);
  border-right: 1px solid var(--line);
}
.trustbar__item:last-child { border-right: 0; }
.trustbar__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--brand-red-tint);
  color: var(--brand-red-600);
}
.trustbar__icon svg { width: 23px; height: 23px; }
.trustbar__title {
  display: block;
  font-size: var(--fs-base);
  font-weight: 650;
  color: var(--text);
  line-height: 1.35;
}
.trustbar__desc { display: block; font-size: var(--fs-sm); color: var(--text-muted); }

/* ==========================================================================
   07. HEADER VE NAVİGASYON
   ========================================================================== */
.topbar {
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  min-height: 40px;
}
.topbar__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.topbar__tagline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-red); }
.topbar__links { display: flex; align-items: center; gap: var(--sp-6); }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--brand-red); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: var(--header-h);
  transition: height var(--dur) var(--ease);
}
.site-header.is-stuck .header__inner { height: var(--header-h-compact); }

.brand {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: var(--sp-4); /* logoya nefes alanı */
}
.brand img {
  width: auto;
  height: 42px;
  transition: height var(--dur) var(--ease);
}
.site-header.is-stuck .brand img { height: 34px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.6vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 4px;
  font-size: var(--fs-base);
  font-weight: 550;
  color: var(--c-700);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--c-900); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-900); font-weight: 650; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--sp-4); flex: none; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: var(--sp-5);
  border-left: 1px solid var(--line);
  color: var(--c-900);
}
.header__phone .ph-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-tint);
  color: var(--brand-red-600);
  flex: none;
}
.header__phone svg { width: 18px; height: 18px; }
.header__phone .lbl { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); line-height: 1.3; }
.header__phone .num { display: block; font-size: var(--fs-base); font-weight: 700; letter-spacing: -0.01em; }
.header__phone:hover .num { color: var(--brand-red-600); }

/* Mobil menü tetikleyici */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-900);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobil çekmece */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
  overflow: hidden; /* kapalıyken panelin yatay taşma yaratmasını engeller */
}
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 24, 26, 0.5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__head img { height: 34px; width: auto; }
.mobile-nav__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  color: var(--c-900);
}
.mobile-nav__close svg { width: 18px; height: 18px; }

.mobile-nav__list { list-style: none; margin: 0; padding: var(--sp-4) var(--sp-6); }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav__list li:last-child { border-bottom: 0; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-900);
}
.mobile-nav__list a[aria-current="page"] { color: var(--brand-red-600); }
.mobile-nav__list a[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}
.mobile-nav__foot {
  margin-top: auto;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}
.mobile-nav__contact {
  display: grid;
  gap: 4px;
  font-size: var(--fs-base);
}
.mobile-nav__contact a { color: var(--c-700); font-weight: 550; }

/* ==========================================================================
   08. HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 80vh, 780px);
  padding-block: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(120% 100% at 88% 50%, rgba(227, 30, 36, 0.16) 0%, rgba(227, 30, 36, 0) 55%),
    linear-gradient(104deg, #17181a 0%, #1e2023 46%, #26292d 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.hero--photo {
  background: #121315;
  min-height: clamp(620px, 88vh, 860px);
  padding-bottom: clamp(72px, 10vw, 112px);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6.5s ease;
  z-index: 0;
}
.hero__bg.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(10, 11, 12, 0.88) 0%, rgba(10, 11, 12, 0.72) 34%, rgba(10, 11, 12, 0.28) 62%, rgba(10, 11, 12, 0.18) 100%),
    radial-gradient(90% 80% at 88% 45%, rgba(227, 30, 36, 0.14) 0%, rgba(227, 30, 36, 0) 55%);
}
/* Teknik grid + bağlantı dokusu — sağ tarafta yoğun, solda sakin */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, rgba(0, 0, 0, 0.5) 42%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 8%, rgba(0, 0, 0, 0.5) 42%, #000 78%);
  pointer-events: none;
}
.hero--photo .hero__pattern {
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.35) 38%, #000 78%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.35) 38%, #000 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: 100%;
}
.hero--photo .hero__inner {
  grid-template-columns: minmax(0, 1fr);
}
.hero__content { max-width: 620px; }
.hero--photo .hero__content { max-width: 640px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-6);
  padding: 7px 15px 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.86);
}
.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.22);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); text-wrap: balance; }
.hero h1 .accent { color: var(--brand-red); }
.hero__text {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
  max-width: 56ch;
  margin-bottom: var(--sp-8);
}
.hero--photo .hero__text { color: rgba(255, 255, 255, 0.82); }
.hero__visual { position: relative; margin-right: clamp(-48px, -3vw, 0px); }
.hero__visual svg, .hero__visual img { width: 100%; height: auto; }
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(22px, 3.5vw, 36px);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero__dot.is-active {
  background: var(--brand-red);
  transform: scale(1.15);
}
.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transform: none; transition: opacity 0.01ms linear; }
}

/* Sayfa başlığı bandı (iç sayfalar) */
.page-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(110% 130% at 92% 30%, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0) 58%),
    linear-gradient(100deg, #17181a 0%, #232528 100%);
  color: rgba(255, 255, 255, 0.76);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(100deg, transparent 12%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 12%, #000 85%);
}

/* Sayfaya özel dekoratif sahne — metnin okunduğu sol tarafta sönümlenir */
.page-hero__art {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(68%, 820px);
  object-fit: cover;
  object-position: 70% center;
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.25) 22%, #000 58%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, 0.25) 22%, #000 58%);
}
.page-hero > .container { position: relative; z-index: 2; }

/* Sayfaya göre kırmızı ışığın konumu değişsin — bölümler birbirine benzemesin */
.page-hero--kurumsal { background-position: 60% 0; }
.page-hero--hizmetler {
  background-image:
    radial-gradient(100% 140% at 70% 40%, rgba(227, 30, 36, 0.12) 0%, rgba(227, 30, 36, 0) 60%),
    linear-gradient(100deg, #17181a 0%, #232528 100%);
}
.page-hero--projeler {
  background-image:
    radial-gradient(120% 140% at 60% 90%, rgba(227, 30, 36, 0.13) 0%, rgba(227, 30, 36, 0) 62%),
    linear-gradient(100deg, #17181a 0%, #212326 100%);
}
.page-hero--ortaklar {
  background-image:
    radial-gradient(110% 130% at 84% 60%, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0) 58%),
    linear-gradient(100deg, #17181a 0%, #24262a 100%);
}
.page-hero--iletisim {
  background-image:
    radial-gradient(90% 120% at 68% 45%, rgba(227, 30, 36, 0.13) 0%, rgba(227, 30, 36, 0) 55%),
    linear-gradient(100deg, #17181a 0%, #232528 100%);
}
.page-hero--teklif {
  background-image:
    radial-gradient(110% 130% at 76% 65%, rgba(227, 30, 36, 0.12) 0%, rgba(227, 30, 36, 0) 58%),
    linear-gradient(100deg, #17181a 0%, #25272b 100%);
}
.page-hero--hukuki {
  background-image:
    radial-gradient(100% 130% at 80% 40%, rgba(227, 30, 36, 0.08) 0%, rgba(227, 30, 36, 0) 56%),
    linear-gradient(100deg, #17181a 0%, #212326 100%);
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p { max-width: 62ch; color: rgba(255, 255, 255, 0.74); font-size: var(--fs-lg); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--brand-red); font-weight: 600; }

/* ==========================================================================
   09. İÇERİK BÖLÜMLERİ
   ========================================================================== */

/* --- Medya + metin ikili --- */
.media-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.media-frame svg, .media-frame img {
  width: 100%;
  display: block;
  border-radius: inherit;
}
.media-frame--dark { background: var(--brand-ink); border-color: rgba(255, 255, 255, 0.1); }

/* Görsel köşesinde vurgu rozeti — çerçevenin dışına taşar */
.media-badge {
  position: absolute;
  left: -24px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.media-badge svg { width: 26px; height: 26px; color: var(--brand-red); flex: none; }
.media-badge b { display: block; font-size: var(--fs-base); color: var(--c-900); }
.media-badge span { display: block; font-size: var(--fs-sm); color: var(--text-muted); }

/* --- Çalışma süreci (zaman çizelgesi) --- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); position: relative; }
.process__step { position: relative; padding-top: var(--sp-8); }
.process__step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: calc(-1 * var(--sp-6));
  height: 1px;
  background: var(--line-strong);
}
.process__step:last-child::before { right: 0; }
.process__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--c-900);
  font-size: var(--fs-base);
  font-weight: 700;
  z-index: 1;
  transition: all var(--dur) var(--ease);
}
.process__step:hover .process__num { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.process__step h3 { margin: var(--sp-6) 0 var(--sp-2); font-size: var(--fs-h4); }
.process__step p { font-size: var(--fs-base); margin: 0; }
.on-dark .process__step::before { background: rgba(255, 255, 255, 0.16); }
.on-dark .process__num { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.on-dark .process__step p { color: rgba(255, 255, 255, 0.7); }

/* --- Sektörel çözümler --- */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.sector {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all var(--dur) var(--ease);
}
.sector__icon { color: var(--brand-red); }
.sector__icon svg { width: 28px; height: 28px; }
.sector h3 { font-size: var(--fs-base); font-weight: 650; margin: 0; letter-spacing: -0.01em; }
.sector p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.sector:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* --- Proje kartları --- */
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.project-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--c-100);
  overflow: hidden;
}
.project-card__media img, .project-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(23, 24, 26, 0.86);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.04em;
}
.project-card__body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.project-card__body h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card__meta svg { width: 14px; height: 14px; color: var(--brand-red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-5); }
.chip {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-600);
}
.project-card .link-arrow { margin-top: auto; }

/* --- Neden biz --- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-8);
  background: var(--surface);
  transition: background var(--dur) var(--ease);
}
.why:hover { background: var(--surface-soft); }
.why__icon { color: var(--brand-red); flex: none; }
.why__icon svg { width: 28px; height: 28px; }
.why h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.why p { font-size: var(--fs-base); margin: 0; }

/* --- Hizmet listesi (tam liste, ikonlu satır) --- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-8); list-style: none; margin: 0; padding: 0; }
.svc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-base);
  color: var(--c-700);
}
.svc-list svg { width: 18px; height: 18px; color: var(--brand-red); flex: none; }

/* --- CTA bandı --- */
.cta-band {
  position: relative;
  padding-block: clamp(52px, 6vw, 88px);
  background:
    radial-gradient(90% 140% at 85% 50%, rgba(227, 30, 36, 0.18) 0%, rgba(227, 30, 36, 0) 60%),
    linear-gradient(100deg, #17181a 0%, #26292d 100%);
  color: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}
.cta-band__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 100% at 80% 50%, #000 10%, transparent 70%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255, 255, 255, 0.74); font-size: var(--fs-lg); margin: 0; max-width: 60ch; }

/* --- İstatistik / kilometre taşı yerine yaklaşım şeridi --- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-8); }
.approach__item { border-top: 2px solid var(--brand-red); padding-top: var(--sp-4); }
.approach__item h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.approach__item p { font-size: var(--fs-base); margin: 0; }

/* --- Çözüm ortakları --- */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.partner {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 118px;
  padding: var(--sp-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.partner:hover { border-color: var(--brand-red); color: var(--c-700); }
.partner b { display: block; font-size: var(--fs-base); color: var(--c-700); font-weight: 650; }
.partner > * { max-width: 100%; }

/* --- Bilgi kutusu / not --- */
.note {
  display: flex;
  gap: 12px;
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-red);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  font-size: var(--fs-base);
}
.note svg { width: 20px; height: 20px; color: var(--brand-red); flex: none; margin-top: 2px; }

/* --- SSS / açılır içerik --- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 650;
  color: var(--c-900);
  list-style: none;
  transition: background var(--dur-fast) var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--surface-soft); }
.accordion summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--brand-red);
  border-bottom: 2px solid var(--brand-red);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion .acc-body { padding: 0 var(--sp-6) var(--sp-6); font-size: var(--fs-base); }

/* --- İletişim kartları --- */
.contact-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--brand-red-tint);
  color: var(--brand-red-600);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: var(--fs-base); margin-bottom: 4px; color: var(--text); }
.contact-card p { font-size: var(--fs-base); margin: 0; color: var(--text-soft); }
.contact-card p:first-of-type { color: var(--c-800); font-weight: 600; }
.contact-card a { font-size: var(--fs-base); color: var(--c-700); font-weight: 550; }
a.contact-card { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
a.contact-card:hover { border-color: var(--brand-red); box-shadow: var(--shadow-sm); }
a.contact-card:hover h3 { color: var(--brand-red-600); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-100);
  min-height: 320px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  background: var(--c-100);
  filter: grayscale(0.25) contrast(1.02);
}
.map-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 320px;
  padding: var(--sp-8);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-base);
  background:
    linear-gradient(to right, rgba(23, 24, 26, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(23, 24, 26, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--c-50);
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--brand-red); }

/* ==========================================================================
   10. FORMLAR
   ========================================================================== */
.form-panel {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-800);
}
.field .req { color: var(--brand-red); margin-left: 2px; }
.field .hint { font-size: var(--fs-sm); color: var(--text-muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-base);
  line-height: 1.45;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7079' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 40px;
  cursor: pointer;
}
.input::placeholder, .textarea::placeholder { color: var(--c-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.14);
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(200, 22, 28, 0.1); }

.error-msg {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--error);
}
.field.has-error .error-msg { display: flex; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-soft);
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.checkbox input:checked {
  background: var(--brand-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--brand-red);
}
.checkbox input:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 2px; }
.field.has-error .checkbox input { border-color: var(--error); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: var(--sp-6);
  border: 1px solid #b7e0c9;
  border-left: 3px solid var(--success);
  border-radius: var(--radius-sm);
  background: #f1faf5;
  color: #14523a;
  font-size: var(--fs-base);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 24px; height: 24px; color: var(--success); flex: none; }
.form-success b { display: block; color: #0f3f2c; margin-bottom: 3px; }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-base);
}
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  margin-bottom: var(--sp-5);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}
.footer__brand img { height: 46px; width: auto; margin-bottom: var(--sp-5); }
.footer__brand p { font-size: var(--fs-base); line-height: 1.62; max-width: 34ch; }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__list li { margin: 0; }

.footer__contact { display: grid; gap: var(--sp-4); }
.footer__contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact-item svg { width: 18px; height: 18px; color: var(--brand-red); flex: none; margin-top: 3px; }
.footer__contact-item .lbl { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255, 255, 255, 0.42); margin-bottom: 2px; }
.footer__contact-item .val { color: rgba(255, 255, 255, 0.86); font-weight: 550; }
.footer__contact-item a.val:hover { color: var(--brand-red); }

.social { display: flex; gap: 10px; margin-top: var(--sp-5); }
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--dur-fast) var(--ease);
}
.social a:hover { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.social svg { width: 17px; height: 17px; }

.footer__map { margin-top: var(--sp-5); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); overflow: hidden; }
.footer__map .map-placeholder {
  min-height: 150px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    #1d1f22;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  padding: var(--sp-5);
}
.footer__map iframe {
  min-height: 170px;
  background: #1d1f22;
  filter: grayscale(0.35) invert(0.92) hue-rotate(180deg) contrast(0.9);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

/* ==========================================================================
   12. YÜZEN İLETİŞİM BUTONU (WhatsApp)
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 13px;
  border-radius: var(--radius-pill);
  background: #1f2937;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(23, 24, 26, 0.24);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.wa-float:hover { background: #111827; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 21px; height: 21px; color: #3fca63; flex: none; }

/* ==========================================================================
   13. YARDIMCI SINIFLAR VE HAREKET
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.stack-6 { display: grid; gap: var(--sp-6); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Girişte yumuşak beliriş — hafif ve hızlı */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   14. RESPONSIVE — mobil için ayrı düzen
   ========================================================================== */

/* Geniş masaüstü altı */
@media (max-width: 1180px) {
  .header__phone .lbl { display: none; }
  .nav__list { gap: 10px; }
  .nav__link { font-size: var(--fs-base); }
}

/* Tablet yatay */
@media (max-width: 1024px) {
  :root { --header-h: 72px; --header-h-compact: 60px; }

  .nav, .header__phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { gap: var(--sp-4); }
  .header__actions { margin-left: auto; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }

  .hero { min-height: auto; }
  .hero--photo { min-height: clamp(560px, 78vh, 760px); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero__content { max-width: none; }
  .hero__visual { max-width: 620px; margin-right: 0; }
  .hero__bg { object-position: 80% center; }

  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-6); }
  .process__step:nth-child(2)::before { right: 0; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-band__inner { grid-template-columns: 1fr; }
}

/* Tablet dikey / büyük telefon */
@media (max-width: 860px) {
  .page-hero__art { width: min(80%, 720px); opacity: 0.55; }
  .split { grid-template-columns: 1fr; gap: var(--sp-8); }
  .split--reverse .split__media { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar { grid-template-columns: 1fr; }
  .trustbar__item { border-right: 0; border-bottom: 1px solid var(--line); padding-block: var(--sp-5); }
  .trustbar__item:last-child { border-bottom: 0; }
  .svc-list { grid-template-columns: 1fr; gap: 0; }
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
}

/* Telefon — mobile-first düzenlemeler */
@media (max-width: 640px) {
  :root {
    --section-y: 52px;
    --fs-lg: 1.0625rem;
  }

  body { font-size: var(--fs-base); }

  .container { padding-inline: 18px; }

  .topbar__links { gap: var(--sp-4); font-size: var(--fs-xs); }
  .topbar__links .topbar-mail { display: none; }

  .brand img { height: 34px; }
  .site-header.is-stuck .brand img { height: 30px; }
  .header__actions .btn { padding: 10px 15px; font-size: var(--fs-sm); }

  .hero { padding-block: 44px 52px; }
  .hero__text { margin-bottom: var(--sp-6); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .partner { min-height: 100px; padding: var(--sp-4); }
  .sector { padding: var(--sp-5); gap: var(--sp-3); }
  .why-grid { grid-template-columns: 1fr; }
  .why { padding: var(--sp-6); }
  .approach { grid-template-columns: 1fr; gap: var(--sp-5); }

  .card { padding: var(--sp-6); }

  .process { grid-template-columns: 1fr; gap: 0; }
  .process__step { padding: 0 0 var(--sp-8) 60px; }
  .process__step:last-child { padding-bottom: 0; }
  .process__step::before {
    top: 42px;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process__step:last-child::before { display: none; }
  .process__num { top: 0; left: 0; }
  .process__step h3 { margin-top: 6px; }

  .form-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .form-panel { padding: var(--sp-6); }

  .footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float span { display: none; }

  .media-badge { left: 12px; bottom: 12px; padding: 11px 14px; }
  .page-hero { padding-block: 40px 44px; }
  /* Mobilde sahne metnin arkasında kalır — okunabilirlik önce gelir */
  .page-hero__art {
    height: 56%;
    max-width: none;
    right: -8%;
    top: auto;
    bottom: 6%;
    opacity: 0.26;
    -webkit-mask-image: linear-gradient(168deg, transparent 4%, rgba(0, 0, 0, 0.3) 42%, #000 100%);
    mask-image: linear-gradient(168deg, transparent 4%, rgba(0, 0, 0, 0.3) 42%, #000 100%);
  }
}

@media (max-width: 400px) {
  .sector-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
}

/* Yazdırma */
@media print {
  .site-header, .topbar, .wa-float, .mobile-nav, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
}
