/* ============ RESET + BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1b2438;
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
  --navy: #1a2947;
  --navy-dark: #14203a;
  --blue: #2b6bb8;
  --blue-dark: #1f5293;
  --gray-bg: #f3f4f6;
  --text: #1b2438;
  --muted: #6b7280;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 1px solid currentColor;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.btn-outline-light { color: #fff; border-color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-dark {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-solid-red {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.btn-solid-red:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.cta-lang {
  background: var(--blue);
  color: #fff !important;
  padding: .6rem 1.15rem;
  letter-spacing: .04em;
}
.cta-lang:hover { background: var(--blue-dark); }
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .25em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
}
.red { color: var(--blue); }

/* ============ NOSCRIPT FALLBACK ============ */
/* Header ve footer partials/header.js + partials/footer.js ile enjekte edilir.
   JavaScript devre dışıysa (veya bir hata nedeniyle çalışmazsa) navigasyon ve
   iletişim bilgisi tamamen kaybolmasın diye statik bir yedek sunulur.
   Bu blok yalnızca <noscript> içinde render edilir. */
.noscript-nav {
  position: relative;
  z-index: 60;
  background: var(--navy);
  color: #fff;
  padding: .9rem 6%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  font-size: .9rem;
}
.noscript-nav .noscript-brand {
  font-weight: 700;
  letter-spacing: .1em;
  margin-right: auto;
}
.noscript-nav a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.noscript-nav a:hover { border-bottom-color: #fff; }
.noscript-foot {
  background: var(--gray-bg);
  color: var(--text);
  padding: 1.25rem 6%;
  font-size: .85rem;
  line-height: 1.7;
}
.noscript-foot a { text-decoration: underline; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: #fff;
  background: transparent;
  transition: background .28s ease, box-shadow .28s ease, color .28s ease;
}
.site-header.scrolled {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 16px rgba(15,26,48,.08);
}
.site-header.scrolled .logo,
.site-header.scrolled .main-nav a,
.site-header.scrolled .lang,
.site-header.scrolled .search-btn { color: var(--navy); }
.site-header.scrolled .cta-lang { color: #fff !important; }
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-header.scrolled .nav-inner { padding: .8rem 2rem; }

/* Mobile hamburger toggle button */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  color: inherit;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top .25s, transform .25s, opacity .2s, background .25s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.nav-open .nav-toggle { color: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Cloned lang switch (inside mobile menu) — hidden by default on desktop */
.lang-switch-mobile { display: none !important; }

/* Search overlay panel */
.search-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 16, 32, .55);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.search-panel.open {
  opacity: 1;
  visibility: visible;
}
.search-panel-inner {
  background: #fff;
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.search-panel.open .search-panel-inner {
  transform: translateY(0);
}
.search-form {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.search-icon-left {
  color: var(--muted);
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  border: 0;
  padding: .7rem 0;
  font-size: 1.5rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  background: transparent;
  border-bottom: 2px solid #e3e7ee;
  transition: border-color .2s;
  letter-spacing: -.01em;
}
.search-input::placeholder { color: #9aa3b2; font-weight: 400; }
.search-input:focus { border-bottom-color: var(--blue); }
.search-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: .5rem;
  border-radius: 50%;
  transition: background .2s, color .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.search-close:hover {
  background: var(--gray-bg);
  color: var(--navy);
}

/* Search results dropdown */
.search-results {
  max-width: 1400px;
  margin: 0 auto;
  max-height: 0;
  overflow-y: auto;
  transition: max-height .25s ease, padding .2s ease;
  padding: 0 2rem;
}
.search-results.has-results {
  max-height: min(60vh, 540px);
  padding: 0 2rem 1.5rem;
  border-top: 1px solid #eef1f5;
}
.search-result {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eef1f5;
  color: var(--navy);
  transition: padding-left .2s, background .15s;
}
.search-result:hover {
  background: var(--gray-bg);
  padding-left: .8rem;
}
.search-result:last-child { border-bottom: 0; }
.search-result-type {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--blue);
  text-transform: uppercase;
}
.search-result-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.search-result-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.search-result-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.search-result mark {
  background: rgba(43, 107, 184, .18);
  color: var(--blue);
  padding: 0 .1em;
  border-radius: 2px;
}
.search-result-arrow {
  color: var(--muted);
  font-size: 1.2rem;
  transition: transform .2s, color .2s;
}
.search-result:hover .search-result-arrow {
  color: var(--blue);
  transform: translateX(4px);
}
.search-empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

/* Pagination states */
.pagination .page-link.disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .95rem;
  color: #fff;
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .28s ease, height .28s ease;
}
.site-header.scrolled .logo-img {
  filter: none;
  height: 52px;
}
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center; /* Galeri <button>'ı dolgusuyla birlikte linklerle aynı hizaya gelsin */
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  opacity: .95;
  padding: .4rem 0;
  position: relative;
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switch {
  position: relative;
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
}
/* Toggle button */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  color: inherit;
  font: inherit;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .08); }
.site-header.scrolled .lang-toggle {
  border-color: rgba(15, 26, 48, .25);
  color: var(--navy);
}
.site-header.scrolled .lang-toggle:hover { background: rgba(15, 26, 48, .05); }
.lang-toggle-code {
  font-size: .88rem;
  letter-spacing: .08em;
}
.lang-toggle-chevron {
  transition: transform .22s ease;
  opacity: .85;
}
.lang-switch[data-open="true"] .lang-toggle-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  min-width: 180px;
  background: #14213c;
  color: #fff;
  padding: .25rem 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.lang-switch[data-open="true"] .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: grid;
  grid-template-columns: 36px 1fr 16px;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: background .15s, color .15s;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.lang-option:last-child { border-bottom: 0; }
.lang-option:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.lang-option .lang-code {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.lang-option .lang-name {
  font-size: .85rem;
  font-weight: 500;
}
.lang-option .lang-check {
  width: 14px;
  height: 14px;
}
.lang-option .lang-check {
  visibility: hidden;
  color: var(--blue);
  justify-self: end;
}
.lang-option-active {
  background: rgba(43, 107, 184, .18);
}
.lang-option-active,
.lang-option-active .lang-code,
.lang-option-active .lang-name {
  color: var(--blue);
}
.lang-option-active .lang-check { visibility: visible; }
.lang {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}
.search-btn {
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  padding: .25rem;
}
/* header.js ikonu width/height="18" ile basıyor; CSS burada onu ezer */
.search-btn svg {
  width: 23px;
  height: 23px;
}

/* --- Katalog butonu (Teklif Al'ın yanında, ikincil/çerçeveli) --- */
.nav-catalog {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: calc(.6rem - 1px) 1rem;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.55;
  white-space: nowrap;
  /* Yalnız ikon kaldığında da Teklif Al ile aynı boyda kalsın (satır + dolgu) */
  min-height: calc(1.55em + 1.2rem);
  transition: background .15s, color .15s, border-color .15s;
}
.nav-catalog svg { flex-shrink: 0; }
.nav-catalog:hover,
.nav-catalog.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.site-header.scrolled .nav-catalog { color: var(--navy); border-color: rgba(15, 26, 48, .3); }
.site-header.scrolled .nav-catalog:hover,
.site-header.scrolled .nav-catalog.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-lang { white-space: nowrap; }

/* --- Menü: açılır alt menü (Galeri) --- */
.main-nav .has-sub { position: relative; }
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  border: 0;
  padding: .4rem 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: inherit;
  color: #fff;
  opacity: .95;
  cursor: pointer;
  position: relative;
}
.site-header.scrolled .nav-sub-toggle { color: var(--navy); }
.nav-sub-chevron { transition: transform .22s ease; opacity: .8; }
.has-sub.is-open .nav-sub-chevron { transform: rotate(180deg); }
.nav-sub-toggle:hover::after,
.nav-sub-toggle.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}
.nav-sub-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* --- Pasif menü öğesi (E-Satış geçici olarak kapalı) — bağlantı değil, tıklanmaz --- */
.nav-disabled {
  display: inline-block;
  padding: .4rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  opacity: .45;
  cursor: not-allowed;
  user-select: none;
}
.site-header.scrolled .nav-disabled { color: var(--navy); }
.noscript-nav .nav-disabled { padding: 0; font-size: inherit; opacity: .5; }

.main-nav .nav-sub {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  margin-top: .9rem;
  padding: .4rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 26, 48, .18);
  border-top: 3px solid var(--blue);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 100;
}
/* Başlık ile panel arasındaki boşlukta fare kaçmasın diye görünmez köprü */
.main-nav .nav-sub::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(-.9rem - 3px);
  height: calc(.9rem + 3px);
}
.has-sub.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.main-nav .nav-sub a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .85rem;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 600;
  opacity: 1;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.main-nav .nav-sub a svg { color: var(--blue); flex-shrink: 0; }
