/* ========== Dr. Fix — Kurumsal Site ========== */
:root {
  --bg: #FFFFFF;
  --bg-tint: #F4F4F5;
  --bg-tint-soft: #FAFAFA;
  --blue: #E30613;           /* Dr.Fix RED — accents, CTAs, links */
  --blue-dark: #B30410;
  --blue-darker: #0E0E10;    /* Near-black — dark surfaces, headings */
  --blue-light: #FF4D4D;
  --blue-lighter: #FFD9DC;
  --ink: #0E0E10;
  --ink-soft: #3A3A3D;
  --ink-muted: #7A7A7E;
  --line: #E5E5E5;
  --line-strong: #CACACE;
  --serif: "Spectral", "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1280px;
  --pad: 32px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--blue-darker);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; color: var(--ink-soft); text-wrap: pretty; }

/* ========== Layout ========== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--blue);
}

/* ========== Top Bar ========== */
.topbar {
  background: var(--blue-darker);
  color: #DDE6F3;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #DDE6F3; }
.topbar a:hover { color: #fff; }
.topbar .links { display: flex; gap: 22px; }
.topbar .meta { display: flex; gap: 18px; align-items: center; }
.topbar .meta span { display: inline-flex; gap: 6px; align-items: center; }

/* Language switcher */
.lang { display: inline-flex; gap: 2px; align-items: center; }
.lang a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #C8C8CE;
  border-radius: 2px;
  line-height: 1;
}
.lang a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.lang a.active { color: #fff; background: var(--blue); }
.lang .flag {
  display: inline-block;
  width: 18px; height: 12px;
  background-size: cover;
  background-position: center;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.flag-tr { background: linear-gradient(#E30A17 0 100%); position: relative; }
.flag-tr::after { content: "★"; position: absolute; inset: 0; color: #fff; font-size: 9px; display: grid; place-items: center; }
.flag-en {
  background:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(#fff 40%, #C8102E 40% 60%, #fff 60%),
    linear-gradient(90deg, #fff 40%, #C8102E 40% 60%, #fff 60%),
    #012169;
  background-blend-mode: normal;
}
.flag-fr { background: linear-gradient(90deg, #002395 0 33.33%, #fff 33.33% 66.66%, #ED2939 66.66%); }
.flag-de { background: linear-gradient(180deg, #000 0 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66%); }
.flag-ru { background: linear-gradient(180deg, #fff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66%); }
.flag-ar { background: #006C35; position: relative; }
.flag-ar::after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; bottom: 5px; background: #fff; }

/* ========== Header / Nav ========== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--blue-darker);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.footer .brand-logo { height: 40px; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}
.nav {
  display: flex; gap: 4px; align-items: center;
}
.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 2px;
  position: relative;
}
.nav a.active,
.nav a:hover {
  color: var(--blue);
}
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--blue);
}
.nav .cta {
  margin-left: 12px;
}
/* Header CTA — keep white text over red background; the .nav a base color
   would otherwise win on specificity and darken the label. */
.nav a.btn-primary,
.nav a.btn-primary:hover { color: #fff; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--blue-darker);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); padding: 12px 0; }
.btn-ghost:hover { gap: 14px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ========== Hero ========== */
.hero {
  background:
    linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 50%; top: 0; bottom: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 8px; height: 100%;
  background: var(--blue);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; }
.hero-stats {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 580px;
}
.stat .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--blue-darker);
  display: block;
  line-height: 1;
}
.stat .num sub { font-size: 18px; color: var(--blue); vertical-align: super; margin-left: 2px; }
.stat .lbl {
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  display: block;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--blue-darker);
  overflow: hidden;
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  padding: 20px 28px;
  max-width: 260px;
  box-shadow: 0 20px 50px rgba(10, 42, 82, 0.25);
}
.hero-visual .badge .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.hero-visual .badge .title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--blue-darker);
  margin-top: 6px;
  line-height: 1.3;
}
.hero-visual .frame-tag {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* ========== Marquee / logos ========== */
.partners {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.partners .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.partners .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.partners ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.partners li {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-muted);
  font-style: italic;
  opacity: 0.7;
}

/* ========== Section header ========== */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}
.section-head .lede {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
}
.section-head .right { text-align: right; }

/* ========== Categories ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat-card {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 280px;
  transition: background 0.2s;
}
.cat-card:hover { background: var(--bg-tint-soft); }
.cat-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.cat-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--blue-darker);
  margin: 0;
  line-height: 1.25;
}
.cat-card p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}
.cat-card .icon {
  width: 48px; height: 48px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  color: var(--blue);
  margin-bottom: 8px;
}
.cat-card .more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex; gap: 6px; align-items: center;
}

/* ========== Products grid ========== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: var(--blue-darker);
  box-shadow: 0 14px 40px rgba(14, 14, 16, 0.10);
  transform: translateY(-2px);
}
.prod-thumb {
  aspect-ratio: 1;
  background: var(--bg-tint);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.prod-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-thumb img { transform: scale(1.04); }
.prod-thumb .cat-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--blue-darker);
  color: #fff;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.prod-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.prod-body .code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.prod-body h4 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--blue-darker);
  margin: 0;
  font-weight: 500;
}
.prod-body .desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 14px;
  line-height: 1.5;
}
.prod-body .foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.prod-body .foot .more {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.prod-body .tds {
  font-size: 11px;
  color: var(--ink-muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* ========== About strip ========== */
.about-strip {
  background: var(--blue-darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-strip::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px; background: var(--blue);
}
.about-strip h2 { color: #fff; }
.about-strip p { color: rgba(255,255,255,0.75); }
.about-strip .eyebrow { color: var(--blue-light); }
.about-strip .eyebrow::before { background: var(--blue-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.about-strip .pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.pillar h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.pillar h4 .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-light);
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,0.2);
}
.pillar p { font-size: 14px; color: rgba(255,255,255,0.65); margin: 0; }

.about-visual {
  aspect-ratio: 5/4;
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px;
}
.about-visual .inner {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}
.about-visual .inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.about-visual .ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-visual .ticks span {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.about-visual .ticks .tl { top: 8px; left: 8px; }
.about-visual .ticks .tr { top: 8px; right: 8px; }
.about-visual .ticks .bl { bottom: 8px; left: 8px; }
.about-visual .ticks .br { bottom: 8px; right: 8px; }

/* ========== Blog teaser ========== */
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .img {
  aspect-ratio: 16/10;
  background: var(--bg-tint);
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}
.blog-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .img img { transform: scale(1.04); }
.blog-card.featured .img { aspect-ratio: 16/11; }
.blog-card .tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--blue-darker);
  margin: 0 0 8px;
  line-height: 1.3;
}
.blog-card.featured h4 { font-size: 28px; }
.blog-card .meta {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex; gap: 14px;
  margin-top: 10px;
}

/* ========== CTA ========== */
.cta-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { margin: 0; }
.cta-band .actions {
  display: flex; gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
  background: #000000;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand small { color: rgba(255,255,255,0.5); }
.footer .blurb { color: rgba(255,255,255,0.55); max-width: 280px; font-size: 13px; margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.socials a:hover { border-color: #fff; color: #fff; }

/* ========== Generic page header (subpages) ========== */
.page-head {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head .crumbs {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; gap: 10px; align-items: center;
}
.page-head .crumbs a { color: var(--ink-muted); }
.page-head .crumbs .sep { color: var(--line-strong); }
.page-head h1 { font-size: clamp(36px, 4vw, 56px); margin: 0; }
.page-head .lede { max-width: 640px; margin-top: 16px; font-size: 18px; }

/* ========== Filter / Catalog ========== */
.cat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}
.filter h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.filter ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.filter li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}
.filter li:hover { color: var(--blue); }
.filter li .c { color: var(--ink-muted); font-size: 12px; font-family: var(--mono); }
.filter li.active { color: var(--blue); font-weight: 600; }
.search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: 14px;
  background: #fff;
}
.search-input:focus { outline: none; border-color: var(--blue); }

.cat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cat-toolbar .count { font-size: 14px; color: var(--ink-muted); }
.cat-toolbar .sort {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex; gap: 8px; align-items: center;
}
.cat-toolbar select {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
}

/* ========== Product Detail ========== */
.pd-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.pd-gallery .main {
  aspect-ratio: 4/5;
  background: var(--bg-tint);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pd-gallery .main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pd-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.pd-gallery .thumbs .th {
  aspect-ratio: 1;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.pd-gallery .thumbs .th img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.2s; }
.pd-gallery .thumbs .th:hover img { opacity: 1; }
.pd-gallery .thumbs .th.active { border-color: var(--blue); }
.pd-gallery .thumbs .th.active img { opacity: 1; }

.pd-info .code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.pd-info h1 {
  font-size: 44px;
  margin-bottom: 16px;
}
.pd-info .lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.pd-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.pd-attr {
  background: #fff;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.pd-attr .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 600;
}
.pd-attr .v {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--blue-darker);
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-perks {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pd-perks .perk {
  display: flex; gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.pd-perks .perk .ico {
  width: 32px; height: 32px;
  background: var(--bg-tint);
  color: var(--blue);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.pd-tabs {
  margin-top: 96px;
}
.pd-tabs .tab-head {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.pd-tabs .tab {
  padding: 16px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.pd-tabs .tab.active { color: var(--blue); border-color: var(--blue); }
.pd-tabs .tab-panel { display: none; }
.pd-tabs .tab-panel.active { display: block; }
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.specs-grid .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs-grid .row .k { color: var(--ink-muted); }
.specs-grid .row .v { color: var(--ink); font-weight: 500; }

/* ========== Blog ========== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.bl-card { display: flex; flex-direction: column; }
.bl-card .img {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.bl-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bl-card:hover .img img { transform: scale(1.04); }
.bl-card .tag { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.bl-card h4 { font-family: var(--serif); font-size: 21px; color: var(--blue-darker); margin: 8px 0; line-height: 1.3; }
.bl-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.bl-card .meta { font-size: 12px; color: var(--ink-muted); margin-top: 14px; display: flex; gap: 12px; }

.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.blog-featured .img {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  overflow: hidden;
  position: relative;
}
.blog-featured .img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-featured .tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-featured h2 { font-size: 38px; margin-bottom: 16px; }
.blog-featured p { font-size: 16px; }

/* ========== Article ========== */
.article {
  display: grid;
  grid-template-columns: 1fr 720px 1fr;
  gap: 0;
  padding: 64px 0 96px;
}
.article > * { grid-column: 2; }
.article .hero-img {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
  background: var(--bg-tint);
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.article .hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
}
.article p { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 20px; }
.article .lead { font-size: 21px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 32px; }
.article ul { padding-left: 22px; }
.article li { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 8px; }
.article blockquote {
  border-left: 3px solid var(--blue);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--blue-darker);
}
.article-meta {
  display: flex; gap: 20px;
  font-size: 13px; color: var(--ink-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-meta .author { color: var(--ink); font-weight: 600; }

/* ========== About page ========== */
.timeline {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.timeline:last-child { border-bottom: 1px solid var(--line); }
.timeline .year {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--blue);
}
.timeline h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--blue-darker);
  margin-bottom: 10px;
}
.timeline p { font-size: 15px; max-width: 640px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: #fff;
  padding: 40px 32px;
}
.value-card .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card .img {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(135deg, var(--bg-tint) 0 14px, var(--bg-tint-soft) 14px 28px);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--line-strong);
  font-style: italic;
}
.team-card h4 { font-family: var(--serif); font-size: 18px; color: var(--blue-darker); margin: 0; }
.team-card .role { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

/* ========== HR (Insan Kaynaklari) ========== */
.hr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hr-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hr-perk .ico {
  width: 56px; height: 56px;
  background: var(--bg-tint);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.hr-perk h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; }
.hr-perk p { font-size: 14px; margin: 0; }

.openings { display: flex; flex-direction: column; }
.opening {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.opening:last-child { border-bottom: 1px solid var(--line); }
.opening h4 { font-family: var(--serif); font-size: 20px; color: var(--blue-darker); margin: 0; }
.opening .dept, .opening .loc { font-size: 14px; color: var(--ink-muted); }
.opening .dept .label, .opening .loc .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.opening .dept .val, .opening .loc .val { color: var(--ink); font-size: 15px; }

/* ========== Policies ========== */
.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.policy-nav {
  position: sticky;
  top: 100px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.policy-nav h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.policy-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.policy-nav li {
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  padding-left: 16px;
  position: relative;
}
.policy-nav li.active { color: var(--blue); font-weight: 600; }
.policy-nav li.active::before {
  content: ""; position: absolute;
  left: -25px; top: 8px; width: 12px; height: 2px;
  background: var(--blue);
}
.policy-body h2 { margin-top: 56px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 { font-size: 18px; margin-top: 32px; }
.policy-body p, .policy-body li { font-size: 15px; line-height: 1.7; }
.policy-body ul { padding-left: 20px; }
.policy-body li { margin-bottom: 8px; color: var(--ink-soft); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.cert {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  padding: 18px;
  font-family: var(--serif);
  color: var(--blue-darker);
  font-size: 14px;
  background: #fff;
  font-style: italic;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .block:first-child { padding-top: 0; }
.contact-info .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-info .value { font-family: var(--serif); font-size: 19px; color: var(--blue-darker); }
.contact-info .value a { color: inherit; }
.contact-info .value a:hover { color: var(--blue); }

.contact-form {
  background: var(--bg-tint);
  padding: 40px;
  border: 1px solid var(--line);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.contact-form .submit-row .note { font-size: 12px; color: var(--ink-muted); max-width: 260px; }

.map {
  margin-top: 64px;
  aspect-ratio: 21/8;
  background:
    repeating-linear-gradient(45deg, var(--bg-tint) 0 20px, var(--bg-tint-soft) 20px 40px);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}
.map::after {
  content: "📍";
  position: absolute;
  top: 38%; left: 52%;
  font-size: 32px;
}

/* ========== Tiny ========== */
.divider { height: 1px; background: var(--line); margin: 0; }
.center { text-align: center; }
.muted { color: var(--ink-muted); }

/* ========== Hero compact ========== */
.hero-compact { padding: 56px 0 64px; }
.hero-compact .hero-grid { gap: 48px; align-items: stretch; }
.hero-compact .hero-visual { aspect-ratio: 16/10; }
.hero-compact h1 { font-size: clamp(36px, 4.2vw, 52px); }

/* ========== Category strip (compact) ========== */
.cat-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.cat-chips {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.cat-chip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  transition: background 0.2s;
  position: relative;
}
.cat-chip:last-child { border-right: 0; }
.cat-chip:hover { background: var(--bg-tint); color: var(--blue); }
.cat-chip .ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--blue);
  background: var(--bg-tint);
}
.cat-chip:hover .ico { background: var(--blue); color: #fff; }
.cat-chip .lbl {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--blue-darker);
  line-height: 1.25;
}
.cat-chip .ct {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

/* ========== Product filter (inline tabs) ========== */
.prod-filter {
  display: inline-flex;
  gap: 0;
  background: var(--bg-tint);
  padding: 4px;
}
.prod-filter a {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.prod-filter a:hover { color: var(--blue); }
.prod-filter a.active { background: #fff; color: var(--blue-darker); box-shadow: 0 1px 0 var(--line); }

/* NEW badge */
.prod-thumb .badge-new {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--blue);
  color: #fff;
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  z-index: 2;
}

/* ========== Spotlight grid ========== */
.spot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.spot-card {
  position: relative;
  overflow: hidden;
  background: var(--blue-darker);
  color: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.spot-card.spot-big {
  grid-row: span 2;
  min-height: 460px;
}
.spot-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.5s ease, opacity 0.3s;
}
.spot-card:hover img { transform: scale(1.04); opacity: 0.45; }
.spot-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.spot-card .spot-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: #fff;
}
.spot-card .spot-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  display: block;
  margin-bottom: 10px;
}
.spot-card h3 {
  font-family: var(--serif);
  color: #fff;
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.spot-card.spot-big h3 { font-size: 32px; }
.spot-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 14px;
}
.spot-card .spot-more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.spot-card:hover .spot-more { color: #fff; }

/* ========== Industries bar ========== */
.ind-bar { background: var(--blue-darker); color: #fff; }
.ind-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ind-head { color: #fff; }
.ind-head .eyebrow { color: var(--blue-light); }
.ind-head .eyebrow::before { background: var(--blue-light); }
.ind-head h3 { font-family: var(--serif); color: #fff; font-size: 22px; margin-bottom: 8px; }
.ind-head p { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0; }
.ind-card {
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: background 0.2s, border-color 0.2s;
}
.ind-card:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ind-card .ind-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-light);
}
.ind-card:hover .ind-num { color: rgba(255,255,255,0.8); }
.ind-card h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 18px;
  margin: 12px 0 4px;
  line-height: 1.25;
}
.ind-card p {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  margin: 0;
}
.ind-card:hover p { color: rgba(255,255,255,0.85); }

@media (max-width: 1024px) {
  .cat-chips { grid-template-columns: repeat(4, 1fr); }
  .cat-chip:nth-child(4n) { border-right: 0; }
  .spot-grid { grid-template-columns: 1fr 1fr; }
  .spot-card.spot-big { grid-row: span 1; min-height: 280px; }
  .ind-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-grid, .about-grid, .cta-band .wrap, .hr-hero, .contact-grid, .blog-featured { grid-template-columns: 1fr; }
  .cat-grid, .prod-grid, .blog-list, .team-grid, .hr-perks, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-layout, .policy-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
  .article > * { grid-column: 1; }
}
@media (max-width: 640px) {
  .cat-chips { grid-template-columns: repeat(2, 1fr); }
  .spot-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .hero { padding: 32px 0; }
  section { padding: 56px 0; }
  .cat-grid, .prod-grid, .blog-list, .team-grid, .hr-perks, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   ============ Mobile Navigation + Mobile Layout ============
   ========================================================== */

/* Hamburger button — hidden on desktop, shown ≤ 900px. */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 60;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-darker);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.45);
  z-index: 49;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* ============ ≤ 900px: tablet & phone ============ */
@media (max-width: 900px) {
  :root { --pad: 20px; }

  /* Topbar — compact */
  .topbar { font-size: 12px; }
  .topbar .wrap {
    flex-wrap: wrap;
    gap: 6px 14px;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .topbar .links { display: none; }
  .topbar .meta {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .lang { flex-wrap: wrap; }
  .lang a { padding: 4px 6px; font-size: 11px; gap: 4px; }
  .lang .flag { width: 14px; height: 10px; }

  /* Header */
  .header .wrap { height: 64px; }
  .brand-logo { height: 36px; }

  /* Hamburger */
  .menu-toggle { display: inline-flex; }

  /* Nav — slide-in panel */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(105%);
    width: min(84vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -16px 0 40px rgba(14, 14, 16, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 88px 22px 32px;
    z-index: 55;
    transition: transform 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-open .nav { transform: translateX(0); }
  .nav a {
    padding: 16px 8px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    width: 100%;
  }
  .nav a.active { color: var(--blue); }
  .nav a.active::after { display: none; }
  .nav .cta {
    margin: 20px 0 0;
    padding: 14px 20px;
    justify-content: center;
    border-radius: 2px;
    width: 100%;
    border-bottom: 0;
  }

  /* Backdrop activation */
  .nav-backdrop { display: block; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }

  /* Section / hero spacing */
  section { padding: 72px 0; }
  section.tight { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-compact { padding: 32px 0 56px; }
  .hero::before { right: 60%; }
  .hero-grid,
  .hero-compact .hero-grid { gap: 36px; }
  .hero .lede { font-size: 17px; }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { margin-top: 40px; padding-top: 24px; gap: 20px; }
  .stat .num { font-size: 30px; }

  /* Section headers — stack columns */
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }
  .section-head .right {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-head .right > .btn[style*="margin-left"] { margin-left: 0 !important; }
  .prod-filter {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .prod-filter::-webkit-scrollbar { display: none; }
  .prod-filter a { white-space: nowrap; flex: 0 0 auto; }

  /* Partners */
  .partners .wrap { gap: 20px; }
  .partners ul { gap: 28px; }
  .partners li { font-size: 17px; }

  /* About strip — stack pillars */
  .about-strip .pillars { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-grid { gap: 40px; }

  /* CTA band */
  .cta-band .wrap { gap: 28px; }
  .cta-band .actions { justify-content: flex-start; }

  /* Blog cards */
  .blog-grid { gap: 32px; }
  .blog-card.featured h4 { font-size: 24px; }
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
    padding-bottom: 48px;
  }
  .blog-featured h2 { font-size: 28px; }

  /* Footer */
  .footer { padding: 64px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 24px;
  }
  .footer-bottom .legal { flex-wrap: wrap; gap: 16px 22px; }

  /* Page heads */
  .page-head { padding: 56px 0 40px; }

  /* Catalog layout — sidebar on top */
  .cat-layout { gap: 32px; }
  .cat-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Product detail */
  .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-info h1 { font-size: 34px; }
  .pd-tabs { margin-top: 64px; }
  .pd-tabs .tab-head {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    scrollbar-width: none;
  }
  .pd-tabs .tab-head::-webkit-scrollbar { display: none; }
  .pd-tabs .tab { white-space: nowrap; flex: 0 0 auto; }
  .specs-grid { grid-template-columns: 1fr; gap: 0; }

  /* Article */
  .article {
    grid-template-columns: 1fr;
    padding: 48px 20px 72px;
  }
  .article > * { grid-column: 1; }
  .article .hero-img { margin-bottom: 36px; aspect-ratio: 16/9; }
  .article .lead { font-size: 19px; }
  .article p, .article li { font-size: 16px; }
  .article h2 { font-size: 24px; margin-top: 36px; }
  .article blockquote { font-size: 19px; padding-left: 20px; margin: 24px 0; }

  /* About — timeline */
  .timeline {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }
  .timeline .year { font-size: 26px; }

  /* HR — openings */
  .opening {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .opening .btn { justify-self: start; }

  /* Policy */
  .policy-layout { gap: 32px; }
  .policy-nav {
    position: static;
    top: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }
  .policy-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .policy-nav li { padding-left: 0; }
  .policy-nav li.active::before { display: none; }
  .policy-body h2 { margin-top: 40px; }

  /* Certifications */
  .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* Contact */
  .contact-grid { gap: 40px; }
  .contact-form { padding: 28px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form .submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .contact-form .submit-row .btn { justify-content: center; }
  .map { aspect-ratio: 4/3; margin-top: 40px; }

  /* HR hero */
  .hr-perks { grid-template-columns: 1fr 1fr; }
}

/* ============ ≤ 640px: phone ============ */
@media (max-width: 640px) {
  :root { --pad: 16px; }

  /* Topbar — hide phone, keep mail + lang only */
  .topbar .meta > span { font-size: 11px; }
  .topbar .meta > span:last-child { display: none; }

  /* Header */
  .header .wrap { height: 60px; }
  .brand-logo { height: 32px; }
  .brand small { display: none; }

  /* Sections */
  section { padding: 56px 0; }
  section.tight { padding: 44px 0; }
  .hero { padding: 32px 0 48px; }
  .hero-compact { padding: 24px 0 44px; }

  /* Headings — slightly smaller for tight viewports */
  h1 { font-size: clamp(32px, 9vw, 44px); }
  h2 { font-size: clamp(24px, 6.5vw, 32px); }
  h3 { font-size: 20px; }

  /* Hero */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 14px;
  }
  .stat .num { font-size: 24px; }
  .stat .lbl { font-size: 11px; }
  .hero-cta .btn { width: 100%; flex: 1 1 100%; }
  .hero-visual { aspect-ratio: 4/5; }
  .hero-compact .hero-visual { aspect-ratio: 4/3; }
  .hero-visual .badge {
    left: 14px;
    bottom: 14px;
    padding: 14px 16px;
    max-width: calc(100% - 28px);
  }
  .hero-visual .badge .title { font-size: 15px; }
  .hero-visual .frame-tag {
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    font-size: 10px;
  }

  /* About strip — pillars 1 col on the smallest devices */
  .about-strip .pillars { grid-template-columns: 1fr; gap: 20px; }
  .about-strip { padding: 64px 0; }

  /* Category cards */
  .cat-card { padding: 26px 22px; min-height: auto; }

  /* Product cards */
  .prod-body { padding: 20px; }
  .prod-body h4 { font-size: 17px; }

  /* Product detail */
  .pd-info h1 { font-size: 28px; }
  .pd-info .lede { font-size: 16px; }
  .pd-attrs { grid-template-columns: 1fr; }
  .pd-perks { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; align-items: stretch; }
  .pd-actions .btn { justify-content: center; }
  .pd-tabs { margin-top: 56px; }

  /* Article */
  .article {
    padding: 36px 16px 56px;
  }
  .article h2 { font-size: 22px; }
  .article blockquote { font-size: 17px; }

  /* Blog */
  .blog-featured h2 { font-size: 24px; }
  .blog-card.featured h4 { font-size: 22px; }
  .bl-card h4 { font-size: 19px; }

  /* HR */
  .hr-perks { grid-template-columns: 1fr; }

  /* Certifications */
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert { padding: 14px; font-size: 13px; }

  /* Contact */
  .contact-form { padding: 22px; }

  /* Page head */
  .page-head { padding: 44px 0 32px; }
  .page-head h1 { font-size: 30px; }
  .page-head .lede { font-size: 16px; margin-top: 12px; }

  /* Buttons — tap-friendly */
  .btn { padding: 13px 20px; font-size: 13px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; padding-bottom: 32px; }
  .footer .blurb { max-width: none; }

  /* Spotlight */
  .spot-card .spot-body { padding: 22px; }
  .spot-card h3 { font-size: 20px; }
  .spot-card.spot-big { min-height: 320px; }
  .spot-card.spot-big h3 { font-size: 26px; }

  /* Industries */
  .ind-card { min-height: 130px; padding: 18px; }

  /* Section head — ensure right-side controls don't push wide */
  .section-head .right .btn { margin-left: 0 !important; }
}

/* ============ ≤ 380px: very narrow phones ============ */
@media (max-width: 380px) {
  .topbar .meta { gap: 8px; }
  .lang a { padding: 3px 5px; font-size: 10px; }
  .hero-cta { gap: 10px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
}

/* iOS form-zoom safety: keep inputs at ≥16px on mobile */
@media (max-width: 900px) {
  input, select, textarea, .search-input {
    font-size: 16px !important;
  }
}

/* ==========================================================
   Inline-style grid overrides — subpages use inline
   `style="grid-template-columns: …"` which beats class rules.
   Force single/double-column on small viewports.
   ========================================================== */
@media (max-width: 900px) {
  /* hakkimizda.html — intro split (1fr 1fr) */
  .wrap[style*="grid-template-columns: 1fr 1fr"],
  .wrap[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* hakkimizda.html — stats band (4 cols), insan-kaynaklari.html — process (4 cols), urun-detay.html — apply steps (4 cols) */
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  /* iletisim.html — bölge ofisleri (3 cols) */
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* urun-detay.html — tab-desc 2-col (1.6fr 1fr) */
  div[style*="grid-template-columns: 1.6fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* hakkimizda.html — image overlay box: tighten padding & font */
  div[style*="bottom:24px"][style*="left:24px"][style*="right:24px"] {
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    padding: 16px !important;
  }
  /* blog.html / similar — newsletter form (input + button row) */
  form[style*="display:flex"][style*="align-items:stretch"] {
    flex-direction: column;
  }
  /* Inline-styled heading sizes that are huge on mobile */
  div[style*="font-size:56px"] {
    font-size: 40px !important;
  }
}

@media (max-width: 640px) {
  /* Stats etc. — go single-column on phones */
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  div[style*="font-size:56px"] {
    font-size: 32px !important;
  }
  /* Tighten urun-detay aside */
  aside[style*="padding:32px"] {
    padding: 22px !important;
  }
  /* Inline section paddings (e.g. politikalar download CTA) */
  div[style*="padding:32px"] {
    padding: 22px !important;
  }
  /* urun-detay download list rows — let columns wrap */
  a[style*="justify-content:space-between"][style*="padding:20px 0"] {
    gap: 12px;
  }
  /* insan-kaynaklari hero CTA row */
  div[style*="display:flex"][style*="gap:14px"][style*="margin-top:24px"] {
    flex-wrap: wrap;
  }
  /* Inline pagination row — stays centered + wraps */
  div[style*="display:flex"][style*="justify-content:center"][style*="gap:8px"] {
    flex-wrap: wrap;
  }
}

