/* ==========================================================================
   Kontal Elektronik — tasarım sistemi
   Vanilla CSS, derleme adımı yok. WordPress temasına doğrudan taşınabilir.
   ========================================================================== */

/* Yazı tipleri temadan sunulur (Google Fonts bağlantısı yok). Dosyalar Google Fonts'un latin ve latin-ext alt kümeleridir;
   Türkçe'nin ğ ş İ harfleri latin-ext dosyasındadır. Archivo değişken yazı tipidir (genişlik 62–125, kalınlık 100–900). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-mono-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-mono-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-mono-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-mono-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Renk */
  --ink: #0A1628;
  --ink-2: #33415A;
  --ink-3: #66728A;
  --blue: #043998;
  --blue-600: #0A4BC4;
  --blue-400: #4D86FF;
  --blue-50: #E8EEFB;
  --paper: #F1F3F6;
  --panel: #FFFFFF;
  --line: #DCE1E9;
  --line-2: #C6CDD8;
  --stage: #0B0F17;
  --stage-2: #151C29;
  --stage-line: #263044;
  --on-stage: #E9EDF4;
  --on-stage-2: #9AA6BB;
  --signal: #FF6A13;
  --signal-50: #FFF1E8;
  --ok: #19C37D;
  --alert: #F0454B;

  /* Tipografi */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1rem;
  --t-lg: 1.1875rem;
  --t-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --t-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --t-3xl: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  --t-4xl: clamp(2.5rem, 1.5rem + 4.4vw, 5rem);

  /* Ölçü */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1280px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Sayfa içi bağlantılar (#bolum) sabit başlığın altında kalmasın; ürün sayfasında alt menü de hesaba katılır */
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px); }
html:has(.subnav) { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 57px + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografi yardımcıları ---------- */
.display {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.display-xl { font-size: var(--t-4xl); }
.display-lg { font-size: var(--t-3xl); }
.display-md { font-size: var(--t-2xl); }
.display-sm { font-size: var(--t-xl); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.on-stage .eyebrow { color: var(--blue-400); }
.lede { font-size: var(--t-lg); color: var(--ink-2); max-width: 60ch; }
.on-stage .lede { color: var(--on-stage-2); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }
.muted { color: var(--ink-3); }

/* ---------- Yerleşim ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }
.on-stage { background: var(--stage); color: var(--on-stage); }

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.01em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { --bg: var(--blue-600); --bd: var(--blue-600); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.on-stage .btn-ghost, .btn-ghost.light { --fg: var(--on-stage); --bd: var(--stage-line); }
.on-stage .btn-ghost:hover, .btn-ghost.light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); color: var(--blue); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-stage .link-arrow { color: var(--blue-400); }

/* ---------- Üst bar ---------- */
/* Geçici fuar şeridi (parts/fuar-serit.php): en üstte, sayfayla birlikte kayar; telefonda en çok iki satır. */
.fuar-serit { background: var(--signal); color: #0B0F17; font-size: var(--t-sm); line-height: 1.35; }
.fuar-serit[hidden] { display: none; }
.fuar-serit .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 44px; padding-block: 8px; }
.fuar-serit p { margin: 0; min-width: 0; }
.fuar-serit b { font-family: var(--f-mono); font-weight: 600; letter-spacing: .02em; margin-right: 6px; white-space: nowrap; }
.fs-eylem { display: flex; gap: 8px; flex: none; }
.fs-eylem a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #0B0F17; color: #fff; font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.fs-eylem a:first-child { background: transparent; color: #0B0F17; box-shadow: inset 0 0 0 1.5px #0B0F17; }
.fs-eylem a:hover { background: #fff; color: #0B0F17; box-shadow: none; }
.fs-eylem svg { width: 13px; height: 13px; }
@media (max-width: 860px) {
  .fuar-serit { font-size: var(--t-xs); }
  .fuar-serit .wrap { flex-wrap: wrap; justify-content: flex-start; }
  .fuar-serit .fs-uzun { display: none; }
  .fuar-serit .fs-yer { white-space: nowrap; }
}
/* Fuar penceresi: ilk girişte tam ekran açılır, sayfayı karartır; kapatılınca bir daha gelmez. Arama/menü perdesinin (z 40, 80) üstünde. */
.fuar-pencere {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: rgba(6,10,18,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.fuar-pencere[hidden] { display: none; }
.fuar-pencere.acik { opacity: 1; }
html.fuar-acik { overflow: hidden; }
.fp-kutu {
  position: relative; width: min(760px, 100%); padding: clamp(28px, 6vw, 64px) clamp(22px, 5vw, 56px) clamp(24px, 5vw, 48px); border-radius: var(--r-lg); border-top: 4px solid var(--signal);
  background: var(--stage) radial-gradient(120% 90% at 100% 0%, rgba(255,106,19,.22), transparent 60%); color: #fff; text-align: left;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: translateY(18px) scale(.98); transition: transform .35s var(--ease);
}
.fuar-pencere.acik .fp-kutu { transform: none; }
.fp-kutu p, .fp-kutu dl, .fp-kutu dd, .fp-kutu h2 { margin: 0; }
.fp-kapat { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.fp-kapat:hover { background: #fff; color: #0B0F17; }
.fp-kapat svg { width: 18px; height: 18px; }
.fp-ust { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.fp-baslik { margin-top: 12px !important; font-size: clamp(2.1rem, 8vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.fp-baslik span { display: block; color: var(--on-stage-2); font-size: .5em; font-weight: 600; letter-spacing: 0; margin-top: .35em; }
.fp-bilgi { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px clamp(20px, 5vw, 48px); margin-top: clamp(22px, 4vw, 36px) !important; padding-block: clamp(16px, 3vw, 22px); border-block: 1px solid rgba(255,255,255,.14); }
.fp-bilgi dt { font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--on-stage-2); }
.fp-bilgi dd { margin-top: 4px; font-family: var(--f-mono); font-size: clamp(1rem, 3.4vw, 1.375rem); font-weight: 600; white-space: nowrap; }
.fp-metin { margin-top: clamp(16px, 3vw, 22px) !important; max-width: 52ch; font-size: 1rem; line-height: 1.55; color: #C9D1DE; }
.fp-eylem { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 4vw, 30px); }
.fp-eylem a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 1rem; font-weight: 600; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); white-space: nowrap; }
.fp-eylem a.fp-ana { background: var(--signal); color: #0B0F17; box-shadow: none; }
.fp-eylem a:hover { background: #fff; color: #0B0F17; box-shadow: none; }
.fp-eylem svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .fp-bilgi { grid-template-columns: 1fr 1fr; } .fp-eylem a { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .fuar-pencere, .fp-kutu { transition: none; transform: none; } }
@media print { .fuar-serit, .fuar-pencere { display: none; } }
.topbar { background: var(--stage); color: var(--on-stage-2); font-size: var(--t-xs); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; align-items: center; overflow: hidden; white-space: nowrap; }
@media (max-width: 720px) { .topbar .tb-hide { display: none; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 22px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav > li { position: relative; }
.main-nav > li > a, .main-nav > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: none; border: 0; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s;
}
@media (max-width: 1180px) { .main-nav .nav-opt { display: none; } .main-nav > li > a, .main-nav > li > button { padding: 0 12px; } }
.main-nav > li > a:hover, .main-nav > li > button:hover, .main-nav > li > a[aria-current="page"] { color: var(--ink); background: rgba(10,22,40,.06); }
.main-nav svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .lang { display: inline-flex; align-items: center; height: 44px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; }
.header-actions .lang a { display: grid; place-items: center; height: 100%; min-width: 36px; padding: 0 8px; border-radius: 999px; color: var(--ink-3); transition: color .2s, background .2s; }
.header-actions .lang a:hover { color: var(--ink); }
.header-actions .lang a[aria-current] { background: var(--ink); color: #fff; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }

/* Mega menü */
.mega {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 1px);
  background: var(--panel); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(10,22,40,.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.site-header.mega-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header.mega-open .has-mega svg { transform: rotate(180deg); }
.mega .wrap { height: auto; display: grid; grid-template-columns: repeat(5, 1fr) 1.3fr; gap: 28px; padding-block: 32px 36px; align-items: start; }
.mega h4 { font-size: var(--t-sm); font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mega h4 span { font-family: var(--f-mono); font-weight: 400; font-size: var(--t-xs); color: var(--ink-3); }
.mega li a { display: block; padding: 5px 0; font-size: var(--t-sm); color: var(--ink-2); }
.mega li a:hover { color: var(--blue); }
/* Alt başlıklar (ör. Loop / Araç Sensörleri › Kablolu, Kablosuz): üst başlığın altında girintili */
.mega li:has(> .mega-alt) > a { font-weight: 600; color: var(--ink); }
.mega-alt { margin: 2px 0 8px 2px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.mega .mega-alt a { padding: 4px 0; font-size: var(--t-xs); color: var(--ink-2); }
.mega-feature { background: var(--stage); color: var(--on-stage); border-radius: var(--r-md); padding: 20px; display: grid; gap: 10px; position: relative; overflow: hidden; min-height: 210px; }
.mega-feature img { position: absolute; right: -24px; bottom: -30px; width: 62%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.mega-feature strong { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-lg); line-height: 1.15; max-width: 12ch; position: relative; }
.mega-feature .eyebrow { color: var(--signal); }

@media (max-width: 1020px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .mega { display: none; }
}

/* Mobil çekmece */
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--stage); color: var(--on-stage);
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 20px; width: auto; }
.drawer .icon-btn { background: transparent; border-color: var(--stage-line); color: var(--on-stage); }
.drawer nav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--stage-line); font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); font-weight: 600; }
.drawer nav a span { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-stage-2); font-weight: 400; align-self: center; }

/* ---------- Sahne (stüdyo) ---------- */
.stage-bg {
  background:
    radial-gradient(60% 55% at 70% 42%, rgba(77,134,255,.16), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, #1B2436 0%, transparent 60%),
    linear-gradient(180deg, #0B0F17 0%, #0E131D 100%);
}
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(154,166,187,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(154,166,187,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 75%);
}

/* ---------- Ana sayfa: hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-stage); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero h1 { font-size: var(--t-4xl); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--blue-400); }
.hero .lede { margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-stage-2); letter-spacing: .04em; }
.hero-meta b { color: var(--on-stage); font-weight: 500; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Hero vitrini */
.showcase { position: relative; aspect-ratio: 1 / 0.92; max-width: 100%; }
.showcase-stage { position: absolute; inset: 56px 0 84px 0; perspective: 1400px; }
.showcase-item {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: translateX(8%) rotateY(-24deg) scale(.94); filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease);
  pointer-events: none;
}
.showcase-item.leaving { opacity: 0; transform: translateX(-8%) rotateY(24deg) scale(.94); filter: blur(6px); }
.showcase-item.active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.showcase-item img { max-height: 100%; width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.showcase-floor { position: absolute; left: 18%; right: 18%; bottom: 80px; height: 40px; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.55), transparent 70%); filter: blur(6px); }
.showcase-bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 6px; }
.showcase-tab { text-align: left; background: none; border: 0; padding: 12px 0 0; color: var(--on-stage-2); display: grid; gap: 4px; position: relative; min-width: 0; }
.showcase-tab::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--stage-line); }
.showcase-tab::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--on-stage); }
.showcase-tab.active::after { animation: tabfill var(--dur, 5s) linear forwards; }
.showcase.paused .showcase-tab.active::after { animation-play-state: paused; }
.showcase-tab .mono { font-size: var(--t-xs); color: var(--on-stage); letter-spacing: .06em; }
.showcase-tab span:last-child { font-size: var(--t-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-tab:hover .mono, .showcase-tab.active .mono { color: var(--blue-400); }
@keyframes tabfill { to { width: 100%; } }
.showcase-caption { position: absolute; top: 0; right: 0; text-align: right; display: grid; gap: 4px; z-index: 2; }
.showcase-caption a svg { width: 14px; height: 14px; flex-shrink: 0; }
.showcase-caption .mono { font-size: var(--t-xs); color: var(--on-stage-2); letter-spacing: .08em; }
.showcase-caption a { font-weight: 600; font-size: var(--t-sm); color: var(--on-stage); display: inline-flex; gap: 8px; align-items: center; justify-content: flex-end; }
.showcase-caption a:hover { color: var(--blue-400); }
@media (max-width: 560px) { .showcase-tab span:last-child { display: none; } }

/* ---------- Kanıt şeridi ---------- */
.proof { border-bottom: 1px solid var(--line); background: var(--panel); }
.proof .wrap { display: grid; grid-template-columns: repeat(5, 1fr); container-type: inline-size; }
.proof-item { padding: 26px 20px 24px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { white-space: nowrap; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: min(var(--t-2xl), 2.8cqi); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof-item span { font-size: var(--t-sm); color: var(--ink-3); }
.proof-item .iso { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) {
  .proof .wrap { grid-template-columns: repeat(2, 1fr); }
  .proof-item b { font-size: min(var(--t-2xl), 7cqi); }
  .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item:last-child { grid-column: 1 / -1; }
}

/* ---------- Kategori bento ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 14px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: #DDE2E8;
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px; min-height: 260px;
  isolation: isolate; transition: transform .5s var(--ease);
}
.cat:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.cat:nth-child(2) { grid-column: span 3; }
.cat:nth-child(3), .cat:nth-child(4) { grid-column: span 3; }
.cat:nth-child(5) { grid-column: span 3; }
.cat-img { position: absolute; inset: 0; z-index: -1; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 1.2s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,40,0) 45%, rgba(10,22,40,.55) 100%); }
.cat-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.cat-count { font-family: var(--f-mono); font-size: var(--t-xs); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; color: var(--ink); backdrop-filter: blur(6px); }
.cat h3 { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); color: #fff; font-weight: 700; text-shadow: 0 2px 20px rgba(10,22,40,.3); }
.cat:nth-child(1) h3 { font-size: var(--t-2xl); }
.cat-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-subs span { font-size: var(--t-xs); color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px); background: rgba(10,22,40,.15); }
.cat-arrow { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; flex-shrink: 0; }
.cat-arrow svg { width: 16px; height: 16px; }
.cat:hover .cat-arrow { transform: rotate(-45deg); background: var(--blue); color: #fff; }
@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .cat:nth-child(1) { grid-column: 1 / -1; min-height: 340px; }
}
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } .cat:nth-child(n) { grid-column: auto; } }

/* ---------- Tosba sistem bandı ---------- */
.system-band { position: relative; overflow: hidden; background: var(--signal); color: #1A0A00; border-radius: var(--r-lg); }
.system-band .inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 64px); }
.system-band .eyebrow { color: #1A0A00; }
.system-band h2 { font-size: var(--t-3xl); margin: 16px 0 18px; }
.system-band p { color: rgba(26,10,0,.78); max-width: 46ch; font-size: var(--t-lg); }
.system-band .btn { --bg: #1A0A00; --bd: #1A0A00; }
.system-band .btn:hover { --bg: #fff; --fg: #1A0A00; --bd: #fff; }
.system-band .btn-ghost { --bg: transparent; --fg: #1A0A00; --bd: rgba(26,10,0,.35); }
.system-band .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 32px; font-family: var(--f-mono); font-size: var(--t-sm); }
.system-band .facts b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); letter-spacing: -.01em; }
.system-band .visual { position: relative; aspect-ratio: 1.05; }
.system-band .visual img { position: absolute; }
.system-band .v-ts { width: 88%; left: 0; bottom: 4%; filter: drop-shadow(0 30px 30px rgba(120,40,0,.45)); animation: float 7s ease-in-out infinite; }
.system-band .v-tc { width: 46%; right: 2%; top: 4%; filter: drop-shadow(0 20px 26px rgba(120,40,0,.35)); animation: float 7s ease-in-out infinite -3.5s; }
.system-band .rings { position: absolute; left: 38%; top: 46%; width: 30%; aspect-ratio: 1; pointer-events: none; }
.system-band .rings i { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; opacity: 0; animation: ring 3.2s var(--ease) infinite; }
.system-band .rings i:nth-child(2) { animation-delay: 1.05s; }
.system-band .rings i:nth-child(3) { animation-delay: 2.1s; }
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 900px) { .system-band .inner { grid-template-columns: 1fr; } .system-band .visual { max-width: 520px; width: 100%; margin-inline: auto; } }

/* ---------- Radyo aileleri ---------- */
.families { display: grid; gap: 14px; }
.family { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px; transition: border-color .3s; }
.family:hover { border-color: var(--line-2); }
.family-id { display: grid; gap: 6px; }
.family-id strong { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); letter-spacing: -.01em; }
.freq { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--t-xs); padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); width: fit-content; }
.freq.f868 { background: var(--signal-50); color: #B84200; }
.freq i { width: 14px; height: 10px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h2l1.5-4 3 8 3-8 1.5 4h3' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h2l1.5-4 3 8 3-8 1.5 4h3' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat; }
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.chain-node { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px; border-radius: var(--r-md); transition: background .25s; }
.chain-node:hover { background: var(--paper); }
.chain-node img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.chain-node div { min-width: 0; }
.chain-node small { display: block; font-size: var(--t-xs); color: var(--ink-3); }
.chain-node b { display: block; font-size: var(--t-sm); font-weight: 600; line-height: 1.3; }
.chain-link { width: 44px; height: 2px; position: relative; overflow: hidden; background: var(--line); }
.chain-link::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--blue); animation: signal 2.4s var(--ease-io) infinite; }
.family:nth-child(3) .chain-link::after { background: var(--signal); }
.chain-link + .chain-node + .chain-link::after { animation-delay: .6s; }
@keyframes signal { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (max-width: 900px) {
  .family { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
  .chain-link { width: 2px; height: 18px; margin-left: 40px; }
  .chain-link::after { width: 100%; height: 40%; animation-name: signalv; }
}
@keyframes signalv { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Üretim ---------- */
.make { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.make-photos { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); }
.make-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.make-photos img.active { opacity: 1; transform: none; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); cursor: default; transition: opacity .4s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .mono { font-size: var(--t-sm); color: var(--ink-3); padding-top: 3px; }
.step h3 { font-size: var(--t-lg); font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: var(--t-sm); max-width: 52ch; }
.steps.js .step { opacity: .45; }
.steps.js .step.active { opacity: 1; }
.steps.js .step.active .mono { color: var(--blue); }
@media (max-width: 900px) {
  .make { grid-template-columns: 1fr; }
  /* Telefonda fotoğraf üst menünün altına yapışır, adımlar altından akar: kaydırırken fotoğraf hep görünür ve ortadaki adıma göre değişir. */
  .make-photos { top: calc(var(--header-h) + 8px); z-index: 2; aspect-ratio: auto; height: clamp(190px, 36vh, 340px); box-shadow: 0 -14px 0 var(--panel), 0 18px 30px -18px rgba(11,15,23,.35); }
}

/* ---------- Ürün kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10,22,40,.35); }
.card-media { aspect-ratio: 1; background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #E9ECF1 100%); display: grid; place-items: center; padding: 10%; position: relative; }
.card-media img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform .6s var(--ease); mix-blend-mode: multiply; }   /* dikey/yatay görselde de kutu kare kalır */
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 4px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.card-code { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.card-code .ext { width: 14px; height: 14px; color: var(--ink-3); flex-shrink: 0; }
.card-title { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.4; }
.card-sub { font-size: var(--t-xs); color: var(--ink-3); margin-top: 6px; }
.badge { position: absolute; top: 12px; left: 12px; font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(25,195,125,.25); }
/* Telefonda iki sütun (katalog, kategori, arama, ilgili ürünler): 516 px'ten sonra auto-fill zaten ikiyi verir; altında tek sütun 96 ürünü ~70 ekrana yayıyordu */
@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* .compat (ilgili ürünler) için aynı kural kendi tanımının altında */
  :is(.cards, .compat) .card-body { padding: 10px 11px 12px; gap: 3px; }
  :is(.cards, .compat) .card-code { font-size: 0.8125rem; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
  :is(.cards, .compat) .card-code .ext { width: 12px; height: 12px; margin-top: 2px; }
  :is(.cards, .compat) .card-title { font-size: 0.8125rem; line-height: 1.35; overflow-wrap: anywhere; }
  :is(.cards, .compat) .card-sub { font-size: 0.6875rem; line-height: 1.3; margin-top: 4px; overflow-wrap: anywhere; }
  :is(.cards, .compat) .badge { top: 8px; left: 8px; max-width: calc(100% - 16px); font-size: 0.625rem; letter-spacing: .04em; padding: 3px 7px; gap: 5px; }
}

/* Öne çıkan (ana sayfa) */
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); color: var(--on-stage); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; }
.feature img { position: absolute; inset: 8% 8% 30%; width: 84%; height: 62%; object-fit: contain; z-index: -1; transition: transform .8s var(--ease); filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.feature:hover img { transform: translateY(-8px) scale(1.04); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 45% at 50% 38%, rgba(77,134,255,.18), transparent 70%); }
.feature .mono { font-size: var(--t-xs); color: var(--blue-400); letter-spacing: .08em; }
.feature h3 { font-size: var(--t-lg); font-weight: 700; margin: 6px 0 4px; }
.feature p { font-size: var(--t-xs); color: var(--on-stage-2); }
.feature.light { background: #E4E8EE; color: var(--ink); }
.feature.light::before { background: radial-gradient(60% 45% at 50% 38%, #fff, transparent 70%); }
.feature.light img { filter: drop-shadow(0 30px 30px rgba(10,22,40,.25)); }
.feature.light .mono { color: var(--blue); }
.feature.light p { color: var(--ink-3); }
@media (max-width: 1100px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .feature-row { grid-template-columns: repeat(2, 1fr); } .feature { min-height: 300px; } }
@media (max-width: 460px) { .feature-row { grid-template-columns: 1fr; } }

/* ---------- Bayi CTA ---------- */
.dealer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.dealer-main { border-radius: var(--r-lg); background: var(--blue); color: #fff; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.dealer-main h2 { font-size: var(--t-3xl); margin: 16px 0 16px; max-width: 14ch; }
.dealer-main p { color: rgba(255,255,255,.8); max-width: 48ch; margin-bottom: 28px; }
.dealer-main .eyebrow { color: #fff; }
.dealer-main .btn { --bg: #fff; --fg: var(--blue); --bd: #fff; }
.dealer-main .btn:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.dealer-main .btn-ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.4); }
.dealer-main .map { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .22; pointer-events: none; }
.dealer-side { display: grid; gap: 14px; }
.dealer-card { border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); padding: 24px; display: grid; gap: 8px; align-content: start; }
.dealer-card h3 { font-size: var(--t-lg); font-weight: 700; }
.dealer-card p { font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 900px) { .dealer { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--stage); color: var(--on-stage-2); font-size: var(--t-sm); padding-block: 72px 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--stage-line); }
.footer-top img { height: 20px; width: auto; margin-bottom: 20px; }
.footer-top h4 { color: var(--on-stage); font-size: var(--t-sm); font-weight: 600; margin-bottom: 14px; }
.footer-top li { padding: 4px 0; }
.footer-top a:hover { color: #fff; }
.footer-top address { font-style: normal; line-height: 1.7; }
.footer-slogan { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); color: var(--on-stage); font-weight: 600; line-height: 1.2; max-width: 16ch; margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: var(--t-xs); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--stage-line); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--t-3xl); margin-top: 14px; }
.page-head .lede { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-xs); color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .03em; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { opacity: .5; }
.on-stage .crumbs { color: var(--on-stage-2); }
.on-stage .crumbs a:hover { color: #fff; }

/* ---------- Katalog ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding-block: 36px 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.search { position: relative; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 16px 0 44px; font: inherit; font-size: var(--t-sm); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--ink-3); }
.filter-group h4 { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.filter-list { display: grid; gap: 2px; }
.filter-list [data-top] { cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 8px 12px; border-radius: 8px; font-size: var(--t-sm); color: var(--ink-2); transition: background .2s, color .2s; }
.filter-list [data-top]:hover { background: rgba(10,22,40,.05); color: var(--ink); }
.filter-list [data-top][aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-list [data-top] span { font-family: var(--f-mono); font-size: var(--t-xs); opacity: .7; }
.subfilters { display: grid; gap: 10px; margin-bottom: 20px; min-height: 0; }
.subfilters:empty { display: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row + .chip-row { padding-left: 14px; border-left: 2px solid var(--line); }   /* ikinci kademe: seçili alt kategorinin içi */
.chip span { font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.chip { font-size: var(--t-xs); border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 6px 12px; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: var(--t-sm); color: var(--ink-3); }
.results-bar b { color: var(--ink); font-family: var(--f-mono); font-weight: 500; }
.empty { padding: 60px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.cards .card { animation: cardin .5s var(--ease) both; }
@keyframes cardin { from { transform: translateY(10px); } to { transform: none; } }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list [data-top] { width: auto; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; gap: 8px; }
}

/* ==========================================================================
   Ürün sayfası
   ========================================================================== */
.p-hero { position: relative; overflow: hidden; color: var(--on-stage); }
.p-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 28px clamp(40px, 5vw, 64px); align-items: center; }
.p-hero .crumbs { grid-column: 1 / -1; }
.p-info { display: grid; gap: 18px; align-content: center; }
.p-code { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-stage-2); letter-spacing: .06em; }
.p-code b { color: var(--on-stage); font-weight: 500; background: var(--stage-2); border: 1px solid var(--stage-line); padding: 3px 8px; border-radius: 6px; }
.p-info h1 { font-size: var(--t-3xl); }
.p-info h1 small { display: block; font-family: var(--f-body); font-variation-settings: "wdth" 100; font-size: var(--t-lg); font-weight: 400; color: var(--on-stage-2); letter-spacing: 0; margin-top: 12px; line-height: 1.4; }
.p-info .lede { font-size: var(--t-md); }
.keyspecs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--stage-line); border-bottom: 1px solid var(--stage-line); }
.keyspec { padding: 14px 12px 14px 0; display: grid; gap: 2px; }
.keyspec + .keyspec { padding-left: 14px; border-left: 1px solid var(--stage-line); }
.keyspec b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); font-weight: 700; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.keyspec span { font-size: var(--t-xs); color: var(--on-stage-2); }
@media (max-width: 980px) { .p-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .keyspec b { font-size: var(--t-lg); } }

/* Renk seçici */
/* Model seçici (Tosba / Köstebek): görselin üstünde, tam genişlikte iki büyük sekme */
.model-sec { grid-column: 1 / -1; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; }
.model-sec-etiket { padding-right: 8px; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); }
.model-sec-btn { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 10px 22px 10px 12px; border-radius: var(--r-md); border: 1.5px solid var(--stage-line); background: rgba(255,255,255,.03); color: var(--on-stage-2); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.model-sec-btn img { width: 64px; height: 64px; object-fit: contain; flex: none; opacity: .7; transition: opacity .2s; }
.model-sec-btn span { display: grid; gap: 4px; min-width: 0; }
.model-sec-btn b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); font-weight: 700; line-height: 1.1; color: var(--on-stage); }
.model-sec-btn small { font-size: var(--t-sm); line-height: 1.3; }
.model-sec-btn:hover { border-color: var(--on-stage-2); }
.model-sec-btn[aria-pressed="true"] { border-color: var(--signal); background: rgba(255,106,19,.12); color: var(--on-stage); box-shadow: inset 0 -3px 0 var(--signal); }
.model-sec-btn[aria-pressed="true"] img { opacity: 1; }
@media (max-width: 760px) {
  /* Telefonda üç kart eşit yükseklikte; ad tek satıra sığsın diye daha küçük ve dar yazılır ("Köstebek" bölünmesin). */
  .model-sec { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
  .model-sec-etiket { grid-column: 1 / -1; }
  .model-sec-btn { min-height: 68px; gap: 6px; padding: 8px; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .model-sec-btn img { width: 36px; height: 36px; }
  .model-sec-btn b { font-size: clamp(.8125rem, 4vw, 1.0625rem); font-variation-settings: "wdth" 108; white-space: nowrap; }
  .model-sec-btn small { font-size: var(--t-xs); }
}
.swatches { display: flex; align-items: center; gap: 14px; }
.swatches > span { font-size: var(--t-xs); color: var(--on-stage-2); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.swatch-list { display: flex; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--stage-line); background: transparent; color: var(--on-stage); font-size: var(--t-sm); transition: border-color .2s, background .2s; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 0 -6px 10px rgba(0,0,0,.25); }
.swatch:hover { border-color: var(--on-stage-2); }
.swatch[aria-pressed="true"] { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Orbit görüntüleyici ---------- */
.orbit { position: relative; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.orbit-viewport { position: relative; aspect-ratio: 1; perspective: 1300px; cursor: grab; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }.orbit.dragging .orbit-viewport { cursor: grabbing; }
.orbit-frame {
  position: absolute; inset: 6%; display: grid; place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);   /* belirli iz: dikey görsel de max-height:100% ile kareye sığar */
  opacity: 0; visibility: hidden;
  transform: translateX(var(--tx, 0)) rotateY(var(--ry, 0deg)) scale(.9);
  transition: opacity .55s ease, transform .75s var(--ease), visibility 0s linear .75s;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.orbit-frame.current { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .05s, transform .8s var(--ease) .05s, visibility 0s; z-index: 1; }
.orbit-frame.no-anim, .orbit-frame.held { transition: none; }
/* Model değişimi (swap): eski ürün iner ve söner, yeni ürün yukarıdan yerine oturur */
.orbit-viewport.swap-out .orbit-frame.current { opacity: 0; transform: translateY(5%) scale(.9); transition: opacity .24s ease-in, transform .3s cubic-bezier(.5,0,.75,0); }
.orbit-viewport.swap-prep .orbit-frame.current { opacity: 0; transform: translateY(-4%) scale(1.04); transition: none; }
.orbit-viewport.swap-out .orbit-floor { transform: scaleX(.55); opacity: .35; }
.orbit-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 34px 38px rgba(0,0,0,.5)); }
.orbit.light .orbit-frame img { filter: drop-shadow(0 30px 34px rgba(10,22,40,.22)); }
.orbit-floor { position: absolute; left: 22%; right: 22%; bottom: 3%; height: 7%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.6), transparent 72%); filter: blur(4px); transition: transform .8s var(--ease), opacity .8s var(--ease); }
.orbit.light .orbit-floor { background: radial-gradient(50% 50% at 50% 50%, rgba(10,22,40,.22), transparent 72%); }
.orbit.turning .orbit-floor { transform: scaleX(.8); opacity: .7; }
.orbit-reveal { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.orbit-reveal .orbit-frame { transition: none; }
.reveal-wrap { position: absolute; inset: 0; }
.reveal-wrap.wipe { -webkit-clip-path: circle(0% at var(--x) var(--y)); clip-path: circle(0% at var(--x) var(--y)); transition: clip-path .9s cubic-bezier(.7,0,.2,1), -webkit-clip-path .9s cubic-bezier(.7,0,.2,1); }
.reveal-wrap.wipe.open { -webkit-clip-path: circle(150% at var(--x) var(--y)); clip-path: circle(150% at var(--x) var(--y)); }
.reveal-wrap.fade { opacity: 0; transition: opacity .28s ease-out; }
.reveal-wrap.fade.open { opacity: 1; }

.orbit-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
/* Betik görüntüyü kurana kadar aynı yüksekliği ayır (sayfa kaymasın): kare alan + 52 px açı çubuğu */
.orbit:empty::before { content: ""; display: block; aspect-ratio: 1; }
.orbit:empty:not(.single) { padding-bottom: 52px; }
.orbit-angles { display: flex; gap: 4px; background: var(--stage-2); border: 1px solid var(--stage-line); padding: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.orbit.light .orbit-angles { background: var(--panel); border-color: var(--line); }
.orbit-angles button { flex-shrink: 0; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: .04em; color: var(--on-stage-2); transition: background .25s, color .25s; }
.orbit.light .orbit-angles button { color: var(--ink-3); }
.orbit-angles button[aria-current="true"] { background: var(--on-stage); color: var(--stage); }
.orbit.light .orbit-angles button[aria-current="true"] { background: var(--ink); color: #fff; }
.orbit-hint { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--on-stage-2); font-family: var(--f-mono); white-space: nowrap; }
.orbit.light .orbit-hint { color: var(--ink-3); }
.orbit-hint svg { width: 28px; height: 14px; animation: nudge 2.4s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.orbit-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--stage-line); background: transparent; color: var(--on-stage); display: grid; place-items: center; flex-shrink: 0; }
.orbit.light .orbit-play { border-color: var(--line); color: var(--ink); }
.orbit-play svg { width: 12px; height: 12px; }
/* 3B düğmesi: açı sekmelerinin dışında, sağ grupta tek başına durur */
.orbit-3d { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--on-stage); font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s; }
.orbit-3d svg { width: 15px; height: 15px; }
.orbit-3d[aria-pressed="true"] { background: var(--on-stage); border-color: var(--on-stage); color: var(--stage); }
.orbit.light .orbit-3d { background: var(--panel); border-color: var(--line); color: var(--ink); }
.orbit.light .orbit-3d[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.orbit-3d[hidden] { display: none; }
@media (max-width: 560px) { .orbit-hint span { display: none; } }
/* Altı ve daha çok açı (render setleri): sekmeler sıkışır, "Sürükle & döndür" yazısı yerine yalnız simge */
.orbit-ui:has(.orbit-angles button:nth-child(6)) .orbit-hint span { display: none; }
.orbit-angles:has(button:nth-child(6)) button { padding: 0 10px; }
@media (pointer: coarse) {   /* parmakla: açı düğmeleri ve oynat düğmesi daha büyük hedef */
  .orbit-angles button { height: 42px; }
  .orbit-play { width: 42px; height: 42px; }
}
/* 3B kare: model-viewer (sekme ilk açıldığında yüklenir, kontal.js → load3b) */
.orbit .orbit-frame.orbit-3b { inset: 0; }
.orbit-3b model-viewer { grid-area: 1 / 1; width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: transparent; }
.orbit-3b model-viewer::part(default-progress-bar) { display: none; }   /* kütüphanenin üstteki yükleme çizgisi: yüklenirken zaten "yükleniyor" yazısı var */
.orbit-3b.loading::after { content: attr(data-msg); grid-area: 1 / 1; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .04em; color: var(--on-stage-2); animation: pulse3b 1.4s ease-in-out infinite; }
@keyframes pulse3b { 50% { opacity: .35; } }
.orbit.is-3b .orbit-viewport { cursor: auto; }
.orbit.is-3b .orbit-floor { opacity: 0; }
@media (max-width: 560px) { .orbit[data-model] .orbit-angles button { padding: 0 11px; } }   /* dört sekme 375 px'e sığsın */

/* ---------- Ürün içerik blokları ---------- */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 24px; min-height: 56px; }
.subnav .sn-title { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; white-space: nowrap; }
.subnav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav nav a { font-size: var(--t-sm); color: var(--ink-3); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.subnav nav a:hover { color: var(--ink); }
.subnav nav a.active { color: var(--ink); background: rgba(10,22,40,.06); }
.subnav .btn { min-height: 40px; }
@media (max-width: 720px) { .subnav .sn-title, .subnav .btn { display: none; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }   /* 1fr = minmax(auto, 1fr): bölünemeyen uzun kelime sütunu ekrandan taşırırdı */
/* Qulp 2 "Kopyalanamayan" tek kelime ≈ 10 em: dar telefonda sütuna sığsın diye başlık ekranla küçülür (320 px'te 27,5 px, 360 px'te 31 px) */
@media (max-width: 380px) { #kod .display-lg { font-size: min(var(--t-3xl), 8.6vw); } }

/* Ayırıcı çizgiler: 1px aralığı kutucukların outline'ı doldurur (en son çizilir, komşunun altında kalmaz;
   dıştakiler kutu kenarında kırpılır). Zemin beyaz: satır tam dolmasa da boş hücre gri görünmez. */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.use { background: var(--panel); padding: 22px; display: grid; gap: 12px; align-content: start; min-height: 150px; outline: 1px solid var(--line); }
.use svg { width: 32px; height: 32px; color: var(--blue); }
.use b { font-size: var(--t-md); font-weight: 600; line-height: 1.3; }

/* Teknik föy */
.datasheet { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-items: start; }
.datasheet.single { grid-template-columns: 1fr; max-width: 720px; }
.ds-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-sm); background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); }
.ds-table:not(:has(caption)) { border-radius: var(--r-md); }
/* Başlık: kartın üst şeridi (ürün adı) */
.ds-table caption { text-align: left; background: var(--panel); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; padding: 14px 18px 12px; font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.ds-table th, .ds-table td { text-align: left; padding: 11px 18px; vertical-align: baseline; line-height: 1.45; }
.ds-table tbody tr:nth-child(odd) > * { background: #F6F8FB; }
.ds-table th { font-weight: 400; color: var(--ink-2); width: 44%; padding-right: 12px; }
/* Değer: düz yazı tipinde, rakamlar hizalı — kod yazı tipi uzun satırlarda göz yoruyordu */
.ds-table td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-table tbody tr:last-child > :first-child { border-bottom-left-radius: calc(var(--r-md) - 1px); }
.ds-table tbody tr:last-child > :last-child { border-bottom-right-radius: calc(var(--r-md) - 1px); }
.ds-table tbody tr:hover > * { background: var(--blue-50); }
.ds-note { font-size: var(--t-xs); color: var(--ink-3); margin-top: 14px; line-height: 1.6; }
@media (max-width: 900px) { .datasheet { grid-template-columns: 1fr; } }

/* İndirmeler */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.doc { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.doc:hover { border-color: var(--blue); transform: translateY(-2px); }
.doc .ico { width: 40px; height: 48px; border-radius: 6px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.625rem; font-weight: 600; flex-shrink: 0; }
.doc b { display: block; font-size: var(--t-sm); font-weight: 600; line-height: 1.3; }
.doc small { font-size: var(--t-xs); color: var(--ink-3); }

/* Uyumlu ürünler */
.compat { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .compat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }   /* telefonda iki sütun; kart iç ölçüleri "Ürün kartları" bölümünde */

/* Demo paneli */
.demo { border-radius: var(--r-lg); background: var(--stage); color: var(--on-stage); overflow: hidden; position: relative; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--stage-line); font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-stage-2); letter-spacing: .06em; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-stage-2); transition: background .25s, box-shadow .25s; }
.status.on i { background: var(--ok); box-shadow: 0 0 0 4px rgba(25,195,125,.2), 0 0 12px var(--ok); }
.status.warn i { background: var(--signal); box-shadow: 0 0 0 4px rgba(255,106,19,.2), 0 0 12px var(--signal); }
.status b { color: var(--on-stage); font-weight: 500; }
.demo-body { padding: 20px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 16px 20px; border-top: 1px solid var(--stage-line); }
.range { display: grid; gap: 6px; flex: 1; min-width: 220px; }
.range label { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--on-stage-2); font-family: var(--f-mono); }
.range label output { color: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-400) var(--p, 50%), var(--stage-line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--stage-line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue-400); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; }
.seg { display: inline-flex; background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--on-stage-2); font-size: var(--t-xs); font-family: var(--f-mono); padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--on-stage); color: var(--stage); }
.seg .seg-label { align-self: center; padding: 0 8px 0 10px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-stage-2); white-space: nowrap; }
.seg.light { background: var(--panel); border-color: var(--line); }
.seg.light button { color: var(--ink-3); }
.seg.light button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Reveal (içerik her zaman görünür başlar; JS sadece hafif kaydırma ekler) */
.js-reveal .rv { transform: translateY(22px); transition: transform 1s var(--ease); }
.js-reveal .rv.in { transform: none; }