.main-nav .nav-sub a::after,
.main-nav .nav-sub a.is-active::after { display: none; }
.main-nav .nav-sub a:hover,
.main-nav .nav-sub a:focus-visible { background: var(--gray-bg); color: var(--blue); outline: none; }
.main-nav .nav-sub a.is-active { color: var(--blue); background: rgba(43, 107, 184, .08); }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #0b0d10;
}
/* Smooth fade from hero video into the blue Solutions section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15, 66, 153, .15) 35%,
    rgba(15, 66, 153, .55) 70%,
    #0f4299 100%
  );
  z-index: 2;
  pointer-events: none;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: #000;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  border: 0;
  pointer-events: none;
}
.video-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: auto;
  cursor: default;
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.hero-overlay { z-index: 1; }
.hero-text { z-index: 3; }
.scroll-down { z-index: 4; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, #d9b889 0%, #a7845a 35%, #4e3a28 70%, #1a130c 100%);
  filter: saturate(1.05) contrast(1.05);
}
.hero-bg::before {
  /* main silhouette (suited figure center) */
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 38%; height: 95%;
  background:
    radial-gradient(ellipse at 50% 10%, #2a2420 0%, #2a2420 25%, transparent 60%),
    linear-gradient(to bottom, #1d1916 0%, #0d0a08 100%);
  -webkit-mask: radial-gradient(ellipse 60% 92% at 50% 88%, #000 60%, transparent 100%);
          mask: radial-gradient(ellipse 60% 92% at 50% 88%, #000 60%, transparent 100%);
}
.hero-bg::after {
  /* side silhouettes (soldiers) */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 14% 55% at 12% 85%, #1a140e 55%, transparent 75%),
    radial-gradient(ellipse 10% 45% at 28% 82%, #14100b 55%, transparent 75%),
    radial-gradient(ellipse 10% 45% at 72% 82%, #14100b 55%, transparent 75%),
    radial-gradient(ellipse 14% 55% at 88% 85%, #1a140e 55%, transparent 75%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
/* ARAT trucks / road hero */
.hero-bg-arat {
  background:
    radial-gradient(ellipse at 70% 50%, #3b465a 0%, #1e2736 40%, #0b1220 100%) !important;
}
.hero-bg-arat::before {
  /* road + horizon */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background:
    linear-gradient(to bottom, #2b3445 0%, #0f141e 100%);
  -webkit-mask: none; mask: none;
  transform: none;
  width: 100%;
}
.hero-bg-arat::after {
  /* truck silhouettes on the road */
  content: "";
  position: absolute; inset: 0;
  background:
    /* big truck center-right */
    linear-gradient(to top, #0a0e16 0%, #0a0e16 6%, transparent 6%) 0 0 / 100% 60% no-repeat,
    radial-gradient(ellipse 22% 14% at 65% 70%, #141923 55%, transparent 72%),
    radial-gradient(ellipse 14% 10% at 30% 72%, #141923 55%, transparent 72%),
    radial-gradient(ellipse 10% 8% at 85% 70%, #141923 55%, transparent 72%),
    /* headlight glow */
    radial-gradient(ellipse 8% 5% at 60% 68%, rgba(255,220,160,.35) 0%, transparent 60%);
}
.hero-text {
  position: absolute;
  left: 6%;
  bottom: 28%;
  top: auto;
  transform: none;
  max-width: 620px;
  color: #fff;
  z-index: 3;
}
.hero-text .kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .3em;
  font-weight: 700;
  color: #fff;
  opacity: .9;
  padding: .35rem .7rem;
  border-left: 3px solid var(--blue);
  margin-bottom: 1.2rem;
}
.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-text p {
  font-size: 1rem;
  opacity: .92;
  max-width: 520px;
  margin-bottom: 1.6rem;
}
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.scroll-down {
  position: absolute;
  left: 50%; bottom: 3rem;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  z-index: 3;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============ STATS (centered, animated) ============ */
.stats-section {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 2.5rem 2rem;
}
.stats-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  min-width: 180px;
  padding: .5rem 1.5rem;
}
.stat-item .stat-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
  font-variant-numeric: tabular-nums;
}
.stat-item .stat-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #dfe3ea, transparent);
}

/* Dark gradient variant — top blue, fading to near-black */
.stats-section.stats-on-blue {
  background: linear-gradient(180deg, #0a327a 0%, #06183a 55%, #03081c 100%);
  border: 0;
  padding: 4rem 2rem;
  color: #fff;
}
.stats-on-blue .stat-item .stat-num {
  color: #fff;
}
.stats-on-blue .stat-item .stat-label {
  color: rgba(255, 255, 255, .65);
}
.stats-on-blue .stat-divider {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .22), transparent);
}

/* Stats responsive: 2-column grid on tablet/phone, single column on very small screens */
@media (max-width: 700px) {
  .stats-section {
    padding: 2rem 1.25rem;
  }
  .stats-section.stats-on-blue {
    padding: 3rem 1.25rem;
  }
  .stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem .8rem;
    align-items: start;
  }
  .stat-divider { display: none; }
  .stat-item {
    min-width: 0;
    padding: 0;
  }
  .stat-item .stat-num {
    font-size: 2.2rem;
    margin-bottom: .35rem;
  }
  .stat-item .stat-label {
    font-size: .68rem;
    letter-spacing: .06em;
  }
}
@media (max-width: 360px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ============ FAIR CALENDAR ============ */
.fair-calendar {
  position: relative;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.fair-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.fair-track::-webkit-scrollbar { display: none; }
.fair-item {
  flex: 0 0 auto;
  min-width: 170px;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid #eaecef;
  font-size: .78rem;
}
.fair-item:last-child { border-right: 0; }
.fair-title {
  background: #fff;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 800;
  color: var(--navy);
  padding-left: 2rem;
}
.fair-title .t1 { font-size: .85rem; }
.fair-title .t2 { font-size: .85rem; color: var(--blue); }
.fair-date {
  color: var(--blue);
  font-weight: 700;
  font-size: .72rem;
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.fair-name {
  font-weight: 800;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: .2rem;
}
.fair-loc {
  color: var(--muted);
  font-size: .75rem;
}
.fair-item.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 180px;
  background: linear-gradient(135deg, #f7f8fa 0%, #fff 100%);
}
.fair-item.stat .stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .35rem;
}
.fair-item.stat .stat-label {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}
.fair-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3e6eb;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fair-nav.prev { left: 8px; }
.fair-nav.next { right: 8px; }

/* ============ ABOUT ============ */
.about {
  background: #fff;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--navy);
  color: #fff;
  min-height: 300px;
  overflow: hidden;
}
.about-text {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-end;
}
.about-text p { font-size: .82rem; line-height: 1.7; }
.about-text .btn { align-self: flex-start; }
.about-text .eyebrow { color: #ffb0b6; }
.about-h {
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: .3rem;
}
.about-h .red { color: #ff8a90; }
.about-visual {
  background: linear-gradient(135deg, #1a2947 0%, #0f1a30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 340px;
}
.about-photo {
  background-size: cover;
  background-position: center;
  padding: 0;
}

/* ============ SANCAR ============ */
.sancar {
  background: #fff;
  padding: 1rem 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.sancar-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.sancar-card {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}
.sancar-img {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, #7d94aa 0%, #4e6984 55%, #324760 100%);
}
.sancar-img::before {
  /* water surface stripes */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.05) 0 2px,
      transparent 2px 6px
    ),
    linear-gradient(to bottom, #4d6782 0%, #2b3d54 100%);
}
.sancar-img::after {
  /* boat silhouette */
  content: "";
  position: absolute;
  left: 18%; top: 45%;
  width: 36%; height: 25%;
  background: linear-gradient(to bottom, #4a5c72 0%, #2c3849 100%);
  clip-path: polygon(0% 60%, 15% 20%, 25% 10%, 75% 10%, 90% 25%, 100% 65%, 95% 100%, 10% 100%);
  box-shadow: 0 -20px 40px rgba(0,0,0,.25);
}
/* FRIGO truck variant */
.sancar-img-frigo {
  background:
    url('../images/frigo-kasa.jpg') center/cover no-repeat,
    linear-gradient(to bottom, #e6ecf3 0%, #c1ccd8 55%, #7b8a9c 100%) !important;
}
.sancar-img-frigo::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background:
    repeating-linear-gradient(to right, #333 0 40px, #fff 40px 60px),
    linear-gradient(to bottom, #5a6574 0%, #323a48 100%);
  background-blend-mode: overlay;
}
.sancar-img-frigo::after {
  content: "";
  position: absolute;
  left: 18%; top: 28%;
  width: 60%; height: 48%;
  background:
    /* trailer body */
    linear-gradient(to bottom, #f8f9fb 0%, #dbe1ea 70%, #aab3bf 100%);
  clip-path: polygon(0% 25%, 72% 25%, 72% 0%, 88% 0%, 100% 25%, 100% 100%, 0% 100%);
  box-shadow:
    inset 0 -30px 50px rgba(0,0,0,.15),
    0 20px 40px rgba(0,0,0,.25);
  border-left: 3px solid #9aa5b3;
}
.sancar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(10,16,32,.85) 0%, rgba(10,16,32,.45) 45%, rgba(10,16,32,0) 70%);
  z-index: 1;
}
.sancar-content {
  position: absolute;
  left: 0; bottom: 0; right: auto; top: auto;
  width: 48%;
  background: transparent;
  color: #fff;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .8rem;
  z-index: 2;
}
.sancar-content h2 {
  font-size: 2.3rem;
  letter-spacing: .06em;
  font-weight: 800;
}
.sancar-content .subtitle {
  font-size: 1rem;
  opacity: .85;
  margin-top: -.5rem;
}
.sancar-content .desc {
  font-size: .85rem;
  line-height: 1.7;
  opacity: .92;
}
.sancar-content .btn { align-self: flex-start; margin-top: .5rem; }
.sancar-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3e6eb;
  color: var(--navy);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.sancar-nav.prev { left: -14px; }
.sancar-nav.next { right: -14px; }

/* ============ PROCESS ============ */
.process {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--gray-bg);
}
.process-head { text-align: center; margin-bottom: 2rem; }
.process-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.process-head p { color: var(--muted); font-size: .9rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.process-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--blue);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.process-card .step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  opacity: .15;
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.2rem;
}
.process-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.process-card ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.process-card li {
  font-size: .85rem;
  color: #3c4658;
  padding-left: 1.2rem;
  position: relative;
}
.process-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============ SOLUTIONS GRID ============ */
.solutions {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sol-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background-color: #1a2947;
  background-size: cover;
  background-position: center;
  transition: transform .25s;
}
.sol-card:hover { transform: translateY(-4px); }
.sol-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  z-index: 1;
}
.sol-body { position: relative; z-index: 2; }
.sol-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .3rem;
}
.sol-body span { font-size: .8rem; opacity: .85; }

/* Solution card backgrounds come from inline style url(images/...) with cover sizing */

/* ============ NEWS (shared) ============ */
.news {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  gap: 2rem;
}
.news-head .eyebrow { margin-bottom: .4rem; display: inline-block; }

/* ============ NEWS BLUE — Aselsan-style slider ============ */
.news-blue {
  background: linear-gradient(180deg, #0f4299 0%, #0a327a 100%);
  color: #fff;
  padding: 4rem 0 4rem;
  overflow: hidden;
  position: relative;
  margin-top: 0;
}
.news-blue-inner {
  max-width: none;
  margin: 0;
  padding-left: max(2rem, calc((100vw - 1400px) / 2 + 2rem));
  padding-right: 0;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
}
.news-blue-left {
  padding: 1rem 2rem 1rem 0;
}
.news-blue-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  opacity: .8;
  margin-bottom: .8rem;
  text-transform: uppercase;
}
.news-blue-left h2 {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.news-blue-left p {
  font-size: .92rem;
  line-height: 1.65;
  opacity: .82;
  margin-bottom: 2rem;
  max-width: 260px;
}
.btn-ghost {
  display: inline-block;
  padding: .9rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: all .22s ease;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.news-blue-right {
  position: relative;
  min-width: 0;
}
.news-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 0 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-slider::-webkit-scrollbar { display: none; }
.news-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  background: #fff;
  color: var(--navy);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.news-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
}
.news-slide-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #cfd6e0;
}
.news-slide-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.news-slide-meta {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.news-slide-cat {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--blue);
  text-transform: uppercase;
}
.news-slide-date {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
}
.news-slide-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -.005em;
  transition: color .2s ease;
  margin-top: .2rem;
}
.news-slide:hover h3 { color: var(--blue); }

.news-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.slider-arrow:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.slider-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: all .2s;
  cursor: pointer;
}
.slider-dots span.active {
  background: #fff;
  transform: scale(1.35);
}
.news-head h2 {
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .05em;
}
.news-head .red { color: var(--blue); }
.see-all {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
}
.see-all .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.news-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .25s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .news-img {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ccd3dc;
}
.news-card h3 {
  font-size: 1rem;
  color: var(--navy);
  padding: 1rem 0 .2rem;
  line-height: 1.4;
  font-weight: 700;
  flex-shrink: 0;
}
/* big card (left) — aspect-ratio defines natural height */
.news-card.big .news-img {
  flex: 1 1 auto;
  min-height: 380px;
}
.news-card.big h3 { font-size: 1.15rem; padding-top: 1.2rem; }
/* right column: 2 stacked small cards, equal split, stretching to match big card */
.news-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
  min-height: 0;
}
.news-col .news-card {
  min-height: 0;
}
.news-col .news-card .news-img {
  flex: 1 1 auto;
  min-height: 0;
}
.news-col .news-card h3 {
  font-size: .95rem;
  padding: .9rem 0 .2rem;
}

/* blog image backgrounds are set via inline styles from images/ folder */

/* ============ ÜRÜN IZGARASI (ana sayfa) ============ */
/* karba.com.tr'deki "Yeni Ürünlerimiz" bölümünün birebir karşılığı.
   Slider DEĞİL: tam genişlikte, boşluksuz ızgara (kaynakta isotope grid).
   Ölçülen kaynak değerleri aynen kullanılmıştır:
     karartma  rgba(23,23,23,.8), opacity 0->1, .3s
     görsel    scale(1.1), .3s
     başlık    opacity 0->1 + translate(0,-30%) -> translate(0,-50%), .2s ease-out
               18px / 700 / letter-spacing -1px / uppercase / text-shadow .2 1px 1px 1px
     ürün adı  12px / 400 / radius 2px / padding 2px 9px / margin 8px -2px -15px
     rozet     50x50, radius 0 0 0 25px, top/right -100px -> 0, .3s
   Şehir silueti + yansıma + filigran, kaynaktaki gibi GÖRSELİN İÇİNE gömülüdür
   (images/urun-*-kart.jpg, 1000x775).

   VURGU RENGİ: kaynak sitenin markası kırmızı (#ed1c24). ARAT paleti mavi
   olduğu için tek değişkenle çevrilebilir — aşağıdaki --pcell-accent'i
   var(--blue) yapmak yeterli. */
.products-showcase {
  --pcell-accent: #ed1c24;
  position: relative;
  background: #fff;
  padding: 4.5rem 0 0;
}
.products-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.75rem;
  padding: 0 2rem;
}
.products-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.01em;
}
.products-head h2 strong { font-weight: 800; }
.products-head p {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .95rem;
}

/* Tam genişlik, boşluksuz */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

/* --- Ana sayfa: kaydırmalı ürün şeridi (js/products-slider.js) --- */
/* Temeli yatay kaydırma + snap: JS kapalıyken de parmakla/fareyle kaydırılır.
   Aynı anda görünen kart sayısı --ps-visible ile ayarlanır (masaüstünde 5). */
.products-slider {
  --ps-visible: 5;
  position: relative;
}
.products-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.products-track::-webkit-scrollbar { display: none; }
.products-track .product-cell {
  flex: 0 0 calc(100% / var(--ps-visible));
  scroll-snap-align: start;
}
.ps-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(11, 20, 40, .55);
  color: #fff;
  cursor: pointer;
  transition: background .15s, opacity .2s;
}
.ps-nav:hover { background: var(--blue); }
.ps-nav:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.ps-nav[disabled] { opacity: .25; cursor: default; }
.ps-prev { left: 0; }
.ps-next { right: 0; }
@media (prefers-reduced-motion: reduce) {
  .products-track { scroll-behavior: auto; }
}
@media (max-width: 1300px) { .products-slider { --ps-visible: 4; } }
@media (max-width: 1080px) { .products-slider { --ps-visible: 3; } }
@media (max-width: 820px)  { .products-slider { --ps-visible: 2; } }
@media (max-width: 520px)  { .products-slider { --ps-visible: 1; } }
.product-cell {
  position: relative;
  display: block;
  overflow: hidden;
}
/* Hücre yüksekliğini görselin kendi oranı belirler (kaynaktaki gibi) */
.product-cell img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .3s;
}

/* Karartma katmanı — kaynak: .thumb-info-wrapper::after */
.product-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, .8);
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}

/* Ortada beliren başlık — kaynak: .thumb-info-title (centered-info) */
.product-cell-info {
  position: absolute;
  left: 5%;
  width: 90%;
  top: 50%;
  transform: translate(0, -30%);
  opacity: 0;
  transition: transform .2s ease-out, opacity .2s ease-out;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow: rgba(0, 0, 0, .2) 1px 1px 1px;
  padding: 0;
  z-index: 2;
  pointer-events: none;
}
/* kaynak: .thumb-info-inner */
.product-cell-cat { display: block; }
/* kaynak: .thumb-info-type */
.product-cell-name {
  display: inline-block;
  background-color: var(--pcell-accent);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 8px -2px -15px;
  padding: 2px 9px;
  text-transform: none;
  text-shadow: none;
}

/* Köşe rozeti — kaynak: .thumb-info-action-icon */
.product-cell-badge {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 50px;
  height: 50px;
  background-color: var(--pcell-accent);
  color: #fff;
  border-radius: 0 0 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top .3s, right .3s;
  z-index: 2;
  pointer-events: none;
}

/* --- hover (+ klavye odağı: kaynakta yok, erişilebilirlik için eklendi) --- */
.product-cell:hover::after,
.product-cell:focus-visible::after { opacity: 1; }
.product-cell:hover img,
.product-cell:focus-visible img { transform: scale(1.1); }
.product-cell:hover .product-cell-info,
.product-cell:focus-visible .product-cell-info { opacity: 1; transform: translate(0, -50%); }
.product-cell:hover .product-cell-badge,
.product-cell:focus-visible .product-cell-badge { top: 0; right: 0; }
.product-cell:focus-visible { outline: 3px solid var(--pcell-accent); outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) {
  .product-cell img,
  .product-cell-info,
  .product-cell-badge,
  .product-cell::after { transition-duration: .01ms; }
  .product-cell:hover img { transform: none; }
}

/* Izgara: 6 → 3 → 2 → 1 kolon */
@media (max-width: 1300px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .products-showcase { padding-top: 3rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-cell-info { font-size: 15px; }
}
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

/* Dokunmatik: hover yok, bilgi kalıcı görünür */
@media (hover: none) {
  .product-cell::after { opacity: .55; }
  .product-cell-info { opacity: 1; transform: translate(0, -50%); }
  .product-cell-badge { top: 0; right: 0; }
}

/* ============ REFERANS ŞERİDİ (kayan logo bandı) ============ */
.ref-marquee {
  background: #fff;
  padding: 3rem 0 3.25rem;
  border-bottom: 1px solid #eef1f5;
  overflow: hidden;
}
.ref-marquee-head {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 2rem;
}
.ref-marquee-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}
.ref-marquee-head p {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .9rem;
}
/* Kenarlarda yumuşak geçiş — logolar bandın ucunda sertçe kesilmesin */
.ref-marquee-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
/* 33 logo (x2 kopya). Yarım şerit = 4518px (logo genişlikleri + 33*48px gap);
   ~90 px/sn için süre 50s. Logo ölçüleri değişirse süreyi de güncelle. */
.ref-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: ref-scroll 50s linear infinite;
}
.ref-marquee-viewport:hover .ref-marquee-track { animation-play-state: paused; }
/* Şerit iki kez basılır; %50'de başa dönünce dikiş görünmez */
@keyframes ref-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Tüm logolar aynı OPTİK boyda. Sabit yükseklik vermek yetmiyor: kare mühür
   68x68 = 4624 px² kaplarken 4.7:1 oranındaki yazı logosu aynı yükseklikte
   ~22.000 px² kaplıyor ve devasa görünüyordu. Bu yüzden her logoya, alanı
   ~4624 px²'de sabit tutan kendi ölçüsü veriliyor (aşağıdaki liste
   tools/referans-logo-olculeri.py ile üretildi). Çok dik logolar 72px
   yükseklik tavanına takılır.
   NOT: liste değişirse .ref-marquee-track animation-duration'ı da güncelle. */
