/* T18 E-Ticaret — kurumsal site stilleri */
:root {
  --ink: #0d1b3e;          /* metin, koyu zeminler */
  --indigo: #1e1660;       /* logodaki koyu ton */
  --steel: #0f5a8c;        /* ana vurgu, bağlantılar */
  --signal: #3f8cc4;       /* devre düğümleri, odak */
  --mist: #eef2f7;         /* alternatif bölüm zemini */
  --line: #c7d1dd;         /* çizgiler */
  --paper: #ffffff;
  --muted: #4a5873;

  --f-display: "Red Hat Display", system-ui, sans-serif;
  --f-text: "Red Hat Text", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 14px;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.nav a:hover { background: var(--mist); color: var(--steel); }
.nav a[aria-current="page"] { color: var(--steel); box-shadow: inset 0 -2px 0 var(--steel); border-radius: 0; }
.nav .nav-cta a { background: var(--steel); color: #fff; margin-left: 8px; border-radius: var(--radius); box-shadow: none; }
.nav .nav-cta a:hover { background: var(--indigo); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; cursor: pointer; color: var(--ink); font: 600 .95rem var(--f-display);
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel); padding-left: 14px; }
  .nav .nav-cta a { margin: 12px 0 0; text-align: center; }
  .brand img { height: 40px; }
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: var(--radius);
  font: 600 1rem var(--f-display); text-decoration: none;
  border: 2px solid var(--steel); transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-ghost { color: var(--steel); background: transparent; }
.btn-ghost:hover { background: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Ana sayfa hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: .95fr 1.1fr; align-items: center; gap: 32px; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 52ch; }
.hero-text > * { opacity: 0; transform: translateY(8px); animation: rise .7s ease forwards; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .3s; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: scale(1); } }

.circuit .trace {
  fill: none; stroke: var(--steel); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75;
  animation: draw 1.3s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s);
}
.circuit .trace.faint { stroke: var(--line); stroke-width: 1.5; opacity: 1; }
.circuit .node {
  fill: var(--paper); stroke: var(--steel); stroke-width: 2;
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: pop .45s ease-out forwards; animation-delay: var(--d, 0s);
}
.circuit .node.solid { fill: var(--signal); stroke: none; }
.circuit .chip {
  fill: var(--paper); stroke: var(--steel); stroke-width: 2.5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1s ease forwards; animation-delay: 1.1s;
}
.circuit .pin { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: appear .3s ease forwards; animation-delay: 1.7s; }
.circuit .mark { opacity: 0; animation: appear .8s ease forwards; animation-delay: 1.9s; }
.circuit .signal { fill: var(--signal); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ---------- Künye şeridi ---------- */
.registry { background: var(--ink); color: #dbe4ef; }
.registry dl { margin: 0; display: grid; grid-template-columns: .8fr .9fr 1.1fr 1.6fr; }
.registry div { padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.registry div:first-child { border-left: 0; padding-left: 0; }
.registry dt { font-size: .85rem; color: #9fb2c9; margin-bottom: 2px; }
.registry dd { margin: 0; font-family: var(--f-display); font-weight: 600; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .registry dl { grid-template-columns: 1fr 1fr; }
  .registry div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .registry div:nth-child(-n+2) { border-top: 0; }
  .registry div:nth-child(n+3) { grid-column: 1 / -1; }
}

/* ---------- Bölümler ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: rgba(238, 242, 247, .78); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

/* Güven göstergeleri: çizgili ızgara */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.proof > div + div { padding-left: 28px; }
.proof > div:nth-child(3n+1) { padding-left: 0; }
.proof > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.proof .fig { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); margin-bottom: 10px; }
.proof .fig.word { font-size: 1.5rem; line-height: 1.2; padding-top: .9rem; color: var(--steel); }
.proof h3 { margin-bottom: 4px; font-size: 1.1rem; }
.proof p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div, .proof > div + div { padding: 24px 18px 24px 0; border-left: 0 !important; }
  .proof > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line) !important; }
}
@media (max-width: 520px) {
  .proof { grid-template-columns: 1fr; }
  .proof > div:nth-child(even) { padding-left: 0; border-left: 0 !important; }
}

