/* =========================================================
   Movisoft Otomasyon – Genel stil
   ========================================================= */
:root {
  --navy: #0b1b2e;
  --navy-2: #12283f;
  --navy-3: #1b3756;
  --ink: #142233;
  --muted: #5b6b7d;
  --line: #e2e7ee;
  --bg: #f4f6f9;
  --white: #fff;
  --accent: #0a72c2;
  --accent-d: #075a9b;
  --steel: #1f6fb2;
  --ok: #1f9d6b;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 27, 46, .25);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--accent-d); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; color: var(--navy); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { flex: none; vertical-align: middle; }
.eyebrow { display: inline-block; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tag { display: inline-block; font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; background: var(--accent); color: #fff; }
.empty { color: var(--muted); padding: 40px 24px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--body); padding: 12px 18px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-d); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; transition: .2s; }
.icon-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Üst bilgi bandı ---------- */
.topbar { background: var(--navy); color: #c5d0dc; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #c5d0dc; }
.topbar a:hover { color: #fff; }
.topbar__info, .topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__info a, .topbar__info span { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.topbar__admin { display: inline-flex; gap: 5px; align-items: center; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.15); }

/* ---------- Ana menü (mega menü) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 rgba(11,27,46,.02); }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 42px; height: 42px; color: var(--navy); }
.brand__logo { height: 60px; width: auto; display: block; }
@media (max-width: 640px) { .brand__logo { height: 48px; } }
.brand__logo--foot { height: 62px; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 700 25px/1 var(--head); letter-spacing: .02em; }
.brand__txt small { font: 500 12px/1.3 var(--body); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__mark { color: #fff; }
.brand--light small { color: #8fa3b8; }

.menu { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: 76px; }
.menu__item { display: flex; align-items: center; }
.menu__link { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 14px; font: 600 16px/1 var(--body); color: var(--navy); position: relative; }
.menu__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.menu__item:hover .menu__link, .menu__item:focus-within .menu__link { color: var(--accent-d); }
.menu__item:hover .menu__link::after, .menu__item:focus-within .menu__link::after { transform: scaleX(1); }
.menu__link .ic { transition: transform .2s; opacity: .6; }
.menu__item:hover .menu__link .ic { transform: rotate(180deg); }
.menu__expand { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -20px rgba(11,27,46,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.menu__item:hover > .mega, .menu__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-top: 34px; padding-bottom: 38px; }
.mega__intro { border-right: 1px solid var(--line); padding-right: 34px; }
.mega__intro h3 { font-size: 30px; text-transform: uppercase; }
.mega__intro p { color: var(--muted); margin: 0 0 18px; }
.mega__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-d); }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 22px; }
.mega__grid a { display: block; padding: 12px 14px; border-radius: 8px; border-left: 3px solid transparent; transition: .15s; }
.mega__grid a:hover { background: var(--bg); border-left-color: var(--accent); }
.mega__grid strong { display: block; color: var(--navy); font-size: 16px; }
.mega__grid span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }

/* ---------- Ana sayfa vitrini (3 kayan galeri) ---------- */
.showcase { background: var(--navy); color: #fff; padding: 34px 0 48px; }
.showcase__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.showcase__head h1 { color: #fff; font-size: clamp(34px, 4vw, 52px); text-transform: uppercase; margin: 0; }
.showcase__ctrl { display: flex; align-items: center; gap: 8px; }
.showcase__count { font: 600 15px/1 var(--head); letter-spacing: .1em; color: #8fa3b8; margin-right: 6px; min-width: 44px; text-align: right; }
.showcase__rot { height: 3px; background: rgba(255,255,255,.08); width: min(calc(var(--wrap) - 48px), calc(100% - 48px)); margin: 0 auto 18px; border-radius: 2px; overflow: hidden; }
.showcase__rot span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; animation: rot linear infinite; }
.showcase.is-paused .showcase__rot span { animation-play-state: paused; }
@keyframes rot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.showcase__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; height: 580px; width: min(calc(var(--wrap) - 48px), calc(100% - 48px)); margin: 0 auto; }
.sc-band > * { flex-shrink: 0; }
.sc-panel { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }

.sc-band { position: relative; z-index: 2; padding: 18px 24px 16px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); border-bottom: 3px solid var(--accent); height: 238px; flex: none; display: flex; flex-direction: column; }
.sc-band__meta { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; margin-bottom: 12px; min-width: 0; }
.sc-band__meta .tag { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-band__loc { white-space: nowrap; flex: none; }
.sc-band__loc { display: inline-flex; gap: 5px; align-items: center; font-size: 14px; color: #a9b8c8; }
.sc-band__title { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.12; margin: 0 0 6px; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-band__title a { color: #fff; }
.sc-band__title a:hover { color: var(--accent); }
.sc-band__sum { color: #c5d0dc; font-size: 15px; line-height: 1.5; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-band__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sc-band__tech { display: flex; gap: 6px; flex-wrap: wrap; overflow: hidden; max-height: 26px; }
.sc-band__tech em { font-style: normal; font-size: 12px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; color: #c5d0dc; white-space: nowrap; }
.sc-band__link { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sc-band__link:hover { color: #fff; }

.sc-slider { position: relative; flex: 1; overflow: hidden; background: #050d17; touch-action: pan-y; user-select: none; }
.sc-slider .sc-item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s ease-out; }
.sc-slider .sc-item.is-on { opacity: 1; transform: scale(1); z-index: 1; }
.sc-slider video.sc-item { transform: none; transition: opacity .8s ease; }
.sc-slider img.sc-item { -webkit-user-drag: none; pointer-events: none; }
.sc-slider::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,13,23,.35), transparent 30%, transparent 75%, rgba(5,13,23,.55)); pointer-events: none; }
.sc-dots { position: absolute; z-index: 3; left: 26px; bottom: 18px; display: flex; gap: 6px; }
.sc-dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.4); transition: .3s; cursor: pointer; position: relative; }
.sc-dots button::before { content: ''; position: absolute; inset: -8px -2px; }
.sc-dots button.is-video { width: 14px; height: 14px; border-radius: 50%; margin-top: -5px; background: rgba(255,255,255,.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%230b1b2e'/%3E%3C/svg%3E") center/10px no-repeat; }
.sc-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(11,27,46,.6); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.sc-nav--p { left: 12px; } .sc-nav--n { right: 12px; }
.sc-slider:hover .sc-nav, .sc-nav:focus-visible { opacity: 1; }
.sc-nav:hover { background: var(--accent); }
@media (hover: none) { .sc-nav { opacity: .75; width: 36px; height: 36px; } }
.sc-dots button.is-on { background-color: var(--accent); width: 36px; }
.sc-dots button.is-video.is-on { width: 14px; }

/* set değişim animasyonu */
.sc-panel.is-out .sc-band, .sc-panel.is-out .sc-slider { opacity: 0; transform: translateY(-14px); }
.sc-panel .sc-band, .sc-panel .sc-slider { transition: opacity .5s ease, transform .5s ease; }
.sc-panel.is-out .sc-slider { transform: translateY(14px); }

/* ---------- Projelere geçiş bandı ---------- */
.gateway { background: var(--accent); color: #fff; }
.gateway__in { display: grid; grid-template-columns: minmax(340px, 1.1fr) 2fr auto; gap: 30px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.gateway h2 { color: #fff; font-size: 32px; text-transform: uppercase; margin: 0 0 4px; }
.gateway p { margin: 0; color: #fff3e3; }
.gateway__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 30px; background: rgba(255,255,255,.16); color: #fff; font-weight: 600; font-size: 14px; transition: .2s; }
.chip b { background: #fff; color: var(--accent-d); border-radius: 20px; padding: 1px 8px; font-size: 12px; }
.chip:hover { background: var(--navy); color: #fff; }
.gateway__go { display: flex; align-items: center; gap: 12px; padding: 18px 26px; background: var(--navy); color: #fff; border-radius: 8px; font: 700 24px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; transition: .2s; }
.gateway__go:hover { color: #fff; background: #000; gap: 20px; }

/* ---------- Tanıtım + istatistik ---------- */
.intro { padding: 90px 0; background: var(--bg); }
.intro__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; margin-bottom: 46px; }
.intro__visual { margin: 0; }
.intro__visual img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(11,27,46,.18)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 30px 26px; }
.stat b { display: block; font: 700 50px/1 var(--head); color: var(--navy); }
.stat span { color: var(--muted); font-weight: 500; }

.prose { font-size: 17px; }
.prose h2 { font-size: clamp(28px, 6vw, 38px); text-transform: uppercase; overflow-wrap: break-word; }
.intro__grid > * { min-width: 0; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul li::marker { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--bg); }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1.2em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* ---------- Sahadan kareler (sonsuz kayan şerit) ---------- */
.strip { padding: 60px 0 10px; overflow: hidden; }
.strip__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__row { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip__row:hover { animation-play-state: paused; }
.strip figure { margin: 0; width: 380px; flex: none; position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 14px 10px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Uzmanlık alanları ---------- */
.areas { padding: 90px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: 42px; text-transform: uppercase; margin: 0; }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; transition: .2s; overflow: hidden; }
.area::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: .25s; }
.area:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.area:hover::before { transform: scaleY(1); }
.area__no { font: 700 15px/1 var(--head); color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.area h3 { font-size: 26px; text-transform: uppercase; }
.area p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.area__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--navy); }

/* ---------- Referanslar ---------- */
.refstrip { background: #fff; padding: 34px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.refstrip__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.refstrip__head .eyebrow { margin: 0; }
.refstrip__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.refstrip__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.refstrip__row { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.refstrip__row:hover { animation-play-state: paused; }
.refstrip__item { flex: none; width: 200px; height: 104px; display: grid; place-items: center; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.refstrip__item img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.refstrip__item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.refstrip__item:hover img { transform: scale(1.05); }
.refs-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.refs-grid li > a, .refs-grid li > img { display: block; }
.refs-grid li { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.refs-grid li:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.refs-grid a { display: block; color: var(--ink); }
.refs-grid img { display: block; width: 100%; height: 110px; object-fit: contain; padding: 20px 24px 8px; transition: transform .25s; }
.refs-grid li:hover img { transform: scale(1.04); }
.refs-grid span { display: block; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 0 12px 14px; }
@media (max-width: 640px) { .refstrip__item { width: 150px; height: 84px; padding: 12px 16px; } .refstrip__item img { max-height: 48px; } .refs-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA + Footer ---------- */
.cta-band { background: var(--navy-2); color: #fff; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.cta-band p { margin: 0; font: 600 clamp(22px, 2.6vw, 32px)/1.2 var(--head); text-transform: uppercase; }
.footer { background: var(--navy); color: #a9b8c8; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 64px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 20px; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #c5d0dc; }
.footer a:hover { color: var(--accent); }
.footer__legal { font-size: 13px; letter-spacing: .03em; color: #8fa3b8; margin: 18px 0 10px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { margin-top: 4px; color: var(--accent); }
.footer__tax { font-size: 13px; margin-top: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.footer__bottom-in { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.footer__bottom a { display: inline-flex; gap: 6px; align-items: center; color: #8fa3b8; }

/* ---------- Projeler sayfası ---------- */
.projects main { background: var(--bg); }
.pj { display: grid; grid-template-columns: 320px 1fr; gap: 34px; padding-top: 34px; padding-bottom: 70px; align-items: start; }
.pj__side { position: sticky; top: 96px; }
.pj__side-in { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 120px); overflow: auto; }
.pj__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); margin-bottom: 10px; }
.pj__search input { flex: 1; border: 0; outline: 0; padding: 11px 0; font: inherit; background: transparent; color: var(--ink); }
.pj__search:focus-within { border-color: var(--accent); }
.pj__all { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px; font-weight: 600; color: var(--navy); }
.pj__all.is-active, .pj__all:hover { background: var(--bg); color: var(--accent-d); }
.tree { list-style: none; margin: 4px 0 0; padding: 0; }
.tree__cat { border-top: 1px solid var(--line); }
.tree__toggle { width: 100%; display: flex; align-items: center; gap: 9px; padding: 13px 10px; background: none; border: 0; cursor: pointer; font: 600 15.5px/1.25 var(--body); color: var(--navy); text-align: left; }
.tree__toggle span { flex: 1; }
.tree__toggle b { font-size: 12px; background: var(--bg); color: var(--muted); border-radius: 20px; padding: 2px 8px; }
.tree__toggle > .ic:first-child { color: var(--accent); }
.tree__toggle > .ic:last-child { transition: transform .2s; color: var(--muted); }
.tree__cat.is-open .tree__toggle > .ic:last-child { transform: rotate(180deg); }
.tree__list { list-style: none; margin: 0; padding: 0 0 10px 18px; display: none; }
.tree__cat.is-open .tree__list { display: block; }
.tree__list a { display: block; padding: 8px 12px; border-left: 2px solid var(--line); color: var(--ink); font-size: 14.5px; line-height: 1.35; transition: .15s; }
.tree__list a:hover { border-left-color: var(--accent); background: var(--bg); color: var(--navy); }
.tree__list a.is-active { border-left-color: var(--accent); background: #eaf3fb; color: var(--accent-d); font-weight: 600; }
.tree__empty { padding: 6px 12px; color: var(--muted); font-size: 14px; font-style: italic; }
.tree .is-hidden { display: none !important; }

.pj__main { min-width: 0; transition: opacity .25s; }
.pj__main.is-loading { opacity: .35; pointer-events: none; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-d); }
.crumbs span { color: var(--ink); }
.crumbs--light, .crumbs--light a { color: #a9b8c8; }
.crumbs--light span { color: #fff; }

.pd { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.pd__head h1 { font-size: clamp(32px, 3.4vw, 50px); text-transform: uppercase; margin: 14px 0 10px; }
.pd__lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 820px; }
.gal { margin-bottom: 28px; }
.gal__stage { position: relative; aspect-ratio: 16/9; background: #050d17; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.gal__stage .gal__item { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.gal__stage .gal__item.is-on { opacity: 1; z-index: 1; }
.gal__stage video.gal__item { object-fit: contain; background: #000; visibility: hidden; }
.gal__stage video.gal__item.is-on { visibility: visible; }
.gal.is-video .gal__stage { cursor: default; }
.gal.is-video .gal__cap { display: none; }
.gal__stage { touch-action: pan-y; }
.gal__nav { z-index: 3 !important; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(11,27,46,.65); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.gal__nav:hover { background: var(--accent); }
.gal__nav--p { left: 14px; } .gal__nav--n { right: 14px; }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; gap: 10px; padding: 26px 18px 12px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gal__thumbs button { flex: none; width: 110px; aspect-ratio: 16/10; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .6; transition: .2s; background: none; }
.gal__thumbs button.is-on, .gal__thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gal__thumbs img, .gal__thumbs video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gal__thumbs button { position: relative; }
.vbadge { position: absolute; left: 6px; bottom: 6px; background: rgba(11,27,46,.8); color: #fff; font-size: 10px; line-height: 1; padding: 4px 6px; border-radius: 4px; pointer-events: none; }
.card__img { position: relative; }
.pd__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0 0 26px; }
.pd__facts div { background: #fff; padding: 14px 18px; }
.pd__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pd__facts dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); }
.pd__tech { margin-bottom: 30px; }
.pd__tech h3 { font-size: 20px; text-transform: uppercase; }
.pd__tech div { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__tech span { padding: 7px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; font-size: 14px; font-weight: 500; }
.psr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.psr__card { position: relative; padding: 24px; border-radius: 8px; background: var(--bg); border-top: 4px solid var(--navy-3); }
.psr__card--solution { border-top-color: var(--accent); }
.psr__card--result { border-top-color: var(--ok); background: #eef8f3; }
.psr__card span { font: 700 34px/1 var(--head); color: rgba(11,27,46,.12); position: absolute; right: 18px; top: 16px; }
.psr__card h3 { font-size: 22px; text-transform: uppercase; }
.psr__card p { margin: 0; font-size: 15.5px; }
.pd__body { border-top: 1px solid var(--line); padding-top: 26px; }
.pd__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.pd__pn a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 600; transition: .2s; }
.pd__pn a:hover { border-color: var(--accent); background: #f1f7fd; }
.pd__pn a.is-next { text-align: right; }
.pd__pn small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.ov__head { margin-bottom: 26px; }
.ov__head h1 { font-size: clamp(34px, 3.6vw, 52px); text-transform: uppercase; margin: 0 0 8px; }
.ov__head p { color: var(--muted); margin: 0; max-width: 760px; }
.ov__group { margin-bottom: 38px; }
.ov__group h2 { font-size: 26px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.ov__group h2 small { font: 600 13px/1 var(--body); background: var(--accent); color: #fff; padding: 4px 8px; border-radius: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: .2s; display: flex; flex-direction: column; }
.card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { aspect-ratio: 16/10; background: var(--navy); overflow: hidden; }
.card__img img, .card__img video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.card:hover .card__img img, .card:hover .card__img video { transform: scale(1.05); }
.card__body { padding: 16px 18px 20px; }
.card__meta { font-size: 13px; color: var(--accent-d); font-weight: 600; }
.card h3 { font-size: 21px; text-transform: uppercase; margin: 4px 0 6px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,13,23,.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox__x { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 14px; }
.lightbox__nav--p { left: 10px; } .lightbox__nav--n { right: 10px; }

/* ---------- İçerik sayfaları ---------- */
.phero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.phero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 60px solid rgba(10,114,194,.16); border-radius: 50%; }
.phero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 60px); text-transform: uppercase; margin: 0 0 8px; }
.phero p { color: #c5d0dc; font-size: 19px; margin: 0; max-width: 760px; }
.pg { padding-top: 46px; padding-bottom: 80px; }
.pg--side { display: grid; grid-template-columns: 260px 1fr; gap: 46px; align-items: start; }
.pg__side { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pg__side h4 { font-size: 20px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.pg__side ul { list-style: none; margin: 0; padding: 0; }
.pg__side a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-weight: 500; }
.pg__side a:hover, .pg__side a.is-active { background: var(--bg); color: var(--accent-d); }
.pg__main { min-width: 0; max-width: 960px; }
.slider { position: relative; aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; background: var(--navy); margin-bottom: 34px; }
.slider__track { position: absolute; inset: 0; }
.slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.slider__slide.is-on { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 40px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(11,27,46,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.slider__nav:hover { background: var(--accent); }
.slider__nav--p { left: 14px; } .slider__nav--n { right: 14px; }
.slider__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.slider__dots button.is-on { background: var(--accent); width: 26px; border-radius: 5px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.ccard { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.ccard .ic { color: var(--accent); }
.ccard h4 { margin: 10px 0 6px; font-size: 20px; text-transform: uppercase; }
.ccard p { margin: 0; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); margin-top: 10px; }

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 1180px) {
  .menu__link { padding: 0 9px; font-size: 15px; }
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .gateway__in { grid-template-columns: 1fr; }
  .gateway__go { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sc-band { padding: 16px 18px; }
}
@media (max-width: 1020px) {
  .topbar .topbar__hours { display: none; }
  .nav__toggle { display: block; }
  .nav__in { min-height: 66px; }
  .menu { position: fixed; top: var(--navb, 104px); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 10px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  body.nav-open .menu { transform: none; }
  body.nav-open { overflow: hidden; }
  .menu__list { flex-direction: column; height: auto; }
  .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu__link { flex: 1; height: auto; padding: 16px 4px; font-size: 18px; }
  .menu__link::after, .menu__link .ic { display: none; }
  .menu__expand { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--navy); cursor: pointer; }
  .menu__item.is-open .menu__expand .ic { transform: rotate(180deg); }
  .mega { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .menu__item:hover > .mega { display: none; }
  .menu__item.is-open > .mega { display: block; }
  .mega__in { grid-template-columns: 1fr; padding: 0 0 14px; gap: 0; }
  .mega__intro { display: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .nav__cta { justify-content: center; margin-top: 18px; }
  .showcase__grid { grid-template-columns: 1fr; height: auto; gap: 16px; width: calc(100% - 32px); }
  .showcase__rot { width: calc(100% - 32px); }

  .sc-band { height: auto; }
  .sc-slider { flex: none; height: 56vw; max-height: 420px; }
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .areas__grid { grid-template-columns: 1fr 1fr; }
  .pj { grid-template-columns: 1fr; }
  .pj__side { position: static; }
  .pj__side-in { max-height: none; }
  .psr { grid-template-columns: 1fr; }
  .pg--side { grid-template-columns: 1fr; }
  .pg__side { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .topbar__info a:nth-child(2), .topbar__links a:not(.topbar__admin) { display: none; }
  .topbar__admin { border-left: 0; padding-left: 0; }

  .showcase__ctrl { width: 100%; flex-wrap: wrap; }
  .showcase__ctrl .btn { flex: 1; justify-content: center; }
  .areas__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-in { flex-direction: column; }
  .pd { padding: 20px; }
  .pd__pn { grid-template-columns: 1fr; }
  .stat b { font-size: 38px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .strip figure { width: 240px; }
  .slider { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* =========================================================
   Telefon ve tablet düzenlemeleri (sıkışıklık / uzunluk)
   ========================================================= */
.pj__treebtn { display: none; }
@media (max-width: 1020px) {
  /* Proje vitrini: alt alta yerine yana kaydırılan kartlar */
  .showcase { padding: 24px 0 30px; }
  .showcase__head { margin-bottom: 14px; }
  .showcase__rot { width: calc(100% - 32px); margin-bottom: 14px; }
  .showcase__grid { display: flex; height: auto; width: 100%; gap: 12px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .showcase__grid::-webkit-scrollbar { display: none; }
  .sc-panel { flex: 0 0 84%; max-width: 420px; scroll-snap-align: start; }
  .sc-band { height: auto; padding: 14px 16px 12px; }
  .sc-band__meta { margin-bottom: 8px; }
  .sc-band__title { font-size: 20px; }
  .sc-band__sum { font-size: 14px; margin-bottom: 10px; }
  .sc-slider { flex: none; height: 210px; max-height: none; touch-action: auto; }
  .sc-dots { left: 16px; bottom: 12px; }

  /* Projeler sayfası: ağaç açılır-kapanır */
  .pj { gap: 16px; padding-top: 16px; }
  .pj__treebtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font: 600 16px/1.2 var(--body); color: var(--navy); cursor: pointer; text-align: left; }
  .pj__treebtn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pj__treebtn b { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
  .pj__treebtn .ic:first-child { color: var(--accent); }
  .pj__treebtn .ic:last-child { transition: transform .2s; }
  .pj__side.is-open .pj__treebtn { border-radius: var(--radius) var(--radius) 0 0; border-bottom-color: transparent; }
  .pj__side.is-open .pj__treebtn .ic:last-child { transform: rotate(180deg); }
  .pj__side-in { display: none; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .pj__side.is-open .pj__side-in { display: block; }

  /* İçerik sayfaları: yan menü yatay kaydırılan etiketler */
  .pg { padding-top: 24px; padding-bottom: 48px; }
  .pg--side { gap: 22px; }
  .pg--side > * { min-width: 0; }
  .pg__side { min-width: 0; max-width: 100%; }
  .pg__side { border: 0; padding: 0; }
  .pg__side h4 { display: none; }
  .pg__side ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pg__side ul::-webkit-scrollbar { display: none; }
  .pg__side a { white-space: nowrap; border: 1px solid var(--line); border-radius: 30px; padding: 8px 14px; font-size: 14.5px; }
  .pg__side a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
}
@media (max-width: 640px) {
  .intro, .areas { padding: 48px 0; }
  .strip { padding: 36px 0 6px; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 30px; }

  .showcase__head h1 { font-size: 30px; }
  .showcase__ctrl { flex-wrap: nowrap; gap: 6px; }
  .showcase__ctrl .icon-btn { width: 36px; height: 36px; }
  .showcase__ctrl .btn { flex: 1; padding: 10px 12px; font-size: 14px; }
  .showcase__count { min-width: 34px; margin-right: 0; font-size: 14px; }

  .gateway__in { gap: 16px; padding-top: 24px; padding-bottom: 24px; }
  .gateway h2 { font-size: 24px; }
  .gateway p { font-size: 14.5px; }
  .gateway__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .gateway__chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .gateway__go { justify-self: stretch; justify-content: center; padding: 14px 20px; font-size: 20px; }

  .intro__grid { gap: 24px; margin-bottom: 28px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 26px; }
  .intro__visual img { max-height: 220px; width: auto; max-width: 100%; margin: 0 auto; display: block; }
  .stat { padding: 16px; }
  .stat b { font-size: 30px; }
  .stat span { font-size: 14px; }

  .areas__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area { padding: 16px 14px; }
  .area__no { margin-bottom: 8px; font-size: 13px; }
  .area h3 { font-size: 17px; margin-bottom: 10px; }
  .area p { display: none; }
  .area__foot { font-size: 13.5px; }

  .cta-band__in { padding-top: 24px; padding-bottom: 24px; gap: 14px; }
  .cta-band p { font-size: 20px; }
  .cta-band .btn--lg { padding: 13px 20px; font-size: 16px; }
  .refstrip { padding: 26px 0 30px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 40px; padding-bottom: 30px; }
  .footer__company, .footer__contact { grid-column: 1 / -1; }
  .footer h4 { font-size: 17px; margin-bottom: 10px; }
  .footer li { margin-bottom: 7px; font-size: 14px; }
  .brand__logo--foot { height: 52px; }

  .phero { padding: 28px 0 30px; }
  .phero h1 { font-size: 32px; }
  .phero p { font-size: 16px; }
  .pd { padding: 18px; }
  .pd__head h1 { font-size: 28px; }
  .pd__lead { font-size: 16px; margin-bottom: 18px; }
  .pd__facts dd { font-size: 15px; }
  .ov__head h1 { font-size: 30px; }
  .ov__group h2 { font-size: 22px; }
  .card__img { aspect-ratio: 16/9; }
  .refs-grid { gap: 10px; }
  .refs-grid img { height: 84px; padding: 14px 14px 6px; }
}