.ref-marquee-track img {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .25s, opacity .25s;
}
.ref-marquee-track img[src$="istanbul-buyuksehir-belediyesi.svg"]{width:85px;height:54px}
.ref-marquee-track img[src$="ankara-buyuksehir-belediyesi-logo.svg"]{width:43px;height:72px}
.ref-marquee-track img[src$="izmir-bb-logo.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="bursa-buyuksehir-belediyesi.svg"]{width:50px;height:72px}
.ref-marquee-track img[src$="antalya-buyuksehir-belediyesi.png"]{width:117px;height:40px}
.ref-marquee-track img[src$="adana-buyuksehir-belediyesi.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="konya-buyuksehir-belediyesi.svg"]{width:97px;height:48px}
.ref-marquee-track img[src$="gaziantep-buyuksehir-belediyesi.png"]{width:116px;height:40px}
.ref-marquee-track img[src$="kayseri-buyuksehir-belediyesi.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="mersin-buyuksehir-belediyesi.png"]{width:94px;height:49px}
.ref-marquee-track img[src$="samsun-buyuksehir-belediyesi.svg"]{width:63px;height:72px}
.ref-marquee-track img[src$="kocaeli-buyuksehir-belediyesi.png"]{width:104px;height:44px}
.ref-marquee-track img[src$="sakarya-buyuksehir-belediyesi.svg"]{width:68px;height:68px}
.ref-marquee-track img[src$="denizli-buyuksehir-belediyesi.png"]{width:66px;height:70px}
.ref-marquee-track img[src$="eskisehir-buyuksehir-belediyesi.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="ziraat-bankasi.svg"]{width:148px;height:31px}
.ref-marquee-track img[src$="kaya-filo.png"]{width:115px;height:40px}
.ref-marquee-track img[src$="kaya-ulasim.png"]{width:78px;height:59px}
.ref-marquee-track img[src$="aselsan-logo.svg"]{width:151px;height:31px}
.ref-marquee-track img[src$="tusas.svg"]{width:110px;height:42px}
.ref-marquee-track img[src$="afad-logo.svg"]{width:83px;height:56px}
.ref-marquee-track img[src$="turkiye-cumhuriyeti-saglik-bakanligi.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="cevre-sehircilik-ve-iklim-degisikligi-bakanligi.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="aski.png"]{width:68px;height:68px}
.ref-marquee-track img[src$="tcdd.png"]{width:71px;height:65px}
.ref-marquee-track img[src$="trt.png"]{width:114px;height:41px}
.ref-marquee-track img[src$="halkbank.svg"]{width:80px;height:57px}
.ref-marquee-track img[src$="baskent-universitesi.png"]{width:131px;height:35px}
.ref-marquee-track img[src$="aras-kargo-logo.png"]{width:100px;height:46px}
.ref-marquee-track img[src$="ups-united-parcel-service.png"]{width:61px;height:72px}
.ref-marquee-track img[src$="temsa.png"]{width:127px;height:36px}
.ref-marquee-track img[src$="knauf.png"]{width:85px;height:54px}
.ref-marquee-track img[src$="mutlu-aku.png"]{width:101px;height:46px}
.ref-marquee-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .ref-marquee-track { animation: none; }
  .ref-marquee-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 700px) {
  .ref-marquee { padding: 2.25rem 0 2.5rem; }
  .ref-marquee-track { gap: 1.75rem; animation-duration: 37s; }
  .ref-marquee-track img { width: 48px; height: 48px; }
.ref-marquee-track img[src$="istanbul-buyuksehir-belediyesi.svg"]{width:59px;height:38px}
.ref-marquee-track img[src$="ankara-buyuksehir-belediyesi-logo.svg"]{width:30px;height:50px}
.ref-marquee-track img[src$="izmir-bb-logo.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="bursa-buyuksehir-belediyesi.svg"]{width:35px;height:50px}
.ref-marquee-track img[src$="antalya-buyuksehir-belediyesi.png"]{width:82px;height:28px}
.ref-marquee-track img[src$="adana-buyuksehir-belediyesi.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="konya-buyuksehir-belediyesi.svg"]{width:68px;height:34px}
.ref-marquee-track img[src$="gaziantep-buyuksehir-belediyesi.png"]{width:81px;height:28px}
.ref-marquee-track img[src$="kayseri-buyuksehir-belediyesi.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="mersin-buyuksehir-belediyesi.png"]{width:66px;height:34px}
.ref-marquee-track img[src$="samsun-buyuksehir-belediyesi.svg"]{width:44px;height:50px}
.ref-marquee-track img[src$="kocaeli-buyuksehir-belediyesi.png"]{width:73px;height:31px}
.ref-marquee-track img[src$="sakarya-buyuksehir-belediyesi.svg"]{width:48px;height:48px}
.ref-marquee-track img[src$="denizli-buyuksehir-belediyesi.png"]{width:46px;height:49px}
.ref-marquee-track img[src$="eskisehir-buyuksehir-belediyesi.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="ziraat-bankasi.svg"]{width:104px;height:22px}
.ref-marquee-track img[src$="kaya-filo.png"]{width:80px;height:28px}
.ref-marquee-track img[src$="kaya-ulasim.png"]{width:55px;height:41px}
.ref-marquee-track img[src$="aselsan-logo.svg"]{width:106px;height:22px}
.ref-marquee-track img[src$="tusas.svg"]{width:77px;height:29px}
.ref-marquee-track img[src$="afad-logo.svg"]{width:58px;height:39px}
.ref-marquee-track img[src$="turkiye-cumhuriyeti-saglik-bakanligi.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="cevre-sehircilik-ve-iklim-degisikligi-bakanligi.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="aski.png"]{width:48px;height:48px}
.ref-marquee-track img[src$="tcdd.png"]{width:50px;height:46px}
.ref-marquee-track img[src$="trt.png"]{width:80px;height:29px}
.ref-marquee-track img[src$="halkbank.svg"]{width:56px;height:40px}
.ref-marquee-track img[src$="baskent-universitesi.png"]{width:92px;height:24px}
.ref-marquee-track img[src$="aras-kargo-logo.png"]{width:70px;height:32px}
.ref-marquee-track img[src$="ups-united-parcel-service.png"]{width:43px;height:50px}
.ref-marquee-track img[src$="temsa.png"]{width:89px;height:25px}
.ref-marquee-track img[src$="knauf.png"]{width:59px;height:38px}
.ref-marquee-track img[src$="mutlu-aku.png"]{width:71px;height:32px}
}

/* Ekran okuyucu için görünmez etiket */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============ E-SATIŞ (fiyat vitrini — çevrimiçi satış YOK) ============ */
/* Tasarım yönü (ui-ux-pro-max): Directory/Listing ürün tipi -> "Filter-Heavy Grid"
   pattern, "Flat Design + Trust & Authority" stili. Profesyonel mavi/gri,
   sertifika rozetleri, derinlik için hafif gölgeler. Renkler site token'larından
   (--navy / --blue) alınır; skill'in önerdiği #0F172A/#0369A1 ile aynı rolde
   oldukları için ikinci bir palet eklenmedi.
   Kaçınılanlar: oyuncu tasarım, mor/pembe gradyan, emoji ikon. */

.es-page { background: #f6f8fb; }

/* --- bilgilendirme bandı --- */
.es-notice {
  background: #eaf1fb;
  border-bottom: 1px solid #d6e3f6;
  padding: .9rem 2rem;
}
.es-notice-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .85rem;
  color: #2c3a52;
  line-height: 1.6;
}
.es-notice svg { flex: 0 0 auto; color: var(--blue); margin-top: .15rem; }
.es-notice a { color: var(--blue); text-decoration: underline; }

/* --- güven şeridi (Trust & Authority) --- */
.es-trust {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.es-trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  padding: .9rem 1rem;
}
.es-trust-item svg { flex: 0 0 auto; color: var(--blue); }
.es-trust-item b { display: block; font-size: .84rem; color: var(--navy); font-weight: 700; }
.es-trust-item span { display: block; font-size: .74rem; color: var(--muted); margin-top: .1rem; }

/* --- araç çubuğu: arama + sıralama + kategori --- */
.es-wrap { max-width: 1240px; margin: 0 auto; padding: 2rem 2rem 4rem; }
.es-head { margin-bottom: 1.5rem; }
.es-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}
.es-head p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }

.es-toolbar {
  position: sticky;
  top: 78px;                      /* kaydırılmış header yüksekliği */
  z-index: 20;
  background: rgba(246, 248, 251, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: .9rem 0 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e4eaf3;
}
.es-toolbar-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.es-search {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}
.es-search svg {
  position: absolute;
  left: .8rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.es-search input {
  width: 100%;
  height: 46px;
  padding: 0 .9rem 0 2.5rem;
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  transition: border-color .18s, box-shadow .18s;
}
.es-search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 107, 184, .18);
}
.es-sort {
  height: 46px;
  padding: 0 2.2rem 0 .9rem;
  font: inherit;
  font-size: .86rem;
  color: var(--text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8rem center/12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.es-sort:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,107,184,.18); }
.es-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.es-count b { color: var(--navy); font-weight: 700; }

.es-filter { display: flex; flex-wrap: wrap; gap: .45rem; }
.es-filter .chip {
  min-height: 40px;
  padding: .5rem .95rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: #44506a;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.es-filter .chip:hover { border-color: var(--blue); color: var(--blue); }
.es-filter .chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.es-filter .chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* --- kart ızgarası --- */
.es-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.es-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.es-card:hover {
  box-shadow: 0 16px 40px rgba(15, 26, 48, .12);
  transform: translateY(-4px);
  border-color: #c9d7ea;
}
.es-card:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 107, 184, .16);
}

.es-card-media {
  position: relative;
  height: 178px;
  background: linear-gradient(160deg, #eef2f8 0%, #e3eaf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem;
}
/* <picture> yüksekliği auto olduğu için img'deki max-height:100% hiçbir şeyi
   sınırlamıyordu — görsel doğal boyutunda basılıp medya kutusundan taşıyordu.
   Bu yüzden <picture> de kutuyu birebir kaplayan bir flex kabı yapılıyor;
   yüzdelik yükseklik ancak o zaman çözülüyor. min-height:0 flex öğesinin
   içeriğinden küçülebilmesi için gerekli. */
.es-card-media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.es-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.es-card:hover .es-card-media img { transform: scale(1.05); }
.es-card-cat {
  position: absolute;
  top: .7rem; left: .7rem;
  background: rgba(26, 41, 71, .9);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 5px;
}

.es-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.es-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* teknik satırlar — tek gri cümle yerine okunur anahtar/değer listesi */
.es-specs {
  margin: .8rem 0 0;
  display: grid;
  gap: .35rem;
  flex: 1;
}
.es-specs li {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .78rem;
  line-height: 1.45;
}
.es-specs .k { color: var(--muted); flex: 0 0 auto; }
.es-specs .v { color: #35405a; font-weight: 600; margin-left: auto; text-align: right; }

/* sertifika rozetleri — Trust & Authority sinyali */
.es-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .85rem; }
.es-badges span {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #2f6fb5;
  background: #eaf1fb;
  border: 1px solid #d6e3f6;
  border-radius: 4px;
  padding: .2rem .45rem;
}

.es-card-price {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid #eef1f5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
}
.es-price-label {
  display: block;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.es-price {
  display: block;
  margin-top: .1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}
.es-price-note { font-size: .68rem; color: var(--muted); text-align: right; line-height: 1.35; }

.es-card-actions { margin-top: .9rem; display: flex; gap: .5rem; }
.es-card-actions .btn {
  flex: 1;
  justify-content: center;
  min-height: 44px;          /* dokunma hedefi */
  padding: .6rem .8rem;
  font-size: .78rem;
  border-radius: 8px;
}

.es-empty {
  grid-column: 1 / -1;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.es-empty svg { color: #c2cddd; margin-bottom: .75rem; }
.es-empty b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: .3rem; }

/* kartların kademeli belirmesi */
@media (prefers-reduced-motion: no-preference) {
  .es-card { animation: es-in .42s cubic-bezier(.2, .7, .3, 1) both; }
  .es-card:nth-child(1){animation-delay:.02s}   .es-card:nth-child(2){animation-delay:.06s}
  .es-card:nth-child(3){animation-delay:.10s}   .es-card:nth-child(4){animation-delay:.14s}
  .es-card:nth-child(5){animation-delay:.18s}   .es-card:nth-child(6){animation-delay:.22s}
  .es-card:nth-child(7){animation-delay:.26s}   .es-card:nth-child(8){animation-delay:.30s}
  .es-card:nth-child(n+9){animation-delay:.34s}
}
@keyframes es-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

@media (max-width: 1080px) {
  /* Header bu aralıkta da position:fixed — kaydırılmış hâlinde ~68px.
     top:0 verilirse yapışkan araç çubuğu header'ın altına girer. */
  .es-toolbar { top: 68px; }
  .es-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .es-wrap { padding: 1.5rem 1.25rem 3rem; }
  .es-trust { padding: 1.5rem 1.25rem 0; gap: .6rem; }
  .es-notice { padding: .9rem 1.25rem; }
  .es-grid { grid-template-columns: 1fr; }
  .es-toolbar-row { gap: .5rem; }
  .es-count { width: 100%; order: 3; }
}
@media (max-width: 460px) {
  .es-trust { grid-template-columns: 1fr; }
  .es-card-actions { flex-direction: column; }
}

/* ============ PUBS ============ */
.pubs {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pub-card {
  background: var(--gray-bg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.pub-cover {
  width: 160px; height: 220px;
  background: #ccc;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  position: relative;
  overflow: hidden;
}
.pub-cover-1 {
  background:
    linear-gradient(to bottom, #2b6bb8 0%, #2b6bb8 22%, #fff 22%, #fff 70%, #1a2947 70%, #1a2947 100%);
}
.pub-cover-1::before {
  content: "HAVELSAN\A Dijital\A Bülten";
  white-space: pre;
  position: absolute; top: 8%; left: 10%;
  color: #fff;
  font-weight: 800; font-size: .72rem; line-height: 1.25;
  letter-spacing: .04em;
}
.pub-cover-2 {
  background:
    linear-gradient(to bottom, #fff 0%, #fff 30%, #2b6bb8 30%, #2b6bb8 34%, #fff 34%, #f5f5f5 100%);
}
.pub-cover-2::before {
  content: "HAVELSAN";
  position: absolute; top: 10%; left: 10%;
  color: var(--blue);
  font-weight: 800; font-size: .8rem; letter-spacing: .05em;
}
.pub-cover-2::after {
  content: "";
  position: absolute;
  left: 15%; right: 15%; top: 42%; bottom: 18%;
  background: linear-gradient(135deg, #1a2947 0%, #4a6fa5 100%);
  clip-path: polygon(0% 100%, 50% 30%, 100% 100%);
}
.pub-body h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .8rem;
  line-height: 1.25;
}
.pub-body h3 strong { font-weight: 800; }
.pub-body p {
  font-size: .82rem;
  color: #3c4658;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============ CAREER ============ */
.career {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.career-bg {
  position: relative;
  height: 420px;
  background:
    radial-gradient(ellipse at 30% 40%, #d4a574 0%, #8a6542 60%, #3d2a18 100%);
  overflow: hidden;
}
.career-bg::before {
  /* people silhouette feel */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 25% 40% at 65% 55%, #2c2017 55%, transparent 75%),
    radial-gradient(ellipse 20% 35% at 80% 60%, #1e1610 55%, transparent 75%),
    radial-gradient(ellipse 15% 30% at 90% 55%, #14100b 55%, transparent 75%);
}
/* ARAT variant — factory / truck yard */
.career-bg-arat {
  background-color: #1a2947;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.career-bg-arat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,16,32,.78) 0%, rgba(10,16,32,.35) 60%, rgba(10,16,32,0) 100%);
  z-index: 1;
}
.career-bg-arat::before {
  background:
    /* road stripes */
    repeating-linear-gradient(to right, transparent 0 60px, rgba(255,255,255,.06) 60px 62px) 0 80% / 100% 4% no-repeat,
    /* truck silhouettes */
    radial-gradient(ellipse 18% 20% at 70% 65%, #0a101f 55%, transparent 75%),
    radial-gradient(ellipse 14% 18% at 85% 68%, #060a14 55%, transparent 75%),
    /* sun glow */
    radial-gradient(ellipse 20% 15% at 75% 45%, rgba(227,6,19,.25) 0%, transparent 70%) !important;
}
.career-text {
  position: absolute;
  bottom: 6%;
  left: 4%;
  top: auto;
  transform: none;
  color: #fff;
  max-width: 48%;
  padding: 2rem;
  z-index: 2;
}
.career-text h2 {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 1rem;
}
.career-text h2 strong { font-weight: 800; }
.career-text p {
  font-size: .9rem;
  margin-bottom: 1.5rem;
  opacity: .95;
}

/* ============ INNER PAGE HERO (diagonal split) ============ */
.page-body { padding-top: 0; }
.page-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #0f1a30;
  display: flex;
  align-items: center;
}
/* Dark navy left side (diagonal) */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #223457 0%, #14213c 60%, #0b1428 100%);
  clip-path: polygon(0 0, 72% 0, 60% 100%, 0 100%);
  opacity: 1;
  transform: none;
}
/* Blue accent right side (diagonal) */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 60% 100%);
}
/* Big outlined ARAT wordmark on accent side */
.page-hero-overlay::before {
  content: "ARAT";
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.35);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.page-hero-overlay::after {
  content: "KAROSER • ÜSTYAPI";
  position: absolute;
  right: 6%;
  bottom: 8%;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .4em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  white-space: nowrap;
}
/* Thin diagonal divider line */
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 66%;
  width: 2px;
  background: rgba(255,255,255,.15);
  transform: skewX(-10deg);
}
.page-hero-text {
  position: relative;
  z-index: 5;
  left: auto;
  bottom: auto;
  transform: none;
  max-width: 620px;
  margin-left: 6%;
  margin-right: auto;
  padding: 6rem 0 2rem;
  color: #fff;
}
.page-hero-text .breadcrumb {
  opacity: .85;
  margin-bottom: 1.1rem;
}
.page-hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.page-hero-text p {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 520px;
  line-height: 1.55;
}
.page-hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: .3rem 0 .8rem;
  line-height: 1.1;
}
.page-hero-text p {
  font-size: 1rem;
  opacity: .92;
  max-width: 560px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .85;
}
.breadcrumb a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.breadcrumb a:hover { border-color: #fff; }
.breadcrumb .sep { opacity: .55; }

/* active nav link */
.main-nav a.is-active { opacity: 1; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}

/* ============ CORPORATE: ABOUT ============ */
.corp-about {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.corp-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.corp-about-text .eyebrow { margin-bottom: .75rem; }
.corp-about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.3rem;
}
.corp-about-text p {
  font-size: .95rem;
  line-height: 1.75;
  color: #3c4658;
  margin-bottom: 1rem;
}
.corp-about-photo {
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-color: #d9dee6;
}

/* ============ MISSION & VISION ============ */
.mv {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.mv-card {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  color: #fff;
}
.mv-mission { background: linear-gradient(135deg, #1a2947 0%, #0f1a30 100%); }
.mv-vision { background: linear-gradient(135deg, #2b6bb8 0%, #1f5293 100%); }
.mv-card .mv-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}
.mv-card .eyebrow { color: #fff; opacity: .75; margin: 0; }
.mv-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin: .2rem 0 .5rem;
}
.mv-card p {
  font-size: .92rem;
  line-height: 1.7;
  opacity: .92;
}

/* ============ VALUES ============ */
.values {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.values-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.values-head h2 {
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .5rem;
}
.values-head p {
  color: var(--muted);
  font-size: .95rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border: 1px solid #e6eaf0;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,26,48,.08);
  border-color: var(--blue);
}
.value-num {
  font-size: .85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.value-card h4 {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .6rem;
}
.value-card p {
  font-size: .85rem;
  color: #4a5268;
  line-height: 1.6;
}

/* ============ QUALITY POLICY ============ */
.quality {
  background: var(--gray-bg);
  padding: 4rem 2rem;
  margin: 3rem 0;
}
.quality-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.quality-text h2 {
  font-size: 2rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin: .4rem 0 1.2rem;
}
.quality-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.quality-list li {
  font-size: .92rem;
  color: #3c4658;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.5;
}
.quality-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(43,107,184,.15);
}
.quality-visual {
  width: 100%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: #d9dee6;
}

/* ============ QUOTE PAGE ============ */
.quote-steps {
  max-width: 1400px;
  margin: 3rem auto 2rem;
  padding: 0 2rem;
}
.quote-steps-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-step {
  background: #fff;
  border: 1px solid #e6eaf0;
  padding: 1.75rem 1.75rem 2rem;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quote-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 26, 48, .08);
  border-color: var(--blue);
}
.quote-step-num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .14em;
  margin-bottom: .9rem;
}
.quote-step h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .5rem;
}
.quote-step p {
  font-size: .85rem;
  color: #4a5268;
  line-height: 1.55;
}

.quote-main {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 2rem 2rem 3rem;
}
.quote-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-form-wrap {
  background: #fff;
  padding: 2.2rem;
  border: 1px solid #e6eaf0;
}
.quote-form-wrap > h2 {
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin: .4rem 0 .8rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef1f5;
}
.form-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 1.2rem;
}
.form-section-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0;
}

.product-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .3rem;
}
.product-chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.product-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.product-chip span {
  display: inline-block;
  padding: .7rem 1.1rem;
  background: #fff;
  border: 1px solid #dde1e8;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
}
.product-chip:hover span {
  border-color: var(--blue);
  color: var(--blue);
}
.product-chip input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.quote-submit {
  width: 100%;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  font-size: .9rem;
  letter-spacing: .02em;
}
.form-note {
  margin-top: .8rem;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

/* Quote side cards */
.quote-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 100px;
}
.quote-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  padding: 1.6rem 1.7rem;
}
.quote-card h3,
.quote-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .6rem;
}
.quote-card p {
  font-size: .85rem;
  color: #4a5268;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.quote-card .btn { display: block; text-align: center; margin-bottom: .5rem; }
.quote-card .btn:last-child { margin-bottom: 0; }
.quote-card-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.quote-card-primary .eyebrow {
  color: #ff9da3;
  margin-bottom: .5rem;
}
.quote-card-primary h3 { color: #fff; }
.quote-card-primary p { color: rgba(255, 255, 255, .78); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.btn-whatsapp:hover {
  background: #1ebe5c;
  border-color: #1ebe5c;
  color: #fff;
}

.quote-bullets {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  list-style: none;
  padding: 0;
}
.quote-bullets li {
  font-size: .88rem;
  color: #3c4658;
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.5;
}
.quote-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .25;
  box-shadow: 0 0 0 3px rgba(43, 107, 184, .12);
}

.quote-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.qcm-item { padding: .5rem; border-right: 1px solid #e6eaf0; }
.qcm-item:last-child { border-right: 0; }
.qcm-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .3rem;
}
.qcm-label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ============ CONTACT PAGE ============ */
.contact-info {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ci-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  padding: 2rem 1.75rem;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.ci-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,26,48,.08);
  border-color: var(--blue);
}
.ci-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.ci-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .6rem;
  letter-spacing: .02em;
}
.ci-card p {
  font-size: .88rem;
  color: #4a5268;
  line-height: 1.55;
  margin-bottom: .8rem;
}
.ci-link {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color .15s;
}
.ci-link:hover { color: var(--blue); }
.ci-card a.ci-link strong { color: var(--navy); }

.contact-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-wrap {
  background: #fff;
  padding: 2rem;
  border: 1px solid #e6eaf0;
}
.contact-form-wrap h2 {
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin: .4rem 0 .8rem;
}
.form-lead {
  font-size: .9rem;
  color: #4a5268;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.form-field label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #dde1e8;
  padding: .95rem 1.1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,107,184,.15);
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .82rem;
  color: #4a5268;
  line-height: 1.55;
  margin-top: .6rem;
}
.form-consent input[type=checkbox] {
  margin-top: .2rem;
  accent-color: var(--blue);
}
.form-consent a { color: var(--blue); border-bottom: 1px solid var(--blue); }
.form-submit {
  align-self: flex-start;
  margin-top: 1rem;
  cursor: pointer;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-map {
  border: 1px solid #e6eaf0;
  background: #fff;
  overflow: hidden;
}
.contact-map iframe {
  display: block;
  width: 100%;
  filter: grayscale(10%);
}
.map-link {
  display: block;
  padding: .8rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid #e6eaf0;
  transition: color .15s;
}
.map-link:hover { color: var(--blue); }

.quick-contact {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem;
}
.quick-contact h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.quick-contact p {
  font-size: .85rem;
  opacity: .8;
  margin-bottom: 1.2rem;
}
.quick-contact .btn { display: block; text-align: center; }
.quick-contact .btn-dark {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.quick-contact .btn-dark:hover { background: #fff; color: var(--navy); }

.social-block {
  padding: 1.25rem 1.5rem;
  border: 1px solid #e6eaf0;
  background: #fff;
}
.social-block h4 {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.departments {
  max-width: 1400px;
  margin: 1rem auto 3rem;
  padding: 3rem 2rem;
  background: var(--gray-bg);
}
.departments-head {
  text-align: center;
  margin-bottom: 2rem;
}
.departments-head h2 {
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .4rem;
}
.departments-head p { color: var(--muted); font-size: .9rem; }
.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.dept-card {
  background: #fff;
  padding: 1.5rem;
  border-top: 3px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}
.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15,26,48,.08);
}
.dept-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.dept-card p {
  font-size: .82rem;
  color: #4a5268;
  line-height: 1.55;
  margin-bottom: .8rem;
}
.dept-card a {
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
}

/* ============ BLOG LISTING ============ */
.blog-featured {
  max-width: 1400px;
  margin: 3rem auto 1rem;
  padding: 0 2rem;
}
.blog-featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  background: var(--gray-bg);
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow .22s;
}
.blog-featured-inner:hover { box-shadow: 0 16px 36px rgba(15,26,48,.1); }
.blog-featured-image {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
.blog-featured-body {
  padding: 2.5rem 2.5rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
}
.blog-featured-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.blog-featured-body p {
  font-size: .95rem;
  color: #3c4658;
  line-height: 1.65;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-meta .blog-cat { color: var(--blue); }
.blog-meta .blog-date,
.blog-meta .blog-read { color: var(--muted); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: .3rem;
}

.blog-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-post {
  background: #fff;
  border: 1px solid #e6eaf0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  color: inherit;
}
.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,26,48,.08);
  border-color: #cfd6e0;
}
.blog-post-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #ccd3dc;
}
.blog-post-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.blog-post-body h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}
.blog-post-body p {
  font-size: .85rem;
  color: #4a5268;
  line-height: 1.55;
  flex: 1;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
}
.pagination .page-link,
.pagination .page-dots {
  min-width: 38px;
  height: 38px;
  padding: 0 .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e6eb;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  transition: all .15s;
}
.pagination .page-link:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-link.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pagination .page-dots { border-color: transparent; color: var(--muted); }
.pagination .next { padding: 0 1rem; }

/* ============ BLOG POST (detail page) ============ */
.post-meta-bar {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 2rem 1.5rem;
  display: flex;
  gap: 1.3rem;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid #e6eaf0;
}
.post-meta-bar .blog-cat { color: var(--blue); }
.post-meta-bar span:not(.blog-cat) { color: var(--muted); }

.post-cover {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.post-cover-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #d9dee6;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  color: #2b3445;
  font-size: 1rem;
  line-height: 1.8;
}
.post-body p {
  margin-bottom: 1.2rem;
}
.post-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.2rem 0 .9rem;
  line-height: 1.3;
}
.post-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1.8rem 0 .6rem;
}
.post-body ul,
.post-body ol {
  margin: 1rem 0 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.post-body li { line-height: 1.7; }
.post-body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: var(--gray-bg);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
}
.post-body blockquote cite {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
}
.post-body img {
  width: 100%;
  margin: 1.5rem 0;
}

/* ============ STATIC INFO PAGES (KVKK, Gizlilik, Çerez vb.) ============ */
.static-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  color: #2b3445;
  font-size: 1rem;
  line-height: 1.75;
}
.static-page > p:first-of-type {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.static-page p { margin-bottom: 1.1rem; }
.static-page h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.2rem 0 .8rem;
  line-height: 1.3;
  border-top: 1px solid #e6eaf0;
  padding-top: 1.6rem;
}
.static-page h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.static-page h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.6rem 0 .5rem;
}
.static-page ul,
.static-page ol {
  margin: .6rem 0 1.2rem 0;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.static-page ul { list-style: disc; }
.static-page ol { list-style: decimal; }
.static-page li { line-height: 1.65; }
.static-page a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.static-page a:hover {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.static-page strong { color: var(--navy); }
.static-page blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--blue);
  background: var(--gray-bg);
  font-style: italic;
  color: var(--navy);
}

/* ============ 404 ERROR PAGE ============ */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}
.error-code {
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: .5rem;
}
.error-code .accent { color: var(--blue); }
.error-page h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .8rem;
}
.error-page p {
  font-size: 1rem;
  color: #4a5268;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}
.error-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .static-page { padding: 2rem 1.25rem 3rem; }
  .static-page h2 { font-size: 1.25rem; }
}

.post-tags {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.post-tags .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  background: var(--gray-bg);
  color: var(--navy);
  transition: all .15s;
}
.post-tags .tag:hover { background: var(--blue); color: #fff; }

.post-share {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}
.post-share span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-share a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #e3e6eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all .15s;
}
.post-share a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============ REFERENCES PAGE ============ */
.ref-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 1rem;
  text-align: center;
}
.ref-intro .eyebrow { margin-bottom: .8rem; }
.ref-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.ref-intro p {
  font-size: .95rem;
  color: #3c4658;
  line-height: 1.7;
}

.ref-filter {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 1rem;
}
.ref-filter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.chip {
  border: 1px solid #dde1e8;
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.1rem;
  cursor: pointer;
  transition: all .18s;
  letter-spacing: .02em;
}
.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.ref-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.ref-item {
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid #e6eaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.ref-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,26,48,.08);
  border-color: #cfd6e0;
}
.ref-logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-logo img {
  max-width: 80%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .22s, transform .22s;
}
.ref-item:hover .ref-logo img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.ref-logo .ref-text {
  display: none;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
}
/* when image fails to load, text becomes visible */
.ref-logo.no-logo .ref-text {
  display: block;
}
.ref-logo.no-logo {
  background:
    linear-gradient(135deg, #f7f8fa 0%, #eef1f5 100%);
}

/* ============ SOLUTIONS LISTING PAGE ============ */
/* Projelerimiz sayfası ana sayfadaki ürün ızgarasını (.products-showcase) aynen
   kullanır; burada yalnızca sayfa hero'suyla aradaki boşluk ayarlanır. */
.products-showcase-page { padding: 4rem 0 3rem; }
/* Bu sayfada ızgara tam genişlik değil, sitenin ana içerik genişliğinde
   (1400px, 2rem kenar — header ve SÜRECİMİZ kartlarıyla aynı hiza) ve
   hücreler arası boşluklu. 6 ürün 3 + 3 dizilir (ana sayfada tek sıra 6'lı);
   1300px altı zaten 3 → 2 → 1 kolon kurallarına düşer. */
.products-showcase-page .products-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}
@media (min-width: 1301px) {
  .products-showcase-page .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .products-showcase-page .products-grid { gap: 1rem; }
}
@media (max-width: 560px) {
  .products-showcase-page .products-grid { padding: 0 1rem; }
}

/* ============ PRODUCT DETAIL PAGE ============ */
.product-intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.product-intro-text .eyebrow { margin-bottom: .6rem; }
.product-intro-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.product-intro-text p {
  font-size: .95rem;
  line-height: 1.75;
  color: #3c4658;
  margin-bottom: 1rem;
}
.product-intro-image {
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-color: #d9dee6;
}

/* --- Ürün görsel galerisi (slider + küçük resimler) — js/product-gallery.js --- */
/* Fotoğraflar hem yatay hem dikey olabildiği için büyük görsel "contain" ile
   tam gösterilir; boşluğu aynı fotoğrafın bulanık kopyası doldurur. */
.product-gallery { width: 100%; }
.pg-stage {
  position: relative;
  /* Zemine yerleştirilmiş ürün görselleriyle aynı oran (1000x775) — o görseller
     çerçeveyi tam doldurur, ham fotoğraflarda kenarı bulanık kopya kapatır. */
  aspect-ratio: 1000 / 775;
  overflow: hidden;
  background: #0f1a30;
}
.pg-slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.pg-slide.is-active { opacity: 1; visibility: visible; }
.pg-blur {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(.55);
  transform: scale(1.05);
}
.pg-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(11, 20, 40, .55);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.pg-nav:hover { background: var(--blue); }
.pg-nav:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.pg-prev { left: 0; }
.pg-next { right: 0; }
.pg-counter {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 3;
  padding: .2rem .6rem;
  background: rgba(11, 20, 40, .7);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.pg-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .5rem;
  margin-top: .5rem;
}
.pg-thumb {
  padding: 0;
  border: 0;
  background: #0f1a30;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, outline-color .2s;
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb:hover { opacity: .85; }
.pg-thumb.is-active { opacity: 1; outline-color: var(--blue); }
.pg-thumb:focus-visible { outline-color: var(--blue); opacity: 1; }
@media (max-width: 900px) {
  .pg-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .pg-thumbs { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
  .pg-nav { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-slide { transition: none; }
}

.product-features {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--gray-bg);
}
.product-features-head { text-align: center; margin-bottom: 2rem; }
.product-features-head h2 {
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .4rem;
}
.product-features-head p { color: var(--muted); font-size: .9rem; }
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15,26,48,.08);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card h4 {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: .4rem;
}
.feature-card p {
  font-size: .82rem;
  color: #4a5268;
  line-height: 1.55;
}

.product-specs {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.product-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.product-specs-head h2 {
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin: .4rem 0 1rem;
}
.product-specs-head p {
  font-size: .9rem;
  color: #4a5268;
  line-height: 1.6;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid #e6eaf0;
}
.specs-table tr:last-child { border-bottom: 0; }
.specs-table td {
  padding: .9rem 0;
  font-size: .9rem;
  vertical-align: top;
}
.specs-table td:first-child {
  color: var(--muted);
  font-weight: 600;
  width: 42%;
  padding-right: 1rem;
  letter-spacing: .02em;
}
.specs-table td:last-child {
  color: var(--navy);
  font-weight: 600;
}

.product-apps {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--navy);
  color: #fff;
}
.product-apps-head { text-align: center; margin-bottom: 2rem; }
.product-apps-head .eyebrow { color: #ff9da3; }
.product-apps-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.product-apps-head p { color: rgba(255,255,255,.75); font-size: .9rem; }
.product-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.app-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-item .app-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-item h4 {
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.app-item p {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}

.related-solutions {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.related-head h2 {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .04em;
}
.related-head h2 .red { color: var(--blue); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ============ CATALOG (hero-style CTA block) ============ */
.catalog-hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  height: 460px;
}
.catalog-hero-bg {
  position: absolute;
  inset: 0 2rem;
  background-size: cover;
  background-position: center;
  background-color: #1a2947;
}
.catalog-hero-panel {
  position: absolute;
  left: 4.5rem;
  bottom: 2.5rem;
  width: 44%;
  min-width: 320px;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  background: rgba(20, 28, 42, .78);
  color: #fff;
  backdrop-filter: blur(2px);
  z-index: 2;
}
.catalog-hero-panel h2 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.catalog-hero-panel h2 strong { font-weight: 800; }
.catalog-hero-panel p {
  font-size: .9rem;
  opacity: .9;
  margin-bottom: 1.5rem;
}
.btn-solid-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-solid-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ============ KATALOG SAYFASI ============ */
/* Sayfa çevirmeli görüntüleyici (PDF Flip, katalog/flipbook/) iframe ile gömülür:
   kütüphanenin global html/body CSS'i ve jQuery'si siteyle çakışmasın diye.
   JS kapalıyken iframe gizlenir, yerine PDF'e giden kapak görseli çıkar. */
.catalog-viewer {
  background: linear-gradient(180deg, var(--gray-bg) 0%, #fff 100%);
  padding: 4rem 2rem 4.5rem;
}
.catalog-viewer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.catalog-viewer .products-head { margin-bottom: 2rem; }
.catalog-flipbook { position: relative; }
.catalog-flipbook iframe {
  display: block;
  width: 100%;
  height: clamp(440px, 78vh, 820px);
  border: 0;
  background: #a9a9a9; /* görüntüleyici arka planı yüklenene kadar */
  box-shadow: 0 24px 50px rgba(15, 26, 48, .18);
}
@media (max-width: 700px) {
  .catalog-viewer { padding: 2.5rem 0 3.5rem; }
  .catalog-viewer .products-head,
  .catalog-actions,
  .catalog-meta { padding: 0 1rem; }
  .catalog-flipbook iframe { height: clamp(380px, 70vh, 640px); box-shadow: none; }
}
.catalog-cover {
  display: block;
  box-shadow: 0 30px 60px rgba(15, 26, 48, .22);
  transition: transform .3s ease, box-shadow .3s ease;
}
.catalog-cover:hover,
.catalog-cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 40px 70px rgba(15, 26, 48, .28);
}
.catalog-cover:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.catalog-cover img { width: 100%; height: auto; }
.catalog-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}
.catalog-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .04em;
}

/* ============ GALERİ (foto + video) ============ */
.gallery-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4.5rem;
}
/* Foto / Video sekmeleri — iki ayrı sayfa arasında geçiş */
.gallery-tabs {
  display: flex;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  border-bottom: 1px solid #e3e7ee;
}
.gallery-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1rem;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  transition: color .15s, border-color .15s;
}
.gallery-tab:hover { color: var(--navy); }
.gallery-tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.gallery-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gallery-tab-count {
  font-size: .72rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--gray-bg);
  color: var(--muted);
}
.gallery-tab.is-active .gallery-tab-count { background: rgba(43, 107, 184, .12); color: var(--blue); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
/* Video ızgarası esnek kutu: tek kalan son kart ortalanır */
.gallery-grid-video {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-grid-video .gal-item { flex: 0 1 calc((100% - 2rem) / 3); aspect-ratio: 16 / 9; }

.gal-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f1a30;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 40, .85) 0%, rgba(11, 20, 40, 0) 55%);
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}
.gal-caption {
  position: absolute;
  left: 1.1rem;
  right: 4rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.gal-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s;
}
.gal-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  transition: background .2s, color .2s, transform .2s;
}
.gal-play svg { margin-left: 4px; }
.gal-duration {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  padding: .2rem .55rem;
  background: rgba(11, 20, 40, .75);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
.gal-item:hover img,
.gal-item:focus-visible img { transform: scale(1.06); }
.gal-item:hover::after,
.gal-item:focus-visible::after { opacity: 1; }
.gal-item:hover .gal-caption,
.gal-item:focus-visible .gal-caption { opacity: 1; transform: none; }
.gal-item:hover .gal-zoom,
.gal-item:focus-visible .gal-zoom { opacity: 1; transform: none; }
.gal-item:hover .gal-play,
.gal-item:focus-visible .gal-play { background: var(--blue); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.gal-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Dokunmatik: hover yok, açıklama kalıcı görünür */
@media (hover: none) {
  .gal-item::after { opacity: 1; }
  .gal-caption { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item img, .gal-caption, .gal-zoom, .gal-play { transition-duration: .01ms; }
  .gal-item:hover img, .gal-item:focus-visible img { transform: none; }
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-video .gal-item { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 560px) {
  .gallery-section { padding: 2.5rem 1rem 3.5rem; }
  .gallery-grid { gap: .5rem; }
  .gallery-grid-video { gap: .75rem; }
  .gallery-grid-video .gal-item { flex-basis: 100%; }
  .gal-caption { font-size: .78rem; left: .7rem; right: .7rem; bottom: .6rem; }
  .gallery-grid:not(.gallery-grid-video) .gal-caption { display: none; }
  .gal-zoom { display: none; }
  .gallery-tab { padding: .85rem .5rem; font-size: .88rem; }
}

/* --- Görüntüleyici (lightbox) — js/gallery.js --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: rgba(8, 12, 24, .95);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  /* Kapanırken görünürlük solma bitince gizlenir; açılırken ANINDA görünür
     olur — yoksa açılışta Kapat butonuna focus() verilemez. */
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility 0s;
}
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}
.lb-counter {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
  font-variant-numeric: tabular-nums;
}
.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5rem;
  touch-action: pan-y pinch-zoom; /* yatay kaydırma gallery.js'e kalsın */
}
.lb-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-media {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  animation: lbIn .3s ease;
}
video.lb-media { background: #000; }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.lb-caption {
  min-height: 3.5rem;
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}
.lb-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.lb-btn:hover { background: var(--blue); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (max-width: 700px) {
  .lb-stage { padding: 0; }
  .lb-prev, .lb-next { width: 40px; height: 40px; background: rgba(0, 0, 0, .45); }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .lb-caption { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-media { transition: none; animation: none; }
}

/* ============ FOOTER (siyah) ============ */
/* DİKKAT: .footer-inner / .footer-col site-haritasi ve en/sitemap sayfalarında,
   .socials ise iletisim ve en/contact sayfalarında BEYAZ zemin üzerinde tekrar
   kullanılıyor. Bu yüzden koyu renkler .site-footer altına kapsanmıştır —
   paylaşılan sınıfların açık tema renkleri aşağıda olduğu gibi korunur. */
.site-footer {
  background: #0b0b0d;
  color: #fff;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .02em;
}
.footer-logo {
  width: 180px;
  height: auto;
  display: block;
}
.contact-block {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: #9aa3b2;
  line-height: 1.7;
}
.contact-block p { margin-bottom: .5rem; }
.contact-block strong { color: #fff; }
.footer-col h4 {
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a {
  font-size: .8rem;
  color: #4a5268;
  border-bottom: 1px solid #e6e8ee;
  padding-bottom: .4rem;
  display: inline-block;
  width: 100%;
}
.footer-col a:hover { color: var(--navy); }

/* --- siyah footer içindeki paylaşılan sınıflar (site haritası sayfalarını etkilemez) --- */
.site-footer .footer-col h4 { color: #fff; }
.site-footer .footer-col a {
  color: #9aa3b2;
  border-bottom-color: rgba(255, 255, 255, .12);
}
.site-footer .footer-col a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .45);
}
.socials {
  margin-top: 1.2rem;
  display: flex;
  gap: .9rem;
  color: var(--navy);
}
.socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all .15s;
}
.socials a:hover {
  background: var(--navy);
  color: #fff;
}
/* Siyah footer içindeki sosyal ikonlar — bu blok .socials temel kurallarından
   SONRA gelmeli, aksi halde yukarıdaki `border` kısayolu rengi geri ezer. */
.site-footer .socials { color: #fff; }
/* .42 alfa: siyah üzerinde ~3.2:1 — WCAG 1.4.11 (metin dışı öğe) eşiğini geçer */
.site-footer .socials a { border: 1px solid rgba(255, 255, 255, .42); }
.site-footer .socials a:hover {
  background: #fff;
  border-color: #fff;
  color: #0b0b0d;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .72rem;
  color: #7c8494;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}
.footer-bottom a { color: #7c8494; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .small { flex: 1; text-align: right; }
.footer-bottom .star-icon { display: inline-flex; }
.footer-stripe {
  height: 4px;
  background: linear-gradient(to right, #0b0b0d 0%, #0b0b0d 65%, var(--blue) 65%, var(--blue) 100%);
}

/* ============ RESPONSIVE ============ */
/* Header ögeleri ~1380px üstünde tam boyutta. 8 menü ögesi (Galeri dahil) +
   Katalog/Teklif Al butonları hamburger menünün devreye girdiği 1081px'e kadar
   tek satırda kalsın diye aşağıya doğru kademeli küçülürler; 1300px altında
   Katalog butonu yalnız ikona iner (aria-label/title korunur). */
@media (max-width: 1380px) {
  .nav-inner { gap: 1.5rem; }
  .main-nav ul { gap: 1.1rem; }
  .main-nav a,
  .nav-sub-toggle,
  .nav-disabled { font-size: 1rem; }
  .nav-right { gap: .75rem; }
}
@media (max-width: 1300px) and (min-width: 1081px) {
  .nav-inner,
  .site-header.scrolled .nav-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .main-nav ul { gap: .9rem; }
  .main-nav a,
  .nav-sub-toggle,
  .nav-disabled { font-size: .95rem; }
  .logo-img { height: 58px; }
  .nav-catalog { padding-left: .7rem; padding-right: .7rem; }
  .nav-catalog span { display: none; }
}
@media (max-width: 1200px) {
  .main-nav ul { gap: .85rem; }
  .main-nav a,
  .nav-sub-toggle,
  .nav-disabled { font-size: .92rem; }
  .logo-img { height: 58px; }
  .site-header.scrolled .logo-img { height: 48px; }
}
/* 1081–1100px: masaüstü menünün en sıkışık aralığı */
@media (max-width: 1100px) {
  .main-nav ul { gap: .75rem; }
  .main-nav a,
  .nav-sub-toggle,
  .nav-disabled { font-size: .85rem; }
  .nav-inner { gap: 1.25rem; }
  .logo-img { height: 54px; }
  .site-header.scrolled .logo-img { height: 46px; }
}
/* 1080px ve altı = hamburger menü aralığı (aşağıdaki blok).
   7 menü ögesi ("Projelerimiz", "E-Satış", "Referanslarımız" gibi uzun TR
   etiketleriyle) büyütülmüş tipografide 1080px'in altında tek satıra sığmıyor;
   tipografiyi kısmak yerine kaydırmalı menüye geçiliyor. Bu blok o aralıktaki
   logo/CTA ölçülerini verir. */
@media (max-width: 1080px) {
  .nav-inner { gap: 1rem; padding: 1rem 1.5rem; }
  .nav-right { gap: .7rem; }
  .logo-img { height: 48px; }
  .site-header.scrolled .logo-img { height: 42px; }
  .cta-lang { padding: .5rem .85rem; font-size: .8rem; }
  .lang-toggle { padding: .4rem .6rem; }
}
@media (max-width: 1080px) {
  /* Mobile header alignment: logo left, CTA + hamburger right */
  .nav-inner { gap: .4rem; }
  .nav-right {
    margin-left: auto;
    gap: .5rem;
  }
  .nav-right .lang-switch:not(.lang-switch-mobile) { display: none; }
  .nav-right .search-btn { display: none; }
  .cta-lang {
    padding: .5rem .9rem;
    font-size: .72rem;
    letter-spacing: .06em;
  }
  .nav-catalog {
    padding: calc(.5rem - 1px) .8rem;
    font-size: .72rem;
    letter-spacing: .06em;
    gap: .35rem;
    min-height: calc(1.55em + 1rem);
  }
  .nav-catalog svg { width: 15px; height: 15px; }
  .nav-toggle { display: block; }
  /* Dar telefonlarda Katalog yalnız ikon: logo + 2 buton + hamburger sığsın */
  @media (max-width: 560px) {
    .nav-catalog { padding-left: .6rem; padding-right: .6rem; }
    .nav-catalog span { display: none; }
  }

  /* Mobile slide-in menu panel */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100%);
    background: linear-gradient(180deg, #1a2947 0%, #0b1428 100%);
    padding: 0;
    z-index: 50;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: none;
    box-shadow: -20px 0 40px rgba(0, 0, 0, .25);
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 45;
    animation: fadeIn .28s ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Menu header label */
  .main-nav::before {
    content: "MENÜ";
    display: block;
    padding: 6rem 2rem 1.2rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .4em;
    color: var(--blue);
    text-transform: uppercase;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding: 0 2rem;
    justify-content: flex-start;
    flex: 1;
  }
  .main-nav li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
  }
  body.nav-open .main-nav li {
    opacity: 1;
    transform: translateX(0);
  }
  body.nav-open .main-nav li:nth-child(1) { transition-delay: .08s; }
  body.nav-open .main-nav li:nth-child(2) { transition-delay: .12s; }
  body.nav-open .main-nav li:nth-child(3) { transition-delay: .16s; }
  body.nav-open .main-nav li:nth-child(4) { transition-delay: .20s; }
  body.nav-open .main-nav li:nth-child(5) { transition-delay: .24s; }
  body.nav-open .main-nav li:nth-child(6) { transition-delay: .28s; }
  body.nav-open .main-nav li:nth-child(7) { transition-delay: .32s; }
  body.nav-open .main-nav li:nth-child(8) { transition-delay: .36s; }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.05rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    letter-spacing: -.01em;
    transition: color .2s, padding-left .25s;
  }
  .main-nav a::after {
    content: "→";
    font-size: .95rem;
    opacity: .35;
    color: #fff;
    position: static;
    background: transparent;
    transition: opacity .2s, transform .25s, color .2s;
    display: inline-block;
    bottom: auto;
    left: auto;
    right: auto;
    height: auto;
  }
  .main-nav a:hover,
  .main-nav a:active {
    color: #fff !important;
    padding-left: .4rem;
  }
  .main-nav a:hover::after {
    opacity: 1;
    color: var(--blue);
    transform: translateX(4px);
  }
  .main-nav a.is-active {
    color: var(--blue) !important;
  }
  .main-nav a.is-active::after {
    opacity: 1;
    color: var(--blue);
  }

  /* Pasif öğe panelde linklerle aynı satır düzeninde, soluk ve oksuz */
  .main-nav .nav-disabled {
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: .4;
  }

  /* Galeri: panelde akordeon — başlığa dokununca alt bağlantılar açılır */
  .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .main-nav .nav-sub-toggle::after,
  .main-nav .nav-sub-toggle.is-active::after { display: none; }
  .nav-sub-toggle.is-active { color: var(--blue) !important; }
  .nav-sub-chevron { width: 14px; height: 14px; opacity: .6; }
  .main-nav .nav-sub {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: .35rem 0 .5rem 1rem;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .has-sub.is-open .nav-sub { display: block; transform: none; }
  .main-nav .nav-sub::before { display: none; }
  .main-nav .nav-sub a {
    justify-content: flex-start;
    gap: .7rem;
    font-size: 1.02rem;
    font-weight: 500;
    padding: .65rem 0;
    border-bottom: 0;
    background: transparent;
    color: rgba(255, 255, 255, .8) !important;
    white-space: normal;
  }
  .main-nav .nav-sub a:hover,
  .main-nav .nav-sub a:focus-visible { background: transparent; color: #fff !important; }
  .main-nav .nav-sub a.is-active { background: transparent; color: var(--blue) !important; }

  /* Mobile menu bottom: collapse the dropdown to a flat list */
  .lang-switch-mobile {
    display: block !important;
    margin: 0 2rem 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    position: static;
  }
  .lang-switch-mobile .lang-toggle { display: none; }
  .lang-switch-mobile .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  .lang-switch-mobile .lang-option {
    padding: .55rem 0;
    grid-template-columns: 32px 1fr 14px;
    gap: .4rem;
    border-bottom-color: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
  }
  .lang-switch-mobile .lang-option .lang-code { font-size: .72rem; }
  .lang-switch-mobile .lang-option .lang-name { font-size: .82rem; }
  .lang-switch-mobile .lang-option-active {
    background: transparent;
  }

  /* Tighter header on mobile */
  .lang-toggle {
    padding: .3rem .45rem;
    font-size: .7rem;
  }
  .lang-toggle-code { font-size: .72rem; }

  .about-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .pubs { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sancar-content { position: static; width: 100%; }
  .sancar-card { height: auto; }
  .career-text { position: static; transform: none; max-width: 100%; padding: 2rem; }
  .career-bg { height: auto; min-height: 300px; }
  .career { display: flex; flex-direction: column; background: var(--navy); }
}
@media (max-width: 1200px) {
  .news-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (max-width: 1100px) {
  .ref-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured-inner { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 2rem; }
  .post-head h1 { font-size: 1.8rem; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .departments-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-steps-inner { grid-template-columns: 1fr; }
  .quote-main-grid { grid-template-columns: 1fr; }
  .quote-side { position: static; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text { left: 5%; right: 5%; max-width: none; }
  .news-blue { padding: 3rem 0; }
  .news-blue-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 1.5rem;
  }
  .news-blue-left { padding: 0 1.5rem 0 0; }
  .news-blue-left h2 { font-size: 1.9rem; }
  .news-slide { flex: 0 0 85%; }
  .news-slider { padding-right: 1.5rem; }
  .news-slider-nav { margin-top: 1.8rem; }
  .catalog-hero { height: auto; }
  .catalog-hero-bg { position: relative; inset: auto; height: 240px; margin: 0; }
  .catalog-hero-panel {
    position: relative; left: auto; bottom: auto;
    width: 100%; min-width: 0; padding: 2rem;
  }
  .corp-about-grid,
  .quality-inner,
  .product-intro-grid,
  .product-specs-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mv { grid-template-columns: 1fr; }
  .values-grid,
  .product-features-grid,
  .product-apps-grid,
  .related-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 360px; }
  .page-hero-text h1 { font-size: 2rem; }
  .page-hero-bg { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
  .page-hero-overlay { clip-path: polygon(0 78%, 100% 62%, 100% 100%, 0 100%); }
  .page-hero::before { display: none; }
  .page-hero-text {
    margin-left: 6%;
    margin-right: 6%;
    padding: 5rem 0 5rem;
    max-width: none;
  }
  .page-hero-text h1 { font-size: 1.9rem; padding-right: 0; }
  .page-hero-text p { font-size: .95rem; }
  /* Keep the ARAT wordmark centered in the bottom accent strip on mobile */
  .page-hero-overlay::before {
    right: 50%;
    top: auto;
    bottom: 1rem;
    transform: translateX(50%);
    font-size: 2.4rem;
    -webkit-text-stroke-width: 1.5px;
  }
  .page-hero-overlay::after { display: none; }
}
@media (max-width: 600px) {
  .values-grid,
  .product-features-grid,
  .product-apps-grid,
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand h2 { font-size: 1.8rem; }
  .pub-card { grid-template-columns: 1fr; }
  .pub-cover { margin: 0 auto; }
  .news-col .news-card { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.6rem; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .departments-grid { grid-template-columns: 1fr; }
}
