/* ================================================================
   Bilim OSGB — Design System
   Palette: kirmizi/beyaz, modern kurumsal
================================================================ */

:root {
  /* Brand */
  --red-900: #7F0A1C;
  --red-700: #B0122A;
  --red-600: #C8102E;
  --red-500: #E11D38;
  --red-100: #FDE7EB;
  --red-050: #FFF5F7;

  /* Neutrals */
  --ink-900: #0E1116;
  --ink-700: #2B313B;
  --ink-500: #5B6473;
  --ink-300: #9AA2B1;
  --ink-200: #D4D9E2;
  --ink-100: #EEF0F4;
  --ink-050: #F7F8FB;
  --white:   #FFFFFF;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.06), 0 1px 1px rgba(14, 17, 22, 0.04);
  --shadow-md: 0 8px 24px -10px rgba(14, 17, 22, 0.16), 0 2px 8px rgba(14, 17, 22, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(14, 17, 22, 0.18), 0 8px 16px rgba(14, 17, 22, 0.06);
  --shadow-red: 0 16px 40px -12px rgba(200, 16, 46, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--ink-700); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--ink-050); }

/* ---------- Top bar (above nav) ---------- */
.topbar {
  background: var(--ink-900);
  color: var(--ink-200);
  font-size: 0.83rem;
  padding: 9px 0;
}
.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-200);
  transition: color .2s var(--ease);
}
.topbar__contact a:hover { color: var(--white); }
.topbar__contact svg { width: 14px; height: 14px; color: var(--red-500); }
.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-600);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.topbar__pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; }
.brand__text { font-weight: 700; font-size: 1.05rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand__text span { color: var(--red-600); }

.nav__menu {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--red-600); background: var(--red-050); }
.nav__link--active { color: var(--red-600); }
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); }
.btn--ghost {
  background: var(--white);
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn--ghost:hover { border-color: var(--red-600); color: var(--red-600); }
.btn--dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  height: clamp(560px, 86vh, 760px);
  overflow: hidden;
  background: var(--ink-900);
  isolation: isolate;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s var(--ease), transform 8s linear;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 22, 0.82) 0%, rgba(14, 17, 22, 0.55) 35%, rgba(14, 17, 22, 0.20) 65%, rgba(14, 17, 22, 0.10) 100%),
    linear-gradient(180deg, rgba(14, 17, 22, 0.20) 0%, rgba(14, 17, 22, 0.15) 50%, rgba(14, 17, 22, 0.55) 100%),
    linear-gradient(120deg, rgba(127, 10, 28, 0.55) 0%, rgba(176, 18, 42, 0.18) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: clamp(80px, 10vh, 130px);
}
.hero__inner { max-width: 720px; color: var(--white); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--red-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225, 29, 56, .25);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--red-500);
  position: relative;
}
.hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--white); color: var(--white); }
.hero__trust {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__trust-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust-item svg { width: 18px; height: 18px; color: var(--red-500); }


/* First-slide brand lockup (sadece slayt 0) */
.hero__brands {
  margin-top: 36px;
  animation: heroBrandsIn 0.9s var(--ease) 0.45s both;
}
@keyframes heroBrandsIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__brands-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
.hero__brands-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* Beyaz logo çipleri — tüm renkli logolar koyu hero üzerinde net görünür */
.hero__brand-chip {
  width: 156px;
  height: 66px;
  flex: 0 0 auto;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero__brand-chip:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.6); }
.hero__brand-chip img {
  display: block;
  width: auto;
  object-fit: contain;
}
/* Eşit çipler + her logoya optik olarak dengeli boyut (alan benzer) */
.hero__brand-chip img[alt="COSCO Shipping"]        { max-height: 44px; max-width: 116px; }
.hero__brand-chip img[alt="Beymen"]                { max-height: 22px; max-width: 128px; }
.hero__brand-chip img[alt="Les Benjamins"]         { max-height: 18px; max-width: 134px; }
.hero__brand-chip img[alt="IKEA"]                  { max-height: 42px; max-width: 110px; }
.hero__brand-chip img[alt="WWF"]                   { max-height: 48px; max-width: 64px;  }
.hero__brand-chip img[alt="ZY Elektrikli Traktör"]{ max-height: 40px; max-width: 116px; }
.hero__brand-chip img[alt="Faber-Castell"]         { max-height: 38px; max-width: 124px; }
.hero__brand-chip img[alt="Conrad İstanbul"]       { max-height: 44px; max-width: 128px; }
.hero__brand-chip img[alt="Turcas"]                { max-height: 34px; max-width: 124px; }
.hero__brand-chip img[alt="Eurofins"]              { max-height: 32px; max-width: 128px; }

