/* PURIN kurumsal site — sade, düz köşeli, gölgesiz (yalnız açık tema) */

:root {
  /* Ana vurgu: PURIN logo mavisi (logolardan ölçülen değer) */
  --blue: #0a71b7;
  --blue-dark: #095a92;
  --purin: #0a71b7;

  /* Marka vurguları (logolardaki X harfinden ölçüldü) */
  --nexora: #279359;
  --tarvix: #662483;
  --ecurex: #b01821;
  --flexira: #d94190;

  --ink: #3c3c3b;
  --ink-strong: #1d1d1b;
  --grey-band: #eef2f4;
  --line: #d6dde1;
  --footer: #EEF2F5;
  --footer-ink: #3c3c3b;
  --white: #ffffff;

  --font-head: "Barlow", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.15; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 8px 14px;
}
.skip-link:focus { top: 8px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Bölüm iskeleti ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.band { background: var(--grey-band); }

.section-head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 860px; }
.eyebrow {
  display: block;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; background: var(--blue); margin-top: 16px;
}
.section-intro { margin-top: 18px; font-size: 18px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--blue);
}
.arrow-link::after {
  content: ""; width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.arrow-link:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Üst bar (üst satır menü + dil) ---------- */
.topbar { background: var(--grey-band); border-bottom: 1px solid var(--line); font-size: 14px; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; min-height: 40px; }
.topbar-links { display: flex; align-items: center; gap: 2px 18px; }
.topbar-links > li { position: relative; }
.topbar-links a, .topbar .sub-toggle { color: var(--ink); }
.topbar-links > li > a, .topbar .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 2px;
  background: none; border: 0; cursor: pointer; font: inherit;
}
.topbar-links a:hover, .topbar .sub-toggle:hover, .topbar-links a[aria-current="page"],
.topbar .has-sub.is-current > .sub-toggle { color: var(--blue); }
.chev { width: 14px; height: 14px; transition: transform .15s; }
.has-sub.is-open > .sub-toggle .chev { transform: rotate(180deg); }

.topbar .submenu {
  display: none; position: absolute; top: 100%; left: -14px; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  padding: 6px 0;
}
.topbar .has-sub.is-open > .submenu { display: block; }
@media (hover: hover) { .topbar .has-sub:hover > .submenu { display: block; } }
.topbar .submenu a { display: block; padding: 9px 16px; font-size: 15px; }
.topbar .submenu a:hover, .topbar .submenu a[aria-current="page"] { background: var(--grey-band); color: var(--blue); }
.topbar .submenu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); }
.topbar .lang-switch button { height: 40px; font-size: 14px; }

/* ---------- Header (alt satır ana menü) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.logo-text {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 30px;
  letter-spacing: .04em; color: var(--purin); line-height: 1;
}
.logo-text sup { font-size: 12px; font-family: var(--font-body); }

.nav { margin-left: auto; height: 100%; }
.nav-main { display: flex; height: 100%; gap: clamp(12px, 2.4vw, 36px); }
.nav-main li { height: 100%; }
.nav-main a {
  display: flex; align-items: center; height: 100%;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink-strong);
  border-bottom: 4px solid transparent; padding-top: 4px;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-secondary { display: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; min-width: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer; color: var(--ink-strong);
  font-family: var(--font-head); font-weight: 600;
}
.icon-btn:hover { color: var(--blue); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; }

/* Dil seçici: EN | TR (masaüstünde üst barda, mobilde header'da) */
.lang-switch { display: flex; align-items: center; gap: 2px; flex: none; color: var(--line); }
.lang-switch button {
  background: none; border: 0; cursor: pointer; min-width: 36px; height: 44px; padding: 0 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--ink);
  border-bottom: 3px solid transparent;
}
.lang-switch button:hover { color: var(--blue); }
.lang-switch button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.lang-mobile { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--white); }
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; gap: 0; padding-top: 16px; padding-bottom: 16px; }
.search-panel input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-right: 0; border-radius: 0;
}
.search-panel input:focus { outline: none; border-color: var(--blue); }
.search-msg { padding-bottom: 14px; font-size: 15px; }
.search-msg:empty { display: none; }

