/* =========================================================
   Kestamit Levha — ana stil dosyası
   ========================================================= */

:root {
  --ink: #111418;
  --ink-2: #1a1f25;
  --ink-3: #252b33;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: #e2dfd6;
  --line-dark: #2f363f;
  --text: #1b1f24;
  --muted: #5b636e;
  --muted-light: #a3abb5;
  --yellow: #f5d300;
  --yellow-2: #e0bf00;
  --yellow-soft: #fff6c2;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(17, 20, 24, .06), 0 8px 24px rgba(17, 20, 24, .06);
  --container: 1240px;
  --gutter: 24px;
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; inset-inline-start: 16px; top: 16px; transform: translateY(-200%);
  background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { transform: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #ffe033; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.on-dark .eyebrow, .eyebrow.light { color: var(--muted-light); }

.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.on-dark .section-head p, .bg-ink .section-head p { color: var(--muted-light); }
.section-head.split-head {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.section-head.split-head > div { max-width: 720px; }

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--ink); color: var(--muted-light);
  font-size: .9rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { text-decoration: none; color: var(--white); }
.topbar a:hover { color: var(--yellow); }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact span { color: var(--muted-light); }
.topbar-badge { display: inline-flex; align-items: center; gap: 8px; }
.topbar-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(17, 20, 24, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { height: 40px; width: auto; }
.footer-logo { background: var(--white); padding: 10px 14px; border-radius: var(--radius); }
.footer-logo img { height: 34px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.site-footer .social a { color: var(--white); font-weight: 500; }
.site-footer .social a:hover { color: var(--yellow); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: .04em; }
.logo-text small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); border-radius: var(--radius);
}
.main-nav a:hover { background: var(--paper); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }

.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 8px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 8px; list-style: none;
  display: block !important;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { text-transform: none; font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; padding: 10px 12px; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: 1.02rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: var(--white); background: var(--ink);
  min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 24, .94) 0%, rgba(17, 20, 24, .82) 38%, rgba(17, 20, 24, .25) 72%, rgba(17, 20, 24, .1) 100%),
    linear-gradient(0deg, rgba(17, 20, 24, .9) 0%, rgba(17, 20, 24, 0) 40%);
}
.hero-content { position: relative; padding-top: 120px; padding-bottom: 64px; }
.hero-content .inner { max-width: 700px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: 1.22rem; color: #d3d8de; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-strip { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(17, 20, 24, .55); backdrop-filter: blur(6px); }
.hero-strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip li { padding: 26px 24px 26px 0; display: flex; gap: 14px; align-items: flex-start; }
.hero-strip li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-strip .num { font-family: var(--font-head); font-weight: 700; color: var(--yellow); font-size: 1.05rem; letter-spacing: .1em; padding-top: 2px; }
.hero-strip strong { display: block; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .02em; line-height: 1.15; }
.hero-strip span { color: var(--muted-light); font-size: .95rem; line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero .container { position: relative; padding-top: 88px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 860px; }
.page-hero p { color: #cfd5db; font-size: 1.18rem; max-width: 680px; margin: 0; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 20, 24, .95) 0%, rgba(17, 20, 24, .78) 50%, rgba(17, 20, 24, .45) 100%); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted-light); margin: 0 0 22px; padding: 0; }
.breadcrumb a { color: var(--muted-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.page-tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.page-tabs ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.page-tabs ul::-webkit-scrollbar { display: none; }
.page-tabs a {
  display: block; white-space: nowrap; padding: 18px 14px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); border-bottom: 3px solid transparent;
}
.page-tabs a:hover, .page-tabs a.active { color: var(--ink); border-bottom-color: var(--yellow); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfcabb; }
.product-card .media { background: linear-gradient(160deg, #f4f2ec, #e9e5da); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 10px; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card .tag { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product-card h3 { margin-bottom: 10px; }
.product-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.product-card .link-arrow { margin-top: 6px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .badge {
  position: absolute; left: -20px; bottom: -24px; background: var(--yellow); color: var(--ink);
  padding: 20px 24px; border-radius: var(--radius); max-width: 260px; box-shadow: var(--shadow);
}
.split-media .badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.05; }
.split-media .badge span { font-size: .92rem; line-height: 1.35; display: block; margin-top: 4px; }
.split-text p { color: var(--muted); font-size: 1.08rem; }
.bg-ink .split-text p { color: var(--muted-light); }

.check-list { list-style: none; display: grid; gap: 14px; margin: 26px 0 34px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 4px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-list strong { display: block; font-weight: 600; }
.check-list span { color: var(--muted); font-size: .98rem; }
.bg-ink .check-list span { color: var(--muted-light); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 32px 28px 8px 0; counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1;
  color: var(--yellow-2); margin-bottom: 14px;
}
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }
.steps.cols-6 { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
.bg-ink .steps { border-color: var(--line-dark); }
.bg-ink .steps p { color: var(--muted-light); }
.bg-ink .steps li::before { color: var(--yellow); }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tile { background: var(--white); padding: 32px 28px; }
.tile .icon { width: 48px; height: 48px; border-radius: 10px; background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: 20px; }
.tile .icon svg { width: 26px; height: 26px; stroke: var(--ink); }
.tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.bg-ink .tiles { background: var(--line-dark); border-color: var(--line-dark); }
.bg-ink .tile { background: var(--ink-2); }
.bg-ink .tile p { color: var(--muted-light); }
.bg-ink .tile .icon { background: rgba(245, 211, 0, .12); }
.bg-ink .tile .icon svg { stroke: var(--yellow); }

/* ---------- Big numbers (material facts) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { border-top: 3px solid var(--yellow); padding-top: 18px; }
.fact strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.fact span { color: var(--muted); font-size: .98rem; display: block; }
.bg-ink .fact span { color: var(--muted-light); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #ece9e0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(17, 20, 24, .82); color: var(--white);
  font-size: .88rem; font-weight: 500; padding: 6px 12px; border-radius: 4px;
}
.g-a { grid-column: span 7; grid-row: span 2; }
.g-b { grid-column: span 5; grid-row: span 1; }
.g-c { grid-column: span 5; grid-row: span 1; }
.g-d { grid-column: span 4; grid-row: span 2; }
.g-e { grid-column: span 4; grid-row: span 2; }
.g-f { grid-column: span 4; grid-row: span 2; }
.gallery .contain img { object-fit: contain; background: #fff; }

/* ---------- Sectors ---------- */
.sector-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sector-list li {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600;
}
.sector-list li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--yellow); transform: rotate(45deg); }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: var(--white); }
.bg-ink .chips li { border-color: var(--line-dark); background: transparent; color: #d7dce1; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .15); }

/* ---------- Product detail blocks ---------- */
.product-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.product-block + .product-block { margin-top: 0; }
.product-visual { position: sticky; top: calc(var(--header-h) + 80px); }
.product-visual .frame { background: linear-gradient(160deg, #f4f2ec, #e6e1d3); border-radius: var(--radius-lg); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 20px; }
.product-visual .frame { position: relative; overflow: hidden; }
.product-visual .frame img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.product-visual .photo { margin-top: 16px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.product-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info .lead { font-size: 1.12rem; color: var(--muted); }
.product-info h3 { font-size: 1.3rem; margin-top: 34px; margin-bottom: 14px; }
.product-info .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--white); border: 0; }
.spec-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.spec-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.spec-table tbody th { font-weight: 600; width: 42%; }
.spec-table tbody tr:nth-child(even) { background: #faf9f6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap .spec-table tbody tr:last-child th, .table-wrap .spec-table tbody tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.material {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.material .code { display: inline-block; align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; background: var(--ink); color: var(--yellow); margin-bottom: 14px; }
.material h3 { font-size: 1.45rem; margin-bottom: 8px; }
.material p { color: var(--muted); font-size: .97rem; }
.material ul { list-style: none; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: .92rem; }
.material ul li span { color: var(--muted); }

/* ---------- Parts catalog ---------- */
.parts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.part { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.part:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.part img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
a.part { display: block; text-decoration: none; color: inherit; }
.part figcaption, .part .cap { display: block; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.part figcaption strong, .part .cap strong { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.15; }
.part figcaption span, .part .cap span { display: block; font-size: .86rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
@media (max-width: 1140px) { .parts-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .parts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .parts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .part figcaption, .part .cap { padding: 10px; } .part figcaption span, .part .cap span { display: none; } }

/* İşlenmiş parçalar sayfası */
.split-media img.part-photo { aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.part-section { scroll-margin-top: 40px; } /* + html scroll-padding (başlık) = sekme çubuğunun hemen altı */
.check-list.compact { grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 14px 0 26px; }
.check-list.compact strong { font-weight: 600; }
.part-section .chips { margin-top: 12px; }
.part-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sub-menu.sub-menu-cols { min-width: 460px; display: grid !important; grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) {
  .sub-menu.sub-menu-cols { min-width: 0; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .check-list.compact { grid-template-columns: 1fr; }
  .part-actions .btn { flex: 1 1 100%; }
}

.country-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.country-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(245, 211, 0, .12); border: 1px solid rgba(245, 211, 0, .35); color: var(--white); font-weight: 600; }
.country-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.on-light .country-list li { color: var(--ink); background: var(--yellow-soft); border-color: #eedd7a; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); color: var(--ink); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.12rem; max-width: 620px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Export ---------- */
.incoterms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.incoterm { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 16px; }
.incoterm strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--yellow); line-height: 1; }
.incoterm span { font-size: .88rem; color: var(--muted-light); display: block; margin-top: 6px; line-height: 1.35; }
.en-box { border: 1px solid var(--line); border-left: 4px solid var(--yellow); background: var(--white); border-radius: var(--radius); padding: 32px; }
.en-box h3 { margin-bottom: 10px; }
.en-box p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--yellow-soft); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 22px; height: 22px; stroke: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.contact-card a, .contact-card p { font-size: 1.08rem; font-weight: 600; text-decoration: none; margin: 2px 0 0; }
.contact-card a:hover { color: #8a7600; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 2.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 1px solid #cfcbc0; border-radius: var(--radius); background: #fdfdfb;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 211, 0, .45); }
.field .hint { font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-actions small { color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: #135a2a; border: 1px solid #b6e0c2; }
.form-status.err { display: block; background: #fdeceb; color: #8a1c13; border: 1px solid #f3c1bc; }

.map-placeholder { margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-placeholder iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: 80px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer .logo { color: var(--white); margin-bottom: 18px; }
.site-footer .logo-text small { color: var(--muted-light); }
.site-footer h4 { color: var(--white); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--muted-light); }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .88rem; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav a { padding: 10px 10px; font-size: 1.05rem; }
  .header-cta .phone-link { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .incoterms { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
    background: var(--white); padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 16px 4px; font-size: 1.3rem; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: #8a7600; }
  .has-sub > a::after { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; }
  .sub-menu a { padding: 8px 4px; font-size: 1.05rem; color: var(--muted); }
  .main-nav .mobile-cta { display: block; margin-top: 24px; border: 0; }
  .main-nav .mobile-cta .btn { display: flex; width: 100%; font-size: 1.15rem; padding: 0 20px; border-radius: var(--radius); }
  .main-nav .mobile-cta .btn:hover { background: #ffe033; }
  body.nav-open { overflow: hidden; }

  .section { padding: 80px 0; }
  .hero-strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .split, .product-block, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
  .product-visual { position: static; }
  .steps, .steps.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .sector-list { grid-template-columns: repeat(2, 1fr); }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head.split-head { flex-direction: column; align-items: flex-start; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .gallery { grid-auto-rows: 180px; }
  .g-a { grid-column: span 12; }
  .g-b, .g-c { grid-column: span 6; }
  .g-d, .g-e, .g-f { grid-column: span 6; grid-row: span 1; }
  .g-f { grid-column: span 12; }
}

@media (min-width: 961px) {
  .main-nav .mobile-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar .topbar-badge { display: none; }
  .topbar-contact { gap: 14px; font-size: .85rem; }
  .topbar-contact span { display: none; }
  .site-header .logo img { height: 32px; }
  .logo-text strong { font-size: 1.35rem; }
  .logo-text small { font-size: .62rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-content { padding-top: 72px; padding-bottom: 40px; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li, .hero-strip li + li { padding: 16px 0; border-left: 0; }
  .hero-strip li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-strip span { display: none; }
  .product-grid, .tiles, .tiles.cols-3, .material-grid { grid-template-columns: 1fr; }
  .steps, .steps.cols-6 { grid-template-columns: 1fr; }
  .steps li { padding-right: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sector-list { grid-template-columns: 1fr; }
  .incoterms { grid-template-columns: repeat(2, 1fr); }
  .split-media .badge { left: 12px; right: 12px; bottom: -28px; max-width: none; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .g-b, .g-c, .g-d, .g-e { grid-column: span 6; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero .container { padding-top: 64px; padding-bottom: 56px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .en-box { padding: 22px; }
  .spec-table th, .spec-table td { padding: 11px 12px; }
}

/* =========================================================
   Çok dilli yapı: dil seçici, dil listeleri, yardımcılar
   ========================================================= */
.lang-switch { position: relative; flex: none; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: var(--ink);
  background: var(--white); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--ink); }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch ul {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 120; min-width: 200px;
  list-style: none; margin: 0; padding: 6px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.lang-switch a, .lang-grid a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.lang-switch a:hover, .lang-grid a:hover { background: var(--paper); }
.lang-switch a[aria-current], .lang-grid a[aria-current] { background: var(--yellow-soft); font-weight: 600; }
.lang-switch .code, .lang-grid .code {
  display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 4px; border-radius: 4px;
  background: var(--ink); color: var(--yellow); font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700; font-size: .82rem; letter-spacing: .06em; direction: ltr;
}
.lang-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 18px; }
.lang-grid a { border: 1px solid var(--line); background: var(--white); }

.footer-langs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 28px; }
.footer-langs > span svg { width: 20px; height: 20px; display: block; }
.footer-langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langs a { font-size: .92rem; }

.hero-kicker { margin-top: 26px !important; font-size: .95rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light) !important; }
.h-mid { font-size: 1.8rem; }
.h-small { font-size: 1.4rem; }
.h-box { font-size: 2rem; }
.specs-split { align-items: start; gap: 48px; }
.check-list-wrap .check-list { margin-top: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; margin-top: 4px; flex: none; }

.nf-page { background: var(--paper); }
.nf { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter); }
.nf h1 { font-size: clamp(5rem, 14vw, 9rem); margin: 32px 0 10px; color: var(--ink); }
.nf-msgs p { margin: 0 0 6px; color: var(--muted); }

/* Masaüstü menü: 6 başlık + dil seçimi + buton tek satıra sığsın (en uzunu RU/DE, ~1090 px) */
@media (min-width: 961px) {
  .main-nav a, .header-cta .btn { white-space: nowrap; }
  .main-nav a { padding: 10px 8px; font-size: 1rem; letter-spacing: .02em; }
  .header-cta .btn { padding: 0 14px; font-size: .95rem; }
  .site-header .container { gap: 14px; }
  .site-header .logo img { height: 34px; }
}
/* Dar dizüstü: başlıktaki Teklif butonu gizlenir (üst şerit ve sayfa butonları kalır) */
@media (min-width: 961px) and (max-width: 1179px) {
  .header-cta .btn { display: none; }
  .main-nav a { padding: 10px 6px; }
}
@media (max-width: 640px) {
  .lang-switch summary { height: 46px; padding: 0 10px; }
  .header-cta { gap: 8px; }
}

/* ---------- Rusça: Barlow Kiril harfi içermez ---------- */
html[lang="ru"] {
  --font-head: "Fira Sans Extra Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Fira Sans", "Segoe UI", Arial, sans-serif;
}
html[lang="ru"] body { font-size: 16px; }

/* ---------- Arapça (sağdan sola) ---------- */
html[lang="ar"] {
  --font-head: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
/* Arapça harfler birleşik yazılır: harf aralığı ve büyük harf dönüşümü kapatılır */
html[lang="ar"] body * { letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.35; font-weight: 700; }
html[lang="ar"] h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
html[lang="ar"] .page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
html[lang="ar"] .btn, html[lang="ar"] .main-nav a, html[lang="ar"] .page-tabs a, html[lang="ar"] .link-arrow { font-weight: 700; }
html[lang="ar"] .main-nav a { font-size: 1.02rem; }

[dir="rtl"] .has-sub > a::after { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .sub-menu { left: auto; right: 0; }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
/* Fotoğraflar RTL'de aynalanmaz: üzerlerindeki OKD Polimer filigranı ters görünmesin */

/* Görsel koruması: sürükleyerek kaydırmayı ve seçmeyi zorlaştır (sağ tık engeli main.js'te) */
main img, .site-footer img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
[dir="rtl"] .hero-media::after {
  background:
    linear-gradient(270deg, rgba(17, 20, 24, .94) 0%, rgba(17, 20, 24, .82) 38%, rgba(17, 20, 24, .25) 72%, rgba(17, 20, 24, .1) 100%),
    linear-gradient(0deg, rgba(17, 20, 24, .9) 0%, rgba(17, 20, 24, 0) 40%);
}
[dir="rtl"] .page-hero-media::after { background: linear-gradient(270deg, rgba(17, 20, 24, .95) 0%, rgba(17, 20, 24, .78) 50%, rgba(17, 20, 24, .45) 100%); }
[dir="rtl"] .hero-strip li { padding: 26px 0 26px 24px; }
[dir="rtl"] .hero-strip li + li { padding-left: 24px; padding-right: 24px; border-left: 0; border-right: 1px solid rgba(255, 255, 255, .14); }
[dir="rtl"] .breadcrumb li + li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .split-media .badge { left: auto; right: -20px; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 36px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .steps li { padding: 32px 0 8px 28px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .spec-table thead th:first-child { border-radius: 0 var(--radius) 0 0; }
[dir="rtl"] .spec-table thead th:last-child { border-radius: var(--radius) 0 0 0; }
[dir="rtl"] .gallery figcaption { left: auto; right: 12px; }
[dir="rtl"] .swatch { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .en-box { border-left: 1px solid var(--line); border-right: 4px solid var(--yellow); }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .spec-table td, [dir="rtl"] .fact strong, [dir="rtl"] .incoterm strong, [dir="rtl"] .material ul li { unicode-bidi: plaintext; }
@media (max-width: 960px) {
  [dir="rtl"] .hero-strip li:nth-child(3) { padding-right: 0; border-right: 0; }
  [dir="rtl"] .sub-menu { padding: 0 12px 12px 0; }
}
@media (max-width: 640px) {
  [dir="rtl"] .hero-strip li, [dir="rtl"] .hero-strip li + li { padding: 16px 0; border-right: 0; }
  [dir="rtl"] .split-media .badge { left: 12px; right: 12px; }
}

/* ---------- Sık sorulan sorular (ana sayfa) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq-item summary:hover h3 { color: #6f5f00; }
.faq-a p { margin: 0 0 24px; color: var(--muted); font-size: 1.05rem; max-width: 70ch; }
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 640px) {
  .faq-item summary { padding: 18px 0; }
  .faq-item summary h3 { font-size: 1.18rem; }
}

/* Rusça ve Arapça menü adları uzun: 961-1040px arasında "Ana sayfa" bağlantısı gizlenir (logo ana sayfaya gider) */
@media (min-width: 961px) and (max-width: 1040px) {
  html[lang="ru"] .main-nav > ul > li:first-child,
  html[lang="ar"] .main-nav > ul > li:first-child { display: none; }
}