/* Marka-ağırlıklı 1. slayt — geniş içerik + sık logo duvarı */
.hero__inner--wide { max-width: 920px; }
.hero__brands--wall { margin-top: 30px; }
.hero__brands--wall .hero__brands-row { gap: 12px; }

@media (max-width: 600px) {
  .hero__brands-row { gap: 10px; }
  .hero__brand-chip { width: 132px; height: 56px; padding: 0 12px; }
  .hero__brand-chip img { max-width: 100px; }
  .hero__brand-chip img[alt="COSCO Shipping"], .hero__brand-chip img[alt="IKEA"],
  .hero__brand-chip img[alt="WWF"], .hero__brand-chip img[alt="Conrad İstanbul"] { max-height: 38px; }
}

/* Brand spotlight slide (marka odaklı slayt) */
/* Gradient taban — marka fotoğrafı yoksa (henüz eklenmemişse) görünür */
.hero__slide--brand .hero__brandfeat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(820px 540px at 82% 16%, rgba(225, 29, 56, 0.16), transparent 60%),
    linear-gradient(135deg, #1b1f27 0%, #0e1116 58%, #050608 100%);
}
.hero__slide--brand .hero__brandfeat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
}
/* Marka fotoğrafı varsa gradient tabanı kaplar */
.hero__slide--brand .hero__slide-img { z-index: 0; }
/* Hafif, sola yaslı overlay — markayı/tabelayı ezmez, sağ ve üst açık kalır */
.hero__slide--brand .hero__slide-overlay {
  background:
    linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.58) 30%, rgba(8,10,14,.14) 54%, transparent 76%),
    linear-gradient(180deg, transparent 42%, rgba(8,10,14,.42) 100%);
}
/* Marka slaytında metin bloğu daha kompakt — fotoğraf nefes alsın */
.hero__slide--brand .hero__inner { max-width: 560px; }
.hero__slide--brand h1 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: 14px; }
.hero__slide--brand .hero__lead { max-width: 470px; font-size: 1rem; }
@media (max-width: 720px) {
  .hero__slide--brand .hero__slide-overlay {
    background: linear-gradient(180deg, rgba(8,10,14,.62) 0%, rgba(8,10,14,.78) 100%);
  }
}

/* Slider controls */
.hero__controls {
  position: absolute;
  bottom: clamp(28px, 4vh, 52px);
  left: 0; right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.hero__controls > * { pointer-events: auto; }

.hero__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero__dot {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width .3s var(--ease);
}
.hero__dot::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: var(--red-500);
  transition: none;
}
.hero__dot.is-active { width: 64px; background: rgba(255, 255, 255, 0.5); }
.hero__dot.is-active::before { animation: dotProgress 6s linear forwards; }
@keyframes dotProgress { from { width: 0; } to { width: 100%; } }

.hero__counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero__counter b { color: var(--white); font-size: 1.1rem; }
.hero__counter span { color: rgba(255, 255, 255, 0.4); margin: 0 2px; }

.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__arrow:hover { background: var(--red-600); border-color: var(--red-600); }
.hero__arrow svg { width: 18px; height: 18px; }