/* Başa dön: sağ alt köşe; bu köşede sabit başka öğe yok (başlık ve ürün alt menüsü üstte). Arama/menü perdesinin (z 40) altında kalır. */
.basa-don {
  position: fixed; right: calc(clamp(14px, 2.2vw, 28px) + env(safe-area-inset-right, 0px)); bottom: calc(clamp(14px, 2.2vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  background: var(--ink); color: #fff; box-shadow: 0 14px 28px -14px rgba(10,22,40,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s, background .2s;
}
.basa-don.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease), background .2s; }
.basa-don:hover { background: var(--blue); }
.basa-don:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }
.basa-don svg { width: 18px; height: 18px; transform: rotate(-90deg); }   /* sağ ok, yukarı döndürülür */

/* Hareketi azalt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .rv { transform: none; }
}

/* ---------- Qulp: değişken kod demosu ---------- */
.rc-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; padding: 12px 20px 20px; align-items: center; }
/* Kumanda görseli dokunmaya kapalıdır: iPhone'da tuşa basılı tutunca görsel seçilip "Kopyala / Kaydet" menüsü açılmasın.
   Dokunuşu yalnız üstündeki tuşlar alır. */
.rc-remote { position: relative; aspect-ratio: 1; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.rc-remote img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); pointer-events: none; -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.rc-btn { position: absolute; width: 16%; aspect-ratio: 0.8; translate: -50% -50%; border-radius: 40%; border: 0; background: transparent; }
.rc-btn::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 1.5px solid rgba(77,134,255,.9); opacity: 0; animation: hint 2.4s var(--ease-io) infinite; }
.rc-btn:nth-of-type(2)::after { animation-delay: 1.2s; }
.rc-btn:hover::after, .rc-btn:focus-visible::after { opacity: 1; animation: none; }
/* Qulp 2 tuşları: fotoğraftaki gerçek tuş boyutu (yuvarlatılmış dikdörtgen) */
.qulp-key { width: 14%; aspect-ratio: 0.74; border-radius: 28%; }
/* İpucu halkası yalnız ilk basışa kadar; sonra tuşlar sade kalır (klavyeyle gezinmede odak halkası durur) */
.rc-remote.used .rc-btn::after { animation: none; opacity: 0; }
.rc-remote.used .rc-btn:focus-visible::after { opacity: 1; }
.rc-btn:active { background: rgba(255,255,255,.12); }
@keyframes hint { 0%, 100% { opacity: 0; transform: scale(.9); } 40% { opacity: .9; transform: scale(1.05); } 70% { opacity: 0; } }
.rc-led { position: absolute; left: 50%; top: 23.6%; width: 2.2%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #9dffcf; opacity: 0; box-shadow: 0 0 10px 4px rgba(25,195,125,.9), 0 0 30px 10px rgba(25,195,125,.45); }
.rc-waves { position: absolute; left: 50%; top: 10%; width: 60%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.rc-waves i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(77,134,255,.8); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; opacity: 0; }
.rc-remote.tx .rc-led { animation: led .9s ease-out; }
.rc-remote.tx .rc-waves i { animation: wave 1.1s var(--ease) forwards; }
.rc-remote.tx .rc-waves i:nth-child(2) { animation-delay: .15s; }
.rc-remote.tx .rc-waves i:nth-child(3) { animation-delay: .3s; }
@keyframes led { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wave { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.3); } }
.rc-logs { display: grid; gap: 12px; min-width: 0; }
.rc-log { min-width: 0; overflow: hidden; background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: var(--r-md); padding: 12px 14px; }
.rc-log h4 { font-family: var(--f-mono); font-weight: 500; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 8px; }
.rc-log.fixed h4 { color: var(--on-stage-2); }
.rc-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 124px; align-content: start; }   /* beş satırlık yer: kayıt doldukça kutu büyümesin */
.rc-log li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: baseline; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-stage-2); }
.rc-log li code { color: var(--on-stage); font-size: 0.8125rem; letter-spacing: .04em; white-space: nowrap; }
.rc-log li.new { animation: logIn .5s var(--ease); }
.rc-log li.new code { color: #fff; }
.rc-log li.dup code { color: var(--signal); }
.rc-log li.dup small { color: var(--signal); }
.rc-log li.rc-empty { display: block; color: var(--on-stage-2); opacity: .6; }
/* Qulp 2: kod kopyalayıcı satırları (bekliyor → dinleniyor → sonuç) */
.rc-grab ol { min-height: 0; gap: 8px; }
.rc-grab li { grid-template-columns: 1fr auto; font-size: var(--t-xs); min-height: 34px; align-items: center; }   /* sonuç etiketi gelince satır uzamasın */
.rc-grab li span { color: var(--on-stage); }
.rc-grab li small { opacity: .6; }
.rc-grab li small, .rc-grab li em { grid-area: 1 / 2; justify-self: end; }   /* aynı hücrede: sonuç etiketinin yeri baştan ayrılı, satır kaymaz */
.rc-grab li em { display: inline-block; visibility: hidden; white-space: nowrap; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.rc-grab li.scan small { opacity: 1; color: var(--blue-400); animation: grabScan .8s ease-in-out infinite; }
.rc-grab li.done small { visibility: hidden; }
.rc-grab li.done em { visibility: visible; animation: logIn .45s var(--ease); }
.rc-grab li[data-grab-row="fixed"] em { color: #FF9A5C; background: rgba(255,106,19,.14); }
.rc-grab li[data-grab-row="rolling"] em { color: #FFC66B; background: rgba(255,181,71,.12); }
.rc-grab li[data-grab-row="qulp"] em { color: #3DDC97; background: rgba(25,195,125,.14); }
.rc-grab li[data-grab-row="qulp"] span { font-weight: 600; }
@keyframes grabScan { 50% { opacity: .35; } }
/* Güvenlik katmanları listesi */
.sec-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: sl; }
.sec-layers li { display: grid; gap: 2px; padding-left: 38px; position: relative; counter-increment: sl; }
.sec-layers li::before { content: counter(sl, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 500 var(--t-xs)/1.9 var(--f-mono); color: var(--blue); }
.sec-layers b { font-size: var(--t-md); }
.sec-layers span { font-size: var(--t-sm); color: var(--ink-2); }
@keyframes logIn { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .rc-body { grid-template-columns: 1fr; } .rc-remote { max-width: 260px; margin-inline: auto; width: 100%; } }

/* Ürün sahnesi boyutu: ekran yüksekliğine sığar */
.p-hero .orbit { width: min(100%, 62vh, 620px); justify-self: center; }
.p-hero .orbit-frame { inset: 9%; }
@media (max-width: 980px) { .p-hero .orbit { width: min(100%, 520px); } }

/* ---------- PES demosu ---------- */
.trace-label { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--on-stage-2); letter-spacing: .08em; margin-bottom: 4px; }
.sys-icon { width: 64px; height: 64px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.sys-icon svg { width: 30px; height: 30px; }

/* ---------- KB-1 demosu ---------- */
/* KB-1 "Nasıl çalışır": adımlar ve basılı tutma düğmesi */
.kb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: kbs; }
.kb-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--on-stage-2); transition: color .25s; counter-increment: kbs; }
.kb-steps i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--stage-line); display: grid; place-items: center; font: 500 11px var(--f-mono); font-style: normal; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.kb-steps i::before { content: counter(kbs); }
.kb-steps b { display: block; font-size: var(--t-sm); font-weight: 600; }
.kb-steps small { display: block; font-size: var(--t-xs); line-height: 1.45; margin-top: 2px; }
.kb-steps li.on { color: var(--on-stage); }
.kb-steps li.on i { background: var(--ok); border-color: var(--ok); color: #06140D; box-shadow: 0 0 0 4px rgba(25,195,125,.2); }
.kb-hold { touch-action: none; user-select: none; -webkit-user-select: none; flex-shrink: 0; }
.kb-hold.on { background: #3D1A1D; border-color: #F0454B; color: #fff; box-shadow: 0 0 0 4px rgba(240,69,75,.2); }
.kb-hold + .demo-hint { flex: 1 1 280px; }
#kb-demo .demo-scene svg { min-width: 0; }                             /* dar ekranda sahne dikey yerleşime geçer (kb1.js), yatay kaydırma yok */
/* El sensörü demosu (demo/el.php): aynı sahneyi kullanan diğer el sensörlerine geçiş şeridi; dar ekranda sahne dikey yerleşime geçer (el.js) */
#demo-el .demo-scene svg { min-width: 0; }
.el-rail { display: grid; gap: 6px; }
.el-rail a { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 10px 5px 5px; border: 1px solid var(--stage-line); border-radius: var(--r-md); color: var(--on-stage-2); transition: border-color .2s, color .2s, background .2s; }
.el-rail a:hover { border-color: var(--on-stage-2); color: var(--on-stage); }
.el-rail a[aria-current] { border-color: var(--ok); color: var(--on-stage); background: rgba(25,195,125,.08); }
.demo-side .el-rail img { width: 38px; height: 38px; max-width: none; object-fit: contain; filter: none; background: #EEF1F6; border-radius: 6px; }
.el-rail b { display: block; font: 600 12px var(--f-mono); letter-spacing: .04em; }
.el-rail small { display: block; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .el-rail { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } .el-rail .demo-cap { grid-column: 1 / -1; } }   /* şerit sahnenin altına iner: iki sütun */

/* ---------- RDR-M demosu ---------- */

/* ---------- Tosba ---------- */
.tosba-hero { background:
    radial-gradient(55% 55% at 30% 45%, rgba(255,106,19,.20), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, #1B2436 0%, transparent 60%),
    linear-gradient(180deg, #0B0F17 0%, #0E131D 100%); }
.tosba-hero .eyebrow, .tosba-hero .p-code b { color: var(--signal); }
.flow-scene { padding: 8px 12px 0; overflow-x: auto; }
.flow-scene svg { width: 100%; min-width: 640px; height: auto; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--stage-line); }
.flow-steps li { padding: 14px 18px; font-size: var(--t-sm); color: var(--on-stage-2); border-left: 1px solid var(--stage-line); display: grid; gap: 2px; position: relative; transition: color .3s; }
.flow-steps li:first-child { border-left: 0; }
.flow-steps li .mono { font-size: var(--t-xs); color: var(--stage-line); transition: color .3s; }
.flow-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.flow-steps li.active { color: #fff; }
.flow-steps li.active .mono { color: var(--signal); }
.flow-steps li.active::before { transform: none; }
@media (max-width: 720px) { .flow-steps { grid-template-columns: 1fr 1fr; } .flow-steps li:nth-child(3) { border-left: 0; } .flow-steps li:nth-child(n+3) { border-top: 1px solid var(--stage-line); } }

/* Tosba uygulamaları: kendi kendine oynayan izometrik sahne kartları + güvenlik notu */
.tapp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tapp { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.tapp-stage { background: radial-gradient(80% 70% at 50% 45%, #141C2B 0%, #0B0F17 100%); border-bottom: 1px solid var(--line); }
.tapp-stage svg { display: block; width: 100%; height: auto; }
.tapp-body { display: grid; gap: 10px; align-content: start; padding: 18px 20px 20px; }
.tapp-body h3 { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-lg); font-weight: 650; text-wrap: balance; }
.tapp-body p { color: var(--ink-2); font-size: var(--t-sm); max-width: 56ch; }
.tapp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 0.6875rem; letter-spacing: .04em; }
.tapp-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-3); }
.tapp-meta .safe { border-color: rgba(240,69,75,.35); color: #B3262C; background: #FDEEEF; }
.tapp-more { margin-top: 18px; color: var(--ink-3); font-size: var(--t-sm); }
.safety-note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-top: 28px; padding: 20px 22px; border: 1px solid #F3C9A9; border-left: 4px solid var(--signal); border-radius: var(--r-md); background: var(--signal-50); }
.safety-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.safety-note strong { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-md); color: var(--ink); margin-bottom: 4px; }
.safety-note p { color: var(--ink-2); font-size: var(--t-sm); max-width: 78ch; }
.safety-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; }
.safety-links a { color: #B84200; font-weight: 600; }
.safety-links a:hover { text-decoration: underline; }
@media (max-width: 820px) { .tapp-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .safety-note { grid-template-columns: 1fr; gap: 10px; padding: 16px; } }

.battery .demo-body { padding: 28px 24px 20px; }
.bat-years { display: flex; align-items: baseline; gap: 12px; }
.bat-years b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: clamp(4rem, 10vw, 7rem); line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; min-width: 2ch; }
.bat-years span { font-size: var(--t-xl); color: var(--on-stage-2); }
.bat-bar { position: relative; margin-top: 22px; height: 14px; border-radius: 4px; background: var(--stage-2); overflow: hidden; }
.bat-bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 3px), var(--stage) calc(10% - 3px) 10%); }
.bat-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FF8A3D, var(--signal)); transition: width .6s var(--ease); }
.bat-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--t-xs); color: var(--on-stage-2); }

