/* ═══════════════════════════════════════════════════════════════
   Mühlermak — stil ve animasyon katmanı

   MARKA KURALI
   Logo yalnizca #ff6b35 renginde ve yalnizca Freehand 521 yazi
   stiliyle gorunur. --brand bu renktir ve degistirilmemelidir.
   Beyaz uzerine turuncu METIN gerektiginde --brand-ink kullanilir
   (#ff6b35 beyazda 3.0:1 kontrast verir, normal metinde AA'yi
   gecmez). Logo hicbir kosulda --brand-ink kullanmaz.

   ANIMASYON KURALI
   Yalnizca transform ve opacity animate edilir. Scroll'a bagli
   bolumler --p (0→1) degiskenini okur; bu degeri main.js'teki tek
   rAF dongusu yazar.
   ═══════════════════════════════════════════════════════════════ */

/* Logo kelime markasi — SADECE .logo__word icinde kullanilir */
@font-face {
  font-family: "Freehand521";
  src: url("../fonts/Freehand521.otf") format("opentype");
  font-display: swap;
}

:root {
  --brand: #ff6b35;
  --brand-ink: #c8410f;
  --brand-soft: #fff1ea;
  --wa: #1fa855;

  --ink: #14171a;
  --ink-2: #5b646d;
  --ink-3: #8b949c;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --line: #e4e7ea;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --r: 16px;
  --hdr-h: 72px;
  /* Doviz seridi acilinca main.js 46px yazar; acilmazsa 0 kalir */
  --fx-h: 0px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow: 0 1px 2px rgba(20, 23, 26, .04), 0 8px 28px rgba(20, 23, 26, .06);
  --shadow-lg: 0 2px 6px rgba(20, 23, 26, .05), 0 24px 60px rgba(20, 23, 26, .1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ─────────────────────────── temel ─────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg, iframe { display: block; max-width: 100%; }

/* display:grid gibi kurallarin [hidden]'i ezmesini engeller */
[hidden] { display: none !important; }

img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Gozden gizli ama ekran okuyucuya okunur. `display:none` OLMAZ —
   o, iceriği ekran okuyucudan da kaldirirdi.                      */
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ─────────────────────────── tipografi ─────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand);
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 20ch;
  text-wrap: balance;
}

.lede {
  margin-top: 20px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--ink-2);
  max-width: 62ch;
}

/* ─────────────────────────── butonlar ─────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--pri { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(255, 107, 53, .32); }
.btn--pri:hover { background: #ef5f2a; box-shadow: 0 12px 30px rgba(255, 107, 53, .38); }

.btn--gho { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--gho:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(31, 168, 85, .28); }
.btn--wa:hover { background: #1c974c; box-shadow: 0 12px 30px rgba(31, 168, 85, .34); }

.btn--big { padding: 17px 32px; font-size: 1.05rem; }

/* ─────────────────────────── ilerleme cubugu ─────────────────────────── */

.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%; background: var(--brand);
  transform: scaleX(var(--sp, 0)); transform-origin: 0 50%;
}

/* ─────────────────────────── header ─────────────────────────── */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 110;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.is-stuck {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.hdr__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  height: var(--hdr-h);
  display: flex; align-items: center; gap: 24px;
  transition: height .35s var(--ease);
}
.hdr.is-stuck .hdr__in { height: 62px; }

/* ── döviz şeridi ──
   Navbarın hemen altında ince bir satır. Sayfa kaydırılınca kapanır:
   başlık zaten inceliyor, şeridi de taşımak üst kenarı boğardı.
   Kur alınamazsa main.js şeridi hiç açmaz (`hidden` kalır).        */
.fx {
  overflow: hidden;
  max-height: var(--fx-h);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: max-height .35s var(--ease), opacity .3s var(--ease);
}
/* border-top da kapanir; yoksa serit kapandiktan sonra basligin altinda
   1 piksellik bir cizgi kaliyor. */
.hdr.is-stuck .fx { max-height: 0; border-top-width: 0; }

.fx__in {
  max-width: var(--wrap); margin-inline: auto; padding: 0 var(--pad);
  min-height: 46px; display: flex; align-items: center; gap: 20px;
  overflow-x: auto; scrollbar-width: none;
  font-size: .82rem; white-space: nowrap;
}
.fx__in::-webkit-scrollbar { display: none; }