/* ---------- TSE authority banner ---------- */
.tse {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(225, 29, 56, 0.18), transparent 60%),
    linear-gradient(125deg, var(--ink-900) 0%, #1A1F29 55%, var(--red-900) 140%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.tse::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.tse__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
}
.tse__seal {
  width: clamp(96px, 12vw, 132px);
  height: clamp(96px, 12vw, 132px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F3F4F7 60%, #E2E5EC 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 18px 44px -12px rgba(0,0,0,.55), inset 0 0 0 6px rgba(200,16,46,.12);
  position: relative;
}
.tse__seal::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(200, 16, 46, .35);
}
.tse__seal-inner { text-align: center; line-height: 1; }
.tse__seal-inner strong {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--red-700);
  letter-spacing: -0.02em;
}
.tse__seal-inner span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-top: 4px;
}
.tse__body h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 10px;
}
.tse__body h2 em { font-style: normal; color: var(--red-500); }
.tse__body p {
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 620px;
  font-size: 1.02rem;
}
.tse__badges { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.tse__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.tse__badge svg { width: 15px; height: 15px; color: var(--red-500); }
.tse__cta { flex-shrink: 0; }

@media (max-width: 1024px) {
  .tse__inner { grid-template-columns: auto 1fr; }
  .tse__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .tse__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tse__badges { justify-content: center; }
}

/* ---------- Logo marquee ---------- */
.marquee-sec {
  background: var(--white);
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--ink-100);
}
.marquee__label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.marquee__label::before,
.marquee__label::after {
  content: '';
  flex: 0 0 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-200), transparent);
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 28px; }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marqueeScroll 48s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__item {
  flex: 0 0 auto;
  width: 168px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.marquee__item:hover {
  border-color: var(--red-100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.marquee__item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee__item:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 600px) {
  .marquee__item { width: 132px; height: 76px; padding: 14px 18px; }
  .marquee__item img { max-height: 44px; }
}

/* ---------- Reference logo grid ---------- */
.reflogos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.reflogo {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.reflogo:hover { border-color: var(--red-100); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.reflogo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .66;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.reflogo:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 1024px) { .reflogos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px)  { .reflogos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Turkey coverage map ---------- */
.map-sec { background: var(--ink-050); overflow: hidden; }
.map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.map-info .section__eyebrow { display: inline-block; margin-bottom: 12px; }
.map-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.map-info h2 em { font-style: normal; color: var(--red-600); }
.map-info p { color: var(--ink-500); font-size: 1.05rem; max-width: 460px; }
.map-stats {
  display: flex;
  gap: 32px;
  margin: 26px 0 28px;
  flex-wrap: wrap;
}
.map-stat__num {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--red-600);
  letter-spacing: -0.02em;
  line-height: 1;
}
.map-stat__label { font-size: 0.9rem; color: var(--ink-500); margin-top: 6px; }
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--ink-700); }
.map-legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.map-legend .dot-active { background: var(--red-600); }
.map-legend .dot-idle { background: #D9DEE6; }

.map-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.map-visual svg { width: 100%; height: auto; display: block; }
/* default provinces */
.map-visual svg path {
  fill: #E4E8EE;
  stroke: var(--white);
  stroke-width: 0.6;
  transition: fill .25s var(--ease);
}
/* active provinces (set via JS adding .il-active to <g>) */
.map-visual svg g.il-active path { fill: var(--red-600); }
/* Hover sadece dogrudan il grubunu etkiler — sarmalayici g#turkiye degil.
   Boylece kirmizi iller hover'da silinmez. */
.map-visual svg g[data-plakakodu].il-active:hover path { fill: var(--red-700); }
.map-visual svg g[data-plakakodu]:not(.il-active):hover path { fill: #CDD3DC; }
.map-visual svg g.il-active { cursor: pointer; }

.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transform: translate(-50%, -140%);
  opacity: 0;
  transition: opacity .15s var(--ease);
  white-space: nowrap;
  z-index: 5;
}
.map-tooltip.is-visible { opacity: 1; }
.map-tooltip::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--ink-900);
}

@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-visual { max-width: 640px; margin: 0 auto; width: 100%; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.stat__num {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat__num span { color: var(--red-500); }
.stat__label { color: var(--ink-300); font-size: 0.9rem; }

/* ---------- Section header ---------- */
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__lead { color: var(--ink-500); font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-100);
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-050);
  color: var(--red-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.service:hover .service__icon { background: var(--red-600); color: var(--white); }
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.15rem; color: var(--ink-900); }
.service p { font-size: 0.95rem; color: var(--ink-500); margin-bottom: 0; }
.service__link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-600);
  font-weight: 600;
  font-size: 0.9rem;
}
.service__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--red-600), var(--red-900));
}
.split__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,.18), transparent 60%);
}
.split__visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.split__visual-text {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: var(--white);
}
.split__visual-text h3 { color: var(--white); font-size: 1.4rem; }
.split__visual-text p { color: rgba(255,255,255,.85); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 24px 0 28px; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-100);
  align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.checklist__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-100);
  color: var(--red-700);
  display: grid;
  place-items: center;
}
.checklist__icon svg { width: 14px; height: 14px; }
.checklist strong { color: var(--ink-900); }
.checklist span { font-size: 0.92rem; color: var(--ink-500); display: block; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta {
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(120deg, var(--red-700), var(--red-900));
  color: var(--white);
  padding: clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-red);
}
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.85); margin: 0; max-width: 540px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.cta .btn--primary { background: var(--white); color: var(--red-700); box-shadow: none; }
.cta .btn--primary:hover { background: var(--ink-050); color: var(--red-700); }