@media (max-width: 899px) {
  .topbar { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .lang-mobile { display: flex; margin-left: -8px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; height: auto;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav-main, .nav-secondary { display: block; height: auto; padding: 0 var(--gutter); }
  .nav-main { padding-top: 8px; }
  .nav-secondary { padding-bottom: 16px; }
  .nav-main li { height: auto; }
  .nav-main a, .nav-secondary > li > a, .nav-secondary .sub-toggle {
    display: flex; align-items: center; width: 100%; min-height: 52px; height: auto; padding: 0 12px;
    border-bottom: 1px solid var(--line); border-left: 4px solid transparent;
    font-family: var(--font-head); font-weight: 600; color: var(--ink-strong); font-size: 17px;
  }
  .nav-secondary > li > a, .nav-secondary .sub-toggle { font-size: 16px; font-weight: 500; }
  .nav-main a:hover, .nav-main a[aria-current="page"],
  .nav-secondary a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--line); border-left-color: var(--blue); }
  .nav-secondary .sub-toggle { background: none; border-top: 0; border-right: 0; cursor: pointer; justify-content: space-between; text-align: left; }
  .nav-secondary .submenu { display: none; background: var(--grey-band); }
  .nav-secondary .has-sub.is-open > .submenu { display: block; }
  .nav-secondary .submenu a { display: block; padding: 12px 16px 12px 28px; border-bottom: 1px solid var(--line); color: var(--ink); }
}
@media (max-width: 479px) {
  .header .container { gap: 8px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo img { height: 28px; }
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  border: 2px solid var(--blue); background: var(--blue); color: var(--white); cursor: pointer;
  border-radius: 0;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: #1f2326; color: var(--white); overflow: hidden; }
.hero-track { position: relative; height: clamp(380px, 52vw, 560px); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media, .hero-media img, .hero-media canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img { object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.1) 70%);
}
.hero-content {
  position: relative; height: 100%;
  display: flex; align-items: flex-end; padding-bottom: clamp(40px, 6vw, 64px);
}
.hero-box {
  background: var(--blue); padding: clamp(14px, 2vw, 24px) clamp(22px, 3.4vw, 40px); max-width: 600px; width: 100%;
}
.hero-box .eyebrow { color: var(--white); opacity: .9; }
.hero-box h2 { color: var(--white); font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; }
.hero-box p { margin-top: 14px; font-size: 18px; }
.hero-box .btn { margin-top: 16px; }
.hero-dots {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 3vw, 32px);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dots button {
  width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  position: relative;
}
.hero-dots button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.5);
}
.hero-dots button[aria-current="true"]::before { background: var(--white); height: 4px; top: 10px; }
@media (max-width: 640px) {
  .hero-track { height: auto; min-height: 460px; }
  .hero-content { align-items: flex-end; padding-bottom: 56px; }
  .hero-dots { left: var(--gutter); right: auto; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* ---------- Markalar ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 999px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .brand-grid { grid-template-columns: 1fr; } }

.brand-card {
  background: var(--white); border-top: 5px solid var(--brand, var(--blue));
  display: flex; flex-direction: column; padding: 24px 24px 22px;
}
.brand-logo { height: 96px; display: flex; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.brand-logo img { max-height: 52px; width: auto; max-width: 100%; }
/* 25.10.2026: logonun altında marka açıklaması, altında ikinci gri çizgi */
.brand-tagline { margin: -6px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink-strong); min-height: calc(2.8em + 15px); } /* 2 satıra yer: kartlardaki listeler hizalı kalır */
@media (max-width: 559px) { .brand-tagline { min-height: 0; } }
.brand-wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 32px; letter-spacing: .14em;
  color: var(--purin); text-transform: uppercase; line-height: 1;
}
.brand-wordmark span { color: var(--brand); }
.brand-wordmark small {
  display: block; text-align: right; font-size: 11px; letter-spacing: .2em; margin-top: 4px;
  font-weight: 600;
}
.brand-groups { flex: 1; display: grid; gap: 10px; align-content: start; }
.brand-groups li { position: relative; padding-left: 20px; font-weight: 400; color: var(--ink-strong); }
.brand-groups li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--brand);
}
.brand-groups small { display: block; font-weight: 400; color: var(--ink); font-size: 15px; }
.brand-empty { flex: 1; color: var(--ink); font-style: italic; }
.brand-card .arrow-link { margin-top: 24px; }

/* ---------- Uygulama alanları ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 999px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  background: #262b2e; color: var(--white);
}
.app-card img, .app-card canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.app-card:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .app-card img { transition: none; } .app-card:hover img { transform: none; } }
.app-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(20, 24, 26, .78); border-top: 5px solid var(--blue);
  padding: 18px 20px 20px;
}
.app-label h3 { color: var(--white); font-size: 21px; font-weight: 600; }
.app-label p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #e3e8eb; }
.app-card:hover { color: var(--white); }
.app-card:hover .app-label { background: rgba(10, 113, 183, .9); }
@media (max-width: 559px) { .app-card { aspect-ratio: 4 / 3; } }
/* 25.10.2026: ürün grubu kutuları (marka sayfaları, en fazla 5): geniş ekranda 5 kutu = üstte 2 + altta 3, 4 kutu = 2 + 2 */
@media (min-width: 1000px) {
  #product-groups .app-grid { grid-template-columns: repeat(6, 1fr); }
  #product-groups .app-card { grid-column: span 2; aspect-ratio: auto; height: 380px; }
  #product-groups .app-card:first-child:nth-last-child(5),
  #product-groups .app-card:first-child:nth-last-child(5) + .app-card,
  #product-groups .app-card:first-child:nth-last-child(4),
  #product-groups .app-card:first-child:nth-last-child(4) ~ .app-card { grid-column: span 3; }
  #product-groups .app-card:first-child:nth-last-child(1),
  #product-groups .app-card:first-child:nth-last-child(2),
  #product-groups .app-card:first-child:nth-last-child(2) ~ .app-card { grid-column: span 3; }
}
.section-outro { margin-top: clamp(24px, 4vw, 36px); max-width: 860px; }

