/* =========================================================
   Solution Plus Consulting — solutionplus.com.tr
   Tasarım sistemi
   Renkler doğrudan kurumsal logodan örneklenmiştir.
   Yapısal motif: SAP PP rotasındaki operasyon şeridi
   (0010 / 0020 / 0030 ...) — "üretim hattı" çizgisi.
   ========================================================= */

:root {
  /* Logodan örneklenen renkler */
  --cyan:    #01a8d4;
  --blue:    #197ce1;
  --indigo:  #3052f1;
  --violet:  #6a11e0;
  --magenta: #fd52ff;

  /* Nötrler */
  --ink:       #0b0d1c;
  --ink-soft:  #191d33;
  --slate:     #5d6784;
  --slate-2:   #8b93a9;
  --line:      #dde3ed;
  --line-dark: #262b46;
  --paper:     #ffffff;
  --paper-2:   #f4f6fa;

  --rail: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 34%, var(--violet) 68%, var(--magenta) 100%);
  --rail-v: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 34%, var(--violet) 68%, var(--magenta) 100%);

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1200px;
  --gutter: 24px;

  /* Başlık ölçüleri. Logoyu büyütmek için tek yer: --logo-h.
     --topbar-h onunla birlikte ayarlanır; mobil menünün üstten
     konumu ve çapa kaydırma payı da bu değişkeni kullanır,
     böylece hiçbir yerde kayma olmaz. */
  --logo-h: 72px;
  --topbar-h: 104px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Temel ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* #pp gibi çapalar sabit başlığın altında kalmasın */
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--slate); max-width: 62ch; line-height: 1.62; }
.narrow { max-width: 78ch; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
  font-family: var(--font-mono); font-size: .82rem;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Mono etiket (eyebrow) ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-2);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.eyebrow .op { color: var(--ink); }

/* ---------- Üst bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: ""; display: block; height: 2px; background: var(--rail);
  transform: scaleX(var(--scroll, 0)); transform-origin: 0 50%;
  transition: transform .08s linear;
}

.topbar-in {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--topbar-h);
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand img { height: var(--logo-h); width: auto; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.08; }
.brand-txt b { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.025em; white-space: nowrap; }
/* Not: text-transform kullanılmıyor. lang="tr" altında tarayıcı "i" harfini
   "İ" yapar ve "CONSULTİNG" çıkar; bu yüzden metin doğrudan büyük yazılır. */
.brand-txt span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .21em; text-transform: none; color: var(--slate-2); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .93rem; font-weight: 500; white-space: nowrap;
  padding: 9px 13px; border-radius: var(--radius); color: var(--ink-soft);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--violet); }
.nav a.btn-primary { color: #fff; }

/* Dil seçici */
.langs { display: flex; align-items: center; gap: 1px; margin: 0 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.langs a.lang {
  font-family: var(--font-mono); font-size: .71rem; font-weight: 500; letter-spacing: .08em;
  padding: 7px 8px; border-radius: 3px; color: var(--slate-2); text-decoration: none;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.langs a.lang:hover { background: var(--paper-2); color: var(--ink); }
.langs a.lang.on { color: var(--ink); background: var(--paper-2); }
.nav a.btn-primary:hover { background: var(--ink-soft); }

.navtoggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  padding: 13px 22px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 0 0 var(--violet) inset, 0 -3px 0 -1px var(--magenta) inset;
}
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 16px; font-size: .88rem; }

.on-dark .btn-ghost { background: transparent; color: #fff; border-color: var(--line-dark); }
.on-dark .btn-ghost:hover { border-color: var(--slate-2); }
.on-dark .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 -3px 0 -1px var(--violet) inset; }
.on-dark .btn-primary:hover { background: #eef1f7; }

/* Koyu zeminde etiket renkleri */
.on-dark .eyebrow { color: var(--slate-2); }
.on-dark .eyebrow .op { color: #fff; }
.on-dark .eyebrow::after { background: var(--line-dark); }

/* ---------- Bölüm ritmi ---------- */

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--paper-2); }
.section-dark {
  background: var(--ink); color: #fff;
  border-top: 0 !important;
}
.section-dark .lede,
.section-dark .eyebrow { color: var(--slate-2); }
.section-dark .eyebrow::after { background: var(--line-dark); }
.section-dark .eyebrow .op { color: #fff; }

.head { max-width: 68ch; margin-bottom: clamp(38px, 5vw, 58px); }

/* =========================================================
   HERO — hattın başlangıcı
   ========================================================= */

.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 0; }

.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,13,28,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,13,28,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero-in { position: relative; z-index: 1; }

.hero h1 { max-width: 17ch; margin-bottom: 26px; }
.hero h1 .grad {
  background: var(--rail); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lede { max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* İmza öğesi: rota şeridi */
.railwrap { margin-top: clamp(52px, 7vw, 88px); }

.rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.rail::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%;
  background: var(--rail);
  transform: scaleX(0); transform-origin: 0 50%;
  animation: draw 1.5s var(--ease) .25s forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

.station { padding: 22px 20px 26px 0; position: relative; }
.station::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 2px; height: 13px;
  background: var(--ink);
}
.station .op {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--slate-2); display: block; margin-bottom: 8px;
}
.station b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -.02em; display: block; margin-bottom: 5px;
}
.station span.d { font-size: .87rem; color: var(--slate); line-height: 1.5; display: block; }