.fx__list { display: flex; align-items: center; gap: 18px; flex: none; }
.fx__i { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.fx__i b { font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }

/* "Son güncelleme 14:32" — rakamlardan bir ton silik. `tabular-nums`
   sayesinde 09:07 → 09:08 gecisinde satir kaymiyor.               */
.fx__t { flex: none; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fx__t time { color: var(--ink-2); }

/* Gösterge üç durumlu ve HER kutucukta var: yükseldi · düştü · değişmedi.
   Kutunun boyu sabit — durum değişince yanındaki rakam kıpırdamıyor.
   Yön bilgisi ekran okuyucuya `.vh` içindeki metinle gidiyor.        */
.fx__a { position: relative; width: 8px; height: 12px; flex: none; }
.fx__a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 0; height: 0; border: 4px solid transparent;
}
/* Ucgen kutunun yarisi gorunur; kayma degerleri GORUNEN yarinin tam
   ortalanmasi icin: yukari okta alt kenar, asagi okta ust kenar.   */
.is-up   .fx__a::before { border-bottom-color: #1c7c4a; margin-top: -6px; }
.is-down .fx__a::before { border-top-color: #b3261e; margin-top: -2px; }
.is-flat .fx__a::before {
  width: 8px; height: 2px; margin-top: -1px;
  border: 0; border-radius: 1px; background: var(--ink-3); opacity: .55;
}

/* Değeri değişen kutucuk bir kez parlar — şeridin canlı olduğu
   böyle görünür. Yalnızca renk oynar, düzen kıpırdamaz.        */
.fx__i.is-tick { animation: fxTick 1.1s var(--ease); }
@keyframes fxTick {
  0%   { background: rgba(255, 107, 53, .22); }
  100% { background: rgba(255, 107, 53, 0); }
}
.fx__i { padding: 3px 7px; margin: -3px -7px; border-radius: 6px; }

/* Dar ekranda "Son güncelleme 14:32" rakamlarla ayni satira sigmiyor —
   Rusca karsiligi iyice uzun. Yatay kaydirmaya birakmak etiketi ekran
   disinda birakirdi, yani yazmamis gibi olurduk. Ikinci satira aliniyor;
   serit yuksekligi `--fx-h` ile olculdugu icin sayfa kendini ayarlar. */
@media (max-width: 600px) {
  .fx__i[data-c="GBP"] { display: none; }
  .fx__in {
    flex-wrap: wrap; gap: 0 14px; min-height: 0;
    padding-block: 7px; line-height: 1.45;
  }
  .fx__list { gap: 14px; }
  .fx__t { flex-basis: 100%; font-size: .95em; }
}


.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }

/* Marka kelimesi: Freehand 521 + #ff6b35. Baska yerde kullanilmaz. */
.logo__word {
  font-family: "Freehand521", cursive;
  color: var(--brand);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .01em;
  padding-top: 4px;
}

.nav { margin-inline: auto; display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.hdr__act { display: flex; align-items: center; gap: 10px; flex: none; }

/* dil secici */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 0; border-radius: 999px;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line);
  font: inherit; font-weight: 600; font-size: .85rem; color: var(--ink); cursor: pointer;
  transition: box-shadow .25s;
}
.lang__btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.lang__btn svg { color: var(--ink-2); }

.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 10;
  min-width: 172px; padding: 7px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

.lang__menu li { display: block; }
.lang__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 10px 13px; border: 0; border-radius: 9px;
  background: transparent; font: inherit; font-size: .92rem; color: var(--ink);
  text-align: start; cursor: pointer; transition: background-color .2s;
}
.lang__menu button:hover { background: var(--surface-2); }
.lang__menu button[aria-selected="true"] { color: var(--brand-ink); font-weight: 600; }
.lang__menu button[aria-selected="true"]::after { content: "✓"; }
.lang__menu small { color: var(--ink-3); font-size: .78rem; letter-spacing: .06em; }

.hdr__wa { padding: 10px 18px; font-size: .88rem; }

/* mobil menu butonu */
.burger {
  display: none; position: relative; width: 42px; height: 42px;
  border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span { top: 20px; }
.burger::before { top: 14px; }
.burger::after { top: 26px; }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────── hero ─────────────────────────── */

.hero { position: relative; padding-top: calc(var(--hdr-h) + var(--fx-h) + 28px); padding-bottom: 22px; }
.hero__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  min-height: min(66vh, 640px);
}

.badge {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}

.hero__h {
  margin-top: 22px;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__h span { color: var(--brand-ink); }

.hero__lede { margin-top: 22px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 52ch; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__vis { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; inset: 8% 4%;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 107, 53, .16), transparent 62%);
  filter: blur(18px);
}
/* Yukseklik sinirli: CTA butonlari katlamanin ustunde kalir */
.hero__img {
  position: relative;
  width: auto; max-width: 100%;
  height: min(64vh, 660px);
  filter: drop-shadow(0 34px 50px rgba(20, 23, 26, .14));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }

.hero__down {
  text-align: center; margin-top: 8px;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.hero__down span { display: inline-block; animation: nudge 2.2s var(--ease) infinite; }
.hero__down span::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--ink-3), transparent); }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ─────────────────────────── yetenekler ─────────────────────────── */