/* Hizmet listesi (ana sayfa) */
.service-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-index a {
  display: grid; grid-template-columns: minmax(220px, 1fr) 2fr auto; gap: 24px; align-items: baseline;
  padding: 24px 0; text-decoration: none; color: var(--ink);
}
.service-index a:hover h3 { color: var(--steel); }
.service-index h3 { margin: 0; transition: color .2s; }
.service-index p { margin: 0; color: var(--muted); }
.service-index .go { font: 600 .95rem var(--f-display); color: var(--steel); white-space: nowrap; }
@media (max-width: 760px) {
  .service-index a { grid-template-columns: 1fr; gap: 6px; }
}

/* Hakkımızda özeti */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Kurumsal yaklaşım bandı */
.statement { background: linear-gradient(120deg, #0b4a75 0%, var(--steel) 55%, #1a6fa6 100%); color: #e8f1f8; position: relative; overflow: hidden; }
.statement::after {
  content: ""; position: absolute; inset: 0; background: url("../img/devre.webp") center/cover no-repeat;
  opacity: .08; filter: invert(1); pointer-events: none;
}
.statement .wrap { position: relative; z-index: 1; }
.statement h2 { color: #fff; max-width: 24ch; }
.statement p { max-width: 64ch; }
.statement .btn-primary { background: #fff; color: var(--steel); border-color: #fff; }
.statement .btn-primary:hover { color: var(--ink); }
.statement .btn-primary:hover { background: var(--mist); }

/* ---------- İç sayfa başlığı ---------- */
.page-head { position: relative; background: rgba(238, 242, 247, .8); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; inset: 0; right: -10%;
  background: url("../img/devre.webp") right center/auto 140% no-repeat;
  opacity: .35; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.page-head .wrap { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-head h1 { margin-bottom: .3em; }
.page-head p { max-width: 60ch; color: var(--muted); margin: 0; font-size: 1.15rem; }
.crumb { font-size: .9rem; margin-bottom: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }

/* ---------- Hakkımızda ---------- */
.prose p { max-width: 68ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); margin-top: 16px; }
.vm > div { padding: 28px 32px 28px 0; }
.vm > div + div { padding: 28px 0 28px 32px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .vm { grid-template-columns: 1fr; }
  .vm > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.facts { width: 100%; border-collapse: collapse; font-size: 1rem; }
.facts th, .facts td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; font: 600 .95rem var(--f-display); color: var(--muted); padding-right: 20px; }
.facts td { overflow-wrap: anywhere; }

/* ---------- Hizmetler ---------- */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-toc { position: sticky; top: 100px; }
.svc-toc p { font: 600 .9rem var(--f-display); color: var(--muted); margin-bottom: 8px; }
.svc-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.svc-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-weight: 500; }
.svc-toc a:hover, .svc-toc a.active { border-left-color: var(--steel); color: var(--steel); }
.svc { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 0; margin-bottom: 0; }
.svc > p { max-width: 70ch; }
.svc .closing { color: var(--muted); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 28px 0; padding: 0; }
.items div { padding: 18px 0; border-top: 1px solid var(--line); }
.items dt { font: 600 1.05rem var(--f-display); margin-bottom: 4px; padding-left: 18px; position: relative; }
.items dt::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border: 2px solid var(--steel); border-radius: 50%; }
.items dd { margin: 0; padding-left: 18px; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-toc { position: static; }
}
@media (max-width: 640px) { .items { grid-template-columns: 1fr; } }

/* ---------- Referans ve belge kutuları ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.tile {
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: #8a97ab; font: 600 .95rem var(--f-display); padding: 12px;
}
.tiles.docs .tile { aspect-ratio: 3 / 4; }
.tile img { max-height: 100%; width: auto; object-fit: contain; }
.tile.filled { border-style: solid; color: var(--ink); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.contact-list { margin: 0; }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list div:first-child { border-top: 2px solid var(--ink); }
.contact-list dt { font: 600 .9rem var(--f-display); color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; font-weight: 600; }
.contact-list dd a:hover { text-decoration: underline; }
.map { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--ink); color: #c9d4e3; font-size: .97rem; }
.site-footer a { color: #e6edf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.5fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.foot-brand .title { color: #fff; font: 600 .95rem/1.5 var(--f-display); margin-bottom: 12px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.foot-contact dl { margin: 0; }
.foot-contact div { margin-bottom: 12px; }
.foot-contact dt { font-size: .82rem; color: #8ea2bc; }
.foot-contact dd { margin: 0; color: #e6edf6; overflow-wrap: anywhere; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); }
.foot-legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 20px; padding-bottom: 24px; font-size: .88rem; color: #8ea2bc; }
.foot-legal span { white-space: nowrap; }
@media (max-width: 1180px) { .foot-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-main { grid-template-columns: 1fr; gap: 32px; } .foot-legal span { white-space: normal; } }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition: none !important; }
}

/* Alt bilgi: slogan ve simgeli iletişim listesi */
.foot-brand .tagline { color: #e6edf6; font-size: 1.05rem; line-height: 1.55; margin-bottom: 18px; max-width: 34ch; }
.foot-brand .title { color: #8ea2bc; font: 500 .8rem/1.5 var(--f-text); letter-spacing: .01em; margin: 0; max-width: 40ch; }
.ico-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #e6edf6; overflow-wrap: anywhere; }
.ico-list .ico { flex-shrink: 0; margin-top: 3px; color: var(--signal); }

/* ---------- Markalarımız: sola kayan şerit ---------- */
.brands { padding: clamp(48px, 6vw, 80px) 0; background: transparent; }
.brands-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.brands-head h2 { margin: 0; }
.brands-head p { margin: 0; color: var(--muted); }
.marquee { position: relative; overflow: hidden; contain: paint; }
/* Kenar solması: maske yerine üst katman (kaydırırken yeniden boyama yapmaz) */

.marquee-track {
  display: flex; width: max-content;
  animation: marquee 100s linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.marquee:focus-within .marquee-track, .marquee.offscreen .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; padding-right: 20px; }
.brand-item {
  width: 190px; height: 96px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: #8a97ab; font: 600 .95rem var(--f-display); padding: 14px 20px;
}
.brand-item.filled { border-style: solid; border-color: var(--line); background: var(--paper); }
.brand-item img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee::before, .marquee::after { display: none; }
  .marquee-track { animation: none; }
  .marquee ul[aria-hidden] { display: none; }
}

/* Sayaçlar: rakam genişliği sabit kalsın, sayı artarken yazı kaymasın */
.proof .fig { font-variant-numeric: tabular-nums; }

/* Marka adları (logo dosyası yokken) ve marka sayısına göre kayma süresi */
.marquee-track { animation-duration: var(--dur, 100s); }
.brand-item.text {
  border-style: solid; border-color: var(--line); background: var(--paper);
  color: var(--ink); font: 700 1.15rem/1.2 var(--f-display); letter-spacing: -.01em; text-align: center;
}

/* ---------- Büyük harf başlıklar ve firma bilgileri ---------- */
h1, h2, h3 { text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.hero h1 { max-width: 16ch; }
.site-footer h2 { font-size: .95rem; letter-spacing: .05em; }
.proof h3 { font-size: 1rem; letter-spacing: .03em; }
.facts th, .facts td { text-transform: uppercase; letter-spacing: .02em; }
.facts td.keep-case { text-transform: none; letter-spacing: normal; }
.foot-legal .wrap { text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Arka plan devre kanalları ---------- */
.bg-circuit { position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none; }

/* Markalarımız: mavi zemin, arka plan kanalları hafifçe görünmeye devam eder */
.brands {
  background: linear-gradient(120deg, rgba(11, 74, 117, .95) 0%, rgba(15, 90, 140, .94) 55%, rgba(26, 111, 166, .95) 100%);
}
.brands h2 { color: #fff; }
.brand-item.filled { border-color: rgba(255, 255, 255, .35); box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }

/* Hakkımızda ve Hizmetlerimiz: üst görsel yok, tüm sayfa açık gri zemin, kanallar altta akar */
body[data-zemin="gri"] main { background: rgba(214, 224, 235, .72); }
body[data-zemin="gri"] .page-head { background: transparent; }
body[data-zemin="gri"] .page-head::after { display: none; }
body[data-zemin="gri"] .section.alt { background: transparent; padding-top: 0; }

/* Arka plandan gelen sinyal çipe ulaşınca çip kısa süre parlar */
.circuit .chip { transition: stroke .3s ease, filter .3s ease; }
.circuit .chip.hit { stroke: var(--ink); filter: drop-shadow(0 0 8px rgba(15, 90, 140, .35)); }
/* Logonun kalp atışı: çift vuruş (küçük-büyük), sitenin kendi renkleriyle */
.circuit .mark-wrap { transform-box: fill-box; transform-origin: center; }
.circuit .mark-wrap.beat { animation: beat .75s ease-out; }
@keyframes beat {
  0% { transform: scale(1); } 14% { transform: scale(1.08); } 28% { transform: scale(1); }
  42% { transform: scale(1.05); } 70%, 100% { transform: scale(1); }
}

/* Hero metninin arkasında yumuşak beyaz hale: kanallar metnin altında soluklaşır, okunurluk korunur */
.hero-text { position: relative; z-index: 0; }
.hero-text::before {
  content: ""; position: absolute; inset: -48px -72px -48px -96px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.94), rgba(255,255,255,.82) 65%, rgba(255,255,255,0));
}

@media (min-width: 861px) { .hero-art { margin-right: calc(-1 * var(--gutter) - 24px); transform: translateX(72px); } }

/* Sertifikalı uzmanlık / Kalite ve güvenilirlik: tek satır mavi başlık */
.proof h3.fig.word { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; color: var(--steel); margin: 0 0 10px; padding-top: .9rem; letter-spacing: .01em; }

/* Mobil: metin alanında da animasyon görünsün, hale daha hafif */
@media (max-width: 860px) {
  .hero-text::before {
    inset: -24px -16px;
    background: radial-gradient(closest-side, rgba(255,255,255,.72), rgba(255,255,255,.5) 70%, rgba(255,255,255,0));
  }
}

/* ---------- Talep formu ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.talep-form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 10px 30px -18px rgba(13, 27, 62, .35); }
.talep-form fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.talep-form legend, .field label { display: block; font: 600 .95rem var(--f-display); color: var(--ink); margin-bottom: 8px; }
.req { color: #b42318; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-grid .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--paper); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--signal); }
.choice input { margin: 3px 0 0; accent-color: var(--steel); flex-shrink: 0; }
.choice span { display: flex; flex-direction: column; gap: 2px; }
.choice strong { font: 600 .98rem var(--f-display); color: var(--ink); }
.choice small { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.choice:has(input:checked) { border-color: var(--steel); background: #eef5fb; box-shadow: inset 0 0 0 1px var(--steel); }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(63, 140, 196, .25); }
.field [aria-invalid="true"], .choices.invalid .choice { border-color: #b42318; }
.choice.secili { border-color: var(--steel); background: #eef5fb; box-shadow: inset 0 0 0 1px var(--steel); }
.field-error { color: #b42318; font-size: .9rem; margin: 6px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); margin: 6px 0 4px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--steel); }
.talep-form button[type="submit"] { margin-top: 18px; min-width: 200px; cursor: pointer; }
.talep-form button[disabled] { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 8px; padding: 14px 16px; margin-bottom: 22px; font-weight: 500; }
.form-status.ok { background: #e8f5ee; border: 1px solid #9fd3b4; color: #14532d; }
.form-status.err { background: #fdecea; border: 1px solid #f3b4ad; color: #7a1a12; }
.form-aside { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.form-aside h2 { font-size: 1.1rem; }
.form-aside p { color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.ico-list.dark { list-style: none; margin: 0; padding: 0; }
.ico-list.dark li { color: var(--ink); }
.ico-list.dark a { color: var(--steel); font-weight: 600; text-decoration: none; }
.ico-list.dark a:hover { text-decoration: underline; }
.ico-list.dark .ico { color: var(--steel); }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Ana sayfa marka şeridi bağlantıları */
.brands-head h2 a { color: inherit; text-decoration: none; }
.brands-head h2 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.brands-all { color: #fff; font: 600 .98rem var(--f-display); text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.brands-all:hover { color: #fff; border-bottom-color: #fff; }
.brand-item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ---------- Markalarımız sayfası ---------- */
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.brand-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; scroll-margin-top: 110px;
  transition: border-color .2s, box-shadow .2s;
}
.brand-card:hover { border-color: var(--signal); box-shadow: 0 10px 24px -16px rgba(13, 27, 62, .4); }
.brand-card:target { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(63, 140, 196, .35); }
.brand-logo { height: 76px; width: 100%; display: flex; align-items: center; justify-content: center; }
.brand-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.brand-card span { font: 600 .95rem var(--f-display); color: var(--ink); border-top: 1px solid var(--mist); padding-top: 10px; width: 100%; text-align: center; }
.brand-cta { margin-top: 40px; padding: 24px 28px; border-radius: 10px; background: rgba(255,255,255,.9); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand-cta p { margin: 0; max-width: 60ch; color: var(--ink); }
@media (max-width: 520px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .brand-logo { height: 56px; } }

/* ---------- En alt: kayan ticaret unvanı ve telif satırı ---------- */
.foot-legal .wrap { display: none; }
.unvan-marquee { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 0; }
.unvan-track { display: flex; width: max-content; animation: unvan-kay 110s linear infinite; will-change: transform; }
.unvan-track span {
  flex-shrink: 0; padding: 0 28px; position: relative; white-space: nowrap;
  font: 500 .9rem var(--f-display); letter-spacing: .04em; color: #9fb7d1;
}
.unvan-track span.unvan { font-weight: 700; letter-spacing: .06em; color: #fff; }
.unvan-track span::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border: 1.5px solid var(--signal); transform: rotate(45deg);
}
@keyframes unvan-kay { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.copyright { margin: 0; padding: 14px var(--gutter) 18px; text-align: center; font-size: .88rem; color: #8ea2bc; }
@media (prefers-reduced-motion: reduce) {
  .unvan-track { animation: none; width: auto; justify-content: center; }
  .unvan-track span:not(.unvan) { display: none; }
  .unvan-track span.unvan ~ span.unvan { display: none; }
  .unvan-track span { white-space: normal; text-align: center; }
  .unvan-track span::after { display: none; }
}

/* İç sayfa başlık alanı: gezinme yolu, başlık ve alt cümle aynı koyu renkte */
.page-head p, .crumb, .crumb a { color: var(--ink); }
.ico-list.dark span { color: var(--steel); font-weight: 600; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }

/* ---------- Çipte üretilen bilgisayar ---------- */
.circuit .chip { fill: #f7fafd; }
.circuit .pc .scan {
  stroke: var(--signal); stroke-width: 2; opacity: 0; filter: drop-shadow(0 0 4px rgba(63,140,196,.9));
  animation: scan-in 1.5s cubic-bezier(.45,0,.55,1) 1.95s 1 forwards;
}
@keyframes scan-in {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 1; }
  85% { opacity: .9; }
  100% { opacity: 0; transform: translateY(160px); }
}
.circuit .part {
  fill: transparent; stroke: var(--steel); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw .7s ease-out forwards, solidify .5s ease forwards;
  animation-delay: var(--d), calc(var(--d) + .55s);
}
.circuit .part.line { stroke: var(--line); stroke-width: 1.5; animation: draw .7s ease-out forwards; animation-delay: var(--d); }
.circuit .part.detail { stroke: #7fb3da; stroke-width: 1.6; animation: draw .5s ease-out forwards; animation-delay: var(--d); }
@keyframes solidify { to { fill: var(--ink); stroke: var(--ink); } }
.circuit .part.detail, .circuit .part.line { fill: none; }

.circuit .screen {
  fill: #ffffff; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scaleY(.04);
  animation: power-on .55s cubic-bezier(.2,.8,.2,1) 3.35s forwards;
}
@keyframes power-on {
  0% { opacity: 0; transform: scaleY(.04); fill: #9cd0f5; }
  45% { opacity: 1; transform: scaleY(.06); fill: #e6f4ff; }
  100% { opacity: 1; transform: scaleY(1); fill: #ffffff; }
}
.circuit .mark { opacity: 0; animation: appear .6s ease forwards; animation-delay: 3.8s; }
.circuit .shine { opacity: 0; animation: shine 7s ease-in-out 4.6s infinite; }
@keyframes shine {
  0% { opacity: 0; transform: translateX(0); }
  4% { opacity: 1; }
  22% { opacity: 1; transform: translateX(210px); }
  23%, 100% { opacity: 0; transform: translateX(210px); }
}
.circuit .led { fill: #4ade80; opacity: 0; animation: led 2.4s ease-in-out 3.6s infinite; }
@keyframes led { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Kalp atışı: ekran da hafifçe parlar */
.circuit .chip.hit + .pc .screen { filter: drop-shadow(0 0 6px rgba(63,140,196,.45)); }

.foot-brand .tagline { text-transform: uppercase; font-family: var(--f-display); font-weight: 600; letter-spacing: .04em; font-size: .98rem; }

/* Kayan alt yazı: unvan ve ifadeler aynı renkte */
.unvan-track span { color: #fff; }
/* Markalarımız alt başlığı: büyük harf, başlıkla aynı yazı tipi ve renk */
.page-head p.lead-caps { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.5; max-width: 62ch; }

/* ---------- Bulut -> sunucu -> monitör ---------- */
.circuit .part.cloud { animation: draw .8s ease-out forwards, cloud-fill .5s ease forwards; animation-delay: var(--d), calc(var(--d) + .6s); }
@keyframes cloud-fill { to { fill: #dcebf7; stroke: var(--steel); } }
.circuit .part.unit { animation: draw .45s ease-out forwards, solidify .35s ease forwards; animation-delay: var(--d), calc(var(--d) + .4s); }
.circuit .part.body { stroke-width: 2; }
.circuit .flow {
  fill: none; stroke: var(--signal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 3 6; opacity: 0;
  animation: appear .4s ease forwards, akis .55s linear infinite;
  animation-delay: var(--d), var(--d);
}
@keyframes akis { to { stroke-dashoffset: -9; } }
.circuit .led { fill: #4ade80; opacity: 0; animation: led 1.6s ease-in-out var(--d, 3.6s) infinite; }

/* Bağımsız parçalar: kanal uçlarındaki lehim noktaları, kalp atışında ekran parlaması */
.circuit .pad { fill: var(--ink); opacity: 0; animation: appear .3s ease 1.9s forwards; }
.circuit .pc.hit .screen { filter: drop-shadow(0 0 7px rgba(63,140,196,.5)); }

/* ---------- Veri merkezi sahnesi: kamera, süzülen bulutlar, sunucu ışıkları ---------- */
.circuit .cam-cone { opacity: 0; transform-box: view-box; transform-origin: 320px 46px; animation: appear .8s ease 2.3s forwards, kamera-tara 7s ease-in-out 2.3s infinite alternate; }
.circuit .cam-lens { opacity: 0; transform-box: view-box; transform-origin: 320px 36px; animation: appear .4s ease 2.1s forwards, lens-tara 7s ease-in-out 2.3s infinite alternate; }
@keyframes kamera-tara { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }
@keyframes lens-tara { from { transform: translateX(-11px) scaleX(.82); } 50% { transform: translateX(0) scaleX(1); } to { transform: translateX(11px) scaleX(.82); } }
.circuit .lens-ring { fill: #0b1430; stroke: var(--steel); stroke-width: 2; }
.circuit .lens-eye { fill: var(--signal); }
.circuit .lens-glint { fill: #fff; opacity: .85; }
.circuit .rec { fill: #ef4444; opacity: 0; animation: led 1.2s ease-in-out 2.4s infinite; }
.circuit .cloud-a, .circuit .cloud-b { transform-box: view-box; }
.circuit .cloud-a { animation: bulut-a 6.5s ease-in-out 2.8s infinite alternate; }
.circuit .cloud-b { animation: bulut-b 8s ease-in-out 2.8s infinite alternate; }
@keyframes bulut-a { from { transform: translateX(-9px); } to { transform: translateX(9px); } }
@keyframes bulut-b { from { transform: translateX(10px); } to { transform: translateX(-10px); } }
.circuit .led.blue { fill: #60a5fa; }

/* Uç cihazlar: açılan ekranlar ve nabız gibi atan Wi-Fi işaretleri */
.circuit .dev-screen { fill: #e8f2fb; opacity: 0; animation: appear .4s ease forwards; animation-delay: var(--d); }
.circuit .wifi { opacity: 0; animation: appear .3s ease forwards; animation-delay: var(--d); }
.circuit .wifi .wf0 { fill: var(--signal); }
.circuit .wifi .wf { fill: none; stroke: var(--signal); stroke-width: 2.2; stroke-linecap: round; opacity: .2; animation: wifi 2.4s ease-in-out infinite; animation-delay: var(--d); }
.circuit .wifi .wf2 { animation-delay: calc(var(--d) + .25s); }
.circuit .wifi .wf3 { animation-delay: calc(var(--d) + .5s); }
@keyframes wifi { 0%, 100% { opacity: .2; } 30%, 60% { opacity: 1; } }

/* ---------- Giriş animasyonu 2 kat hızlı (gecikmeler build.py içinde yarıya iniyor) ---------- */
.circuit .trace { animation-duration: .65s; }
.circuit .node { animation-duration: .25s; }
.circuit .pad { animation-delay: .95s; }
.circuit .part { animation-duration: .35s, .25s; animation-delay: var(--d), calc(var(--d) + .28s); }
.circuit .part.cloud { animation-duration: .4s, .25s; animation-delay: var(--d), calc(var(--d) + .3s); }
.circuit .part.unit { animation-duration: .25s, .2s; animation-delay: var(--d), calc(var(--d) + .2s); }
.circuit .part.line { animation-duration: .35s; animation-delay: var(--d); }
.circuit .part.detail { animation-duration: .25s; animation-delay: var(--d); }
.circuit .screen { animation-duration: .35s; animation-delay: 1.7s; }
.circuit .mark { animation-duration: .4s; animation-delay: 1.95s; }
.circuit .shine { animation-delay: 2.3s; }
.circuit .flow { animation-duration: .25s, .55s; }
.circuit .cam-cone { animation-duration: .5s, 7s; animation-delay: 1.15s, 1.15s; }
.circuit .cam-lens { animation-duration: .3s, 7s; animation-delay: 1.05s, 1.15s; }
.circuit .rec { animation-delay: 1.2s; }
.circuit .cloud-a, .circuit .cloud-b { animation-delay: 1.4s; }

/* İç sayfalar: koyulaşan gri zeminde tüm metinler siyah */
body[data-zemin="gri"] main { --ink: #000; --muted: #000; color: #000; }
body[data-zemin="gri"] .items dd, body[data-zemin="gri"] .svc .closing, body[data-zemin="gri"] .facts th,
body[data-zemin="gri"] .contact-list dt, body[data-zemin="gri"] .form-aside p, body[data-zemin="gri"] .choice small { color: #000; }
.foot-brand .tagline { line-height: 1.7; }

/* Hero bağlantı kanalları: sayfayla birlikte kayan tuval */
.hero-canvas { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
/* Bize ulaşın: KEP adresi diğer bilgilerle aynı renk ve kalınlıkta */
.contact-list dd { color: var(--steel); font-weight: 600; }

/* ---------- Logo merkezli sahne: kamera ortada, üçüncü bulut, logonun etrafında nabız halkaları ---------- */
.circuit .cam-cone { transform-origin: 380px 46px; }
.circuit .cam-lens { transform-origin: 380px 36px; }
.circuit .cloud-c { transform-box: view-box; animation: bulut-c 7.2s ease-in-out 1.4s infinite alternate; }
@keyframes bulut-c { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
.circuit .hale { opacity: 0; animation: appear .6s ease 1.9s forwards, hale 3.2s ease-in-out 2.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hale { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
.circuit .ring {
  fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: ring 3.6s cubic-bezier(.2,.7,.3,1) infinite; animation-delay: calc(2.1s + var(--k) * 1.2s);
}
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
@media (min-width: 861px) { .hero-art { transform: translateX(40px); } }

/* ---------- Derinlik: arka katman küçük ve soluk, ön katman koyu ---------- */
.circuit .layer.back { --ink: #6f86a6; opacity: .78; }
.circuit .layer.back .part.detail { stroke: #c9daea; }
.circuit .cloud-c.back { opacity: .7; }
.circuit .back-line { stroke: #d6e0eb; }
.circuit .layer.mid { --ink: #22355c; }
.circuit .shadow { opacity: 0; animation: appear .5s ease 1.3s forwards; }
.circuit .cam-cone { transform-origin: 395px 46px; }
.circuit .cam-lens { transform-origin: 395px 36px; }
.circuit .cloud-c { animation: bulut-c 9s ease-in-out 1.4s infinite alternate; }

/* KVKK sayfası ve bağlantıları */
.legal { max-width: 76ch; }
.legal h2 { font-size: 1.15rem; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .facts { margin: 14px 0 8px; }
.legal-date { margin-top: 28px; font-size: .92rem; }
.copyright a { color: #c9d4e3; margin-left: 10px; }
.consent a { color: var(--steel); font-weight: 600; }