.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--t-sm); }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-lg); vertical-align: bottom; }
.cmp thead th img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 10px; }
.cmp thead th small { display: block; font-family: var(--f-mono); font-variation-settings: normal; font-size: var(--t-xs); color: var(--ink-3); font-weight: 400; margin-top: 4px; }
.cmp tbody th { color: var(--ink-3); font-weight: 500; width: 18%; }
.cmp td.mono { font-size: 0.8125rem; }
.cmp thead th:nth-child(2), .cmp td:nth-child(2) { background: var(--signal-50); }
.yes { color: #0B7A4B; font-weight: 600; }
.no { color: #B42318; font-weight: 600; }
.datasheet.three { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .datasheet.three { grid-template-columns: 1fr; } }

/* ---------- Kurumsal ---------- */
/* Sayfa tek bir anlatıdır: 80 m²'lik atölye → her eşikte içeri alınan bir iş → tek çatı → bunun sonucu.
   Hero'daki iki kare ve panodaki küçük plan aynı ölçektedir: kenar oranı √(80 / 1800) = %21,082. */
.hk-hero, .hk-kisaca { --hk-bindir: clamp(64px, 9vw, 140px); }   /* şeridin hero'ya bindiği yükseklik */
.hk-hero { position: relative; overflow: hidden; }
.hk-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 25vw, 340px); gap: 28px clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 44px) calc(clamp(48px, 6vw, 84px) + var(--hk-bindir)); }
.hk-hero .crumbs { grid-column: 1 / -1; margin-bottom: clamp(8px, 2vw, 28px); }
.hk-hero h1 { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.25rem); margin-bottom: 22px; }   /* iki satıra sığsın: yanında ölçekli çizim var */
.hk-hero .lede { max-width: 56ch; }
.hk-plan { margin: 0; display: grid; gap: 14px; }
.hk-plan-kare { position: relative; aspect-ratio: 1; }
.hk-plan-buyuk { position: absolute; inset: 0; border: 1.5px solid var(--blue-400); border-radius: 6px; transform-origin: 0 100%; animation: hk-buyu 1.5s var(--ease-io) .5s both;
  background:
    linear-gradient(to right, rgba(77,134,255,.2) 1px, transparent 1px) 0 100% / 21.082% 21.082%,
    linear-gradient(to top, rgba(77,134,255,.2) 1px, transparent 1px) 0 100% / 21.082% 21.082%,
    linear-gradient(200deg, rgba(77,134,255,.16), rgba(77,134,255,.03)); }