.caps { padding: clamp(56px, 8vw, 96px) 0; }
.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cap {
  padding: 28px 24px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .4s, background-color .4s, box-shadow .4s var(--ease);
}
.cap:hover {
  transform: translateY(-5px); background: #fff;
  border-color: var(--line); box-shadow: var(--shadow);
}
.cap svg {
  width: 30px; height: 30px; margin-bottom: 18px;
  fill: none; stroke: var(--brand); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.cap h3 { font-size: 1.04rem; margin-bottom: 8px; }
.cap p { font-size: .92rem; color: var(--ink-2); line-height: 1.6; }

/* ═══════════════ PARCA MONTAJI ═══════════════
   Makine vektorel; her parca kendi <g class="mx__p"> icinde.
   --p (0→1) main.js tarafindan yazilir. Her parcanin --t esigi vardir;
   kendi ilerlemesi --lp, scroll ilerlemesinden turetilir. --p=0'da
   parcalar dagilmis, --p=1'de makine kurulmus olur. Scroll konumuna
   bagli oldugu icin yukari kaydirmak otomatik olarak dagitir.        */

.asm { background: var(--surface-2); }
.asm__track { height: 340vh; }
.asm__stage {
  position: sticky; top: 0; height: 100vh;
  display: grid; align-items: center; overflow: hidden;
}
.asm__in {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}

.asm__labels { margin-top: 28px; display: grid; gap: 13px; }
.asm__labels li {
  --on: clamp(0, calc((var(--p, 0) - var(--t)) * 7), 1);
  position: relative; padding-left: 44px;
  opacity: calc(.25 + .75 * var(--on));
  transform: translateY(calc((1 - var(--on)) * 12px));
}
.asm__labels li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 30px; height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(calc(.18 + .82 * var(--on))); transform-origin: 0 50%;
}
.asm__labels b { display: block; font-size: .98rem; }
.asm__labels span { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

.asm__vis { display: grid; justify-items: center; gap: 14px; }
.asm__machine { width: min(100%, 620px); }
.mx { width: 100%; height: auto; }

/* Parcanin kendi ilerlemesi: --t esiginden sonra 0→1.
   Dagitma degerleri (--dx/--dy/--rot) markup'ta, parca bazinda verilir. */
.mx__p {
  --lp: clamp(0, calc((var(--p, 0) - var(--t, 0)) * 3.4), 1);
  --q: calc(1 - var(--lp));
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform:
    translate(calc(var(--dx, 0px) * var(--q)), calc(var(--dy, 0px) * var(--q)))
    rotate(calc(var(--rot, 0deg) * var(--q)));
  opacity: var(--lp);
  will-change: transform;
}

/* Parca renkleri — teknik cizim dili */
.mx-l   { fill: #eef1f3; stroke: #2a3238; stroke-width: 2.4; }
.mx-m   { fill: #ccd5da; stroke: #2a3238; stroke-width: 2.4; }
.mx-d   { fill: #39434b; stroke: #2a3238; stroke-width: 2.4; }
.mx-scr { fill: #dce8ef; stroke: none; }
.mx-o   { fill: var(--brand); stroke: none; }
.mx-o-s { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mx-s   { fill: none; stroke: #2a3238; stroke-width: 2.2; stroke-linecap: round; }
.mx-glass { fill: #7fb3cc; fill-opacity: .2; stroke: #2a3238; stroke-width: 2.2; stroke-opacity: .5; }
.mx-est  { fill: #f5c542; stroke: #2a3238; stroke-width: 2.4; }
.mx-stop { fill: #d8412f; stroke: #2a3238; stroke-width: 2.4; }
.mx-go   { fill: #33a457; stroke: #2a3238; stroke-width: 2.4; }
.mx-cbl  { fill: none; stroke: #39434b; stroke-width: 5; stroke-linecap: round; }
.mx-beam { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-dasharray: 7 6; stroke-linecap: round; }

.asm__hint {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  opacity: calc(1 - var(--p, 0) * 4);
}
.asm__hint::after {
  content: ""; width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--ink-3), transparent);
}

/* ─────────────────────────── hakkimizda ─────────────────────────── */

.about { padding: clamp(72px, 10vw, 130px) 0; }
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__txt p + p { margin-top: 18px; }
.about__txt p:not(.eyebrow) { color: var(--ink-2); }

.about__fig { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__fig img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.about__fig figcaption {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  font-size: .8rem; font-weight: 600; color: var(--ink);
}

/* ═══════════════ COZUMLER — sabitlenen yatay serit ═══════════════ */

.sol { background: var(--surface-2); }
.sol__track { height: 300vh; }
.sol__stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  overflow: hidden;
}
.sol__head { flex: none; }

.sol__row {
  display: flex; gap: 22px; width: max-content;
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  transform: translate3d(calc(var(--p, 0) * var(--shift, 0px) * -1), 0, 0);
  will-change: transform;
}
.sol__card {
  flex: none; width: min(78vw, 330px); padding: 30px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sol__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sol__n {
  display: block; margin-bottom: 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--brand);
}
.sol__card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.sol__card p { font-size: .93rem; color: var(--ink-2); line-height: 1.6; }

/* ─────────────────────────── urunler ─────────────────────────── */

.prod { padding: clamp(72px, 10vw, 130px) 0; }
.prod__head { margin-bottom: 56px; }
.prod__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.prod__list { display: grid; gap: 12px; }
.prod__item {
  padding: 26px 26px 26px 30px; border-radius: var(--r);
  border: 1px solid transparent; cursor: default;
  position: relative;
  transition: background-color .45s var(--ease), border-color .45s;
}
.prod__item::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  border-radius: 3px; background: var(--brand);
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform .45s var(--ease);
}
.prod__item.is-active { background: var(--surface-2); border-color: var(--line); }
.prod__item.is-active::before { transform: scaleY(1); }

.prod__tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink);
}
.prod__item h3 { font-size: 1.32rem; margin-bottom: 10px; }
.prod__item p { font-size: .94rem; color: var(--ink-2); line-height: 1.62; }

.prod__vis { position: sticky; top: calc(var(--hdr-h) + 40px); }
.prod__frame {
  border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.prod__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s var(--ease), transform .8s var(--ease);
}
.prod__frame.is-swap img { opacity: 0; transform: scale(1.04); }

/* ─────────────────────────── galeri ─────────────────────────── */

.gal { padding: clamp(72px, 10vw, 130px) 0; background: var(--surface-2); }
.gal__head { margin-bottom: 34px; }

.gal__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gal__filters button {
  padding: 9px 18px; border: 0; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: color .25s, box-shadow .25s, background-color .25s;
}
.gal__filters button:hover { color: var(--ink); }
.gal__filters button[aria-selected="true"] {
  background: var(--ink); color: #fff; box-shadow: none; font-weight: 600;
}

.gal__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gal__item {
  position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: #fff; cursor: zoom-in; aspect-ratio: 4 / 3;
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.gal__item.in { opacity: 1; transform: none; }
.gal__item.is-hidden { display: none; }
.gal__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.gal__item:hover img { transform: scale(1.06); }
.gal__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 23, 26, .28), transparent 46%);
  opacity: 0; transition: opacity .4s;
}
.gal__item:hover::after { opacity: 1; }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 190;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 14, 16, .93);
  animation: fade .28s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.lb__fig { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lb__fig img {
  max-width: min(94vw, 1200px); max-height: 80vh; width: auto;
  border-radius: 12px; animation: zoomIn .35s var(--ease);
}
@keyframes zoomIn { from { opacity: 0; transform: scale(.93); } }
.lb__fig figcaption { color: #c8ced4; font-size: .86rem; }

.lb__x, .lb__nav {
  position: absolute; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .11); color: #fff;
  border-radius: 999px; transition: background-color .25s, transform .25s var(--ease);
}
.lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .22); }
.lb__x { top: 18px; right: 18px; width: 44px; height: 44px; }
.lb__x::before, .lb__x::after {
  content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
}
.lb__x::before { transform: rotate(45deg); }
.lb__x::after { transform: rotate(-45deg); }

.lb__nav { top: 50%; margin-top: -26px; width: 52px; height: 52px; }
.lb__nav--p { left: 16px; }
.lb__nav--n { right: 16px; }
.lb__nav::before {
  content: ""; position: absolute; top: 18px; left: 19px;
  width: 13px; height: 13px; border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.lb__nav--p::before { transform: rotate(-135deg); left: 21px; }
.lb__nav--n::before { transform: rotate(45deg); left: 16px; }

/* ─────────────────────────── referanslar ─────────────────────────── */

.cli { padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.cli__head { margin-bottom: 44px; }

.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__row {
  display: flex; align-items: center; gap: 60px; flex: none; padding-right: 60px;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee img {
  height: clamp(32px, 4vw, 46px); width: auto; flex: none;
  object-fit: contain;
  /* acik renkli logolar (or. LC Waikiki) beyaz zeminde kaybolmasin */
  filter: grayscale(1) contrast(1.15); opacity: .62;
  transition: filter .4s, opacity .4s, transform .4s var(--ease);
}
.marquee img:hover { filter: none; opacity: 1; transform: scale(1.08); }

/* ─────────────────────────── haberler ─────────────────────────── */

.news { padding: clamp(72px, 10vw, 130px) 0; background: var(--surface-2); }
.news__head { margin-bottom: 44px; }
.news__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.news__card {
  display: flex; flex-direction: column; text-align: start;
  padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: #fff; cursor: pointer; font: inherit; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.news__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news__card time { font-size: .78rem; font-weight: 600; letter-spacing: .07em; color: var(--brand-ink); }
.news__card h3 { font-size: 1.1rem; }
.news__card p { font-size: .91rem; color: var(--ink-2); line-height: 1.6; flex: 1; }
.news__more { font-size: .88rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: 7px; align-items: center; }
.news__more::after { content: "→"; transition: transform .35s var(--ease); }
.news__card:hover .news__more::after { transform: translateX(5px); }

/* haber modali */
.nm {
  position: fixed; inset: 0; z-index: 190;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 40px);
  background: rgba(12, 14, 16, .6); backdrop-filter: blur(5px);
  animation: fade .28s var(--ease);
}
.nm__box {
  position: relative; width: min(100%, 660px); max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  animation: zoomIn .35s var(--ease);
}
.nm__box img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nm__body { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.nm__body time { font-size: .8rem; font-weight: 600; letter-spacing: .07em; color: var(--brand-ink); }
.nm__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.nm__body p { color: var(--ink-2); }
.nm__body p + p { margin-top: 14px; }

.nm__x {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.nm__x::before, .nm__x::after {
  content: ""; position: absolute; left: 12px; top: 19px; width: 16px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nm__x::before { transform: rotate(45deg); }
.nm__x::after { transform: rotate(-45deg); }

body.is-locked { overflow: hidden; }

/* ─────────────────────────── whatsapp bolumu ─────────────────────────── */

.wa { padding: clamp(56px, 8vw, 100px) 0; }
.wa__in {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 26px;
  background: linear-gradient(135deg, #101315, #1d2226);
  color: #fff;
}
.wa__in .eyebrow { color: #ffb391; }
.wa__in .eyebrow::before { background: var(--brand); }
.wa__in .lede { color: #b9c1c8; }
.wa__note { margin-top: 20px; font-size: .87rem; color: #8b959d; }
.wa__act { display: grid; gap: 16px; justify-items: start; }
.wa__num {
  font-size: 1.22rem; font-weight: 600; letter-spacing: .01em;
  color: #fff; text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, .28); padding-bottom: 3px;
  transition: border-color .3s;
}
.wa__num:hover { border-color: var(--brand); }

/* yuzen buton */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 168, 85, .4);
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa); animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.fab__tip {
  position: absolute; right: calc(100% + 12px); white-space: nowrap;
  padding: 9px 15px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: .84rem; font-weight: 500;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.fab:hover .fab__tip, .fab.is-tip .fab__tip { opacity: 1; transform: none; }

/* ─────────────────────────── iletisim ─────────────────────────── */

.ct { padding: clamp(72px, 10vw, 130px) 0; }
.ct__head { margin-bottom: 48px; }
.ct__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.ct__dl { display: grid; gap: 22px; margin-bottom: 30px; }
.ct__dl dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 5px;
}
.ct__dl dd { font-size: 1rem; line-height: 1.6; }
.ct__dl a { text-decoration: none; border-bottom: 1.5px solid var(--line); transition: border-color .3s; }
.ct__dl a:hover { border-color: var(--brand); }

.ct__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.ct__map iframe { width: 100%; height: 280px; border: 0; filter: grayscale(.35); }

/* Harita yuklenmeden once duran kutu. Yuksekligi iframe ile ayni ki
   ziyaretci "yukle"ye bastiginda sayfa zipplamasin.                 */
.ct__mapask {
  height: 280px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  padding: 20px; text-align: center; background: var(--surface-2);
}
.ct__mapask svg { color: var(--brand); }
.ct__mapask p { font-size: .88rem; color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.ct__maplink { font-size: .82rem; color: var(--ink-3); }

.ct__form {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2);
  display: grid; gap: 16px;
}
.ct__form h3 { font-size: 1.25rem; }
.ct__hint { font-size: .87rem; color: var(--ink-2); margin-top: -6px; }
.ct__form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.ct__form input, .ct__form textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.ct__form input:focus, .ct__form textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 107, 53, .16);
}
.ct__form textarea { resize: vertical; min-height: 110px; }
.ct__form .is-bad { border-color: #d93025; }

.ct__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.ct__or { font-size: .87rem; color: var(--ink-3); }
.ct__mail { font-size: .92rem; font-weight: 600; color: var(--brand-ink); text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* ─────────────────────────── footer ─────────────────────────── */

.ft { background: #101315; color: #a8b1b8; padding-top: clamp(56px, 7vw, 84px); }
.ft__in {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.ft__brand .logo { margin-bottom: 16px; }
.ft__brand p { font-size: .92rem; max-width: 34ch; line-height: 1.65; }
.ft__col { display: grid; gap: 11px; align-content: start; }
.ft__col h4 {
  font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin-bottom: 5px;
}
.ft__col a, .ft__col p { font-size: .92rem; color: #a8b1b8; text-decoration: none; transition: color .25s; }
.ft__col a:hover { color: var(--brand); }

.ft__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem; color: #78838b;
}
.ft__bar a { text-decoration: none; transition: color .25s; }
.ft__bar a:hover { color: var(--brand); }

/* ─────────────────────────── acilis animasyonu ───────────────────────────
   Ikon once ekran ortasinda belirip doner, sonra FLIP ile header'daki logo
   yerine ucar. Zemin ve ikon ayri katman: zemin solarken ikon ucmaya devam
   eder. Oturumda bir kez gosterilir (karari shell.js verir).                */

html.is-intro { overflow: hidden; }

.intro { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.intro__bg {
  position: absolute; inset: 0; background: var(--surface);
  transition: opacity .55s var(--ease);
}
.intro.is-out .intro__bg { opacity: 0; }

/* Ikon TEK gorsel degil: `mark-1..6.png` ust uste. Hepsi ayni kutuyu
   kaplar, her biri kendi bolumunu tasir; ust uste bindiklerinde ikonun
   tamamini verirler. Boylece bir bolum tek basina one cikabiliyor.
   Parcalari `tools/slice_mark.py` uretiyor.                          */
.intro__mark {
  position: absolute; left: 50%; top: 50%;
  width: 168px; height: 168px; margin: -84px 0 0 -84px;
  animation: introSpin 2s cubic-bezier(.26, .72, .18, 1) both;
}
/* Sure main.js'teki INTRO_SPIN ile AYNI olmali — ikisi ayrilirsa bolum
   ya donus bitmeden buyur ya da ikon bosuna bekler. */
@keyframes introSpin {
  0%   { opacity: 0; transform: rotate(-540deg) scale(.32); }
  30%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

.intro__seg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform .6s cubic-bezier(.32, 1.5, .5, 1),
              opacity .6s var(--ease), filter .6s var(--ease);
}
/* Buyume merkezi ikonun ORTASI (parcalar tam boy oldugu icin %50 orasi):
   bolum hem buyur hem disari dogru acilir — "one cikma" boyle okunuyor.

   Olcek 1.9: once 1.3, sonra 1.55 denendi — ikisi de gozle zor
   seciliyordu. Ikon da 132'den 168 piksele cikarildi. Golge bilerek
   belirgin: parcanin OTEKILERIN ONUNDE oldugunu tek basina olcek
   anlatmiyor.                                                        */
.intro__seg.is-pop {
  transform: scale(1.9);
  filter: drop-shadow(0 20px 34px rgba(20, 23, 26, .34));
  z-index: 2;
}
/* Otekiler tamamen kaybolmaz, geri cekilir: ikon butun olarak okunmaya
   devam etsin, one cikan bolum de belli olsun.                        */
.intro__mark.is-focus .intro__seg:not(.is-pop) { opacity: .16; transform: scale(.82); }

/* Ucus sirasinda header'daki gercek logo gizlenir; bunu main.js dogrudan
   inline style ile yapar. Bilerek CSS gecisine BAGLANMADI: gecis herhangi
   bir sebeple tamamlanmazsa logo kalici olarak gorunmez kalirdi.        */

/* ─────────────────────────── sayfa basligi ─────────────────────────── */

.phead { padding: calc(var(--hdr-h) + var(--fx-h) + 48px) 0 clamp(28px, 4vw, 48px); }
.phead .lede { margin-top: 16px; }

.h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -.032em; max-width: 18ch; text-wrap: balance;
}

.crumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: .84rem; color: var(--ink-3);
}
.crumb a { text-decoration: none; transition: color .25s; }
.crumb a:hover { color: var(--brand-ink); }

.sec { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 9vw, 110px); }

/* "Tumunu gorun" baglantisi */
.more {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .95rem; color: var(--brand-ink); text-decoration: none;
}
.more::after { content: "→"; transition: transform .35s var(--ease); }
.more:hover::after { transform: translateX(6px); }
.sec__more { margin-top: 34px; }

/* Cozumler sayfasindaki tam izgara */
.sol__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.sol__grid .sol__card h2 { font-size: 1.18rem; margin-bottom: 12px; }

/* Ana sayfadaki seritte son kart: cozumler sayfasina gecis */
.sol__card--go {
  display: grid; align-content: center; text-decoration: none;
  background: var(--brand-soft); border-color: transparent;
}
.sol__card--go .sol__n { font-size: 1.5rem; }
.sol__card--go h3 { color: var(--brand-ink); }

/* Urunler sayfasindaki satirlar */
.prow__list { display: grid; gap: clamp(48px, 7vw, 90px); }
.prow {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.prow--flip .prow__fig { order: 2; }
.prow__fig {
  margin: 0; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.prow__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Fotograf yerine video kartı tasiyan satir: cerceve butonun kendisinde */
.prow__fig--vid { background: none; border: 0; overflow: visible; }
.prow__fig--vid .vid__btn img { aspect-ratio: auto; }
.prow__txt h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.prow__txt p { color: var(--ink-2); margin-bottom: 22px; }

.btn--sm { padding: 11px 20px; font-size: .88rem; }
.caps--alt { background: var(--surface-2); }

/* ─────────────────────────── gizlilik sayfasi ─────────────────────────── */

.priv { max-width: 74ch; display: grid; gap: clamp(28px, 4vw, 40px); }
.priv__upd { margin-top: 14px; font-size: .84rem; color: var(--ink-3); }
.priv__b h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 12px; }
.priv__b p { color: var(--ink-2); line-height: 1.75; }
/* ─────────────────────────── SSS ───────────────────────────
   <details> tabanli: JS olmadan da acilip kapaniyor, klavye ve
   ekran okuyucu destegi tarayicidan geliyor.                  */

.faq { padding: clamp(56px, 8vw, 100px) 0; }
.faq__head { margin-bottom: clamp(28px, 4vw, 44px); }
.faq__list { display: grid; gap: 12px; max-width: 860px; }

.faq__i {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .3s, box-shadow .3s var(--ease);
}
.faq__i[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq__i:hover { border-color: var(--ink-3); }

.faq__i summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1rem; line-height: 1.45;
}
.faq__i summary::-webkit-details-marker { display: none; }

/* + / − isareti: iki cizgi. Acilinca dikey olan kisalir, arti
   eksiye doner. Dondurme YOK: arti 90 derece donunce yine arti
   (gorsel olarak dikey cizgi) olurdu.                          */
.faq__i summary::after {
  content: ""; flex: none; width: 15px; height: 15px;
  background:
    linear-gradient(var(--brand-ink), var(--brand-ink)) center / 15px 2px no-repeat,
    linear-gradient(var(--brand-ink), var(--brand-ink)) center / 2px 15px no-repeat;
  transition: background-size .3s var(--ease);
}
.faq__i[open] summary::after { background-size: 15px 2px, 2px 0; }

.faq__i p {
  padding: 0 22px 20px; margin-top: -4px;
  color: var(--ink-2); font-size: .95rem; line-height: 1.7; max-width: 68ch;
}

/* ─────────────────────────── surec cizelgesi ───────────────────────────
   Dikey ray scroll ile doluyor. --p bolume main.js tarafindan yaziliyor
   ([data-scrub]); her adimin kendi --t esigi var. Yalnizca transform ve
   opacity animate ediliyor; renk gecisi color-mix ile, desteklenmezse
   adim sabit gri kalir ve icerik yine okunur.                          */

.proc { padding: clamp(56px, 8vw, 100px) 0; background: var(--surface-2); }
.proc__head { margin-bottom: clamp(34px, 5vw, 56px); }

.proc__list { position: relative; display: grid; gap: clamp(24px, 3.4vw, 40px); padding-left: 62px; }

.proc__list::before, .proc__list::after {
  content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px;
  width: 2px; border-radius: 2px;
}
.proc__list::before { background: var(--line); }
/* Cizgi adimlardan bir tik once tamamlanir (1.18 kati): son adim
   p=0.785'te canlaniyor, cizgi p=0.847'de doluyor. Ham --p kullanilsa
   butun adimlar yanmisken cizginin ucu hala bos kalirdi.            */
.proc__list::after {
  background: var(--brand);
  transform: scaleY(clamp(0, calc(var(--p, 0) * 1.18), 1)); transform-origin: 50% 0;
}

.proc__step {
  --on: clamp(0, calc((var(--p, 0) - var(--t, 0)) * 8), 1);
  position: relative;
  opacity: calc(.4 + .6 * var(--on));
  transform: translateY(calc((1 - var(--on)) * 10px));
}
.proc__step h3 { font-size: 1.08rem; margin-bottom: 7px; }
.proc__step p { font-size: .94rem; color: var(--ink-2); line-height: 1.65; max-width: 62ch; }

.proc__n {
  position: absolute; left: -62px; top: -2px;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--surface);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  border: 2px solid var(--line); color: var(--ink-3);
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .proc__n {
    border-color: color-mix(in srgb, var(--brand) calc(var(--on) * 100%), var(--line));
    color: color-mix(in srgb, var(--brand-ink) calc(var(--on) * 100%), var(--ink-3));
  }
}

@media (max-width: 620px) {
  .proc__list { padding-left: 48px; }
  .proc__list::before, .proc__list::after { left: 15px; }
  .proc__n { left: -48px; width: 32px; height: 32px; font-size: .72rem; }
}

/* ─────────────────────────── 404 ─────────────────────────── */

.e404 { padding: calc(var(--hdr-h) + var(--fx-h) + clamp(56px, 10vw, 120px)) 0 clamp(72px, 12vw, 140px); }
.e404__in { display: grid; justify-items: start; max-width: 720px; }
.e404__cta { margin-top: 32px; }

.e404__links {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.e404__links a {
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface-2); font-size: .9rem; font-weight: 600;
  text-decoration: none; color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.e404__links a:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* ─────────────────────────── videolar ───────────────────────────
   Kapak + oynat dugmesi. Oynatici ancak tiklaninca olusur; kart
   yuksekligi 16/9 oldugu icin iframe yerine gecince zipla olmaz.  */

.vid { padding: clamp(56px, 8vw, 96px) 0; }
.vid__head { margin-bottom: 34px; }
/* Iki sutun sabit: gomulu oynatici kucuk kaldiginda YouTube kendi
   kontrol cubugunu kirpiyor ve video durdurulamaz hale geliyor.    */
.vid__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 26px;
}

.vid__card { display: grid; gap: 14px; align-content: start; }

.vid__btn {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2);
}

.vid__btn {
  position: relative; padding: 0; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vid__btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* hqdefault 4:3 gelir; 16:9 kadraja ortalanarak kirpilir */
.vid__btn img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.vid__btn:hover img { transform: scale(1.05); }

.vid__play {
  position: absolute; inset: 50% auto auto 50%;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 999px; background: var(--brand);
  box-shadow: 0 10px 30px rgba(255, 107, 53, .45);
  transition: transform .35s var(--ease);
}
/* ucgen: kenarliklarla cizilir, ek dosya yok */
.vid__play::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  margin: -11px 0 0 -7px;
  border: 11px solid transparent; border-left: 18px solid #fff; border-right: 0;
}
.vid__btn:hover .vid__play { transform: scale(1.1); }

.vid__t { font-size: 1.02rem; line-height: 1.4; }

@media (max-width: 700px) {
  .vid__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────── video katmani ───────────────────────────
   Video sayfa akisinda degil, <body> altindaki bu katmanda oynar.
   Kutuya BILEREK kalici transform verilmedi (giris animasyonunun
   fill-mode'u yok, bitince transform none'a doner): donusmus bir ust
   oge, farkli kaynakli iframe'e giden tiklamalari engelliyor ve
   oynaticinin kontrolleri calismaz hale geliyor.                      */

.vm {
  position: fixed; inset: 0; z-index: 195;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 12, 14, .82); backdrop-filter: blur(6px);
  animation: fade .3s var(--ease);
}

.vm__box {
  width: min(100%, 1120px);
  animation: vmIn .34s var(--ease);
}

.vm__frame {
  width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.vm__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.vm__t {
  margin-top: 18px; text-align: center;
  font-size: 1.05rem; font-weight: 600; color: #fff;
}

.vm__x {
  position: absolute; top: clamp(12px, 2.5vw, 26px); right: clamp(12px, 2.5vw, 26px);
  width: 46px; height: 46px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .12); cursor: pointer;
  transition: background-color .25s, transform .25s var(--ease);
}
.vm__x:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }
.vm__x::before, .vm__x::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 19px; height: 2px; margin: -1px 0 0 -9.5px;
  border-radius: 2px; background: #fff;
}
.vm__x::before { transform: rotate(45deg); }
.vm__x::after { transform: rotate(-45deg); }

/* Oynatici yuklenemediginde: siyah kutu kucultulur, yerine aciklama ve
   YouTube baglantisi one cikar. Baglanti her durumda duruyor — gomulu
   oynatici calissa da ziyaretci videoyu YouTube'da acabilsin.        */
.vm.is-fail .vm__frame { aspect-ratio: auto; height: 0; box-shadow: none; }

.vm__fail {
  margin: 22px auto 0; max-width: 62ch; text-align: center;
  font-size: .95rem; line-height: 1.6; color: rgba(255, 255, 255, .78);
}

.vm__yt {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 16px auto 0; padding: 11px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background-color .25s, transform .25s var(--ease);
}
.vm__box { display: flex; flex-direction: column; align-items: center; }
.vm__yt:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.vm.is-fail .vm__yt { background: var(--brand); }

@keyframes vmIn { from { opacity: 0; transform: scale(.94); } }

@media (max-width: 620px) {
  .vm__x { top: 8px; right: 8px; width: 40px; height: 40px; }
  .vm__t { font-size: .95rem; }
}
.vid__note { margin-top: 30px; font-size: .84rem; color: var(--ink-3); max-width: 70ch; }

/* ─────────────────────────── calisma saatleri ───────────────────────────
   Saatler İSTANBUL'a gore. Rozet main.js tarafindan acilir; JS calismazsa
   gizli kalir ama yazili saatler her kosulda gorunur.                    */

.hrs {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  max-width: 370px; padding: 7px 0; border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}
.hrs b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hrs--off { color: var(--ink-3); }
.hrs--off b { font-weight: 500; }
.hrs__tz { display: block; margin-top: 9px; font-size: .8rem; color: var(--ink-3); }

.onair {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 6px 13px 6px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.onair i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none;
}
.onair.is-open { background: #eaf8ef; border-color: #bfe6cd; color: #14683a; }
.onair.is-open i { background: var(--wa); animation: pulseDot 2.4s var(--ease) infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); }
  70% { box-shadow: 0 0 0 7px rgba(31, 168, 85, 0); }
}

/* koyu zeminli WhatsApp bolumunde */
.wa .onair { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #c9d1d8; }
.wa .onair.is-open { background: rgba(31, 168, 85, .16); border-color: rgba(31, 168, 85, .4); color: #7fe0a5; }

/* Footer sutunu dar; etiket ve saat gerektiginde alt satira sarar */
.ft__hrs b { color: #cfd6db; font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 8px; }

/* ─────────────────────────── baslik gradyani ───────────────────────────
   Basliklarda yavas gecen sicak bir isilti. Tum duraklar --ink ile
   --brand arasinda; en acik ton #ff6b35 (buyuk metinde 3:1 kontrast),
   boylece okunaklilik her karede korunur. background-clip destegi yoksa
   baslik duz renkte kalir — hicbir kosulda gorunmez olmaz.              */

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .h1, .h2 {
    background-image: linear-gradient(100deg,
      var(--ink) 0%, var(--ink) 34%, var(--brand-ink) 46%,
      var(--brand) 52%, var(--brand-ink) 58%, var(--ink) 70%, var(--ink) 100%);
    /* Gradyan TEKRARLI kalmali: %280 boyutta kaydirilinca kutunun bir
       kismi disarida kalir, no-repeat ile orasi boyanmaz ve metin
       gorunmez olur. Ilk ve son durak ayni renk oldugu icin ek yeri
       belli olmaz.                                                    */
    background-size: 280% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: sheen 11s var(--ease) infinite;
  }

  /* Koyu zeminli WhatsApp bolumunde ayni isilti, beyaz tabanla */
  .wa__in .h2 {
    background-image: linear-gradient(100deg,
      #fff 0%, #fff 34%, #ffc9ae 46%, var(--brand) 52%, #ffc9ae 58%, #fff 70%, #fff 100%);
  }

  /* Hero'da vurgulanan kelime: surekli akan marka gradyani */
  .hero__h span {
    background-image: linear-gradient(92deg,
      var(--brand-ink), var(--brand), #d94a12, var(--brand), var(--brand-ink));
    background-size: 260% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: gradFlow 9s linear infinite;
  }
}

@keyframes sheen {
  0%, 100% { background-position: 132% 0; }
  50% { background-position: -32% 0; }
}
@keyframes gradFlow {
  from { background-position: 0 0; }
  to { background-position: 260% 0; }
}

/* ─────────────────────────── imlec isigi ───────────────────────────
   --mx / --my main.js tarafindan yazilir; yalnizca hover'da gorunur. */

.cap, .sol__card, .news__card, .prow__fig { position: relative; }

.cap::after, .sol__card::after, .news__card::after, .prow__fig::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0px),
              rgba(255, 107, 53, .13), transparent 68%);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.cap:hover::after, .sol__card:hover::after,
.news__card:hover::after, .prow__fig:hover::after { opacity: 1; }

/* ─────────────────────────── sayfa gecisi ───────────────────────────
   Ic baglantilarda kisa kararma. main.js gezinmeyi 200 ms geciktirir ve
   1,5 sn'lik guvenlik agiyla sinifi her kosulda geri alir.            */

.is-leaving body { opacity: 0; transition: opacity .2s var(--ease); }

/* DİKKAT — #main'e giris animasyonu EKLEMEYIN.
   Burada `animation: pageIn .5s both` vardi. `fill-mode: both` bittikten
   sonra da uygulanmaya devam ettigi icin #main uzerinde kalici bir
   `transform: matrix(1,0,0,1,0,0)` birakiyordu. Donusmus bir ust oge,
   Chrome'da farkli kaynakli (cross-origin) iframe'lere giden tiklamalari
   engelliyor: YouTube oynaticisi goruntuyu oynatiyor ama duraklatma,
   ses ve tam ekran kontrollerine basilamiyordu.
   Sayfaya giris hareketi zaten .reveal sistemiyle saglaniyor.          */

/* ─────────────────────────── reveal ─────────────────────────── */

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { --d: 1; }
.reveal[data-d="2"] { --d: 2; }
.reveal[data-d="3"] { --d: 3; }

.no-js .reveal, .no-js .gal__item { opacity: 1; transform: none; }

/* Dil degisiminde icerigin capraz gecisi.
   Bilerek YALNIZCA opacity: bu sinif #main'e uygulaniyor ve transform
   eklenirse, animasyon suresince #main donusmus bir ust oge olur —
   o yarim saniye boyunca YouTube gomulu oynaticisina tiklamalar
   ulasmaz. Ayni sebeple #main'e giris animasyonu da kaldirildi.      */
.i18n-fade { animation: i18nFade .5s var(--ease); }
@keyframes i18nFade { from { opacity: .3; } }

/* ─────────────────────────── responsive ─────────────────────────── */

@media (max-width: 1080px) {
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .ft__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; inset: 100% 0 auto; z-index: 105;
    flex-direction: column; gap: 2px; padding: 16px var(--pad) 26px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px); box-shadow: 0 20px 40px rgba(20, 23, 26, .1);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 4px; font-size: 1.02rem; }
  .nav a::after { left: 4px; right: auto; width: 22px; bottom: 8px; }

  .burger { display: block; }
  .hdr__wa span { display: none; }
  .hdr__wa { padding: 11px; }
  /* nav sabit konuma gectigi icin akista yer kaplamiyor; aksiyonlari saga yasla */
  .hdr__act { margin-left: auto; }

  .hero__in { grid-template-columns: 1fr; gap: 32px; text-align: center; min-height: 0; }
  .hero__txt { display: grid; justify-items: center; }
  .hero__cta { justify-content: center; }
  .hero__img { width: min(70%, 260px); }

  .about__in, .prod__in, .ct__in { grid-template-columns: 1fr; }
  .prod__vis { display: none; }
  .wa__in { grid-template-columns: 1fr; }

  .prow { grid-template-columns: 1fr; gap: 20px; }
  .prow--flip .prow__fig { order: 0; }
  .phead { padding-top: calc(var(--hdr-h) + var(--fx-h) + 32px); }
}

/* Sabitlenen bolumler mobilde sade dikey duzene doner */
@media (max-width: 820px) {
  .asm__track, .sol__track { height: auto; }
  .asm__stage, .sol__stage { position: static; height: auto; padding-block: clamp(56px, 9vw, 90px); overflow: visible; }
  .asm__in { grid-template-columns: 1fr; }
  .asm__hint { display: none; }

  /* Mobilde makine kurulmus halde durur, parcalar dagilmaz */
  .asm__labels li { --on: 1; }
  .mx__p { --lp: 1; }

  .sol__row {
    width: auto; flex-wrap: nowrap; transform: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: var(--pad); padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .sol__card { scroll-snap-align: start; }
}

@media (max-width: 620px) {
  /* Baslik satiri 390px'e sigsin: logo kuculur, WhatsApp butonu duser.
     Yuzen buton ve CTA bolumu WhatsApp erisimini zaten sagliyor. */
  .hdr__in { gap: 12px; }
  .hdr__act { gap: 6px; }
  .hdr__wa { display: none; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__word { font-size: 1.42rem; }

  .caps__grid { grid-template-columns: 1fr; }
  .ft__in { grid-template-columns: 1fr; gap: 30px; }
  .gal__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .lb__nav { width: 42px; height: 42px; margin-top: -21px; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ─────────────────────────── hareket azaltma ───────────────────────────
   Tum hareket durur. Icerik son (gorunur) halinde kalir; hicbir bilgi
   gizlenmez — patlatma bolumu ayrilmis kareyi dogrudan gosterir.        */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal, .gal__item { opacity: 1 !important; transform: none !important; }
  .hero__img, .hero__down span, .fab::before { animation: none; }
  .marquee__row { animation: none; }
  .asm__labels li { --on: 1 !important; }
  .asm__hint { display: none; }

  /* surec cizelgesi: tum adimlar okunur, ray dolu */
  .proc__step { --on: 1 !important; opacity: 1 !important; transform: none !important; }
  .proc__list::after { transform: scaleY(1) !important; }

  /* montaj: makine kurulmus halde, hareketsiz */
  .mx__p { --lp: 1 !important; transform: none !important; opacity: 1 !important; }
  .sol__row { transform: none !important; overflow-x: auto; width: auto; }
  .intro { display: none !important; }

  .onair.is-open i, #main { animation: none; }

  /* Basliklarda gradyan tamamen kalkar. Sabit bir kaydirma degerine
     guvenmek yerine duz renge donuluyor: metnin gorunur kalmasi
     hicbir hesaba bagli olmamali.                                   */
  .h1, .h2, .hero__h span {
    animation: none;
    background-image: none;
    color: var(--ink);
    -webkit-text-fill-color: currentColor;
  }
  .hero__h span { color: var(--brand-ink); }
  .wa__in .h2 { color: #fff; }
}