/* ---------- Öne çıkan ürün ---------- */
.spot { display: grid; grid-template-columns: 5fr 7fr; background: var(--white); border: 1px solid var(--line); }
@media (max-width: 899px) { .spot { grid-template-columns: 1fr; } }
.spot-main { background: #e4eaee; padding: clamp(24px, 3.4vw, 40px); }
.spot-side { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 28px; align-content: start; }
.tag {
  display: inline-block; padding: 4px 10px; color: var(--white); background: var(--brand, var(--blue));
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.spot-main h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin-top: 14px; }
.spot-main > p { margin-top: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badges li {
  border: 1px solid var(--blue); color: var(--blue); padding: 4px 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; background: var(--white);
}
.downloads { margin-top: 28px; }
.downloads h4 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.downloads ul { display: grid; gap: 8px; }
.dl {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px;
  background: var(--blue); color: var(--white);
}
.dl:hover { background: var(--blue-dark); color: var(--white); }
.dl-pdf {
  flex: none; border: 1px solid rgba(255,255,255,.8); font-size: 11px; font-weight: 600;
  padding: 2px 5px; letter-spacing: .05em; font-family: var(--font-head);
}
.dl-text { flex: 1; line-height: 1.25; }
.dl-text b { display: block; font-family: var(--font-head); font-weight: 600; }
.dl-text small { font-size: 14px; opacity: .85; }
.dl-icon { width: 20px; height: 20px; flex: none; }
.dl[aria-disabled="true"] { background: #8aa9be; cursor: default; }

.spot-side h4 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.check-list { display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 6px; height: 11px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
}
.spot-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
@media (max-width: 640px) { .spot-cols { grid-template-columns: 1fr; } }
.related { border-top: 1px solid var(--line); padding-top: 22px; }
.related ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ---------- İletişim ---------- */
.contact { background: #7593a9; color: var(--white); } /* 25.10.2026: parlak mavi yerine PDF kutularındaki gri-mavi ton (#8aa9be) ailesinden, yazı okunsun diye bir ton koyu */
.contact .section-title, .contact h3 { color: var(--white); }
.contact .section-title::after { background: var(--white); }
/* 25.10.2026: alt sayfalarda (İletişim, TARVIX, PU enjeksiyon…) bölüm başlıkları sayfa içi başlıklarla (block-title) aynı boyda; ana sayfada bölüm başlığı boyu kalır */
.page-components .section-title { font-size: clamp(24px, 2.6vw, 30px); }
.page-components .section-head:not(.has-media) { max-width: none; }
.page-components .section-intro { text-align: justify; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-text { margin-top: 18px; font-size: 18px; }
.contact-details { display: grid; gap: 16px; }
.contact-details dt { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.contact-details dd { margin: 2px 0 0; font-size: 19px; }
.contact-details a { color: var(--white); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.form { background: var(--white); color: var(--ink); padding: clamp(22px, 3vw, 36px); }
.form h3 { color: var(--ink-strong); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink-strong); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--white);
  padding: 10px 12px; min-height: 46px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.req { color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 4px; }
.form-msg { font-weight: 600; }
.form-msg.is-ok { color: #1f7a45; }
.form-msg.is-err { color: #c0392b; }

.offices { margin-top: 28px; display: grid; gap: 26px; }
.office h3 { font-size: 18px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.35); }
.office .contact-details { margin-top: 12px; gap: 10px; }
.office .contact-details dd { font-size: 17px; }
.contact-web { margin-top: 26px; }
.contact-details a { overflow-wrap: anywhere; }

/* ---------- WhatsApp sabit butonu ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: var(--white);
}
.wa-float:hover { background: #1da851; color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 559px) { .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--footer-ink); font-size: 15px; }
.footer a { color: var(--footer-ink); }
.footer a:hover { color: var(--blue); }
.footer-top {
  display: grid; grid-template-columns: 4fr repeat(3, 2fr); gap: 32px;
  padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(32px, 5vw, 48px);
}
@media (max-width: 899px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo img { height: 30px; width: auto; }
.footer-logo .logo-text { color: var(--blue); }
.footer-brand p { margin-top: 18px; max-width: 380px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #b9c3cb; color: var(--footer-ink);
}
.social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer h3 {
  color: var(--ink-strong); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #c4ced6; }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 18px; padding-bottom: 18px; font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--footer-ink); font-size: 14px; }

/* Sabit WhatsApp butonu alt satırdaki linklerin üstüne binmesin */
.footer-bottom .container { padding-right: calc(var(--gutter) + 64px); }

/* ---------- Ana sayfa: iş alanları ve farklılıklar ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1099px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .area-grid { grid-template-columns: 1fr; } }
.area-card {
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--blue);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.area-card h3 { font-size: 21px; font-weight: 600; }
.area-tagline { font-family: var(--font-head); font-weight: 600; color: var(--blue); line-height: 1.3; }
.area-card p:not(.area-tagline) { flex: 1; font-size: 16px; }
.area-card .arrow-link { margin-top: 6px; }
.page-content .area-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 559px) { .page-content .area-grid { grid-template-columns: 1fr; } }

.diff-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 4vw, 40px); }
.diff-head .section-title { margin: 0; }
.stat { display: flex; align-items: baseline; gap: 12px; max-width: 360px; }
.stat b { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5vw, 56px); color: var(--blue); line-height: 1; }
.stat span { font-size: 16px; line-height: 1.35; }
.diff-more { margin-top: 28px; }

.features { display: grid; gap: 24px; }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .features.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .features.cols-3, .features.cols-2 { grid-template-columns: 1fr; } }
.feature { border-top: 4px solid var(--blue); padding-top: 16px; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 16px; }
.feature .arrow-link { margin-top: 12px; }

/* ---------- Alt sayfa iskeleti ---------- */
.page-head { background: var(--grey-band); border-bottom: 1px solid var(--line); padding: 22px 0 clamp(28px, 4vw, 44px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #8a979e; }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink-strong); font-weight: 600; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 4px; background: var(--blue); margin-top: 16px; }

.page-layout { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-layout.has-side { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-content { max-width: 920px; min-width: 0; }
.page-body { padding-top: 32px; padding-bottom: 48px; }

.side-nav { position: sticky; top: calc(var(--header-h) + 20px); border-top: 4px solid var(--blue); background: var(--grey-band); }
.side-title { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 14px 18px 8px; }
.side-nav ul { padding-bottom: 8px; }
.side-nav a { display: block; padding: 10px 18px; color: var(--ink-strong); border-left: 4px solid transparent; }
.side-nav a:hover { color: var(--blue); }
.side-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; border-left-color: var(--blue); background: var(--white); }
@media (max-width: 899px) {
  .page-layout.has-side { grid-template-columns: 1fr; }
  .side-nav { position: static; order: 2; }
}

.block + .block { margin-top: clamp(36px, 5vw, 56px); }
.block-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; margin-bottom: 20px; }
.block-intro .headline { font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; color: var(--blue); margin-bottom: 18px; }
.block-intro .lead { font-size: 19px; }
.block-intro .lead + .lead { margin-top: 14px; }
.block-text p + p { margin-top: 14px; }
.highlight { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--blue); background: var(--grey-band); font-weight: 600; color: var(--ink-strong); }

/* Süreç adımları: geniş ekranda yatay, dar ekranda dikey */
.process { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 0 16px 0 0; }
.step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 20px;
  position: relative; z-index: 1;
}
.step::before { content: ""; position: absolute; left: 44px; right: 0; top: 21px; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step h3 { font-size: 18px; font-weight: 600; margin: 14px 0 6px; }
.step p { font-size: 15px; line-height: 1.45; }
@media (max-width: 1199px) {
  .process { grid-auto-flow: row; }
  .step { padding: 0 0 22px 64px; min-height: 64px; }
  .step-no { position: absolute; left: 0; top: 0; }
  .step::before { left: 21px; right: auto; top: 44px; bottom: 0; width: 2px; height: auto; }
  .step h3 { margin-top: 8px; }
}

/* Sertifika tablosu: geniş ekranda tablo, dar ekranda kart */
.cert-table { border-top: 2px solid var(--ink-strong); }
.cert-row { display: grid; grid-template-columns: 1fr 2fr 1.6fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cert-headrow { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 10px 0; }
.cert-doc { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink-strong); }
.cert-dl .dl { min-height: 48px; }
@media (max-width: 699px) {
  .cert-headrow { display: none; }
  .cert-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}
.doc-list { display: grid; gap: 8px; }

/* Zaman çizelgesi (Tarihçe) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 0 0 26px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--blue); }
.tl-year { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--blue); }
.timeline h3 { font-size: 18px; font-weight: 600; }

/* İçerik hazırlanıyor kutusu */
.pending-box { border: 1px solid var(--line); border-top: 5px solid var(--blue); background: var(--grey-band); padding: clamp(24px, 4vw, 40px); }
.pending-box h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.pending-box p { margin: 12px 0 22px; max-width: 620px; }

/* İletişim çağrısı bandı */
.cta-band { background: var(--blue); color: var(--white); padding: clamp(32px, 5vw, 48px) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.cta-band p { margin-top: 6px; }

/* ---------- Menü: MC-Bauchemie düzeni (mavi üst bar + büyük harfli, ayraçlı ana menü) ---------- */
.topbar { background: var(--blue); border-bottom: 0; font-size: 15px; }
.topbar .container { min-height: 40px; gap: 28px; }
.topbar-links { gap: 2px 36px; }
.topbar-links > li > a, .topbar .sub-toggle { color: var(--white); font-weight: 600; }
.topbar-links > li > a:hover, .topbar .sub-toggle:hover,
.topbar-links > li > a[aria-current="page"], .topbar .has-sub.is-current > .sub-toggle { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.topbar .submenu a { color: var(--ink); }
.topbar .lang-switch { color: rgba(255,255,255,.55); }
.topbar .lang-switch button { color: rgba(255,255,255,.85); }
.topbar .lang-switch button:hover { color: var(--white); }
.topbar .lang-switch button[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--white); }

.header .container { height: 92px; }
.logo img { height: 40px; }
.nav-main { gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.nav-main > li { position: relative; height: auto; display: flex; align-items: center; }
.nav-main > li > a, .nav-main .sub-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: auto; min-height: 30px;
  padding: 2px 0 2px 12px; border: 0; border-left: 3px solid #9aa4aa; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-strong);
}
.nav-main > li > a:hover, .nav-main .sub-toggle:hover,
.nav-main > li > a[aria-current="page"], .nav-main .has-sub.is-current > .sub-toggle { color: var(--blue); border-left-color: var(--blue); }
.nav-main .chev { width: 16px; height: 16px; }
.nav-main .submenu {
  display: none; position: absolute; top: calc(100% + 30px); left: 0; min-width: 240px; z-index: 55;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 6px 0;
}
.nav-main .has-sub.is-open > .submenu { display: block; }
@media (hover: hover) and (min-width: 900px) {
  .nav-main .has-sub:hover > .submenu { display: block; }
  .nav-main .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 32px; } /* hover köprüsü */
}
.nav-main .submenu a { display: block; padding: 10px 16px; font-size: 15px; color: var(--ink); text-transform: none; }
.nav-main .submenu a:hover, .nav-main .submenu a[aria-current="page"] { background: var(--grey-band); color: var(--blue); }

@media (max-width: 1099px) and (min-width: 900px) {
  .nav-main { gap: 18px; }
  .nav-main > li > a, .nav-main .sub-toggle { font-size: 15px; letter-spacing: .01em; }
}
@media (max-width: 899px) {
  .header .container { height: var(--header-h); }
  .logo img { height: 34px; }
  .nav-main { display: block; }
  .nav-main > li { display: block; }
  .nav-main > li > a, .nav-main .sub-toggle {
    display: flex; width: 100%; min-height: 52px; padding: 0 12px; justify-content: space-between; text-align: left;
    border-left: 4px solid transparent; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600;
  }
  .nav-main > li > a[aria-current="page"], .nav-main .has-sub.is-current > .sub-toggle { border-left-color: var(--blue); }
  .nav-main .submenu { position: static; border: 0; padding: 0; background: var(--grey-band); min-width: 0; }
  .nav-main .submenu a { padding: 12px 16px 12px 28px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 479px) { .logo img { height: 28px; } }
.nav-main .submenu a { height: auto; border-bottom: 0; border-left: 0; }
@media (max-width: 899px) { .nav-main .submenu a { border-bottom: 1px solid var(--line); } }
@media (min-width: 900px) { :root { --header-h: 92px; } }

/* Sektör kartları (Sektörler sayfası) */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1099px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .sector-grid { grid-template-columns: 1fr; } }
.sector-card { border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 18px 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.sector-card h3 { font-size: 19px; font-weight: 600; }
.sector-soon { margin-top: 8px; font-size: 14px; color: #6b767c; }
.sector-card:target { background: var(--grey-band); }

/* ---------- R02 blokları: listeler, tablolar, dokümanlar, global varlık ---------- */
.block p + p, .block p + .bullets, .bullets + p { margin-top: 12px; }
.bullets { display: grid; gap: 10px; margin: 14px 0 0; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--blue); }
.bullets b { color: var(--ink-strong); font-weight: 600; }
.sub-title { font-family: var(--font-head); font-size: 19px; font-weight: 600; margin: 22px 0 10px; }
.block > .sub-title:first-child { margin-top: 0; }

.data-table { border-top: 2px solid var(--ink-strong); margin-top: 16px; }
.dt-row { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dt-head { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 10px 0; }
.dt-key { font-weight: 600; color: var(--ink-strong); }
.dt-row[hidden] { display: none; }
@media (max-width: 599px) {
  .dt-head { display: none; }
  .dt-row { grid-template-columns: 1fr; gap: 4px; }
}

.related-box { background: var(--grey-band); border-left: 4px solid var(--blue); padding: 18px 20px; }
.block + .related-box { margin-top: 20px; }
.related-box ul { display: grid; gap: 8px; }
.related-box .dl { max-width: 560px; }

.contact-list { display: grid; gap: 10px; margin: 16px 0 0; }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contact-list dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.contact-list dd { margin: 0; }
.note { margin-top: 12px; font-style: italic; }

.region-map { width: 100%; height: auto; margin: 20px 0 8px; border: 1px solid var(--line); }
.region-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
@media (max-width: 699px) { .region-list { grid-template-columns: 1fr 1fr; } }
.region-list li { padding: 12px 14px; border: 1px solid var(--line); border-left: 6px solid var(--rc); font-family: var(--font-head); font-weight: 600; color: var(--ink-strong); }

.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 699px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { border: 1px solid var(--line); border-top: 5px solid var(--blue); padding: 20px 22px; }
.hub-card h3 { font-size: 20px; font-weight: 600; }
.hub-role { color: var(--blue); font-family: var(--font-head); font-weight: 600; margin: 4px 0 12px; }
.hub-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.hub-contact a { overflow-wrap: anywhere; }

.dist-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 6px; }
.dist-filter-label { font-family: var(--font-head); font-weight: 600; margin-right: 4px; }
.dist-filter button {
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  padding: 8px 12px; font-family: var(--font-head); font-weight: 500; font-size: 14px; text-align: left;
}
.dist-filter button:hover { border-color: var(--blue); color: var(--blue); }
.dist-filter button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.dist-table .dt-row { grid-template-columns: 1.1fr 1.3fr 1.8fr 1.6fr; }
.dist-group { display: block; }
.dist-table a { overflow-wrap: anywhere; }
@media (max-width: 799px) { .dist-table .dt-row { grid-template-columns: 1fr 1fr; } .dist-table .dt-head { display: none; } }
@media (max-width: 479px) { .dist-table .dt-row { grid-template-columns: 1fr; } }
.dist-empty { margin-top: 12px; font-style: italic; }

.cta-box { background: var(--blue); color: var(--white); padding: clamp(24px, 4vw, 36px); }
.cta-box h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.cta-box p { margin: 10px 0 20px; max-width: 640px; }
.cta-box .btn { background: var(--white); border-color: var(--white); color: var(--blue); }
.cta-box .btn:hover { background: transparent; color: var(--white); }

.timeline li > div { min-width: 0; }
.timeline p { margin-top: 4px; }
@media (max-width: 479px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Haberler (R03 – D) */
.news-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.news-tools .dist-filter { margin: 0; }
.news-sort { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.news-sort select { border: 1px solid var(--line); border-radius: 0; background: var(--white); padding: 8px 10px; font-family: var(--font-body); font-weight: 400; }
.news-sort select:focus { outline: none; border-color: var(--blue); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 999px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .news-grid { grid-template-columns: 1fr; } }
.news-item[hidden] { display: none; }
.news-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); color: var(--ink); background: var(--white); transition: border-color .2s; }
.news-card:hover { color: var(--ink); border-color: var(--blue); }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; background: #2b2f31; }
.news-media img, .news-media canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.news-card:hover .news-media img, .news-card:hover .news-media canvas { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .news-media img, .news-media canvas { transition: none; } .news-card:hover .news-media img, .news-card:hover .news-media canvas { transform: none; } }
.news-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.news-body h3 { font-size: 20px; font-weight: 600; }
.news-body p:not(.news-meta) { flex: 1; font-size: 16px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.news-cat { color: var(--blue); border: 1px solid currentColor; padding: 2px 8px; }
a.news-cat:hover { background: var(--blue); color: var(--white); }
.news-empty { margin-top: 16px; font-style: italic; }
.page-head .news-meta { margin: 6px 0 12px; }
.news-article > .block { max-width: 820px; }
.news-article .news-media { margin-bottom: 24px; }
.news-sub { color: var(--blue); font-family: var(--font-head); font-weight: 600; margin-top: -6px; }
.news-back { margin-top: 28px; }
.news-more { padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }

/* Kariyer: iş ilanları */
.job-list { display: grid; gap: 14px; margin-top: 16px; }
.job { border: 1px solid var(--line); border-left: 5px solid var(--blue); padding: 16px 20px; }
.job h3 { font-size: 19px; font-weight: 600; }
.job-meta { color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-top: 2px; }

/* İletişim sayfası: adres kartları yan yana, form altta */
.contact-stacked .offices { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-stacked .office { background: #8aa9be; border-top: 4px solid var(--white); padding: 20px 22px; }
@media (max-width: 899px) { .contact-stacked .offices { grid-template-columns: 1fr; } }
.contact-stacked .contact-web { margin-top: 20px; }
.contact-stacked .form { margin-top: clamp(32px, 4vw, 48px); }
.arrow-back { flex-direction: row-reverse; }
.arrow-back::after { transform: rotate(-135deg); }
.arrow-back:hover::after { transform: translateX(-3px) rotate(-135deg); }
.news-card .news-meta { letter-spacing: .02em; gap: 6px 10px; }
.news-card .news-cat { padding: 1px 6px; }
.news-article .lead { font-size: 19px; color: var(--ink-strong); }

/* Bölüm başlığı + sağda marka/ürün görseli (Ürünler > TARVIX) */
.section-head.has-media { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.head-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-band); }
.head-media img, .head-media canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .section-head.has-media { grid-template-columns: 1fr; } .head-media { max-width: 560px; } }

/* Ürünler: başlık alanı yok, yalnızca breadcrumb; marka kartları hemen altta */
.page-head.is-compact { padding-bottom: 14px; border-bottom: 0; }
.section.section-first { padding-top: 8px; }

/* 22.10.2026: site genelinde başlıklar kalın değil, normal (400) */
h1, h2, h3, h4,
.section-title, .block-title, .block-intro .headline, .sub-title,
.area-tagline, .cert-doc, .news-sub, .hub-role, .job-meta { font-weight: 400 !important; }

/* 25.10.2026: marka kartı alt kırılımları + bağlantılı grup adı (TARVIX Çalışma PDF) */
.brand-groups li a { color: inherit; text-decoration: none; }
.brand-groups li a:hover { color: var(--blue); text-decoration: underline; }
.brand-sub { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.brand-groups .brand-sub li { padding-left: 14px; font-weight: 400; font-size: 15px; color: var(--ink); }
.brand-groups .brand-sub li::before { content: "-"; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; }

/* 25.10.2026: ürün kataloğu (admin panelinden): product.html?cat=… liste + filtre, ?id=… detay */
.h4 { font-size: 20px; margin-bottom: 12px; }
.downloads .h4 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.catalog-intro { max-width: 860px; margin-bottom: 26px; }
.catalog { display: grid; gap: 32px; }
.catalog.has-filter { grid-template-columns: 260px 1fr; align-items: start; }
@media (max-width: 899px) { .catalog.has-filter { grid-template-columns: 1fr; } }
.cat-filter { background: var(--grey-band); border-top: 4px solid var(--blue); padding-bottom: 14px; }
.cat-filter fieldset { border: 0; margin: 0; padding: 4px 18px 10px; }
.cat-filter legend { font-family: var(--font-head); font-size: 14px; color: var(--ink); padding: 8px 0 6px; }
.cat-filter label { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 15px; line-height: 1.35; cursor: pointer; }
.cat-filter input { margin-top: 3px; accent-color: var(--blue); }
.cat-clear[hidden] { display: none; }
.cat-clear { margin: 4px 18px 0; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.cat-count { font-family: var(--font-head); color: var(--ink); margin: 0 0 14px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prod-item[hidden] { display: none; }
.prod-card { display: flex; flex-direction: column; gap: 10px; height: 100%; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 22px; color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.prod-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.prod-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--grey-band); }
.prod-brand { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.prod-card h2 { font-size: 22px; }
.prod-card p { flex: 1; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card .arrow-link { margin-top: auto; }
.prod-detail .lead { margin: 0; }
.prod-img { width: 100%; max-height: 320px; object-fit: contain; background: var(--white); margin-bottom: 18px; }

/* 25.10.2026: kategori sayfası zengin içerik (TBM Çözümleri) + ürün tablosu */
.catalog-intro { max-width: 900px; margin-bottom: 26px; }
.catalog-intro p { font-size: 18px; color: var(--ink-strong); }
.catalog-intro p + p, .cat-block p + p { margin-top: 14px; }
.cat-block { max-width: 900px; margin-bottom: 30px; }
.cat-block p { margin: 0; }
.cat-products-title { margin-top: 10px; }
.prod-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.prod-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.prod-table thead th { background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 500; text-align: left; padding: 12px 14px; vertical-align: bottom; line-height: 1.2; }
.prod-table thead th.use { width: 92px; text-align: center; font-size: 13px; }
.prod-table tbody tr:nth-child(even) { background: var(--grey-band); }
.prod-table tbody th, .prod-table td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.prod-table tbody th { border-left: 4px solid var(--blue); font-weight: 600; white-space: nowrap; }
.prod-table tbody th a { color: var(--ink-strong); text-decoration: none; }
.prod-table tbody th a:hover { color: var(--blue); text-decoration: underline; }
.prod-table td.use { text-align: center; color: var(--blue); }
.prod-table td.use svg { width: 22px; height: 22px; }
.prod-table tr[hidden] { display: none; }
.prod-specs { display: grid; gap: 8px; margin: 18px 0 0; }
.prod-specs div { display: flex; gap: 10px; flex-wrap: wrap; }
.prod-specs dt { font-family: var(--font-head); font-weight: 600; color: var(--ink-strong); }
.prod-specs dd { margin: 0; }

/* 25.10.2026: sayfa üst görseli (Resim İndex PDF) — admin panelinden değiştirilebilir */
.page-head.has-image { position: relative; background-color: #1d2b36; background-position: center; background-size: cover; border-bottom: 0; color: var(--white); min-height: clamp(260px, 28vw, 380px); display: flex; padding-bottom: clamp(30px, 4vw, 48px); }
.page-head.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 24, 38, .78) 0%, rgba(8, 24, 38, .5) 50%, rgba(8, 24, 38, .12) 100%); }
.page-head.has-image > .container { position: relative; display: flex; flex-direction: column; width: 100%; }
.page-head.has-image .breadcrumb { margin-bottom: auto; padding-bottom: 28px; }
.page-head.has-image .breadcrumb, .page-head.has-image .breadcrumb a, .page-head.has-image .breadcrumb [aria-current] { color: var(--white); }
.page-head.has-image .breadcrumb li + li::before { color: rgba(255, 255, 255, .7); }
.page-head.has-image .eyebrow { color: var(--white); opacity: .9; }
.page-head.has-image h1 { color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.page-head.has-image h1::after { background: var(--white); }
/* Haber görselleri afiş/logo: kırpılmadan, beyaz zeminde */
.news-media:has(img) { background: var(--white); }
.news-media img { object-fit: contain; }
.news-article .news-media { aspect-ratio: auto; max-height: 420px; border: 1px solid var(--line); }
.news-article .news-media img { max-height: 420px; }

/* Başlık panelden gizlenince: gri bantta yalnızca breadcrumb, görselli bantta yalnızca görsel + breadcrumb */
.page-head.no-title:not(.has-image) { padding-bottom: 14px; }
.page-head.has-image.no-title .breadcrumb { padding-bottom: 0; }

/* Haber detayı: görsel üst bantta arka plan */
.page-head.has-image .news-meta, .page-head.has-image .news-meta time { color: var(--white); }
.page-head.has-image .news-cat { color: var(--white); border-color: rgba(255, 255, 255, .8); }
.page-head.has-image .news-cat:hover { background: rgba(255, 255, 255, .15); }

/* Uzaklaştırılmış bant görseli (panelde yakınlaştırma < %100): kenarlar beyaz, yazı koyu, soldan beyaz geçiş */
.page-head.has-image.is-fit { background-color: #fff; border-bottom: 1px solid var(--line); }
.page-head.has-image.is-fit::before { background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 75%); }
.page-head.has-image.is-fit h1, .page-head.has-image.is-fit .breadcrumb [aria-current] { color: var(--ink-strong); text-shadow: none; }
.page-head.has-image.is-fit .breadcrumb a, .page-head.has-image.is-fit .news-meta, .page-head.has-image.is-fit .news-meta time { color: var(--ink); }
.page-head.has-image.is-fit .breadcrumb li + li::before { color: #8a979e; }
.page-head.has-image.is-fit .eyebrow { color: var(--blue); }
.page-head.has-image.is-fit h1::after { background: var(--blue); }
.page-head.has-image.is-fit .news-cat { color: var(--blue); border-color: currentColor; }

/* Haber: bant yazısı kapalıyken tarih ve konu metnin başında */
.news-article article > .news-meta { margin: 0 0 14px; }


/* ---------- R05: Sektör × marka matrisi ---------- */
.section-sub { margin-top: 10px; font-size: 20px; font-weight: 600; color: var(--blue); }
.matrix-wrap { margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: #fff; }
.sector-matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.sector-matrix th, .sector-matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.sector-matrix thead th { background: #fff; border-bottom: 2px solid var(--line); border-top: 4px solid var(--brand, var(--blue)); }
.sector-matrix thead th.mx-sector { border-top-color: var(--blue); }
.sector-matrix thead img { display: block; width: 100%; max-width: 130px; height: auto; margin: 0 auto; }
.sector-matrix tbody tr:nth-child(even) { background: var(--grey-band); }
.sector-matrix tbody tr:hover { background: #e3eaee; }
.sector-matrix tbody tr:last-child th, .sector-matrix tbody tr:last-child td { border-bottom: 0; }
.sector-matrix .mx-sector { text-align: left; font-weight: 600; color: var(--ink-strong); width: 34%; white-space: nowrap; }
.sector-matrix tbody .mx-sector a { color: inherit; text-decoration: none; }
.sector-matrix tbody .mx-sector a:hover { color: var(--blue); }
.mx-no { display: inline-block; min-width: 30px; color: var(--blue); font-weight: 700; font-size: 14px; }
.mx { display: inline-block; vertical-align: middle; border-radius: 50%; }
.mx-3 { width: 22px; height: 22px; background: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 18%, transparent); }
.mx-2 { width: 12px; height: 12px; background: var(--brand); }
.mx-1 { width: 14px; height: 14px; border: 2px solid var(--brand); }
.mx-0 { width: 10px; height: 2px; border-radius: 0; background: var(--line); }
.mx-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.mx-legend li { display: flex; align-items: center; gap: 12px; }
.mx-legend .mx-3 { box-shadow: 0 0 0 4px rgba(60,60,59,.15); }
.mx-more { margin-top: 28px; }
.block-btn { margin-top: 20px; }
.block-matrix .matrix-wrap { margin-top: 0; }
@media (max-width: 700px) {
  .sector-matrix { font-size: 14px; min-width: 560px; }
  .sector-matrix th, .sector-matrix td { padding: 10px 8px; }
  .sector-matrix thead img { max-width: 90px; }
}


/* ---------- R06: TARVIX grup ve uygulama sayfaları ---------- */
.group-intro .headline, .app-page .app-lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink-strong); }
.group-intro .headline { font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.group-intro p { text-align: justify; }
.app-list { margin-top: 36px; }
.app-list .app-grid { margin-top: 18px; }
@media (min-width: 1000px) { .app-list .app-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; } .app-list .app-label h3 { font-size: 19px; } }
.app-page > * { max-width: 980px; }
.app-page .app-lead { margin-bottom: 8px; }
.app-sec { margin-top: 34px; }
.app-sec p { text-align: justify; }
.app-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.app-pair .app-sec { border-top: 4px solid var(--line); padding-top: 16px; margin-top: 34px !important; }
.app-pair .block-title { margin-top: 0; }
.app-pair .app-solution { border-top-color: var(--tarvix, #662483); }
@media (max-width: 760px) { .app-pair { grid-template-columns: 1fr; } }
.app-places { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-places li { padding: 6px 12px; background: var(--grey-band); border-left: 3px solid var(--tarvix, #662483); font-size: 15px; }
.app-steps { counter-reset: st; margin: 0; padding: 0; list-style: none; }
.app-steps li { counter-increment: st; position: relative; padding: 10px 0 10px 50px; border-bottom: 1px solid var(--line); }
.app-steps li::before { content: counter(st); position: absolute; left: 0; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--tarvix, #662483); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.app-pending { padding: 14px 18px; background: var(--grey-band); border-left: 4px solid var(--blue); color: var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 30px 14px 0; font-weight: 600; color: var(--ink-strong); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--blue); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; }
.app-related { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.app-related span { color: var(--ink); }
.app-cta { margin-top: 36px; }
.app-back { margin-top: 22px; }
.app-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
/* Enjeksiyon Uygulama Rehberi (tarvix.html) */
.guide { margin: 8px 0 40px; scroll-margin-top: calc(var(--header-h, 90px) + 16px); }
.guide-title { font-size: clamp(22px, 2.4vw, 28px); color: var(--ink-strong); font-weight: 600; }
.guide-head p { margin-top: 6px; color: var(--ink); }
.guide-head::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 14px; background: var(--tarvix, #662483); }
.guide-matrix { min-width: 720px; }
.guide-matrix .mx-sector { white-space: normal; width: auto; }
.guide-matrix thead th { width: 17%; }
.guide-matrix thead th.mx-sector { width: auto; vertical-align: bottom; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b7780; }
.guide-matrix thead a { display: block; color: var(--brand); text-decoration: none; line-height: 1.25; }
.guide-matrix thead b { display: block; font-size: 17px; }
.guide-matrix thead small { color: #6b7780; font-size: 13px; }
.guide-matrix tbody tr:nth-child(even) { background: transparent; }
.guide-matrix tbody tr:not(.guide-group):nth-child(odd) { background: var(--grey-band); }
.guide-matrix tbody th.mx-sector { border-left: 4px solid var(--grp); }
.guide-matrix tbody th.mx-sector .mx-no { float: left; padding-top: 2px; }
.guide-matrix tbody th.mx-sector a { display: block; margin-left: 34px; }
.guide-matrix tbody .mx-sector a b { display: block; font-weight: 600; }
.guide-desc { display: block; font-weight: 400; font-size: 14px; color: var(--ink); margin-top: 2px; }
.guide-group th { text-align: left; background: #fff !important; padding-top: 22px; color: var(--grp); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; border-bottom: 2px solid var(--line); }
.guide-group small { text-transform: none; letter-spacing: 0; color: #8a959d; font-weight: 400; margin-left: 6px; }
.guide-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--grp); margin-right: 10px; vertical-align: 1px; }
/* İlgili Dokümanlar */
.brand-docs { margin-top: 10px; }
.brand-doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tds-link { font-weight: 600; color: var(--blue); text-decoration: none; }
.tds-none { color: #8a959d; font-size: 14px; }

.app-table td.nw { white-space: nowrap; }

/* 4 sütunlu bilgi tablosu (ör. Çerez Politikası) */
.data-table.cols-4 .dt-row { grid-template-columns: 1.2fr 1.3fr 2.2fr 1.2fr; }
@media (max-width: 799px) { .data-table.cols-4 .dt-row { grid-template-columns: 1fr; gap: 4px; } .data-table.cols-4 .dt-head { display: none; } }

/* ---------- Çerez bildirimi ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--white); border-top: 4px solid var(--blue); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.cookie-inner p { margin: 0; flex: 1; color: var(--ink); font-size: 15px; line-height: 1.5; }
.cookie-inner a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: var(--white); color: var(--blue); }
.btn-ghost:hover { background: var(--grey-band); color: var(--blue-dark); border-color: var(--blue-dark); }
@media (max-width: 700px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions .btn { flex: 1; }
}
