/* =====================================================================
   Demsar Otomotiv — v29 tasarım sistemi
   Konsept: "mühendislik föyü" — grafit + logo turuncusu, teknik çizim
   ızgarası, mono etiketler, keskin köşeler.
   ===================================================================== */

:root {
  --ink: #141619;          /* grafit (başlık, koyu bantlar) */
  --ink-2: #1d2024;
  --ink-3: #2b2f34;
  --text: #25282c;         /* gövde metni */
  --muted: #5f656c;        /* ikincil metin */
  --steel: #7d838a;        /* mono etiketler */
  --line: #e2dfd8;         /* ince çizgiler */
  --paper: #f4f2ed;        /* sıcak kırık beyaz */
  --paper-2: #ebe8e1;
  --white: #ffffff;
  --accent: #e07b29;       /* logo turuncusu */
  --accent-ink: #b85e15;   /* koyu turuncu (hover / açık zeminde link) */
  --on-dark: #b7bbc1;      /* koyu zeminde ikincil metin */
  --on-dark-2: #8a8f96;
  --line-dark: rgba(255, 255, 255, .1);

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Eski sınıflar/ admin içerikleri için geriye dönük uyumluluk */
  --brand-navy: var(--ink);
  --brand-red: var(--accent);
  --brand-blue: var(--accent);
  --brand-light: var(--paper);
  --brand-gray: var(--muted);
}

* { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .logo-fallback {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

img { max-width: 100%; }

/* ---------- Mono etiketler ---------- */
.mono-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}
.mono-label.accent { color: var(--accent); }

/* =====================================================================
   BUTONLAR
   ===================================================================== */
.btn-brand,
.btn-outline-brand,
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1.3;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .2s, color .2s, border-color .2s, gap .2s;
}
.btn-brand { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; gap: 14px; }
.btn-brand:disabled { background: var(--steel); border-color: var(--steel); }
.btn-outline-brand { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-brand:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-lg-brand { padding: 16px 28px; font-size: 1rem; }
.btn-sm-nav { padding: 10px 18px; font-size: .9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  transition: gap .2s var(--ease), color .2s;
}
.link-arrow:hover { color: var(--accent-ink); gap: 12px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(20, 22, 25, .07); }

.main-nav { padding: 12px 0; min-height: var(--header-h); }
.navbar-brand { padding: 0; margin-right: 24px; }
.navbar-brand img { width: auto; max-width: 62vw; object-fit: contain; display: block; }
.logo-fallback { font-size: 1.4rem; font-weight: 800; }

.main-nav .nav-link {
  position: relative;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: 10px 14px !important;
}
.main-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .nav-link.show { color: var(--ink); }
.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before { transform: scaleX(1); }
.main-nav .dropdown-toggle::after { vertical-align: .15em; margin-left: .4em; border-top-width: .3em; }

.dropdown-menu {
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 0;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 24px 48px rgba(20, 22, 25, .1);
}
.dropdown-item {
  padding: 10px 14px;
  font-weight: 500;
  font-size: .94rem;
  color: var(--text);
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item:active {
  background: var(--paper);
  color: var(--accent-ink);
}

.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); }
.lang-switch a {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  padding: 6px 10px;
  color: var(--steel);
  line-height: 1.2;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.nav-phone {
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav-phone i { color: var(--accent); }

.navbar-toggler {
  border: 0;
  width: 44px; height: 44px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 0;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (min-width: 992px) {
  /* Masaüstünde Kurumsal menüsü üzerine gelince de açılsın */
  .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; top: 100%; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding: 6px 0 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav .nav-link {
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .main-nav .nav-link::before { display: none; }
  .main-nav .nav-link.active { color: var(--accent-ink); }
  .dropdown-menu {
    border: 0;
    border-left: 2px solid var(--accent);
    box-shadow: none;
    padding: 4px 0 4px 12px;
    margin: 4px 0 8px;
  }
  .nav-tools { margin-top: 20px; flex-wrap: wrap; }
}

/* =====================================================================
   ORTAK BÖLÜM YAPISI
   ===================================================================== */
.section { padding: 104px 0; }
.section-tight { padding-top: 56px; }
.section-paper { background: var(--paper); }
.section-light { background: var(--paper); }

.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 14px 0 0;
  max-width: 22ch;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-index {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  color: var(--ink);
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid var(--line);
}

/* Teknik çizim ızgarası (koyu bantlarda) */
.hero-grid-bg,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Kırpma işaretleri (görsel köşelerinde teknik çizim işaretleri) */
.crop { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2; }
.crop.tl { top: -9px; left: -9px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.crop.tr { top: -9px; right: -9px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.crop.bl { bottom: -9px; left: -9px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.crop.br { bottom: -9px; right: -9px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }


/* =====================================================================
   ANASAYFA — HERO
   ===================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 96px 0 112px;
  overflow: hidden;
}
.hero::after {
  /* sağ altta hafif turuncu ışık */
  content: '';
  position: absolute;
  right: -10%; bottom: -40%;
  width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(224,123,41,.18), transparent);
  pointer-events: none;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px 0 24px;
  max-width: 14ch;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--on-dark); font-size: 1.12rem; line-height: 1.65; max-width: 34rem; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-certs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  padding: 26px 0 0;
  margin: 48px 0 0;
  border-top: 1px solid var(--line-dark);
}
.hero-certs li { display: flex; align-items: center; gap: 12px; }
.hero-certs i { font-size: 1.5rem; color: var(--accent); }
.hero-certs strong { display: block; font-family: var(--f-display); font-size: 1rem; color: #fff; }
.hero-certs small { display: block; font-size: .82rem; color: var(--on-dark-2); }

/* Hero sağ: "ürün sahnesi" (v34) — tek büyük dikey kare + numaralı liste.
   Ürün fotoğrafları 3:4 dikey; "contain" ile hiçbiri kesilmez. */
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: end;
}
.stage-frame { position: relative; padding-left: 34px; }
.stage-bignum {
  position: absolute;
  top: -64px; right: -96px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 11rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity .35s;
}
.stage-bignum.is-swapping { opacity: 0; }
.stage-photo {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 3 / 4;
  background: #e9e7e2;
}
.stage-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .7s ease, transform 1.2s var(--ease);
}
.stage-photo img.is-active { opacity: 1; transform: none; }
.stage-photo .crop { border-color: var(--accent); }

/* sol kenarda teknik çizim ölçü çizgisi */
.stage-dim {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 20px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}
.stage-dim::before, .stage-dim::after {
  content: '';
  position: absolute;
  left: -6px;
  width: 11px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}
.stage-dim::before { top: 0; }
.stage-dim::after { bottom: 0; }
.stage-dim span {
  position: absolute;
  top: 50%; left: -1px;
  transform: translate(-50%, -50%) rotate(-90deg);
  background: var(--ink);
  padding: 0 10px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.stage-count {
  position: absolute;
  right: 0; bottom: -28px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--on-dark-2);
}

.stage-side { padding-bottom: 6px; }
.stage-side .mono-label { color: var(--on-dark-2); }
.stage-list { list-style: none; padding: 0; margin: 14px 0 26px; border-top: 1px solid var(--line-dark); }
.stage-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0 18px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  color: var(--on-dark-2);
  cursor: pointer;
  transition: color .25s;
}
.stage-item:hover, .stage-item.is-active { color: #fff; }
.si-num { font-family: var(--f-mono); font-size: .78rem; color: inherit; min-width: 22px; }
.stage-item.is-active .si-num { color: var(--accent); }
.si-text { display: flex; flex-direction: column; min-width: 0; }
.si-text small {
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.si-text strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  transition: transform .3s var(--ease);
}
.stage-item.is-active .si-text strong { transform: translateX(4px); }
/* ilerleme çizgisi: dolunca JS bir sonraki ürüne geçer (animationend) */
.si-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.si-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.stage-item.is-active .si-bar i { animation: stageProgress 5s linear forwards; }
.hero-stage:hover .stage-item.is-active .si-bar i { animation-play-state: paused; }
.hero-stage.is-static .stage-item.is-active .si-bar i { animation: none; transform: scaleX(1); }
@keyframes stageProgress { to { transform: scaleX(1); } }
.stage-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 700;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  transition: gap .2s var(--ease), color .2s;
}
.stage-cta:hover { color: var(--accent); gap: 12px; }

/* Hero sağ: slider / tek görsel */
.hero-visual { position: relative; }
.hero-visual .carousel-inner,
.hero-visual-empty { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.hero-visual .carousel-item { height: 100%; }
.hero-visual .carousel-inner { height: auto; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.hero-visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(20,22,25,.85), transparent);
}
.hero-visual-caption strong { display: block; font-family: var(--f-display); font-size: 1.25rem; color: #fff; }
.hero-visual-caption span { color: var(--on-dark); font-size: .92rem; }
.hero-visual-nav { position: absolute; right: 0; top: 0; display: flex; z-index: 3; }
.hero-visual-nav button {
  width: 46px; height: 46px;
  border: 0;
  background: var(--ink);
  color: #fff;
  transition: background .2s;
}
.hero-visual-nav button:hover { background: var(--accent); }

/* Hero giriş animasyonu (ilk yüklemede) */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .mono-label, .hero-title, .hero-lead, .hero-actions, .hero-certs, .hero-stage, .hero-visual {
  animation: rise .9s var(--ease) both;
}
.hero-title { animation-delay: .08s; }
.hero-lead { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
.hero-certs { animation-delay: .32s; }
.hero-stage, .hero-visual { animation-delay: .2s; }

/* =====================================================================
   İSTATİSTİK BANDI
   ===================================================================== */
.stats-band { border-bottom: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px 40px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-index { font-family: var(--f-mono); font-size: .72rem; color: var(--accent); }
.stat-value {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 10px 0 6px;
}
.stat-label { color: var(--muted); font-weight: 500; font-size: .95rem; }

.stats-band-dark { background: var(--ink); border-bottom: 0; }
.stats-band-dark .stat { border-left-color: var(--line-dark); }
.stats-band-dark .stat-value { color: #fff; }
.stats-band-dark .stat-label { color: var(--on-dark-2); }

@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-band-dark .stat:nth-child(n+3) { border-top-color: var(--line-dark); }
}

/* =====================================================================
   ÇERÇEVELİ GÖRSEL / HAKKIMIZDA ÖZET
   ===================================================================== */
.framed-image { position: relative; margin: 0; isolation: isolate; }
.framed-image img { display: block; width: 100%; height: auto; background: var(--paper); }
.framed-image::before {
  content: '';
  position: absolute;
  right: -16px; bottom: 30px;
  width: 42%; height: 52%;
  background: var(--accent);
  z-index: -1;
}
.framed-image figcaption { margin-top: 14px; }
@media (min-width: 992px) {
  .sticky-lg { position: sticky; top: calc(var(--header-h) + 32px); }
}

.prose-muted { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.prose-muted p:last-child { margin-bottom: 0; }

.spec-list { margin: 32px 0 36px; border-top: 1px solid var(--ink); }
.spec-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.spec-list dd { margin: 0; font-family: var(--f-mono); font-size: .82rem; color: var(--muted); text-align: right; }

/* =====================================================================
   HABER KARTLARI
   ===================================================================== */
.news-card { display: block; color: inherit; height: 100%; }
.news-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); margin-bottom: 18px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin: 8px 0 8px; transition: color .2s; }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.news-card:hover { color: inherit; }
.news-card:hover img { transform: scale(1.04); }
.news-card:hover h3 { color: var(--accent-ink); }

/* =====================================================================
   REFERANS LOGOLARI
   ===================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .2s;
}
.logo-grid-lg .logo-cell { height: 170px; }
.logo-cell img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .25s, opacity .25s;
}
.logo-cell:hover { background: var(--paper); }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-name {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0;
  transition: opacity .2s;
}
.logo-cell:hover .logo-name { opacity: 1; }

/* Eski partner kartı sınıfı (geriye dönük) */
.partner-logo-card { display: flex; align-items: center; justify-content: center; height: 130px; border: 1px solid var(--line); padding: 20px; }
.partner-logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* =====================================================================
   CTA BANDI
   ===================================================================== */
.cta-band { background: var(--accent); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 80px 0;
}
.cta-band .mono-label { color: rgba(20,22,25,.65); }
.cta-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 12px 0 10px;
  max-width: 20ch;
}
.cta-band p { color: rgba(20,22,25,.75); margin: 0; font-size: 1.05rem; }
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  padding: 22px 34px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  transition: background .2s, color .2s, gap .2s;
}
.cta-button:hover { background: #fff; color: var(--ink); gap: 20px; }

/* =====================================================================
   İÇ SAYFA BAŞLIK BANDI
   ===================================================================== */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 56px 0 72px;
  overflow: hidden;
}
.page-hero .container-xl { position: relative; }
.page-hero .mono-label { display: block; margin-top: 44px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 14px 0 0;
  max-width: 20ch;
}
.page-hero .lead-text { color: var(--on-dark); font-size: 1.1rem; line-height: 1.65; max-width: 44rem; margin: 20px 0 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 10px; opacity: .5; }
.crumbs .current { color: var(--on-dark-2); }
.crumbs-dark { color: var(--steel); margin-bottom: 32px; }
.crumbs-dark a { color: var(--ink); }
.crumbs-dark .current { color: var(--steel); }

/* =====================================================================
   ÜRÜN KATALOĞU
   ===================================================================== */
.catalog-side { position: sticky; top: calc(var(--header-h) + 24px); }
.search-field { position: relative; }
.search-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  padding: 13px 14px 13px 40px;
  font-size: .95rem;
  transition: border-color .2s;
}
.search-field input:focus { outline: none; border-color: var(--ink); }
.side-title { display: block; margin: 30px 0 10px; }

.cat-index { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.cat-index a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: .95rem;
  transition: padding .2s var(--ease), color .2s;
}
.cat-index a em { font-style: normal; font-family: var(--f-mono); font-size: .72rem; color: var(--steel); }
.cat-index a:hover { color: var(--accent-ink); padding-left: 10px; }
.cat-index a.active { color: var(--ink); font-weight: 600; padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent); }
.cat-index a.active em { color: var(--accent); }