/* ---------- References strip ---------- */
.refs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.ref {
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--ink-300);
  font-size: 0.92rem;
  text-align: center;
  padding: 10px;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.ref:hover { color: var(--red-600); border-color: var(--red-100); transform: translateY(-2px); }
.ref--featured {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  border-color: var(--ink-900);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.01em;
  position: relative;
}
.ref--featured::after {
  content: '★';
  position: absolute;
  top: 8px;
  right: 10px;
  color: var(--red-500);
  font-size: 0.7rem;
}
.ref--featured:hover { color: var(--white); border-color: var(--red-600); }

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.location {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.location:hover { box-shadow: var(--shadow-md); border-color: var(--red-100); }
.location__tag {
  display: inline-block;
  background: var(--red-050);
  color: var(--red-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.location h3 { font-size: 1.05rem; margin-bottom: 10px; }
.location p { font-size: 0.94rem; color: var(--ink-500); margin: 0; }
.location__phones {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.location__phones a {
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.95rem;
  align-items: center;
}
.location__phones a:hover { color: var(--red-600); }
.location__phones svg { width: 14px; height: 14px; color: var(--red-600); }

/* ---------- Contact form ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: stretch;
}
.contact__info {
  background: var(--ink-900);
  color: var(--white);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact__info::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: var(--red-600);
  border-radius: 50%;
  filter: blur(40px);
  opacity: .35;
}
.contact__info h2 { color: var(--white); }
.contact__info p { color: rgba(255,255,255,.78); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--red-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact__list-icon svg { width: 18px; height: 18px; }
.contact__list strong { color: var(--white); display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact__list span { color: rgba(255,255,255,.7); font-size: 0.92rem; }

.form {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-700); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 13px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  color: var(--ink-900);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px var(--red-100);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: clamp(56px, 7vw, 80px) 0 24px;
  margin-top: clamp(40px, 6vw, 80px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer__about { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,.65); }
.footer h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.65); font-size: 0.93rem; transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--red-500); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { background: var(--red-600); color: var(--white); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background:
    radial-gradient(800px 400px at 80% 100%, rgba(225, 29, 56, 0.12), transparent 60%),
    linear-gradient(180deg, #FFF8F9 0%, #FFFFFF 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}
.crumbs {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--red-600); }
.crumbs span { color: var(--red-600); }

/* ---------- Inner page HERO (heybetli) ---------- */
.page-hero {
  position: relative;
  min-height: clamp(340px, 46vh, 480px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
  isolation: isolate;
}
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14,17,22,.94) 0%, rgba(14,17,22,.72) 46%, rgba(14,17,22,.42) 100%),
    linear-gradient(120deg, rgba(127,10,28,.55) 0%, rgba(176,18,42,.15) 45%, transparent 75%);
}
.page-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 760px; padding: clamp(84px, 13vh, 130px) 0 clamp(40px, 6vh, 60px); }
.page-hero .crumbs { color: rgba(255,255,255,.6); margin-bottom: 20px; }
.page-hero .crumbs a { color: rgba(255,255,255,.6); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs span { color: var(--red-500); }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero__eyebrow::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--red-500); box-shadow:0 0 0 4px rgba(225,29,56,.25); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-shadow: 0 4px 28px rgba(0,0,0,.4);
}
.page-hero h1 em { font-style: normal; color: var(--red-500); }
.page-hero__lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: 620px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.page-hero__stats {
  display: flex;
  gap: clamp(28px, 4vw, 52px);
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-hero__stat strong {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.page-hero__stat strong span { color: var(--red-500); }
.page-hero__stat small { color: rgba(255,255,255,.65); font-size: 0.86rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { height: clamp(540px, 80vh, 680px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__visual { aspect-ratio: 16 / 10; max-width: 600px; margin: 0 auto; }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .locations { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .topbar__contact { display: none; }
  .nav__menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--gutter) 24px;
    gap: 4px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__menu .nav__link { padding: 14px 12px; border-radius: 10px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: flex; }
  .services { grid-template-columns: 1fr; }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 24px; margin-bottom: 24px; padding: 24px; }
  .hero { height: auto; min-height: 600px; padding-bottom: 80px; }
  .hero__arrows { display: none; }
  .hero__dot { width: 28px; }
  .hero__dot.is-active { width: 48px; }
}