/* ---------- Rakam şeridi ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.section-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat { background: var(--paper); padding: 30px 26px; }
.section-dark .stat { background: var(--ink); }
.stat b {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1; display: block; margin-bottom: 10px;
}
.stat span { font-family: var(--font-mono); font-size: .73rem; letter-spacing: .11em; text-transform: uppercase; color: var(--slate); }
.section-dark .stat span { color: var(--slate-2); }

/* ---------- Hizmet kartları ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--paper); padding: 32px 28px 34px;
  display: flex; flex-direction: column;
  position: relative; text-decoration: none;
  transition: background .2s var(--ease);
}
a.card:hover { background: var(--paper-2); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--rail); opacity: 0; transition: opacity .2s var(--ease);
}
a.card:hover::after { opacity: 1; }
.card .mod {
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 16px; display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--slate); margin-bottom: 18px; }
.card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.card ul li {
  font-size: .89rem; color: var(--slate); padding-left: 17px; position: relative; margin-bottom: 6px;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1px; background: var(--violet);
}
.card .more {
  margin-top: auto; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 7px; align-items: center;
}

/* ---------- Modül künyesi (hizmetler sayfası) ---------- */

.mods { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mod-row {
  background: var(--paper); display: grid; grid-template-columns: 190px 1fr;
  gap: 32px; padding: 34px 30px;
}
.mod-key { }
.mod-key .code {
  font-family: var(--font-display); font-weight: 800; font-size: 1.65rem; letter-spacing: -.03em;
  display: block; margin-bottom: 6px;
}
.mod-key .code em {
  font-style: normal;
  background: var(--rail); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mod-key .sub { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
.mod-body h3 { margin-bottom: 12px; }
.mod-body p { color: var(--slate); font-size: .97rem; }
.taglist { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-family: var(--font-mono); font-size: .71rem; letter-spacing: .07em;
  border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px; color: var(--slate);
  background: var(--paper-2);
}

/* ---------- Referans ızgarası ---------- */

.refs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.ref { background: var(--ink); padding: 28px 24px 26px; display: flex; flex-direction: column; }

/* Koyu kartlarda logolar beyaz bir plaka üzerinde durur.
   Beyaza çevirme filtresi kullanılmıyor: İş GYO ve TP OTC gibi
   renkli kutu içine beyaz çizilmiş logolar filtreyle tek parça
   beyaz bloğa dönüşüyordu. Plaka hem okunurluğu korur hem de
   marka renklerine dokunmaz. */
.ref-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: max-content; max-width: 100%; min-height: 56px;
  padding: 6px 10px; margin-bottom: 18px;
  background: #fff; border-radius: var(--radius);
}
/* Görseller tek orana (540x150) hazırlandığı için sabit yükseklik
   verildiğinde bütün plakalar aynı boyutta çıkıyor. */
.ref-logo img { height: 44px; width: auto; object-fit: contain; }
.ref-logo.is-text {
  background: transparent; padding: 0; min-height: 54px; justify-content: flex-start;
}
.ref-logo.is-text::after {
  content: attr(data-name);
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.025em;
  color: #fff; line-height: 1.1;
}
.ref-meta { font-family: var(--font-mono); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin: 0 0 10px; }
.ref-desc { font-size: .88rem; color: #b9c0d2; margin: 0; line-height: 1.55; }

/* Açık zeminli logo şeridi */
.logostrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logostrip .ref-logo {
  background: var(--paper); margin: 0; width: auto; min-height: 100px; height: 100px;
  justify-content: center; padding: 0 18px; border-radius: 0;
}
.logostrip .ref-logo img {
  height: 46px; width: auto; max-width: 100%;
  filter: grayscale(1); opacity: .58; transition: filter .2s var(--ease), opacity .2s var(--ease);
}
.logostrip .ref-logo:hover img { filter: none; opacity: 1; }
.logostrip .ref-logo.is-text { background: var(--paper); padding: 0 18px; min-height: 100px; justify-content: center; }
.logostrip .ref-logo.is-text::after { color: var(--ink-soft); font-size: 1.02rem; text-align: center; }
.logostrip .more-cell {
  background: var(--paper); height: 100px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); gap: 8px;
}
.logostrip .more-cell:hover { background: var(--paper-2); color: var(--violet); }

/* ---------- Sektör listesi ---------- */

.sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors li {
  list-style: none;
  font-size: .9rem; padding: 8px 15px; border: 1px solid var(--line);
  border-radius: 100px; color: var(--ink-soft); background: var(--paper);
}
.sectors { padding: 0; margin: 0; }
/* Koyu zeminde beyaz dolgu yerine ince çerçeve daha okunaklı */
.section-dark .sectors li { background: transparent; border-color: var(--line-dark); color: #cdd3e0; }

/* ---------- Süreç (dikey rota) ---------- */

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li {
  display: grid; grid-template-columns: 92px 1fr; gap: 28px;
  padding: 26px 0; border-top: 1px solid var(--line); position: relative;
}
.section-dark .flow li { border-color: var(--line-dark); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.section-dark .flow li:last-child { border-color: var(--line-dark); }
.flow .op {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--slate-2);
  padding-top: 4px;
}
.flow li > div { max-width: 74ch; }
.flow h3 { margin-bottom: 7px; }
.flow p { color: var(--slate); font-size: .95rem; margin: 0; }
.section-dark .flow p { color: #b9c0d2; }

/* ---------- İki sütun ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.split-4060 { grid-template-columns: .82fr 1.18fr; }

/* ---------- Alıntı / vurgu bloğu ---------- */

.pull {
  border-left: 3px solid transparent;
  border-image: var(--rail-v) 1;
  padding: 4px 0 4px 26px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.35;
}

/* ---------- CTA şeridi ---------- */

.cta-band { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #b9c0d2; max-width: 52ch; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- İletişim ---------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }

.dl { margin: 0; }
.dl div { padding: 20px 0; border-top: 1px solid var(--line); }
.dl div:last-child { border-bottom: 1px solid var(--line); }
.dl dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 6px; }
.dl dd { margin: 0; font-size: 1.02rem; }
.dl dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.dl dd a:hover { border-color: var(--violet); color: var(--violet); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); width: 100%;
  transition: border-color .16s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(48,82,241,.12); }
.field textarea { min-height: 148px; resize: vertical; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.formnote { font-size: .84rem; color: var(--slate-2); }

.alert { padding: 15px 18px; border-radius: var(--radius); font-size: .94rem; border: 1px solid; }
.alert-ok { background: #eefaf6; border-color: #b6e5d6; color: #12684f; }
.alert-err { background: #fdeef3; border-color: #f4c2d4; color: #a01446; }

/* ---------- Alt bilgi ---------- */

.footer { background: var(--ink); color: #b9c0d2; padding: 64px 0 30px; font-size: .92rem; }
.footer a { color: #b9c0d2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .71rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .flogo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer .flogo img { height: 48px; width: auto; }
.footer .flogo b { font-family: var(--font-display); color: #fff; font-size: 1.14rem; letter-spacing: -.02em; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .82rem; color: var(--slate-2); }
.footer-bottom .rail-mini { height: 2px; width: 100%; background: var(--rail); margin-bottom: 24px; }

/* ---------- Yasal / metin sayfaları ---------- */

.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--slate); }
.prose li { margin-bottom: .5em; }

/* ---------- Görünüme giriş animasyonu ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Duyarlı ---------- */

/* 1200 pikselin altında menü kalabalıklaşıyor: yazıyı ve boşlukları kıs */
@media (max-width: 1240px) {
  .nav a { padding: 9px 9px; font-size: .89rem; }
  .langs { padding-left: 8px; margin: 0 2px; }
  .langs a.lang { padding: 6px 5px; font-size: .68rem; }
  .brand-txt b { font-size: 1.1rem; }
  .topbar-in { gap: 12px; }
}

@media (max-width: 1080px) {
  .refs { grid-template-columns: repeat(3, 1fr); }
  .logostrip { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .station:nth-child(n+4) { border-top: 1px solid var(--line); }
}

/* 6 sayfa + 6 dil + buton yan yana ancak 1160 pikselden sonra rahat
   sığıyor; altında hamburger menüye geçiliyor. */
@media (max-width: 1160px) {
  :root { --logo-h: 56px; --topbar-h: 84px; }
  .nav a { font-size: .95rem; }
  .nav {
    position: fixed; inset: var(--topbar-h) 0 auto; background: var(--paper);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 22px; gap: 2px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .nav .langs { margin: 10px 0 0; padding: 0; border-left: 0; gap: 4px; }
  .nav .langs a.lang { border-bottom: 0; padding: 9px 12px; border: 1px solid var(--line); }
  .navtoggle { display: inline-block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split-4060, .contact-grid { grid-template-columns: 1fr; }
  .mod-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .refs, .logostrip { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .station { padding: 18px 0 20px; border-top: 1px solid var(--line); }
  .station:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .flow li { grid-template-columns: 1fr; gap: 8px; }
}

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

@media print {
  .topbar, .cta-band, .navtoggle { display: none; }
  body { font-size: 12pt; color: #000; }
}
