/* =========================================================
   BYB Etiket A.S. — site stilleri
   ========================================================= */
:root {
  --navy: #02007e;
  --ink: #0f0e33;
  --dark: #08073a;
  --cyan: #00a3da;
  --cyan-light: #7fd6f2;
  --text: #3a3d55;
  --muted: #6b6f86;
  --grey: #f3f4f7;
  --line: #e1e3ea;
  --header-h: 80px;
  --font: "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.1; }
p, ul, ol, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.flag { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 12px; }

/* Fotograf kose kesim isaretleri */
.crop { position: relative; }
.crop::before {
  --m: rgba(15, 14, 51, .45);
  content: ""; position: absolute; inset: -14px; pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) top left / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 1px 12px no-repeat;
}

/* ---------- Ortak ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-grey { background: var(--grey); }

h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.015em; }

.label {
  display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px;
  font: 600 .88rem/1 var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.label span:first-child { color: var(--cyan); }
.label-light { color: rgba(255, 255, 255, .6); }
.label-light span:first-child { color: var(--cyan-light); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-head > p { justify-self: end; max-width: 500px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 2px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cyan-light); }
.btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1714a8; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .92rem; }

.linklike { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ust menu ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; background: #fff; transition: box-shadow .25s, transform .35s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 14, 51, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand img { width: 104px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 10px;
  font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 10px;
  border: 1px solid var(--line); border-radius: 2px; background: #fff;
  font: 600 .85rem var(--font); color: var(--ink); cursor: pointer;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .chev { width: 15px; height: 15px; transition: transform .2s; }
.lang.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 168px; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(15, 14, 51, .12); display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border: 0; background: none; font-size: .95rem; color: var(--ink); text-align: left; cursor: pointer;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--grey); }
.lang-menu button[aria-current="true"] { font-weight: 600; color: var(--navy); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 2px; background: #fff; cursor: pointer;
}
.nav-toggle span { height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .lang { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; display: none;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15, 14, 51, .1);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px 24px 16px; }
  .main-nav a { padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { border-bottom: 0; }
  .main-nav a::after { display: none; }
}

/* ---------- Karsilama / slider ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 900px);
  margin-top: var(--header-h); overflow: hidden; color: #fff; background: var(--dark);
}
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.05); transform: scale(1.04); transition: transform 8s ease-out; }
.slide.is-active img { transform: scale(1); }
/* Lacivert duotone (eski sitedeki tondan) */
.hero-tint { position: absolute; inset: 0; background: #2620a8; mix-blend-mode: multiply; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 3, 40, .85) 0%, rgba(4, 3, 40, .2) 55%, rgba(4, 3, 40, .1) 100%), linear-gradient(90deg, rgba(4, 3, 40, .55) 0%, rgba(4, 3, 40, 0) 60%); }

.hero-content { position: relative; z-index: 2; padding: 120px 0 150px; }
.hero-texts { display: grid; }
.hero-text { grid-area: 1 / 1; max-width: 760px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s; }
.hero-text.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
.hero-kicker { margin-bottom: 18px; font: 600 1rem/1 var(--font-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-light); }
.hero-title { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 600; line-height: .95; letter-spacing: -.025em; color: #fff; }
.hero .lead { max-width: 520px; margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-bottom-inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.hero-count { font-family: var(--font-cond); white-space: nowrap; }
.hero-count b { font-size: 1.6rem; font-weight: 600; }
.hero-count span { margin-left: 6px; color: rgba(255, 255, 255, .5); }
.hero-caps { display: grid; flex: 1; min-width: 0; }
.hero-cap { grid-area: 1 / 1; font-size: .95rem; color: rgba(255, 255, 255, .75); opacity: 0; transition: opacity .6s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-cap.is-active { opacity: 1; }
.hero-progress { width: 140px; height: 2px; background: rgba(255, 255, 255, .2); }
.hero-progress i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero.run .hero-progress i { animation: prog var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .hero-progress i { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.hero-arrow:hover { background: #fff; color: var(--navy); }

/* ---------- Giris ---------- */
.intro { padding: clamp(64px, 8vw, 104px) 0; }
.intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
/* YouTube filminden kesilen fragman: doner, tiklayinca YouTube'da acilir */
.intro-film { position: relative; display: block; overflow: hidden; aspect-ratio: 1280 / 618; background: #000; color: #fff; text-decoration: none; }
.intro-film video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.intro-film:hover video { transform: scale(1.04); }
.intro-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 3, 40, .75) 0%, rgba(4, 3, 40, 0) 50%); pointer-events: none; }
.intro-film-cap { position: absolute; z-index: 1; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2vw, 24px); display: flex; align-items: center; gap: 22px; }
.intro-film-cap b { display: block; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; }
.intro-film-cap span span { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.intro-film:hover .intro-film-cap span span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.facts div { padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font: 600 clamp(2rem, 3.4vw, 2.6rem)/1 var(--font-cond); color: var(--navy); }
.facts dd { margin-top: 6px; font-size: .95rem; color: var(--muted); }

/* ---------- Hakkimizda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-text h2 { margin-bottom: 26px; }
.about-text p { font-size: 1.07rem; }
.about-text p + p { margin-top: 16px; }

.years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(64px, 8vw, 104px); padding: 0; list-style: none; }
.years li { padding-top: 18px; border-top: 1px solid #cfd2dc; }
.years b { display: block; font: 600 2.6rem/1 var(--font-cond); color: var(--navy); }
.years h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.years p { font-size: .97rem; color: var(--muted); }

/* Fabrikamizdan: kesintisiz kayan fotograf seridi */
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: clamp(64px, 8vw, 104px) 0 24px; }
.gallery-title { font-size: 1.3rem; }
.gallery-hint { font: 500 .85rem/1 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.marquee {
  --h: clamp(240px, 26vw, 370px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track { display: flex; gap: 16px; width: max-content; padding-left: 16px; }
.marquee.is-running .marquee-track { animation: marquee var(--dur, 80s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(var(--shift, -50%)); } }

.m-item { position: relative; flex: none; overflow: hidden; }
.g-item { display: block; padding: 0; border: 0; background: #dfe1e8; cursor: zoom-in; }
.g-item img { height: var(--h); width: auto; max-width: none; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.m-item:hover .g-item img { transform: scale(1.05); }
.m-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: baseline;
  padding: 40px 16px 14px; color: #fff; font-size: .92rem; pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 3, 40, .8), rgba(4, 3, 40, 0));
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.m-item figcaption b { font: 600 .85rem/1 var(--font-cond); letter-spacing: .08em; color: var(--cyan-light); }
.m-item:hover figcaption, .m-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .m-item figcaption { opacity: 1; transform: none; } }

/* Hareket azaltma tercihinde: elle kaydirilan serit */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Eski sitedeki YouTube logosu + tiklayan el */
.yt-hand { position: relative; flex: none; width: 76px; height: 52px; }
.yt-logo { width: 76px; height: auto; }
.yt-hand .hand { position: absolute; left: 44px; top: 26px; width: 28px; height: auto; filter: invert(1); animation: tap 2.4s ease-in-out infinite; }
.yt-hand .tik { position: absolute; left: 44px; top: 14px; width: 22px; height: auto; filter: invert(1); opacity: .9; }
@keyframes tap { 0%, 60%, 100% { transform: translate(0, 0); } 70% { transform: translate(-2px, -4px); } 80% { transform: translate(0, 0); } }

/* ---------- Makina parkuru ---------- */
.machine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 44px 28px; }
.machine { grid-column: span 6; }
.m-7 { grid-column: span 7; } .m-5 { grid-column: span 5; }
.m-8 { grid-column: span 8; } .m-4 { grid-column: span 4; }
.m-img { overflow: hidden; height: clamp(240px, 27vw, 390px); background: #dfe1e8; }
.m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.machine:hover .m-img img { transform: scale(1.06); }
.machine img.pos-top { object-position: center 35%; }
.machine figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 14px; }
.machine figcaption b { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.machine figcaption span { font: 500 .9rem/1.2 var(--font-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }

.sub-title { margin-bottom: 22px; font-size: 1.3rem; }
.techniques { margin-top: clamp(56px, 7vw, 88px); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tech-grid > div { padding-top: 16px; border-top: 2px solid var(--navy); }
.tech-grid h4, .steps h4 { margin-bottom: 8px; font-size: 1.1rem; }
.tech-grid p, .steps p { font-size: .97rem; color: var(--muted); }


/* ---------- Hizmet / kalite ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; border-top: 1px solid #cfd2dc; border-left: 1px solid #cfd2dc; }
.certs li { padding: 30px 28px; border-right: 1px solid #cfd2dc; border-bottom: 1px solid #cfd2dc; background: #fff; transition: background-color .35s; }
.certs li b, .certs li span { transition: color .35s; }
.certs li:hover { background: var(--navy); }
.certs li:hover b, .certs li:hover span { color: #fff; }
.certs li.cert-green:hover b { color: #9be7b4; }
.certs b { display: block; font: 600 2.1rem/1 var(--font-cond); color: var(--navy); letter-spacing: .01em; }
.certs span { display: block; margin-top: 10px; font-size: .97rem; color: var(--muted); }
.certs .cert-green b { color: #17733a; }

.process { margin-top: clamp(64px, 8vw, 104px); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 0; list-style: none; }
.steps li { padding-top: 16px; border-top: 1px solid #cfd2dc; }
.step-no { display: block; margin-bottom: 10px; font: 600 1rem/1 var(--font-cond); letter-spacing: .08em; color: var(--cyan); }

.software { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 104px); }
.software h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.software p + p { margin-top: 14px; }
.software img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Sektorler ---------- */
/* Urun kolaji (eski siteden) */
.sector-visual { max-width: 1040px; margin: 0 auto; }
.sector-visual img { width: 100%; height: auto; }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 56px; padding: 0; list-style: none; }
.sectors li { position: relative; padding: 22px 0 26px; border-top: 1px solid #cfd2dc; }
.sectors h3 { margin-bottom: 6px; font-size: 1.2rem; }
.sectors p { color: var(--muted); }

/* ---------- Iletisim ---------- */
.contact { background: var(--dark); color: rgba(255, 255, 255, .78); }
.contact h2 { color: #fff; margin-bottom: 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 7vw, 100px); }
.big-link { display: block; width: fit-content; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.45; color: #fff; text-decoration: none; }
.big-link:hover { color: var(--cyan-light); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 2px;
  color: #fff; transition: background-color .2s, color .2s, border-color .2s;
}
.social:hover { background: #fff; color: var(--navy); border-color: #fff; }
.social .ic { width: 20px; height: 20px; }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; align-content: start; }
.office p { font-size: 1rem; margin-bottom: 12px; }
.office a { text-decoration: none; }
.office a:hover { color: #fff; text-decoration: underline; }
.office-tag { display: flex; align-items: center; gap: 10px; font: 600 .88rem/1 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-light) !important; }
.office h3 { margin-bottom: 14px; font-size: 1.15rem; color: #fff; }
.map-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.map-link:hover { text-decoration: none !important; color: var(--cyan-light); border-color: var(--cyan-light); }
.members { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
.member { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.member img { flex: none; height: auto; }
.m-kalder { width: 110px; }
.m-tekmer { width: 150px; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: #05042a; color: rgba(255, 255, 255, .65); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 0 36px; }
.footer-logo { width: 116px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; list-style: none; font-size: .97rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .5); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal .linklike:hover { color: #fff; }

/* Sabit WhatsApp butonu; "yukari cik" bunun ustunde durur */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 75; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: #1ebe5a; }
.wa-float .ic { width: 30px; height: 30px; }
.cookie-open .wa-float { display: none; }

.to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 70; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 2px; background: var(--navy); color: #fff; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; }
.cookie-open .to-top { display: none; }

/* ---------- Cerez bildirimi ---------- */
.cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100% - 40px));
  padding: 22px 22px 20px; background: #fff; color: var(--text);
  border-top: 3px solid var(--navy); box-shadow: 0 18px 50px rgba(15, 14, 51, .22);
}
.cookie p { padding-right: 26px; font-size: .93rem; line-height: 1.5; }
.cookie .linklike { font-weight: 600; color: var(--navy); }
.cookie-actions { display: flex; gap: 8px; margin-top: 16px; }
.cookie-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.cookie-x:hover { color: var(--ink); }

/* ---------- Diyaloglar ---------- */
dialog { width: 100%; max-width: min(620px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 2px; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(5, 4, 42, .6); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.3rem; }
.dlg-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 2px; background: var(--grey); color: var(--ink); cursor: pointer; }
.dlg-close:hover { background: var(--line); }
.dlg-body { max-height: 64vh; overflow: auto; padding: 22px 26px; font-size: .97rem; }
.dlg-body p + p { margin-top: 12px; }
.dlg-body a { color: var(--navy); font-weight: 600; }
.dlg-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row h3 { font-size: 1.02rem; margin-bottom: 2px; }
.toggle-row p { font-size: .9rem; color: var(--muted); margin: 0 !important; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd3e3; transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.lightbox { max-width: min(1100px, 94vw); background: transparent; box-shadow: none; overflow: visible; }
.lightbox img { max-height: 84vh; margin: 0 auto; }
.lb-caption { margin-top: 10px; text-align: center; color: #fff; }
.lb-close { position: absolute; top: -14px; right: -14px; z-index: 1; background: #fff; }

/* ---------- Duyarli ---------- */
@media (max-width: 960px) {
  .intro-grid, .section-head, .about-grid, .software, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .section-head > p { justify-self: start; }
  .years { grid-template-columns: 1fr 1fr; }
  .machine-grid { gap: 36px 20px; }
  .machine, .m-7, .m-5, .m-8, .m-4 { grid-column: span 6; }
  .m-img { height: clamp(200px, 34vw, 300px); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .software .crop { order: -1; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 36px); }
  .brand img { width: 88px; }
  .hero-content { padding: 90px 0 120px; }
  .hero-caps, .hero-progress { display: none; }
  .intro-film { aspect-ratio: 16 / 10; }
  .intro-film-cap { gap: 14px; }
  .intro-film-cap .yt-hand { transform: scale(.8); transform-origin: left center; }
  .hero-bottom-inner { height: 72px; justify-content: space-between; }
  .years { grid-template-columns: 1fr; gap: 24px; }
  .machine, .m-7, .m-5, .m-8, .m-4 { grid-column: span 12; }
  .m-img { height: 230px; }
  .tech-grid, .steps { grid-template-columns: 1fr; gap: 22px; }
  .certs { grid-template-columns: 1fr 1fr; }
  .certs li { padding: 22px 18px; }
  .certs b { font-size: 1.6rem; }
  .sectors { grid-template-columns: 1fr; margin-top: 32px; }
  .members { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .dlg-head, .dlg-body, .dlg-foot { padding-left: 18px; padding-right: 18px; }
}

/* =========================================================
   Hareketli dokunuslar
   ========================================================= */

/* Kayan yazi bandi */
.ticker { overflow: hidden; padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ticker-track { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; padding-left: clamp(22px, 3vw, 44px); }
.ticker.is-running .ticker-track { animation: marquee var(--dur, 40s) linear infinite; }
.ticker span {
  font: 600 clamp(2.2rem, 6vw, 4.8rem)/1 var(--font-cond); letter-spacing: .01em; text-transform: uppercase;
  color: var(--navy); white-space: nowrap;
}
.ticker span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
/* Ayrac: matbaa kayit isareti */
.ticker i {
  flex: none; position: relative; width: clamp(22px, 2.6vw, 34px); height: clamp(22px, 2.6vw, 34px);
  border: 2px solid var(--cyan); border-radius: 50%;
}
.ticker i::before, .ticker i::after { content: ""; position: absolute; background: var(--cyan); }
.ticker i::before { left: 50%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; }
.ticker i::after { top: 50%; left: -6px; right: -6px; height: 2px; margin-top: -1px; }

/* Kaydirinca metinlerin belirmesi */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* Tarihce, sektor ve siparis adimlarinda ust cizgi soldan saga cizilir */
.js .years li, .js .steps li { position: relative; }
.js .years li::before, .js .steps li::before, .js .sectors li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--d, 0s) + .2s);
}
.js .years li.in::before, .js .steps li.in::before, .js .sectors li.in::before { transform: scaleX(1); }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .years li::before, .js .steps li::before, .js .sectors li::before { transform: scaleX(1); }
}