.hk-plan-kucuk { position: absolute; left: 0; bottom: 0; width: 21.082%; aspect-ratio: 1; border-radius: 3px 3px 3px 6px; background: var(--blue-400); box-shadow: 0 0 0 1px var(--blue-400), 0 0 28px rgba(77,134,255,.55); }
.hk-plan-et { position: absolute; display: grid; gap: 4px; animation: hk-gel .7s var(--ease) both; }
.hk-plan-et .mono { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); }
.hk-plan-et b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-plan-et-buyuk { top: 18px; right: 20px; text-align: right; animation-delay: 1.7s; }
.hk-plan-et-buyuk b { font-size: var(--t-2xl); }
.hk-plan-et-kucuk { left: calc(21.082% + 14px); bottom: 2px; animation-delay: .2s; }
.hk-plan-et-kucuk b { font-size: var(--t-lg); }
.hk-plan.bekle .hk-plan-buyuk, .hk-plan.bekle .hk-plan-et { animation-play-state: paused; }   /* çizim ekrana girene kadar (pages/tarihce.js) */
@keyframes hk-buyu { from { transform: scale(.21082); } }
@keyframes hk-gel { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 700px) {
  .hk-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hk-plan { width: min(100%, 300px); margin-top: 12px; }
}

/* Kısaca: hero'ya binen görsel şerit (kart, gövde, ürün), başlık + iki paragraf, altında künye */
.hk-kisaca { padding-top: 0; }
.hk-serit { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); margin: calc(-1 * var(--hk-bindir)) 0 clamp(48px, 7vw, 96px); }
.hk-serit .hk-foto { aspect-ratio: auto; height: clamp(170px, 23vw, 330px); box-shadow: 0 28px 60px -30px rgba(11,15,23,.6); }
@media (max-width: 700px) {
  .hk-serit .hk-foto { height: clamp(88px, 24vw, 132px); }   /* telefonda da üçü yan yana ve eşit */
}
.hk-bas { display: grid; gap: 18px; align-content: start; }
.hk-kisaca .two-col, .hk-yon .two-col { align-items: start; }
.prose { display: grid; gap: 16px; font-size: var(--t-lg); color: var(--ink-2); max-width: 62ch; }
.hk-kunye { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(36px, 5vw, 64px) 0 0; border-block: 1px solid var(--line); }
.hk-kunye > div { display: grid; gap: 10px; align-content: start; padding: 22px 18px 22px; border-left: 1px solid var(--line); }
.hk-kunye > div:first-child { border-left: 0; padding-left: 0; }
.hk-kunye dt { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hk-kunye dd { margin: 0; display: grid; gap: 2px; }
.hk-kunye dd b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.hk-kunye dd span { font-size: var(--t-sm); color: var(--ink-3); }
.hk-kunye a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.hk-kunye a:hover { color: var(--blue); text-decoration-color: currentColor; }
@media (max-width: 1100px) {
  .hk-kunye { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hk-kunye > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .hk-kunye > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hk-kunye { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-kunye > div { padding: 18px 12px; }
  .hk-kunye > div:nth-child(3n+1) { border-left: 1px solid var(--line); padding-left: 12px; }
  .hk-kunye > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hk-kunye > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Tarihçe: solda yapışkan pano (hangi süreç hangi yıl bünyeye katıldı), sağda eşikler. Pano kaydırmayla eşlenir
   (pages/tarihce.js); betik çalışmazsa son durumda (bütün süreçler tek çatı altında, 1.800 m²) kalır. */
.hk-akis { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hk-cati { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; padding: 24px; border: 1px solid var(--stage-line); border-radius: var(--r-lg); background: rgba(21,28,41,.72); }
.admin-bar .hk-cati { top: calc(var(--header-h) + 56px); }
.hk-cati-ust { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-stage-2); }
.hk-say b { color: var(--on-stage); font-weight: 500; }
.hk-cati-yil { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--stage-line); }
.hk-cati-yil > b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-4xl); font-weight: 700; letter-spacing: -.03em; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.hk-cati-yil > .mono { grid-column: 1 / -1; font-size: var(--t-xs); letter-spacing: .06em; color: var(--on-stage-2); }
.hk-mini { position: relative; width: 52px; height: 52px; transition: opacity .4s; }
.hk-mini::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--blue-400); border-radius: 3px; background: rgba(77,134,255,.1); transform-origin: 100% 100%; transition: transform .9s var(--ease-io), opacity .4s; }
.hk-mini i { position: absolute; right: 0; bottom: 0; width: 21.082%; height: 21.082%; border-radius: 1px 1px 3px 1px; background: var(--blue-400); }
.hk-js:not(.tesis) .hk-mini::before { transform: scale(.21082); opacity: 0; }
.hk-js:not(.ilk):not(.tesis) .hk-mini { opacity: 0; }   /* alan yalnız 1992 ve 2015 için biliniyor */
.hk-surec { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hk-surec a { display: grid; grid-template-columns: 22px 14px 1fr auto; gap: 10px; align-items: center; min-height: 44px; padding: 0 10px; margin-inline: -10px; border-radius: var(--r-sm); color: var(--on-stage); transition: background .3s, color .4s; }
.hk-surec a:hover { background: rgba(77,134,255,.1); }
.hk-surec .mono { font-size: 11px; color: var(--on-stage-2); }
.hk-surec i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue-400); background: var(--blue-400); transition: background .4s, border-color .4s, box-shadow .4s; }
.hk-surec b { font-size: var(--t-sm); font-weight: 600; line-height: 1.25; }
.hk-surec em { font-style: normal; font-size: var(--t-xs); color: var(--on-stage-2); transition: opacity .4s, color .4s; }
.hk-js .hk-surec li:not(.var) a { color: #5F6B82; }
.hk-js .hk-surec li:not(.var) i { background: transparent; border-color: #44506A; }
.hk-js .hk-surec li:not(.var) em { opacity: 0; }
.hk-js .hk-surec li.yeni a { background: rgba(77,134,255,.14); }
.hk-js .hk-surec li.yeni i { box-shadow: 0 0 0 5px rgba(77,134,255,.22); }
.hk-js .hk-surec li.yeni em { color: #fff; }
.hk-cati-not { font-size: var(--t-xs); line-height: 1.5; color: var(--on-stage-2); opacity: .8; }

.hk-esikler { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(44px, 6vw, 80px); }
.hk-esik { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.hk-esik-metin { display: grid; gap: 14px; align-content: start; }
.hk-ara { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-400); }
.hk-esik-bas { display: grid; gap: 12px; }
.hk-esik-bas b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: var(--t-4xl); font-weight: 700; letter-spacing: -.03em; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; transition: color .5s; }
.hk-esik-bas span { font-size: var(--t-xl); font-weight: 600; }
.hk-esik p { color: var(--on-stage-2); max-width: 44ch; }
.hk-js .hk-esik:not(.on) .hk-esik-bas b { color: #6B7790; }
.hk-foto { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stage-2); }
.hk-foto img { width: 100%; height: 100%; object-fit: cover; }
.hk-foto figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 11px; border-radius: 999px; background: rgba(11,15,23,.78); color: var(--on-stage); font-size: 11px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.hk-foto figcaption b { margin-right: 8px; font-weight: 500; color: var(--blue-400); }
@media (max-width: 1180px) { .hk-akis { grid-template-columns: 290px minmax(0, 1fr); gap: 40px; } }
@media (min-width: 1024px) and (max-height: 640px) { .hk-cati { gap: 14px; padding: 18px; } .hk-cati-not { display: none; } }   /* alçak ekranda pano ekrana sığsın */
/* Dar ekran: pano, başlığın altına yapışan ince bir şeride döner (yıl · süreç çentikleri · sayı) */
@media (max-width: 1023px) {
  .hk-akis { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hk-cati { top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 5; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); border: 0; border-block: 1px solid var(--stage-line); border-radius: 0; background: color-mix(in srgb, var(--stage) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .admin-bar .hk-cati { top: calc(var(--header-h) + 32px); }
  .hk-cati-yil { order: 1; display: block; padding: 0; border: 0; }
  .hk-cati-yil > b { font-size: var(--t-xl); line-height: 1; }
  .hk-surec { order: 2; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; }
  .hk-cati-ust { order: 3; }
  .hk-cati-ust > span:first-child, .hk-cati-yil > .mono, .hk-mini, .hk-cati-not, .hk-surec .mono, .hk-surec b, .hk-surec em { display: none; }
  .hk-surec a { display: flex; min-height: 32px; margin: 0; padding: 0; }
  .hk-surec a:hover, .hk-js .hk-surec li.yeni a { background: none; }
  .hk-surec i { width: 100%; height: 5px; border: 0; border-radius: 3px; }
  .hk-js .hk-surec li:not(.var) i { background: var(--stage-line); }
  .hk-js .hk-surec li.yeni i { box-shadow: 0 0 0 3px rgba(77,134,255,.25); }
  .hk-esik { scroll-margin-top: calc(var(--header-h) + 72px); }
}
@media (max-width: 782px) { .admin-bar .hk-cati { top: calc(var(--header-h) + 46px); } }
@media (max-width: 600px) {
  .hk-esik { grid-template-columns: minmax(0, 1fr); }
  .hk-esik .hk-foto { aspect-ratio: 3 / 2; }
}

/* Bugün: bir ürünün sekiz adımı (fotoğraflı), kalıp atölyesi, tek çatının üç sonucu ve belgeler */
.hk-bugun { background: var(--panel); border-block: 1px solid var(--line); }
.hk-yol { --yol-ara: clamp(14px, 1.8vw, 26px); list-style: none; margin: 0 0 clamp(48px, 7vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) var(--yol-ara); }
.hk-yol li { display: grid; gap: 8px; align-content: start; }
.hk-yol figure { margin: 0 0 8px; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.hk-yol img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hk-yol li:hover img { transform: scale(1.04); }
.hk-yol-no { display: flex; align-items: center; gap: 12px; font-size: var(--t-xs); letter-spacing: .08em; color: var(--blue); }
.hk-yol-no::after { content: ""; flex: 1; height: 1px; margin-right: calc(-1 * var(--yol-ara)); background: var(--line-2); }   /* çizgi bir sonraki adıma uzanır */
.hk-yol li:nth-child(4n) .hk-yol-no::after { margin-right: 0; }
.hk-yol h3 { font-size: var(--t-lg); font-weight: 700; line-height: 1.2; }
.hk-yol p { font-size: var(--t-sm); color: var(--ink-2); max-width: 34ch; }

.hk-kalip { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 0; padding: clamp(20px, 4vw, 52px); border-radius: var(--r-lg); background: radial-gradient(70% 60% at 90% 0%, rgba(77,134,255,.16), transparent 70%), var(--stage); scroll-margin-top: calc(var(--header-h) + 24px); }
.hk-kalip-bas { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; align-content: start; }
.hk-kalip-bas h3 { color: #fff; }
.hk-kalip-bas p { color: var(--on-stage-2); max-width: 40ch; }
.hk-kalip-adim { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(10px, 1.4vw, 18px); }
.hk-kalip-adim li { grid-column: span 2; display: grid; gap: 6px; align-content: start; }
.hk-kalip-adim li:nth-child(-n+2) { grid-column: span 3; }
.hk-kalip-adim figure { margin: 0 0 8px; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--stage-2); }
.hk-kalip-adim img { width: 100%; height: 100%; object-fit: cover; }
.hk-kalip-adim .mono { font-size: var(--t-xs); letter-spacing: .08em; color: var(--blue-400); }
.hk-kalip-adim h4 { font-size: var(--t-base, 1rem); font-weight: 700; line-height: 1.25; color: #fff; }
.hk-kalip-adim p { font-size: var(--t-sm); line-height: 1.55; color: var(--on-stage-2); }

.hk-kazanc { list-style: none; margin: 0 0 clamp(48px, 7vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.hk-kazanc li { display: grid; gap: 14px; align-content: start; padding-top: 20px; border-top: 2px solid var(--ink); }
.hk-kazanc .mono { font-size: var(--t-sm); color: var(--blue); }
.hk-kazanc h3 { font-size: var(--t-lg); font-weight: 700; margin-bottom: 6px; }
.hk-kazanc p { color: var(--ink-2); max-width: 54ch; }
.hk-belgeler { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.hk-belge-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hk-belge { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .2s, transform .3s var(--ease); }
.hk-belge:hover { border-color: var(--blue); transform: translateY(-2px); }
.hk-belge img { width: 64px; aspect-ratio: .705; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); }
.hk-belge > span { display: grid; gap: 2px; min-width: 0; }
.hk-belge b { font-size: var(--t-sm); font-weight: 500; }
.hk-belge > span > span { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; }
.hk-belge em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: var(--t-xs); font-weight: 600; color: var(--blue); }
.hk-belge em svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.hk-belge:hover em svg { transform: translateX(3px); }
@media (max-width: 1100px) { .hk-belgeler { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) {
  .hk-yol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-yol li:nth-child(2n) .hk-yol-no::after { margin-right: 0; }
  .hk-kalip { grid-template-columns: minmax(0, 1fr); }
  .hk-kalip-bas { position: static; }
}
@media (max-width: 820px) {
  .hk-kazanc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hk-kazanc li { grid-template-columns: 40px 1fr; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); }
  .hk-kazanc li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) { .hk-belge-list { grid-template-columns: minmax(0, 1fr); } }
/* Dar ekran: sekiz adım yana kaydırılan bir şerit olur; kalıp adımları ikişerli dizilir */
@media (max-width: 600px) {
  .hk-yol { display: flex; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .hk-yol::-webkit-scrollbar { display: none; }
  .hk-yol li { flex: 0 0 74%; scroll-snap-align: start; }
  .hk-yol li .hk-yol-no::after, .hk-yol li:nth-child(2n) .hk-yol-no::after, .hk-yol li:nth-child(4n) .hk-yol-no::after { margin-right: -14px; }
  .hk-yol li:last-child .hk-yol-no::after { margin-right: 0; }
  .hk-kalip-adim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-kalip-adim li, .hk-kalip-adim li:nth-child(-n+2) { grid-column: span 1; }
  .hk-kalip-adim li:first-child { grid-column: 1 / -1; }
}

/* Sıradaki eşik: misyon ve vizyon */
.hk-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 6px; }
.hk-mv p { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 640px) { .hk-mv { grid-template-columns: 1fr; } }
.hk-son { padding-top: 0; }
.hk-cta h2 { max-width: 18ch; }

@media (prefers-reduced-motion: reduce) {
  .hk-plan-buyuk, .hk-plan-et { animation: none; }
  .hk-yol img { transition: none; }
  .hk-yol li:hover img { transform: none; }
}

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(48px, 8vw, 96px); }
.form { display: grid; gap: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.topic { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.topic legend { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.topic-opt { position: relative; cursor: pointer; }
.topic-opt input { position: absolute; opacity: 0; }
.topic-opt span { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); transition: border-color .2s, background .2s, box-shadow .2s; }
.topic-opt b { font-size: var(--t-sm); }
.topic-opt small { font-size: var(--t-xs); color: var(--ink-3); }
.topic-opt input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.topic-opt input:focus-visible + span { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.hint { font-size: var(--t-sm); color: var(--ink-2); background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; border-left: 3px solid var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { font: inherit; font-size: var(--t-md); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.field.invalid input, .field.invalid textarea { border-color: #D92D20; box-shadow: 0 0 0 4px #FEE4E2; }
.consent { font-size: var(--t-sm); align-items: flex-start; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.consent.invalid { color: #B42318; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: var(--t-sm); }
.form-msg.ok { color: #0B7A4B; }
.form-msg.err { color: #B42318; }
.contact-side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.contact-side h3 { font-size: var(--t-lg); }
.contact-side address { font-style: normal; color: var(--ink-2); font-size: var(--t-sm); }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.dealer-card.note { background: var(--signal-50); border-color: #FFD9C2; }
.ticks { display: grid; gap: 8px; font-size: var(--t-sm); color: var(--ink-2); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-side { position: static; } }
@media (max-width: 640px) { .topic { grid-template-columns: 1fr; } .fields { grid-template-columns: 1fr; } }

/* Mobil üst bar ve başlık */
.topbar .tb-left span { overflow: hidden; text-overflow: ellipsis; }
.topbar .tb-left { min-width: 0; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: 16px; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .header-actions .lang { height: 40px; }
  .header-actions .lang a { min-width: 32px; padding: 0 6px; }
}
/* Dar telefonlar (≤ 400 px): logo + dil + arama + menü tek satıra sığsın */
@media (max-width: 400px) {
  .site-header .wrap { gap: 10px; }
  .brand img { height: 13px; width: auto; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .header-actions .lang { height: 38px; padding: 2px; }
  .header-actions .lang a { min-width: 28px; padding: 0 4px; }
}
@media (max-width: 350px) { .brand img { height: 11px; } }
@media (max-width: 640px) {
  .flow-scene svg { min-width: 0; }
  .flow-scene { padding-inline: 8px; }
}
.drawer-lang { text-align: center; font-size: var(--t-sm); color: var(--on-stage-2); padding: 8px; }
.drawer-lang:hover { color: #fff; }

/* ---------- WordPress: genel ürün sayfası ve içerik ---------- */
.orbit.single .orbit-ui { display: none; }
/* Ürün üst bölümü: uzun, bölünmeyen değerler ("220V 50Hz AC") sütunu ekrandan geniş yapmasın. Sütun içeriğe göre daralır.
   Geniş ekranda kutular eşit paylı ve tek satır; dar sütunda (≤1240 px) ya da değerler toplamı uzunsa (.ks-uzun, generic.php)
   kutular içeriğiyle orantılı pay alır, sığmayan değer alt satıra iner. --n: kutu sayısı. */
.p-info { grid-template-columns: minmax(0, 1fr); }
.keyspecs { grid-template-columns: repeat(var(--n, 3), 1fr); }
.keyspecs.ks-uzun { grid-template-columns: repeat(var(--n, 3), auto); }
.ks-uzun .keyspec b { white-space: normal; }
@media (max-width: 1240px) {
  .keyspecs { grid-template-columns: repeat(var(--n, 3), auto); }
  .keyspec b { white-space: normal; }
}
@media (min-width: 981px) and (max-width: 1240px) { .keyspec b { font-size: var(--t-lg); } }   /* iki sütunlu düzenin dar ucu */
@media (max-width: 420px) {
  .keyspec { padding-right: 10px; }
  .keyspec + .keyspec { padding-left: 10px; }
}
@media (max-width: 360px) { .keyspec b { font-size: var(--t-md); } }
.ds-wrap { overflow-x: auto; }
.ds-table.multi thead th { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ds-table.multi td { min-width: 120px; }
.datasheet > .ds-wrap:only-child { grid-column: 1 / -1; max-width: 760px; }
.entry { font-size: var(--t-md); color: var(--ink-2); line-height: 1.7; display: grid; gap: 14px; }
.entry h2, .entry h3, .entry h4 { font-family: var(--f-display); font-variation-settings: "wdth" 125; color: var(--ink); font-size: var(--t-lg); margin-top: 8px; }
.entry ul, .entry ol { padding-left: 1.2em; display: grid; gap: 6px; }
.entry ul { list-style: disc; }
.entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--r-md); }
.entry strong { color: var(--ink); }
.page-head + .section-tight .entry { max-width: 760px; }
.card[hidden] { display: none !important; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Görüntüleyici: görsel analiz edilirken gizli; opak zeminli görseller kart olarak */
.orbit-frame img { transition: opacity .3s ease; }
.orbit-viewport.prep .orbit-frame img { opacity: 0; }
/* İlk görsel, betik görüntüleyiciyi kurmadan önce (functions.php'deki satır içi betikle) yerine konur: ürün boş bir alanla değil görselle açılır.
   Görüntüleyici kurulunca (.ustte) üstte bindirilir, asıl kare hazır olunca kaldırılır. Ölçüler .orbit-frame ile aynıdır. */
.orbit-ilk { aspect-ratio: 1; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 6%; pointer-events: none; }
.p-hero .orbit-ilk { padding: 9%; }
.orbit:not(.single) > .orbit-ilk:only-child { margin-bottom: 52px; }
.orbit-ilk.ustte { position: absolute; left: 0; right: 0; top: 0; z-index: 3; margin: 0; }
.orbit-ilk img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 34px 38px rgba(0,0,0,.5)); }
.orbit.light .orbit-ilk img { filter: drop-shadow(0 30px 34px rgba(10,22,40,.22)); }
.orbit-viewport.ilk-var .orbit-frame img { transition: none; }
.orbit-frame.is-opak img { max-width: 86%; max-height: 86%; border-radius: 14px; filter: drop-shadow(0 24px 34px rgba(0,0,0,.45)); }
/* Koyu ürün, koyu sahne: siyah gövde zeminle karışmasın diye ürünün arkasına yumuşak bir ışık konur ve kenarına ince bir
   aydınlık çizgi düşer (kontal.js → analyze: koyu). Açık zeminli görüntüleyicide (.orbit.light) ve opak kartlarda uygulanmaz. */
.orbit:not(.light) .orbit-frame.is-koyu::before { content: ""; position: absolute; inset: -4%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200,214,240,.42) 0%, rgba(172,192,230,.24) 38%, rgba(140,165,215,.09) 62%, transparent 78%); }
.orbit:not(.light) .orbit-frame.is-koyu:not(.is-opak) img { filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 14px rgba(170,195,255,.20)) drop-shadow(0 30px 34px rgba(0,0,0,.5)); }
.orbit:not(.light) .orbit-frame.orbit-3b.is-koyu::before { inset: 2%; }

/* ---------- Hızlı arama (üst menü) ---------- */
.search-pop {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 1px);
  background: var(--panel); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(10,22,40,.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.site-header.search-open .search-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header.search-open [data-search-open] { border-color: var(--ink); background: var(--ink); color: #fff; }
.search-scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(10,22,40,.32);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.search-lock .search-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-lock body { overflow: hidden; }
.search-pop .wrap { height: auto; display: block; max-width: 880px; padding-block: 20px 14px; }
.sp-field { display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; height: 60px; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--panel); }
.sp-field > svg { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; }
.sp-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 var(--t-lg)/1 var(--f-body); color: var(--ink); }
.sp-field input::placeholder { color: var(--ink-3); font-weight: 400; }
.sp-field input::-webkit-search-cancel-button { display: none; }
.sp-field:focus-within { box-shadow: 0 0 0 4px var(--blue-50); border-color: var(--blue); }
.search-pop kbd { font: 500 11px/1 var(--f-mono); color: var(--ink-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; background: var(--paper); }
.sp-close { width: 40px; height: 40px; display: none; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-2); }
.sp-close svg { width: 18px; height: 18px; }
.sp-body { max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; }
.sp-start { padding: 12px 4px 4px; display: grid; gap: 10px; }
.sp-start h4 { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips .chip { font-family: var(--f-mono); }
.sp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sp-cats a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 600; transition: border-color .2s, color .2s; }
.sp-cats a span { font: 400 var(--t-xs) var(--f-mono); color: var(--ink-3); }
.sp-cats a:hover { border-color: var(--blue); color: var(--blue); }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sp-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 8px 12px 8px 8px; border-radius: var(--r-sm); }
.sp-list [aria-selected="true"] a { background: var(--blue-50); }
.sp-img { width: 56px; height: 56px; border-radius: var(--r-sm); background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #E9ECF1 100%); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.sp-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sp-txt { display: grid; gap: 2px; min-width: 0; }
.sp-code { font: 500 var(--t-sm) var(--f-mono); color: var(--ink); display: flex; align-items: center; gap: 8px; }
.sp-name { font-size: var(--t-sm); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-cat { font-size: var(--t-xs); color: var(--ink-3); text-align: right; max-width: 22ch; }
.sp-list mark { background: none; color: var(--blue); font-weight: 700; }
.sp-empty { padding: 28px 8px; color: var(--ink-3); font-size: var(--t-sm); }
.sp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4px 4px; margin-top: 8px; border-top: 1px solid var(--line); }
.sp-keys { font-size: var(--t-xs); color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.sp-keys kbd + kbd { margin-left: -1px; }
.sp-keys kbd:nth-of-type(3) { margin-left: 10px; }
@media (max-width: 720px) {
  /* Başlıktaki backdrop-filter, position:fixed'i başlığa bağlar; yükseklik açılışta JS ile (--sp-top) */
  .search-pop { height: calc(100dvh - var(--sp-top, 110px)); border-bottom: 0; }
  .search-pop .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: 100%; padding-block: 14px 10px; }
  .sp-body { max-height: none; flex: 1; }
  .sp-field { height: 52px; padding-left: 14px; }
  .sp-field input { font-size: var(--t-md); }
  .sp-esc, .sp-keys { display: none; }
  .sp-close { display: grid; }
  .sp-list a { grid-template-columns: 48px 1fr; gap: 12px; }
  .sp-img { width: 48px; height: 48px; }
  .sp-cat { display: none; }
  .sp-foot { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 4px); }
}
@media (prefers-reduced-motion: reduce) { .search-pop, .search-scrim { transition: none; } }

/* ---------- Ürün demoları ("Nasıl çalışır") — template-parts/demo/*, assets/js/demos/* ---------- */
.demo-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.demo-scene { padding: 14px 16px 4px; overflow-x: auto; }
.demo-scene svg { width: 100%; min-width: 540px; height: auto; display: block; }
.demo-side { border-left: 1px solid var(--stage-line); padding: 18px 20px; display: grid; align-content: start; gap: 16px; }
.demo-side img { width: 100%; max-width: 200px; justify-self: center; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.demo-facts { display: grid; gap: 12px; margin: 0; align-content: start; }
#demo-motor .demo-mini svg { max-width: 260px; }
.demo-facts div { display: grid; gap: 2px; }
.demo-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); }
.demo-facts dd { margin: 0; font-size: var(--t-sm); font-weight: 600; color: var(--on-stage); font-variant-numeric: tabular-nums; }
/* sistem demoları: numaralı parçalar (KD.pins) — pin katmanı svg ile birlikte yatay kayar */
.demo-view { position: relative; min-width: 540px; }
.demo-view > svg { min-width: 0; }
.demo-view .cz-guides { height: 100%; min-width: 0; }
.kenar-side .cz-parts img { filter: none; max-width: none; }
.kenar-side { gap: 14px; }
.kenar-side .cz-parts .cz-pt i { white-space: normal; }
.kenar-rol { margin: 8px 8px 0; font-size: var(--t-xs); line-height: 1.55; color: var(--on-stage-2); }
.kenar-fark { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.kenar-fark .kf { display: grid; align-content: start; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .25s, box-shadow .25s; }
.kenar-fark .kf.on { border-color: var(--blue-400); box-shadow: 0 0 0 1px var(--blue-400) inset; }
.kf-h { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.kf-h b { font-family: var(--f-mono); font-weight: 500; color: var(--blue); }
.kf-h em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.kenar-fark p { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }
.kenar-fark .kf-ortak { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--ink-3); }
@media (max-width: 700px) { .kenar-fark { grid-template-columns: 1fr; } }
.demo-hint { font-size: var(--t-sm); line-height: 1.55; color: var(--on-stage-2); border-top: 1px solid var(--stage-line); padding-top: 14px; margin: 0; }
.demo-trace { border-top: 1px solid var(--stage-line); padding: 12px 20px 8px; }
.demo-trace canvas { width: 100%; height: 90px; display: block; }
.demo-controls .seg button:disabled { opacity: .35; cursor: not-allowed; }
.demo-btn { border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--on-stage); font: 500 var(--t-xs) var(--f-mono); padding: 9px 16px; border-radius: 999px; transition: background .2s, border-color .2s; }
.demo-btn:hover { border-color: var(--on-stage-2); }
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-side { border-left: 0; border-top: 1px solid var(--stage-line); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .demo-side img { max-width: 140px; }
  /* Telefonda sıra: başlık → sahne → KONTROLLER → röle grafiği → yan panel. Eskiden kontroller en alttaydı (sahneden bir ekran
     aşağıda); düğmeye ya da kaydırıcıya dokunurken sahne görünmüyordu. .demo-grid "contents" olur ki sahne ile yan panelin
     arasına kontroller girebilsin. Montaj demolarının (#montaj-demo, #montaj-demo-ks) kendi düzeni vardır; ROLAN2'nin alan seçicisi sahnenin üstünde kalır. */
  .demo:not(#montaj-demo, #montaj-demo-ks) { display: flex; flex-direction: column; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-grid { display: contents; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-grid > .demo-scene { order: 1; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-controls { order: 2; padding: 10px 16px 12px; gap: 10px 18px; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-controls.r2-alanlar { order: 0; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-trace { order: 3; }
  .demo:not(#montaj-demo, #montaj-demo-ks) > .demo-grid > .demo-side { order: 4; }
}
.demo-mini { display: grid; gap: 10px; justify-items: center; padding: 12px; border: 1px solid var(--stage-line); border-radius: var(--r-md); background: rgba(21,28,41,.5); }
.demo-mini svg { width: 100%; max-width: 220px; height: auto; overflow: visible; }
.demo-cap { font-size: var(--t-xs); letter-spacing: .08em; color: var(--on-stage-2); }
.demo-relays { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
[data-tcm-rel] { min-height: 114px; align-content: start; }   /* üç satırlık yer: canlandırma başlamadan da ayrılı */
[data-mnt-cap] { display: block; min-height: 3.4em; }   /* adım yazısı iki satıra çıkınca kutu büyümesin */
.demo-relays li { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--on-stage-2); transition: color .25s; }
.demo-relays i { width: 10px; height: 10px; border-radius: 50%; background: var(--stage-line); flex-shrink: 0; transition: background .25s, box-shadow .25s; }
.demo-relays li.on { color: var(--on-stage); }
.demo-relays li.on i { background: var(--ok); box-shadow: 0 0 0 4px rgba(25,195,125,.2), 0 0 12px var(--ok); }

/* ---------- Ürün aileleri: karşılaştırma tablosu (ürün sayfası + katalog) ---------- */
.aile-tablo-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
.aile-tablo { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: var(--t-sm); }
.aile-tablo thead th { text-align: left; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); }
.aile-tablo td, .aile-tablo tbody th { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; font-weight: 400; }
.aile-tablo tbody tr:last-child > * { border-bottom: 0; }
.aile-tablo tbody th, .aile-tablo thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }   /* dar ekranda model sütunu sabit */
.aile-tablo tbody tr:hover > * { background: #F6F8FB; }
.aile-tablo tr.is-self > * { background: var(--blue-50); }
.aile-tablo tr.is-self th { box-shadow: inset 3px 0 0 var(--blue); }
.at-model { display: flex; align-items: center; gap: 10px; }
a.at-model:hover .at-code { color: var(--blue); }
.at-img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #E9ECF1 100%); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 4px; overflow: hidden; }
.at-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.at-txt { display: grid; gap: 2px; min-width: 0; }
.at-code { font: 600 var(--t-sm) var(--f-mono); color: var(--ink); white-space: nowrap; transition: color .2s; }
.at-code em { margin-left: 4px; font: 600 10px var(--f-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.at-v { color: var(--ink-3); white-space: nowrap; }
.at-v.hl { color: var(--blue); font-weight: 600; background: var(--blue-50); border: 1px solid rgba(4,57,152,.18); border-radius: 999px; padding: 3px 9px; font-size: 12.5px; }
.aile-tablo tr.is-self .at-v.hl { background: #fff; }
.at-bar { display: block; height: 4px; width: calc(var(--w) * 1.1px); min-width: 6px;   /* 100 = ailenin en uzun mesafesi = 110 px */ border-radius: 4px; background: var(--blue-400); opacity: .75; margin-bottom: 6px; }
.at-best { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; width: 26ch; max-width: 100%; }
.aile-tablo tbody th { min-width: 250px; }
/* Masaüstünde "öne çıktığı yer" model sütununun içindedir; telefona özel sütun ve başlıklar gizlenir. */
.aile-tablo .at-dar, .aile-ipucu { display: none; }
.aile-kaydir { position: relative; min-width: 0; }   /* ızgara öğesi: tablo genişliği kabı büyütmesin */
/* Telefon: model sütunu yalnız ürün kodu kadar yer tutar (eskiden ekranın %60-75'i), veri sütunları sıkılaştırılır,
   "öne çıktığı yer" son sütuna iner. Tablo yine de yana kayıyorsa sağ kenar soluklaşır ve üstte "Yana kaydırın" yazar. */
@media (max-width: 720px) {
  .at-img, .aile-tablo .at-genis, .aile-tablo tbody th .at-best { display: none; }
  .aile-tablo thead th .at-dar { display: inline; }
  .aile-tablo th.at-dar, .aile-tablo td.at-dar { display: table-cell; }
  .aile-tablo { min-width: 0; width: max-content; min-width: 100%; font-size: 12.5px; }
  .aile-tablo thead th { padding: 10px 9px; font-size: 10.5px; letter-spacing: .06em; }
  .aile-tablo td, .aile-tablo tbody th { padding: 10px 9px; }
  .aile-kaydir .aile-tablo tbody th, .aile-katalog .aile-kaydir .aile-tablo tbody th { min-width: 0; }   /* katalogdaki 210 px kuralını da ezer */
  .aile-kaydir .aile-tablo td, .aile-kaydir .aile-tablo th { padding-inline: 9px; }
  .aile-kaydir .aile-tablo tbody th, .aile-kaydir .aile-tablo thead th:first-child { padding-left: 12px; }
  .at-code { font-size: 12.5px; }
  .at-code em { display: block; margin: 2px 0 0; font-size: 9.5px; }
  .at-v.hl { padding: 2px 7px; font-size: 11.5px; }
  .at-bar { width: calc(var(--w) * .6px); margin-bottom: 4px; }
  .aile-tablo td.at-dar .at-best { display: block; width: 24ch; font-size: 12px; }
  /* kaydırınca sabit sütunun kenarı belli olsun */
  .aile-kaydir.kayar:not(.basta) .aile-tablo tbody th, .aile-kaydir.kayar:not(.basta) .aile-tablo thead th:first-child { box-shadow: 6px 0 8px -6px rgba(10,22,40,.28); }
  .aile-kaydir.kayar:not(.basta) .aile-tablo tr.is-self th { box-shadow: inset 3px 0 0 var(--blue), 6px 0 8px -6px rgba(10,22,40,.28); }
  /* sağda devamı var: kenar soluklaşır */
  .aile-kaydir::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 34px; border-radius: 0 var(--r-md) var(--r-md) 0; background: linear-gradient(to right, rgba(255,255,255,0), var(--panel) 85%); pointer-events: none; opacity: 0; transition: opacity .2s; }
  .aile-kaydir.kayar::after { top: 25px; }                       /* "yana kaydırın" satırının (16 + 8 px) altından başlar */
  .aile-kaydir.kayar:not(.sonda)::after { opacity: 1; }
  .aile-kaydir.kayar .aile-ipucu { display: flex; align-items: center; justify-content: flex-end; gap: 6px; height: 16px; margin: 0 2px 8px; font: 500 11px/16px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); transition: opacity .2s; }
  .aile-kaydir.kayar:not(.basta) .aile-ipucu { opacity: .35; }
  .aile-ipucu svg { width: 13px; height: 13px; }
}
.aile-more { margin-top: 18px; }
.aile-katalog { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; display: grid; gap: 18px; }
.aile-katalog-head { display: grid; gap: 8px; }
.aile-katalog-head .lede { font-size: var(--t-md); }
.aile-katalog .aile-tablo-wrap { border-radius: var(--r-sm); }
.aile-tablo tbody tr[hidden] { display: none; }
.aile-extra { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 14px 0 0; font-size: var(--t-sm); }
.aile-extra > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.aile-extra a, .aile-extra b { font: 600 var(--t-sm) var(--f-mono); color: var(--ink); }
.aile-extra a:hover { color: var(--blue); }
.aile-extra b { color: var(--blue); }
.aile-extra small { font: 400 12.5px var(--f-body); color: var(--ink-3); margin-left: 4px; }
.aile-katalog .aile-tablo tbody th { min-width: 210px; }
.aile-katalog .aile-tablo td, .aile-katalog .aile-tablo th { padding-inline: 10px; }
.aile-katalog-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aile-fold { flex-shrink: 0; }
.aile-katalog.is-folded { gap: 0; padding-block: 14px; }
.aile-katalog.is-folded .aile-katalog-head { gap: 4px; }
.aile-katalog.is-folded .display { font-size: var(--t-xl); }
.aile-katalog.is-folded .lede, .aile-katalog.is-folded .aile-tablo-wrap, .aile-katalog.is-folded .aile-extra, .aile-katalog.is-folded .aile-compat { display: none; }
.aile-compat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 12px; font-size: var(--t-sm); }
.aile-compat-t { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.aile-compat-row { display: inline-flex; align-items: baseline; gap: 6px; }
.aile-compat-row b { font: 600 var(--t-sm) var(--f-mono); color: var(--ink); }
.aile-compat-row a { color: var(--blue); font-weight: 500; }
.aile-compat-row a:hover { text-decoration: underline; }
.aile-compat-row i { font-style: normal; color: var(--ink-3); }

/* ==========================================================================
   Çözümler (/cozumler/) — sistem sahnesi, pinler, adımlar, ürün seti
   ========================================================================== */
.cz-hero { position: relative; overflow: hidden; }
.cz-hero > .wrap { position: relative; padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.cz-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin: 22px 0 32px; }
.cz-head h1 { font-size: var(--t-3xl); margin: 14px 0 16px; max-width: 18ch; }
.cz-hub .cz-head h1 { max-width: 22ch; }
.cz-facts { display: grid; gap: 14px; margin: 0; min-width: 220px; }
.cz-facts div { display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--stage-line); }
.cz-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); }
.cz-facts dd { margin: 0; font-weight: 600; color: var(--on-stage); font-variant-numeric: tabular-nums; }

.cz-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "view side" "steps steps"; border: 1px solid var(--stage-line); border-radius: var(--r-lg); background: rgba(15,21,32,.72); overflow: hidden; }
.cz-view { grid-area: view; position: relative; background: radial-gradient(80% 70% at 50% 45%, #141C2B 0%, #0B0F17 100%); }
.cz-view svg { display: block; width: 100%; height: 100%; min-height: 420px; }
@media (max-width: 1020px) { .cz-view svg { height: auto; min-height: 0; aspect-ratio: 900 / 560; } }
.cz-side { grid-area: side; border-left: 1px solid var(--stage-line); padding: 18px 16px; display: grid; align-content: start; gap: 10px; }
.cz-side-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); font-weight: 500; margin: 0 0 4px; }
.cz-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cz-parts a, .cz-parts li > div { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 8px; border-radius: 10px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.cz-parts li.is-ek a { opacity: .78; }
.cz-parts li.on a, .cz-parts li.on > div, .cz-parts a:hover { background: rgba(77,134,255,.1); border-color: rgba(77,134,255,.35); opacity: 1; }
.cz-parts li.live a, .cz-parts li.live > div { background: rgba(25,195,125,.1); border-color: rgba(25,195,125,.45); }
.cz-parts li.live .cz-n { border-color: var(--ok); background: var(--ok); color: #0B0F17; }
.cz-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #0F1520; border: 1px solid var(--stage-line); }
.cz-ico svg { width: 26px; height: 26px; }
.cz-parts img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #DDE2EA 100%); padding: 4px; }
.cz-pt { display: grid; min-width: 0; line-height: 1.3; }
.cz-pt b { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; color: var(--on-stage); }
.cz-pt b small { font-size: 11px; color: var(--blue-400); }
.cz-pt i { font-style: normal; font-size: var(--t-xs); color: var(--on-stage-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blue-400); color: var(--on-stage); font-family: var(--f-mono); font-size: 11px; font-weight: 500; }
.cz-hint { font-size: var(--t-xs); color: var(--on-stage-2); margin: 4px 0 0; }

.cz-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--stage-line); }
.cz-steps li { position: relative; display: grid; align-content: start; gap: 4px; padding: 14px 16px 16px; opacity: .5; transition: opacity .35s, background .35s; }
.cz-steps li + li { border-left: 1px solid var(--stage-line); }
.cz-steps li.on { opacity: 1; background: rgba(77,134,255,.07); }
.cz-sn { font-family: var(--f-mono); font-size: 11px; color: var(--blue-400); }
.cz-steps b { font-size: var(--t-sm); color: var(--on-stage); line-height: 1.3; }
.cz-steps span:not(.cz-sn) { font-size: var(--t-xs); color: var(--on-stage-2); line-height: 1.45; }
.cz-bar { position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--blue-400); }
.cz-steps li.on .cz-bar { width: var(--p, 0%); }
.cz-note { font-size: var(--t-xs); color: var(--on-stage-2); margin: 12px 0 0; }

/* sahnedeki pinler (SVG) ve ürün kartı */
@keyframes czPulse { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(2.3); opacity: 0; } }
.cz-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.cz-pin { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #4D86FF; background: #0B0F17; color: #E9EDF4; font: 600 11px/1 var(--f-mono); cursor: pointer; pointer-events: auto; will-change: transform; transition: background .2s; }
.cz-pin[hidden] { display: none; }
.cz-pin .ring { position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid #4D86FF; animation: czPulse 2.8s var(--ease) infinite; pointer-events: none; }
.cz-pin span { position: relative; }
.cz-pin.on, .cz-pin:hover { background: var(--blue-400); }
.cz-pin.live { background: var(--ok); border-color: var(--ok); color: #0B0F17; transition: background .2s, border-color .2s; }
.cz-pin.live .ring { border-color: var(--ok); }
.cz-pin:focus { outline: none; }
.cz-pin:focus-visible { box-shadow: 0 0 0 2px #fff; }
.cz-halo { position: absolute; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(77,134,255,.16); border: 1px dashed #4D86FF; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.cz-halo.on { opacity: 1; }
.cz-guides { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cz-guides line { stroke: #6FA0FF; stroke-width: 1.2; opacity: .75; }
.cz-guides circle { fill: #6FA0FF; stroke: #0B0F17; stroke-width: 1.5; }
@media (max-width: 600px) {
  .cz-pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; }
  .cz-pin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }   /* dokunma alanı küçülmesin */
  .cz-halo { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
}
@media (prefers-reduced-motion: reduce) { .cz-pin .ring { animation: none; opacity: 0; } }
.cz-pop { position: absolute; z-index: 3; width: min(280px, 70vw); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 12px; background: #101725; border: 1px solid var(--stage-line); box-shadow: 0 24px 48px -18px rgba(0,0,0,.7); transform: translate(-50%, calc(-100% - 20px)); pointer-events: auto; animation: czPop .25s var(--ease); }
.cz-pop.below { transform: translate(-50%, 20px); }
.cz-pop.noimg { grid-template-columns: minmax(0, 1fr); }
.cz-pop img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #DDE2EA 100%); padding: 5px; }
.cz-pop b { display: block; font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; color: var(--on-stage); }
.cz-pop i { display: block; font-style: normal; font-size: var(--t-xs); color: var(--on-stage-2); margin-bottom: 6px; }
.cz-pop p { grid-column: 1 / -1; margin: 0; font-size: var(--t-xs); line-height: 1.5; color: var(--on-stage); }
.cz-pop a { grid-column: 1 / -1; font-size: var(--t-xs); }
@keyframes czPop { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }
.cz-play { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,15,23,.8); border: 1px solid var(--stage-line); color: var(--on-stage); }
.cz-play svg { width: 14px; height: 14px; }
.cz-play .i-play, .cz-play.paused .i-pause { display: none; }
.cz-scen { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(11,15,23,.8); border: 1px solid var(--stage-line); }
.cz-scen span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-stage-2); padding: 0 6px 0 8px; }
.cz-scen button { font: 500 var(--t-xs)/1 var(--f-body); color: var(--on-stage-2); padding: 6px 11px; border-radius: 999px; border: 0; background: none; cursor: pointer; transition: background .25s, color .25s; }
.cz-scen button:hover { color: var(--on-stage); }
.cz-scen button[aria-pressed="true"] { background: var(--blue-400); color: #fff; }
@media (max-width: 600px) { .cz-scen { left: 8px; top: 8px; } .cz-scen span { display: none; } .cz-scen button { padding: 5px 9px; font-size: 11px; } }
.cz-play.paused .i-play { display: inline; }

@media (max-width: 1020px) {
  .cz-stage { grid-template-columns: 1fr; grid-template-areas: "view" "steps" "side"; }
  .cz-side { border-left: 0; border-top: 1px solid var(--stage-line); }
  .cz-parts { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .cz-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; }
  .cz-steps li { scroll-snap-align: start; }
}
@media (max-width: 720px) { .cz-head { grid-template-columns: 1fr; } .cz-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; } }

/* ürün seti (açık zemin) */
.cz-group { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 36px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cz-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cz-item { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.cz-item:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10,22,40,.35); }
.cz-item-img { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #E9ECF1 100%); display: grid; place-items: center; padding: 8%; }
.cz-item-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }   /* görsel oranı ne olursa olsun kutu 4:3 kalır */
.cz-item:hover .cz-item-img img { transform: scale(1.05); }
.cz-item-img .cz-n { position: absolute; top: 12px; left: 12px; background: var(--ink); border-color: var(--ink); color: #fff; }
.cz-item-body { display: grid; gap: 6px; padding: 14px 16px 16px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.cz-item-body b { font-size: var(--t-md); line-height: 1.35; }
.cz-item-body p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.cz-item-body .link-arrow { margin-top: 6px; }
.cz-alts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cz-alt { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .3s; }
.cz-alt:hover { border-color: var(--blue-400); }
.cz-alt img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.cz-alt span { display: grid; gap: 2px; min-width: 0; }
.cz-alt b { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; }
.cz-alt i, .cz-alt em { font-style: normal; font-size: var(--t-xs); }
.cz-alt i { color: var(--ink-2); }
.cz-alt em { color: var(--ink-3); margin-top: 4px; line-height: 1.45; }

.cz-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cz-other { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 40px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .3s, transform .4s var(--ease); }
.cz-other:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.cz-other .mono { font-size: 11px; color: var(--blue); }
.cz-other b { font-size: var(--t-md); line-height: 1.3; }
.cz-other i { font-style: normal; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; }
.cz-other svg { position: absolute; right: 16px; bottom: 14px; width: 16px; height: 16px; color: var(--blue); transition: transform .3s var(--ease); }
.cz-other:hover svg { transform: translateX(4px); }
.cz-cta { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--stage); color: var(--on-stage); }
.cz-cta p { color: var(--on-stage-2); margin: 10px 0 0; max-width: 60ch; }
.cz-cta .btn-ghost { --fg: var(--on-stage); --bd: var(--stage-line); }
.cz-cta-light { margin-top: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.cz-cta-light p { color: var(--ink-2); }
.cz-cta-light .btn-ghost { --fg: var(--ink); --bd: var(--line-2); }
@media (max-width: 720px) { .cz-cta { grid-template-columns: 1fr; } }

/* çözümler sayfası: kartlar */
.cz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.cz-card { display: flex; flex-direction: column; border: 1px solid var(--stage-line); border-radius: var(--r-lg); overflow: hidden; background: rgba(15,21,32,.72); transition: transform .4s var(--ease), border-color .3s; }
.cz-card:hover { transform: translateY(-4px); border-color: rgba(77,134,255,.45); }
.cz-card-scene { background: radial-gradient(80% 70% at 50% 45%, #141C2B 0%, #0B0F17 100%); border-bottom: 1px solid var(--stage-line); }
.cz-card-scene svg { display: block; width: 100%; height: auto; }
.cz-card-body { display: grid; gap: 8px; padding: 16px 20px 20px; align-content: start; flex: 1; }
.cz-card-body .mono { font-size: 11px; color: var(--blue-400); }
.cz-card-body h2 { font-size: var(--t-xl); line-height: 1.2; margin: 0; }
.cz-card-body p { margin: 0; font-size: var(--t-sm); color: var(--on-stage-2); }
.cz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.cz-chips span { font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--stage-line); color: var(--on-stage); }

/* ---------- Demo: DK6 altı kanallı duvar kumandası ---------- */
.dk6-side { gap: 14px; }
.dk6-remote { aspect-ratio: 480 / 440; width: 100%; max-width: 230px; justify-self: center; }
.dk6-remote img { max-width: none; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.dk6-key { width: 19%; height: 19%; aspect-ratio: auto; border-radius: 12%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.dk6-key::after { border-radius: 14%; }
.dk6-key::before { content: ""; position: absolute; inset: -6% -28%; }            /* parmak için daha geniş basma alanı (komşu tuşa taşmaz) */
.dk6-key:not([data-key="1"])::after { display: none; }                          /* ipucu halkası yalnız 1. tuşta */
.dk6-key.down { background: rgba(10,22,40,.14); box-shadow: inset 0 2px 6px rgba(10,22,40,.35); }
.dk6-key.lit { background: rgba(47,107,255,.28); box-shadow: 0 0 0 2px #4D86FF, 0 0 16px rgba(77,134,255,.7); transition: background .2s, box-shadow .2s; }
.dk6-key { transition: background .5s, box-shadow .5s; }
.dk6-ring { position: absolute; inset: -14%; width: 128%; height: 128%; transform: rotate(-90deg); pointer-events: none; opacity: 0; transition: opacity .2s; }
.dk6-ring circle { fill: none; stroke: #4D86FF; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 * (1 - var(--h, 0))); }
.dk6-key.down .dk6-ring { opacity: 1; }
/* Basılı tutma balonu: tuşun yukarısında, parmağın kapatmadığı yerde (halka + kalan saniye) */
.dk6-balon { position: absolute; z-index: 3; width: 58px; height: 58px; translate: -50% calc(-100% - 34px); display: grid; place-items: center; border-radius: 50%; background: rgba(11,15,23,.94); box-shadow: 0 0 0 1.5px #4D86FF, 0 10px 24px rgba(0,0,0,.55); pointer-events: none; opacity: 0; scale: .6; transform-origin: 50% 100%; transition: opacity .15s, scale .18s var(--ease); }
.dk6-balon.on { opacity: 1; scale: 1; }
.dk6-balon svg { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); rotate: -90deg; }
.dk6-balon circle { fill: none; stroke: #2A3346; stroke-width: 3; }
.dk6-balon circle.h { stroke: #4D86FF; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: calc(106.8 * (1 - var(--h, 0))); }
.dk6-balon b { position: relative; font-family: var(--f-mono); font-size: 20px; font-weight: 600; color: #fff; line-height: 1; }
.dk6-led { position: absolute; left: 50%; top: 24.3%; width: 8%; height: 1.6%; translate: -50% -50%; border-radius: 4px; background: #ff6b6b; opacity: 0; box-shadow: 0 0 10px 3px rgba(240,69,75,.8); }
.dk6-remote.tx .dk6-led { animation: led .9s ease-out; }
.dk6-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dk6-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 62px; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--on-stage-2); border: 0; padding: 0; }
.dk6-list li::before, .dk6-list li::after { content: none; }
.dk6-list li b { color: var(--on-stage); font-weight: 600; }
.dk6-bar { display: block; height: 6px; border-radius: 3px; background: #2A3346; overflow: hidden; }
.dk6-bar i { display: block; height: 100%; width: var(--o, 0%); background: linear-gradient(90deg, #C98F45, #F6D89A); }
.dk6-list li.mv em { color: #A9C4FF; }
.dk6-list li { border-radius: 6px; padding: 2px 6px; margin: 0 -6px; transition: background .3s; }
.dk6-list li.hl { background: rgba(47,107,255,.2); }
.dk6-list li.hl b { color: #8FB4FF; }
.dk6-list em { font-style: normal; white-space: nowrap; }
@media (max-width: 1020px) { .dk6-remote { max-width: 180px; } }

.dk6-list b { display: inline-flex; align-items: center; gap: 3px; }

/* BF3 kepenk modu: 1,5 m/sn sınırı kaydırıcıda işaretli; aşılınca kırmızı uyarı */
.kep-range { position: relative; }
.kep-range input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--blue-400) var(--p, 50%), var(--stage-line) var(--p, 50%) var(--lim), rgba(240,69,75,.45) var(--lim)); }
.kep-range input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--stage-line) var(--lim), rgba(240,69,75,.45) var(--lim)); }
.kep-range.over input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--alert) var(--p, 50%), var(--stage-line) var(--p, 50%)); }
.kep-range.over input[type="range"]::-moz-range-progress { background: var(--alert); }
.kep-range.over input[type="range"]::-webkit-slider-thumb { background: var(--alert); box-shadow: 0 0 0 5px rgba(240,69,75,.25); }
.kep-range.over input[type="range"]::-moz-range-thumb { background: var(--alert); }
.kep-range.over label output { color: #FF6B70; }
.kep-lim { box-sizing: border-box; width: calc(10px + (100% - 20px) * var(--limf) + 1px); padding-right: 6px; border-right: 1px solid rgba(240,69,75,.7); text-align: right; font-size: 0.625rem; line-height: 1.6; color: #FF8A8E; letter-spacing: .04em; white-space: nowrap; }
.kep-warn { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(240,69,75,.14); border: 1px solid rgba(240,69,75,.5); color: #FFB3B6; font-size: var(--t-xs); line-height: 1.45; }
.kep-warn::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--alert); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; margin-top: 1px; }
.demo-hint.warn { color: #FF8A8E; }

/* ROLAN2 demosu: iki tuş, iki kepenk; adım şeridi (şu an / sıradaki basış) */
.r2-side { gap: 12px; }
.r2-remote { aspect-ratio: 216 / 296; width: 100%; max-width: 150px; justify-self: center; }
.r2-remote img { max-width: none; width: 100%; height: 100%; object-fit: contain; }
.r2-key { width: 19%; height: 14.5%; aspect-ratio: auto; border-radius: 14%; }
.r2-key::after { border-radius: 16%; }
.r2-key { transition: background .5s, box-shadow .5s; }
.r2-key.lit { background: rgba(47,107,255,.3); box-shadow: 0 0 0 2px #4D86FF, 0 0 16px rgba(77,134,255,.7); transition: background .2s, box-shadow .2s; }
.r2-num { position: absolute; left: calc(100% + 40%); top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: #6FA0FF; pointer-events: none; }
.r2-led { position: absolute; left: 55.1%; top: 21.9%; width: 3.2%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #ff6b6b; opacity: 0; box-shadow: 0 0 10px 3px rgba(240,69,75,.8); }
.r2-remote.tx .r2-led { animation: led .9s ease-out; }
.r2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.r2-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; border-radius: 8px; padding: 6px 8px; margin: 0 -8px; transition: background .3s; font-family: var(--f-mono); font-size: 10.5px; color: var(--on-stage-2); }
.r2-list li::before, .r2-list li::after { content: none; }
.r2-list li.hl { background: rgba(47,107,255,.18); }
.r2-top { display: grid; grid-template-columns: 16px auto minmax(30px, 1fr) 62px; gap: 8px; align-items: center; }
.r2-top b { color: var(--on-stage); font-weight: 700; }
.r2-list li.hl .r2-top b { color: #8FB4FF; }
.r2-top em { font-style: normal; white-space: nowrap; text-align: right; }
.r2-list li.mv em { color: #A9C4FF; }
.r2-cyc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.r2-cyc span { border: 1px solid var(--stage-line); border-radius: 999px; padding: 2px 0; text-align: center; font-size: 9.5px; letter-spacing: .03em; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.r2-cyc span.now { background: #2F6BFF; border-color: #2F6BFF; color: #fff; }
.r2-cyc span.nx { border-color: #6FA0FF; color: #A9C4FF; border-style: dashed; }
.r2-top.r2-fn { grid-template-columns: 16px minmax(0, 1fr); }
.r2-list li.r2-state { border-top: 1px solid var(--stage-line); border-radius: 0; padding-top: 10px; }
.r2-set { margin: 0; font-size: 10px; letter-spacing: .04em; color: #A9C4FF; }
.r2-alan { flex-wrap: wrap; }
.demo-controls.r2-alanlar { border-top: 0; border-bottom: 1px solid var(--stage-line); }   /* alan seçici sahnenin üstünde */
.r2-alan-no { font-size: 11px; color: var(--on-stage-2); letter-spacing: .06em; }
.r2-legend[hidden] { display: none; }
.r2-legend { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: var(--on-stage-2); margin: -2px 0 0; }
.r2-legend i { width: 14px; height: 9px; border-radius: 5px; display: inline-block; }
.r2-legend i.now { background: #2F6BFF; }
.r2-legend i.nx { border: 1px dashed #6FA0FF; margin-left: 8px; }

/* DK6 / ROLAN2 yan paneli tablet genişliğinde: kumanda solda, durum listesi sağda, açıklama altta (parçalar rastgele sütunlara dağılmasın) */
@media (min-width: 561px) and (max-width: 900px) {
  .dk6-side, .r2-side { grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); grid-template-areas: "rem list" "cap list" "hint hint"; align-items: start; column-gap: 24px; }
  .r2-side { grid-template-areas: "rem list" "cap legend" "hint hint"; }
  .dk6-side > .dk6-remote, .r2-side > .r2-remote { grid-area: rem; }
  .dk6-side > .demo-cap, .r2-side > .demo-cap { grid-area: cap; text-align: center; }
  .dk6-side > .dk6-list, .r2-side > .r2-list { grid-area: list; }
  .r2-side > .r2-legend { grid-area: legend; }
  .dk6-side > .demo-hint, .r2-side > .demo-hint { grid-area: hint; }
}

/* STR1: loop dedektörü kurulum vurgusu (kablo döşemesi gerekir) */
.loop-install { margin-top: 28px; border: 1px solid #F3C9A9; border-left: 4px solid var(--signal); border-radius: var(--r-md); background: var(--signal-50); padding: 20px 22px; display: grid; gap: 16px; }
.loop-install-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.loop-install-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--signal); color: #fff; display: grid; place-items: center; }
.loop-install-ic svg { width: 22px; height: 22px; }
.loop-install h3 { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-lg); color: var(--ink); margin: 2px 0 4px; }
.loop-install p { color: var(--ink-2); font-size: var(--t-sm); max-width: 80ch; margin: 0; }
.loop-steps { list-style: none; counter-reset: ls; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.loop-steps li { counter-increment: ls; background: #fff; border: 1px solid #F3D8C2; border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; }
.loop-steps li::before { content: counter(ls, decimal-leading-zero); font: 600 11px/1 var(--f-mono); color: #B84200; letter-spacing: .08em; }
.loop-steps b { font-size: var(--t-sm); color: var(--ink); }
.loop-steps span { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.5; }
@media (max-width: 480px) { .loop-install { padding: 16px; } .loop-install-head { grid-template-columns: 1fr; } }
.loop-alt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: var(--t-sm); line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.loop-alt:hover { border-color: var(--blue-400); box-shadow: 0 4px 18px rgba(4,57,152,.08); }
.loop-alt b { color: var(--ink); }
.loop-alt-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.loop-alt-ic svg { width: 20px; height: 20px; }
.loop-alt-go { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; white-space: nowrap; }
.loop-alt-go svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .loop-alt { grid-template-columns: auto 1fr; } .loop-alt-go { grid-column: 2; } }

/* EVS: değişken kod + AES-128 demosu (kumanda → şifreli paket → alıcı) */
.evs-grid { display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(210px, 260px); gap: 22px; padding: 22px; align-items: start; }
.evs-remote { display: grid; gap: 10px; justify-items: center; }
.evs-rc { width: 100%; max-width: 170px; position: relative; }
.evs-rc img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.evs-key { translate: -50% -50%; border-radius: 30%; aspect-ratio: auto; transition: background .4s, box-shadow .4s; }
.evs-key.lit { background: rgba(47,107,255,.28); box-shadow: 0 0 0 2px #4D86FF, 0 0 14px rgba(77,134,255,.7); transition: none; }
.evs-rc.used .evs-key::after { animation: none; opacity: 0; }
.evs-led { position: absolute; left: 50%; top: 8%; width: 7%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #ff6b6b; opacity: 0; box-shadow: 0 0 10px 3px rgba(240,69,75,.8); }
.evs-rc.tx .evs-led { animation: led .9s ease-out; }
.evs-flow { display: grid; gap: 10px; min-width: 0; }
.evs-card { border: 1px solid var(--stage-line); border-radius: var(--r-md); background: rgba(21,28,41,.6); padding: 12px 14px; display: grid; gap: 8px; min-width: 0; }
.evs-lbl { font-size: 10px; letter-spacing: .12em; color: var(--on-stage-2); }
.evs-fields { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 8px; }
.evs-fields span { display: grid; gap: 3px; background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 8px; padding: 6px 8px; }
.evs-fields small { font-size: 9.5px; color: var(--on-stage-2); letter-spacing: .06em; }
.evs-fields b { color: var(--on-stage); font-size: 13px; font-weight: 600; }
.evs-fields .cnt b { color: #A9C4FF; }
.evs-fields .cnt.bump { animation: evsBump .6s ease-out; }
@keyframes evsBump { 0% { border-color: #4D86FF; box-shadow: 0 0 0 3px rgba(77,134,255,.3); } 100% { border-color: var(--stage-line); box-shadow: none; } }
.evs-aes { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,181,71,.55); background: rgba(255,181,71,.1); color: #FFD08A; }
.evs-aes b { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }
.evs-aes small { font-size: 10px; color: #C9A36A; }
.evs-lock svg { width: 16px; height: 16px; display: block; }
.evs-cipher { font-family: var(--f-mono); font-size: clamp(11px, 1.35vw, 14px); letter-spacing: .06em; color: #7CE0A8; word-break: break-all; line-height: 1.6; }
.evs-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 10.5px; min-height: 120px; align-content: start; }   /* dört satırlık yer */
.evs-log li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 8px; border-radius: 6px; background: rgba(21,28,41,.5); color: var(--on-stage-2); }
.evs-log li::before { content: none; }
.evs-log code { color: #9FB0CC; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evs-log li.ok em { color: #19C37D; font-style: normal; }
.evs-log li.old em { color: #FFB547; font-style: normal; }
.evs-rx { display: grid; gap: 12px; }
.evs-rx-card.ok { border-color: rgba(25,195,125,.5); }
.evs-rx-card.old { border-color: rgba(255,181,71,.5); }
.evs-rx-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--on-stage-2); }
.evs-rx-row b { color: var(--on-stage); font-weight: 500; text-align: right; }
.evs-relay { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; color: var(--on-stage-2); margin-top: 2px; }
.evs-relay i { width: 10px; height: 10px; border-radius: 50%; background: var(--stage-line); transition: background .2s, box-shadow .2s; }
.evs-relay.on { color: #19C37D; }
.evs-relay.on i { background: #19C37D; box-shadow: 0 0 0 4px rgba(25,195,125,.2), 0 0 12px #19C37D; }
.evs-replay:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 980px) { .evs-grid { grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); } .evs-rx { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .evs-rx .demo-hint { grid-column: 1 / -1; } }
@media (max-width: 600px) { .evs-grid { grid-template-columns: minmax(0, 1fr); padding: 16px; } .evs-rc { max-width: 140px; } .evs-rx { grid-template-columns: minmax(0, 1fr); } .evs-fields { grid-template-columns: 1fr 1fr; } .evs-fields span:first-child { grid-column: 1 / -1; } }

/* ---------- SSS (sıkça sorulan sorular) — inc/sss.php, template-parts/sss.php ---------- */
.main-nav abbr { text-decoration: none; cursor: inherit; }
.sss { display: grid; gap: clamp(40px, 6vw, 72px); }
.sss-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px clamp(24px, 5vw, 72px); align-items: start; }
.sss-group-head { display: grid; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 57px + 24px); }
.sss-list { border-top: 1px solid var(--line); }
.sss-q { border-bottom: 1px solid var(--line); }
.sss-q summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-size: var(--t-lg); font-weight: 600; line-height: 1.35; transition: color .2s; }
.sss-q summary::-webkit-details-marker { display: none; }
.sss-q summary:hover { color: var(--blue); }
.sss-ic { flex: none; position: relative; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.sss-ic::before, .sss-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.sss-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.sss-q summary:hover .sss-ic { border-color: var(--blue); color: var(--blue); }
.sss-q[open] .sss-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.sss-q[open] .sss-ic::after { transform: translate(-50%, -50%); }
.sss-a { display: grid; gap: 12px; justify-items: start; max-width: 68ch; padding: 0 48px 24px 0; color: var(--ink-2); }
.sss-q[open] .sss-a { animation: sssIn .35s var(--ease); }
@keyframes sssIn { from { opacity: 0; transform: translateY(-4px); } }
.sss .cz-cta { margin-top: 0; }
@media (max-width: 900px) {
  .sss-group { grid-template-columns: minmax(0, 1fr); }
  .sss-group-head { position: static; }
}
@media (max-width: 600px) {
  .sss-q summary { font-size: var(--t-md); padding: 18px 0; gap: 14px; }
  .sss-a { padding-right: 0; }
}
/* Üst menü: SSS bağlantısıyla 1021–1260 px arasında da sığsın (en geniş hâli EN: "Become a Dealer"); yalnız aralıklar daralır */
@media (min-width: 1021px) and (max-width: 1260px) {
  .site-header .wrap { gap: 16px; }
  .main-nav { margin-left: 0; }
  .main-nav > li > a, .main-nav > li > button { padding: 0 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 18px; }
}
@media (min-width: 1021px) and (max-width: 1180px) {
  .main-nav > li > a, .main-nav > li > button { padding: 0 8px; }
  .brand img { height: 20px; }
}

/* ---------- Tosba: kontrolcüler (TC / TCM) ve 4 sütunlu karşılaştırma ---------- */
.ctl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(20px, 3vw, 32px); }
.ctl { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 20px; }
.ctl-media { aspect-ratio: 1; border-radius: var(--r-md); background: radial-gradient(70% 70% at 50% 45%, #fff 0%, #EEF1F5 100%); display: grid; place-items: center; }
.ctl-media img { width: 100%; height: auto; display: block; }
.ctl-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ctl-code { font-size: var(--t-xs); letter-spacing: .08em; color: var(--blue); }
.ctl-body h3 { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-lg); font-weight: 650; }
.ctl-specs { margin: 2px 0 4px; display: grid; }
.ctl-specs div { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.45; }
.ctl-specs dt { color: var(--ink-3); }
.ctl-specs dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 1120px) { .ctl-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {                                              /* dar ekranda görsel başlığın yanında, özellikler tam genişlikte */
  .ctl { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 14px; padding: 16px; }
  .ctl-body { display: contents; }
  .ctl-media { grid-row: 1 / span 2; }
  .ctl-code { grid-column: 2; align-self: end; }
  .ctl-body h3 { grid-column: 2; align-self: start; }
  .ctl-specs, .ctl .tapp-meta { grid-column: 1 / -1; }
  .ctl-specs { margin-top: 12px; }
  .ctl-specs div { grid-template-columns: 40% 1fr; }
}

.cmp.cmp-4 { min-width: 900px; }
.cmp.cmp-4 th, .cmp.cmp-4 td { padding: 14px 16px; }
.cmp.cmp-4 thead th img { width: 72px; height: 72px; }
.cmp.cmp-4 tbody th { width: 14%; }
.cmp.cmp-4 td small { display: block; margin-top: 2px; font-size: var(--t-xs); color: var(--ink-3); }
.cmp.cmp-4 tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); box-shadow: inset -1px 0 0 var(--line); }
.cmp-hint { display: none; font-size: var(--t-xs); color: var(--ink-3); letter-spacing: .06em; margin: 0 0 10px; text-align: right; }
@media (max-width: 960px) { .cmp-hint { display: block; } }
@media (max-width: 640px) {
  .cmp.cmp-4 { min-width: 760px; font-size: 0.8125rem; }
  .cmp.cmp-4 th, .cmp.cmp-4 td { padding: 12px; }
  .cmp.cmp-4 thead th { font-size: var(--t-md); }
  .cmp.cmp-4 thead th img { width: 56px; height: 56px; }
  .cmp.cmp-4 tbody th { width: auto; min-width: 104px; }
}
/* EMFD gün döngüsü (fotosel.js, dual): yan paneldeki yandan görünüş göstergesinin yazısı */
.gun-cap { margin: 0; text-align: center; font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0; }
.gun-cap b { color: var(--on-stage); font-weight: 500; }
.gun-cap.kor b { color: #FFB547; }

/* ---------- Tosba: montaj adımları (tosba-montaj.js) ---------- */
#montaj-demo .demo-scene, #montaj-demo-ks .demo-scene { overflow: hidden; }
#montaj-demo .demo-scene svg, #montaj-demo-ks .demo-scene svg { min-width: 0; }                           /* dar ekranda sahne dikey kadraja geçer (tosba-montaj.js), yatay kaydırma yok */
@media (min-width: 901px) {                                              /* yan panel içeriği kadar; sahne yüksekliği ona eşitlenir (tosba-montaj.js) */
  #montaj-demo .demo-side, #montaj-demo-ks .demo-side { align-self: start; border-left: 0; }
  #montaj-demo .demo-scene, #montaj-demo-ks .demo-scene { border-right: 1px solid var(--stage-line); }
}
/* Montaj: model sekmesi (Tosba / Köstebek; kostebek-montaj.js). Açık zeminde, sahnenin üstünde */
.mnt-sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 0 20px; }
.mnt-sec button { display: grid; gap: 3px; align-content: center; min-height: 60px; padding: 10px 16px; text-align: left; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--panel); color: var(--ink-3); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.mnt-sec b { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-lg); font-weight: 650; line-height: 1.15; color: var(--ink); }
.mnt-sec small { font-size: var(--t-xs); line-height: 1.35; }
.mnt-sec button:hover { border-color: var(--ink-3); }
.mnt-sec button[aria-selected="true"] { border-color: var(--signal); background: var(--signal-50); color: var(--ink-2); box-shadow: inset 0 -3px 0 var(--signal); }
.mnt-sec button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (max-width: 600px) { .mnt-sec { gap: 8px; } .mnt-sec button { padding: 10px 12px; } }
.mnt-head { display: inline-flex; align-items: center; gap: 12px; }
.mnt-play { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--on-stage); padding: 0; transition: border-color .2s; }
.mnt-play:hover { border-color: var(--on-stage-2); }
.mnt-play svg { width: 14px; height: 14px; fill: currentColor; }
.mnt-play .i-play, .mnt-play[aria-pressed="true"] .i-pause { display: block; }
.mnt-play .i-pause, .mnt-play[aria-pressed="true"] .i-play { display: none; }
.mnt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mnt-steps li { display: grid; gap: 6px; align-content: start; }
.mnt.live .mnt-steps li { grid-area: 1 / 1; visibility: hidden; }        /* tüm adımlar aynı hücrede: yükseklik en uzun metne göre, adım değişince sayfa kaymaz */
.mnt.live .mnt-steps li.on { visibility: visible; }
.mnt-n { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); }
.mnt-steps b { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-lg); font-weight: 650; line-height: 1.25; color: var(--on-stage); text-wrap: balance; }
.mnt-steps p { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--on-stage-2); }
.mnt-steps small { font-size: 11px; letter-spacing: .04em; color: #6B7894; }
.mnt-nav { flex-wrap: nowrap; gap: 8px; }
.mnt-dots { display: flex; flex: 1; gap: 6px; min-width: 0; }
.mnt-dots button { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--on-stage-2); border-radius: 999px; padding: 5px 12px 5px 5px; font: 500 var(--t-xs) var(--f-mono); transition: color .2s, border-color .2s; }
.mnt-dots button:hover { color: var(--on-stage); }
.mnt-dots button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--signal); }
.mnt-dots button.done::after { background: rgba(255,106,19,.35); }
.mnt-dots i { flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--stage-line); font-style: normal; font-size: 11px; transition: background .2s, border-color .2s, color .2s; }
.mnt-dots span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnt-dots button[aria-current="step"] { color: var(--on-stage); border-color: var(--on-stage-2); }
.mnt-dots button[aria-current="step"] i { background: var(--signal); border-color: var(--signal); color: #fff; }
.mnt-dots button.done i { border-color: rgba(25,195,125,.6); color: var(--ok); }
.mnt-arrow { flex-shrink: 0; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; }
.mnt-arrow svg { width: 15px; height: 15px; }
.mnt-notes ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; display: grid; gap: 6px; color: var(--ink-2); font-size: var(--t-sm); max-width: 78ch; }
@media (max-width: 1100px) {
  .mnt-dots { justify-content: center; }
  .mnt-dots button { flex: 0 0 auto; padding: 3px; }
  .mnt-dots span { display: none; }
}
@media (max-width: 600px) {
  .mnt-nav { padding: 12px; justify-content: space-between; }
  .mnt-dots { gap: 4px; flex: 0 1 auto; }
  .mnt-dots i { width: 26px; height: 26px; }
}

/* ===== Kasım 2026 revizyonu: ana ===== */
/* ===== Ana sayfa / üst menü ek kuralları (kontal.css sonuna eklenecek) ===== */

/* Başlıkta "Katalog" düğmesi (Bayi Olun yanında) */
.header-actions .btn.hdr-katalog { padding: 0 18px; }
.header-actions .btn.hdr-katalog svg { width: 14px; height: 14px; }
.header-actions .btn.hdr-katalog:hover svg { transform: translateY(2px); }
@media (max-width: 1180px) { .header-actions .btn.hdr-katalog { display: none; } }

/* Mobil çekmece: Bayi Olun'un altındaki Katalog düğmesi (koyu zeminde açık ghost) */
.drawer .btn-ghost { --bg: transparent; --fg: var(--on-stage); --bd: var(--stage-line); margin-top: -12px; }
.drawer .btn-ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }

/* Uyumluluk: ailenin kodlama yöntemi (frekansın yanında) */
.family-id .kod { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-3); line-height: 1.35; }
.family-id .kod b { display: block; margin-top: 2px; color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Üretim bölümü: fotoğraf geçişi ve adım vurgusu yavaşlatıldı */
.make-photos img { transition: opacity 1.6s var(--ease), transform 3.2s var(--ease); }
.step { transition: opacity 1s; }
.steps.js .step { padding-block: 34px; }
@media (max-width: 900px) { .steps.js .step { padding-block: 26px; } }
/* Üretim bölümü ekrana sabitlenir (kontal.js, yer varsa): fotoğraf ve adım listesi yerinde durur, kaydırdıkça adım ilerler;
   son adımdan sonra sayfa akmaya devam eder. Adıma tıklanınca o adıma gidilir. Yükseklik (--pin) betikten gelir. */
.make-pin.pin { height: var(--pin); }
.make-pin.pin .make { position: sticky; top: calc(var(--header-h) + 24px); height: min(calc(100vh - var(--header-h) - 48px), 700px); align-items: stretch; }
.make-pin.pin .make-photos { position: relative; top: 0; aspect-ratio: auto; height: 100%; }
.make-pin.pin .steps { align-content: center; }
.make-pin.pin .steps.js .step { padding-block: 22px; cursor: pointer; }
.make-pin.pin .steps.js .step:hover { opacity: .8; }
.make-pin.pin .steps.js .step.active:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .make-photos img { transition-duration: .01ms; } }

/* ===== Kasım 2026 revizyonu: cozum ===== */
/* ---- Çözümler: kartlar yalnız önizleme + ad + "İncele" işareti ---- */
.cz-card-body { grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 16px 20px; flex: 0 0 auto; }
.cz-card-body h2, .cz-card-body h3 { font-size: var(--t-xl); line-height: 1.2; margin: 0; }
.cz-card-go { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 600; color: var(--blue-400); white-space: nowrap; }
.cz-card-go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cz-card:hover .cz-card-go svg, .cz-card:focus-visible .cz-card-go svg { transform: translateX(4px); }
.cz-card:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; border-color: rgba(77,134,255,.6); }
.cz-cards-ana .cz-card { background: rgba(15,21,32,.92); }
.cz-cards-ana { margin-top: 8px; }
/* ana sayfada açık zeminde de kart koyu sahne gibi okunur */
.cz-card { color: #E9EDF4; }
@media (max-width: 520px) { .cz-card-body { grid-template-columns: auto 1fr; } .cz-card-go { grid-column: 1 / -1; } }

/* ---- Tekil çözüm: aşama göstergesi tıklanabilir (geri / ileri sar) ---- */
.cz-steps li { padding: 0; }
.cz-steps li > .cz-sb { all: unset; box-sizing: border-box; display: grid; align-content: start; gap: 4px; width: 100%; height: 100%; padding: 14px 16px 16px; cursor: pointer; text-align: left; }
.cz-steps li > .cz-sb:hover { background: rgba(77,134,255,.05); }
.cz-steps li > .cz-sb:focus-visible { outline: 2px solid var(--blue-400); outline-offset: -2px; }
.cz-steps li:hover, .cz-steps li:focus-within { opacity: 1; }

/* ===== Kasım 2026 revizyonu: tosba ===== */
/* ---------- Tosba sayfası ek kuralları (kontal.css'in SONUNA eklenecek; özgüllük buna göre) ---------- */

/* Yan panel açıklamaları (Sistem akışı + TCM): her kavram ayrı blok, vurgulu etiket + kısa metin */
.hint-list { display: grid; gap: 14px; }
.hint-list:empty { display: none; }
.hint-i { display: grid; gap: 4px; padding-left: 12px; border-left: 2px solid var(--stage-line); }
.hint-i b { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); line-height: 1.3; }
.hint-i span { font-size: var(--t-sm); line-height: 1.6; color: var(--on-stage); opacity: .9; }

/* Pil ömrü notu */
.bat-note { margin: 14px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--on-stage-2); }

/* Montaj: yan panel (TC, iç yapı, kesit) daha geniş ve büyük */
@media (min-width: 901px) {
  #montaj-demo .demo-grid, #montaj-demo-ks .demo-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}
#montaj-demo .demo-mini, #montaj-demo-ks .demo-mini { padding: 14px; }
#montaj-demo .demo-mini svg, #montaj-demo-ks .demo-mini svg { max-width: 320px; }
#montaj-demo .demo-cap, #montaj-demo-ks .demo-cap { text-align: center; }

/* Montaj adımları: numaralı liste */
.mnt-list-wrap { border-top: 1px solid var(--stage-line); padding: 18px 20px 22px; }
.mnt-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mnt-list-head h3 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-size: var(--t-md); font-weight: 650; color: var(--on-stage); }
.mnt-list-ctl { display: inline-flex; gap: 8px; }
.mnt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 8px 12px; }
.mnt-list button { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; overflow: hidden; border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--on-stage-2); border-radius: 12px; padding: 10px 14px 10px 10px; transition: color .2s, border-color .2s; }
.mnt-list button:hover { color: var(--on-stage); border-color: var(--on-stage-2); }
.mnt-list button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--signal); }
.mnt-list button.done::after { background: rgba(255,106,19,.35); }
.mnt-list i { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--stage-line); font-style: normal; font: 500 12px var(--f-mono); transition: background .2s, border-color .2s, color .2s; }
.mnt-list span { display: grid; gap: 2px; min-width: 0; }
.mnt-list b { font: 600 var(--t-sm) var(--f-body, inherit); color: var(--on-stage); line-height: 1.3; }
.mnt-list small { font-size: var(--t-xs); line-height: 1.4; color: var(--on-stage-2); }
.mnt-list button[aria-current="step"] { color: var(--on-stage); border-color: var(--on-stage-2); }
.mnt-list button[aria-current="step"] i { background: var(--signal); border-color: var(--signal); color: #fff; }
.mnt-list button.done i { border-color: rgba(25,195,125,.6); color: var(--ok); }
.mnt-notes .mnt-warn { color: var(--ink); }
.mnt-notes .mnt-warn strong { display: inline; margin: 0; font: inherit; font-weight: 700; color: #B33A00; }

/* Tosba ailesi: yalnız görsel (bağlantı değil) */
.compat.aile { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aile-card { margin: 0; cursor: default; }
.aile-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.aile-card:hover .card-media img { transform: none; }
@media (max-width: 900px) { .compat.aile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Kasım 2026 revizyonu: kurumsal ===== */
/* Kurumsal: tarihsel yolculuk (durak durak hikâye) + misyon/vizyon başlıkları.
   kontal.css'in sonuna eklenir; .kt* sınıfları yeni, mevcut kurallarla çakışmaz. Bölüm koyu zeminde (.on-stage). */

.kt-akis { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* Sol raf: yapışkan, etkin durak vurgulu */
.kt-raf { position: sticky; top: calc(var(--header-h, 72px) + 28px); display: grid; gap: 16px; }
.kt-raf-say { font-size: var(--t-xs); letter-spacing: .08em; color: var(--on-stage-2); }
.kt-raf-say b { color: #fff; font-weight: 500; }
.kt-raf ol { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 2px; border-left: 1px solid var(--stage-line); }
.kt-raf li { position: relative; }
.kt-raf a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 6px 0; color: #6B7790; font-size: var(--t-sm); line-height: 1.35; text-decoration: none; transition: color .3s; }
.kt-raf a .mono { font-size: 11px; padding-top: 2px; }
.kt-raf a b { font-weight: 500; }
.kt-raf li::before { content: ""; position: absolute; left: -15px; top: 14px; width: 9px; height: 1px; background: var(--stage-line); transition: background .3s, width .3s; }
.kt-raf li.gecti a { color: var(--on-stage-2); }
.kt-raf li.on a { color: #fff; }
.kt-raf li.on::before { width: 14px; background: var(--signal); }
.kt-raf a:hover { color: var(--on-stage); }

/* Duraklar */
.kt-duraklar { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(72px, 11vw, 140px); }
.kt-durak { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; scroll-margin-top: calc(var(--header-h, 72px) + 48px); }
.kt-durak.kt-yalin { grid-template-columns: minmax(0, 1fr); }
.kt-metin { display: grid; gap: 16px; align-content: start; }
.kt-no { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-stage-2); }
.kt-no b { font-weight: 500; color: var(--signal); }
.kt-metin h3 { font-family: var(--f-display); font-size: var(--t-2xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; transition: color .5s; }
.kt-metin p { color: var(--on-stage-2); max-width: 56ch; line-height: 1.7; }
.kt-js .kt-durak:not(.on) .kt-metin h3 { color: #6B7790; }
.kt-yalin .kt-metin { max-width: 62ch; padding-left: clamp(16px, 2vw, 28px); border-left: 2px solid var(--stage-line); transition: border-color .5s; }
.kt-js .kt-yalin.on .kt-metin { border-left-color: var(--signal); }
.kt-yalin .kt-metin p { font-size: var(--t-lg); color: var(--on-stage); }

/* "7 kıtada Kontal": noktalı dünya haritası, İstanbul'dan kıtalara yaylar (SVG: araclar/dunya-harita.py).
   Durak etkinleşince (.on) yaylar sırayla çizilir; JS yoksa ya da hareket azaltılmışsa çizili durur. */
.kt-harita { position: relative; margin: 0; }
.kt-harita-svg { display: block; width: 100%; height: auto; overflow: visible; }
.kt-harita-kara { fill: none; stroke: #7482A0; stroke-width: 4.6; stroke-linecap: round; }
.kt-harita-yay { fill: none; stroke: var(--blue-400); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) calc(.25s + var(--n) * .16s); }
.kt-harita-uc { fill: var(--blue-400); transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease) calc(1.15s + var(--n) * .16s), opacity .3s linear calc(1.15s + var(--n) * .16s); }
.kt-harita-ist { fill: #fff; }
.kt-harita-nabiz { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: kt-nabiz 2.6s ease-out infinite; }
@keyframes kt-nabiz { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(4.2); opacity: 0; } }
.kt-js .kt-durak:not(.on) .kt-harita-yay { stroke-dashoffset: 1; transition-duration: .3s; transition-delay: 0s; }
.kt-js .kt-durak:not(.on) .kt-harita-uc { transform: scale(0); opacity: 0; transition-duration: .2s; transition-delay: 0s; }
.kt-harita figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-stage-2); }
.kt-harita figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .kt-harita-yay, .kt-harita-uc { transition: none !important; stroke-dashoffset: 0 !important; transform: none !important; opacity: 1 !important; }
  .kt-harita-nabiz { animation: none; opacity: 0; }
}

/* Fotoğraf */
.kt-foto { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg, 12px); overflow: hidden; background: var(--stage-2); }
.kt-foto img { width: 100%; height: 100%; object-fit: cover; }
.kt-foto figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 11px; border-radius: 999px; background: rgba(11,15,23,.78); color: var(--on-stage); font-size: 11px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }

/* Üretim teknolojileri mozaiği */
.kt-mozaik { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kt-mozaik li { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md, 10px); overflow: hidden; background: var(--stage-2); }
.kt-mozaik img { width: 100%; height: 100%; object-fit: cover; }
.kt-mozaik li span { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 10px; border-radius: 999px; background: rgba(11,15,23,.8); color: var(--on-stage); font-size: 11px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.kt-mozaik li span b { margin-right: 7px; font-weight: 500; color: var(--signal); }
.kt-mozaik li.kt-yazi { grid-column: 1 / -1; aspect-ratio: auto; min-height: 96px; display: grid; align-content: end; padding: 16px; border: 1px solid var(--stage-line); background: transparent; }
.kt-mozaik li.kt-yazi span { position: static; padding: 0; background: none; border-radius: 0; font-size: var(--t-sm); }
.kt-mozaik li.kt-yazi span b { display: block; margin: 0 0 6px; font-family: var(--f-display); font-size: var(--t-2xl); letter-spacing: -.02em; }

/* Misyon / vizyon alt başlığı */
.kt-mv-bas { margin-top: 10px; font-family: var(--f-display); font-size: var(--t-lg); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.kt-mv-bas + p { margin-top: 8px; }

@media (max-width: 1000px) {
  .kt-akis { grid-template-columns: minmax(0, 1fr); }
  .kt-raf { display: none; }
}
@media (max-width: 760px) {
  .kt-durak { grid-template-columns: minmax(0, 1fr); }
  .kt-foto { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-metin h3, .kt-yalin .kt-metin, .kt-raf a, .kt-raf li::before { transition: none; }
}

/* Tarihçe: "önce / sonra" görsel çifti ve görseli olmayan yıllı durakta büyük yıl */
.kt-cift { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.kt-cift .kt-foto { aspect-ratio: 4 / 5; }
.kt-cift .kt-foto:last-child { margin-top: 22%; }
.kt-durak.kt-yilli { grid-template-columns: minmax(0, 1fr) auto; }
.kt-yil { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-size: clamp(4.5rem, 2rem + 8vw, 9rem); font-weight: 700; letter-spacing: -.04em; line-height: .8; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1.5px #44506A; transition: -webkit-text-stroke-color .5s; }
.kt-js .kt-yilli.on .kt-yil { -webkit-text-stroke-color: var(--blue-400); }
@media (max-width: 760px) {
  .kt-durak.kt-yilli { grid-template-columns: minmax(0, 1fr); }
  .kt-yil { order: -1; }
  .kt-cift .kt-foto:last-child { margin-top: 14%; }
}
/* Raf varken orta genişlikte sütun daralır: görsel çifti metnin altına, tam genişliğe iner */
@media (min-width: 761px) and (max-width: 1200px) {
  .kt-durak.kt-ciftli { grid-template-columns: minmax(0, 1fr); }
  .kt-ciftli .kt-cift .kt-foto { aspect-ratio: 4 / 3; }
  .kt-ciftli .kt-cift .kt-foto:last-child { margin-top: 8%; }
}
@media (prefers-reduced-motion: reduce) { .kt-yil { transition: none; } }