@media (max-width: 991.98px) {
  .catalog-side { position: static; }
  .cat-index {
    flex-direction: row;
    overflow-x: auto;
    border-top: 0;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .cat-index a {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 8px 14px;
  }
  .cat-index a:hover { padding-left: 14px; }
  .cat-index a.active { background: var(--ink); color: #fff; box-shadow: none; padding-left: 14px; }
}

.search-note { color: var(--muted); margin-bottom: 24px; }
.search-note a { margin-left: 10px; font-weight: 600; }

.product-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  transition: border-color .25s, transform .25s var(--ease);
}
.product-tile:hover { border-color: var(--ink); color: inherit; }
.product-tile-img {
  position: relative;
  aspect-ratio: 3 / 4;        /* v33: ürün fotoğrafları 3:4 dikey çekiliyor */
  background: #e9e7e2;
  overflow: hidden;
}
.product-tile-img img {
  width: 100%; height: 100%;
  object-fit: contain;        /* hiçbir fotoğraf kırpılmaz; farklı oranlıysa kenarda gri boşluk kalır */
  transition: transform .6s var(--ease);
}
.product-tile:hover .product-tile-img img { transform: scale(1.05); }
.product-tile-body { position: relative; padding: 18px 64px 22px 20px; flex: 1; }
.product-tile-body h3 { font-size: 1.12rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.3; }
.product-tile-body p { color: var(--muted); font-size: .88rem; margin: 0; }
.tile-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.product-tile:hover .tile-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 56px; }
.pager a {
  font-family: var(--f-mono);
  font-size: .85rem;
  min-width: 44px;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.pager a:hover { border-color: var(--ink); }
.pager a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.empty-state i { font-size: 2rem; color: var(--steel); display: block; margin-bottom: 10px; }
.empty-state p { margin: 0; }

/* =====================================================================
   ÜRÜN DETAY
   ===================================================================== */
.product-top { padding: 40px 0 104px; }
.gallery-main {
  position: relative;
  aspect-ratio: 1 / .9;
  background: #e9e7e2;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;       /* detayda ürünün tamamı görünsün, kırpılmasın */
}
.gallery-main .crop { border-color: var(--ink); }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.gallery-thumbs .thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: #e9e7e2;
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb:hover { border-color: var(--steel); }
.gallery-thumbs .thumb.active { border: 2px solid var(--accent); }

.product-info { position: sticky; top: calc(var(--header-h) + 32px); }
.product-info h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 14px 0 18px;
}
.product-short { font-size: 1.12rem; color: var(--muted); line-height: 1.6; }
.spec-block { margin-top: 30px; padding-top: 16px; border-top: 2px solid var(--ink); }
.spec-block .content-body { margin-top: 10px; }
.quote-box {
  margin-top: 34px;
  background: var(--ink);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-box strong { display: block; font-family: var(--f-display); font-size: 1.15rem; }
.quote-box small { display: block; color: var(--on-dark); margin-top: 4px; font-size: .9rem; }
.quote-box .btn-brand { align-self: flex-start; }

@media (max-width: 991.98px) {
  .product-info { position: static; }
}

/* =====================================================================
   KALİTE BELGELERİ
   ===================================================================== */
.cert-list { border-top: 2px solid var(--ink); }
.cert-row {
  display: grid;
  grid-template-columns: 56px 230px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.cert-num { font-family: var(--f-mono); font-size: .85rem; color: var(--accent); padding-top: 6px; }
.cert-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: border-color .2s;
}
.cert-thumb img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.cert-thumb:hover { border-color: var(--ink); }
.zoom-hint {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
}
.cert-thumb:hover .zoom-hint, .cert-thumb:focus-visible .zoom-hint { opacity: 1; }
.cert-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 14px; }
.cert-body p { color: var(--muted); line-height: 1.75; max-width: 48rem; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.cert-meta dt { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.cert-meta dd { font-family: var(--f-mono); font-size: .95rem; color: var(--ink); margin: 4px 0 0; }

@media (max-width: 767.98px) {
  .cert-row { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .cert-thumb { max-width: 260px; }
}

.cert-modal .modal-content { border: 0; border-radius: 0; }
.cert-modal .modal-header { border-bottom: 1px solid var(--line); }
.cert-modal .modal-title { font-family: var(--f-display); font-weight: 700; }

/* Eski sertifika kartı (geriye dönük) */
.cert-card { background: #fff; border: 1px solid var(--line); padding: 30px; text-align: center; height: 100%; }

/* =====================================================================
   KURUMSAL KARTLAR (Hakkımızda)
   ===================================================================== */
.corp-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.corp-card i { display: block; font-size: 1.9rem; color: var(--accent); margin: 40px 0 14px; }
.corp-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 22px; transition: color .25s; }
.corp-num { position: absolute; top: 24px; right: 26px; font-family: var(--f-mono); font-size: .75rem; color: var(--steel); }
.corp-card:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.corp-card:hover h3, .corp-card:hover .link-arrow { color: #fff; }

/* =====================================================================
   İLETİŞİM
   ===================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  border: 1px solid var(--line);
}
.contact-panel { background: var(--ink); color: #fff; padding: 44px 40px; }
.contact-panel .mono-label { color: var(--on-dark-2); }
.contact-big {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 6px;
}
.contact-big:hover { color: var(--accent); }
.contact-mail { display: block; color: #f3a566; margin-bottom: 36px; word-break: break-all; }
.contact-mail:hover { color: #fff; }
.contact-list { margin: 0; }
.contact-list > div { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.contact-list dt {
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.contact-list dt i { color: var(--accent); margin-right: 4px; }
.contact-list dd { margin: 6px 0 0; color: #e4e6e9; }

.contact-form-area { padding: 44px 48px; background: var(--white); }
.line-form label {
  display: block;
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}
.line-form .form-control {
  border: 0;
  border-bottom: 1.5px solid #cfcbc3;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s;
}
.line-form textarea.form-control { resize: vertical; min-height: 140px; }
.line-form .form-control:focus { box-shadow: none; border-color: var(--accent); }
.form-hint { font-family: var(--f-mono); font-size: .72rem; color: var(--steel); }

.form-success {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.form-success i { font-size: 2rem; color: var(--accent); line-height: 1; }
.form-success strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }
.form-success p { margin: 6px 0 0; color: var(--muted); }
.form-errors { border-left: 4px solid #c0392b; background: #fbefed; padding: 16px 20px; margin-bottom: 28px; }
.form-errors ul { margin: 0; padding-left: 18px; color: #8a1f14; }

.map-frame {
  position: relative;
  margin-top: 56px;
  width: 100%;
  height: 440px;
  line-height: 0;
  border: 1px solid var(--line);
  filter: grayscale(.85) contrast(1.05);
  transition: filter .4s;
}
.map-frame:hover { filter: none; }
.map-frame iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  position: absolute !important;
  top: 0; left: 0;
}

@media (max-width: 991.98px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-panel, .contact-form-area { padding: 32px 24px; }
}

/* Geriye dönük: eski iletişim kartı */
.contact-info-card { background: var(--paper); padding: 30px; height: 100%; }

/* =====================================================================
   ZENGİN METİN (admin editöründen gelen içerik)
   ===================================================================== */
.content-body { line-height: 1.8; color: #3b3f44; }
.content-lg { font-size: 1.075rem; }
.content-body h1, .content-body h2, .content-body h3, .content-body h4 { margin: 1.6em 0 .6em; letter-spacing: -0.02em; }
.content-body h2 { font-size: 1.7rem; font-weight: 800; }
.content-body h3 { font-size: 1.3rem; }
.content-body > :first-child { margin-top: 0; }
.content-body p { margin-bottom: 1.1em; }
.content-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.content-body img { max-width: 100%; height: auto; }
.content-body ul, .content-body ol { padding-left: 1.3em; }
.content-body li { margin-bottom: .4em; }
.content-body ul li::marker { color: var(--accent); }
.content-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 1.6em 0;
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--ink);
}
.content-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.content-body table td, .content-body table th { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.content-body table tr:first-child td, .content-body table tr:first-child th { border-top: 1px solid var(--line); }
.content-body table td:first-child { font-weight: 600; color: var(--ink); }
.intro-block { max-width: 48rem; margin-bottom: 56px; color: var(--muted); }

/* =====================================================================
   404
   ===================================================================== */
.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 12px; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.footer-top { padding: 80px 0 56px; border-bottom: 1px solid var(--line-dark); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cta .mono-label { color: var(--on-dark-2); }
.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  transition: color .25s;
}
.footer-cta-link i { font-size: .7em; color: var(--accent); transition: transform .3s var(--ease); }
.footer-cta-link:hover { color: var(--accent); }
.footer-cta-link:hover i { transform: translate(6px, -6px); }

.footer-cols { padding: 56px 0 48px; }
.footer-brand { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.footer-tagline { color: var(--on-dark-2); max-width: 24rem; margin: 10px 0 22px; font-size: .95rem; }
.site-footer h6.mono-label { color: var(--on-dark-2); margin-bottom: 18px; font-family: var(--f-mono); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #d3d6da; font-size: .95rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .93rem;
}
.footer-contact li:first-child { padding-top: 0; }
.footer-contact .k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; }
.footer-contact .v { color: #dfe1e4; }
.footer-contact a.v:hover { color: var(--accent); }

.social-links { display: flex; gap: 8px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
  color: var(--on-dark-2);
}
.footer-bottom .mono-label { color: var(--on-dark-2); }
.footer-wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 23vw;
  line-height: .78;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
  margin-bottom: -2.2vw;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* =====================================================================
   YUKARI ÇIK
   ===================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: #fff; }

/* =====================================================================
   KAYDIRINCA BELİRME
   ===================================================================== */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   MOBİL
   ===================================================================== */
@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .section { padding: 72px 0; }
  .section-tight { padding-top: 40px; }
  .hero { padding: 56px 0 72px; }
  .hero-stage { grid-template-columns: 1fr; gap: 44px; }
  .stage-frame { max-width: 380px; width: 100%; margin: 0 auto; }
  .page-hero { padding: 40px 0 52px; }
  .page-hero .mono-label { margin-top: 28px; }
  .cta-inner { padding: 60px 0; }
  .framed-image::before { right: -10px; }
}
@media (max-width: 575.98px) {
  .container-xl { padding-left: 18px; padding-right: 18px; }
  .stage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 0; }
  .stage-item { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 12px; }
  .si-text small { display: none; }
  .si-text strong { font-size: .92rem; }
  .stage-bignum { font-size: 7rem; top: -40px; right: -12px; }
  .hero-certs { gap: 16px 28px; }
  .footer-top { padding: 56px 0 40px; }
  .cta-button { width: 100%; justify-content: center; }
}
