/* TAON Robotics — kurumsal site */

:root {
  --bg: #0A0B0D;
  --bg-2: #0E1013;
  --surface: #121418;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #EDEEF0;
  --text-2: #A4A8B0;
  --text-3: #7D828B;
  --accent: #FF7033;
  --accent-hover: #FF8A57;
  --accent-soft: rgba(255, 112, 51, 0.45);
  --on-accent: #0A0B0D;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Temel ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

/* Kayıtlı dil EN ise çeviri uygulanana kadar kısa süre gizle (script.js kaldırır). */
.lang-pending body { visibility: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, border-color 0.3s;
}
.page-home .site-header:not(.is-scrolled) {
  background: rgba(10, 11, 13, 0.4);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}

.brand {
  display: block;
  margin-right: auto;
  padding: 6px 0;
  transition: opacity 0.35s var(--ease), visibility 0s;
}
.brand img { height: 22px; width: auto; }
.site-header.brand-hidden .brand {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
}

.nav ul { display: flex; gap: 32px; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.lang-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn[aria-pressed="true"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.lang-sep { color: var(--line-2); }

.menu-btn { display: none; }

@media (max-width: 899px) {
  .header-inner { gap: 12px; }
  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
  }
  .nav-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  /* backdrop-filter, sabit konumlu menü için yeni bir kapsayıcı oluşturur; menü açıkken kapatılır. */
  .nav-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--bg);
  }
  .nav-open .site-header .brand { opacity: 1; visibility: visible; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--bg);
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a {
    display: block;
    padding: 20px 0;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    font-stretch: 110%;
  }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav a[aria-current="page"]::after { display: none; }
}

/* ---------- Butonlar ve bağlantılar ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(10, 11, 13, 0.4); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Ana sayfa hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: 72px 112px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

/* metnin arkasını sakinleştiren hafif karartma + alt kenarda zemine geçiş */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 40% at 50% 50%, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.72) 55%, rgba(10, 11, 13, 0) 100%),
    linear-gradient(to bottom, rgba(10, 11, 13, 0) 78%, var(--bg) 100%);
}
@media (max-width: 699px) {
  .hero::before {
    background:
      radial-gradient(ellipse 80% 34% at 50% 50%, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.75) 60%, rgba(10, 11, 13, 0) 100%),
      linear-gradient(to bottom, rgba(10, 11, 13, 0) 78%, var(--bg) 100%);
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}
.hero .eyebrow { margin-bottom: clamp(32px, 5vw, 52px); }

/* Logo: harfler görsel, yan çizgiler CSS ile (orijinal orana göre) çizilir */
.hero-logo {
  --w: clamp(210px, 40vw, 560px);
  position: relative;
  width: var(--w);
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.hero-logo img { width: 100%; height: auto; }

.logo-line,
.logo-horizon {
  position: absolute;
  top: 32.8%;
  pointer-events: none;
}
.logo-line {
  width: 19.5%;
  height: max(2px, calc(var(--w) * 0.012));
  margin-top: max(-1px, calc(var(--w) * -0.006));
  background: #fff;
}
.logo-line--l {
  right: 103.1%;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  transform-origin: right center;
}
.logo-line--r {
  left: 103.1%;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform-origin: left center;
}
.logo-horizon {
  width: 45vw;
  height: 1px;
}
.logo-horizon--l {
  right: calc(103.1% + 19.5% + 1%);
  background: linear-gradient(to left, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform-origin: right center;
}
.logo-horizon--r {
  left: calc(103.1% + 19.5% + 1%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform-origin: left center;
}

.hero-slogan {
  max-width: 26ch;
  margin-bottom: clamp(36px, 4.5vw, 48px);
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.25rem);
  font-weight: 500;
  font-stretch: 102%;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.hero .actions { justify-content: center; }

@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.js .hero-logo img { animation: rise 1s var(--ease) 0.1s both; }
.js .logo-line { animation: draw 0.9s var(--ease) 0.45s both; }
.js .logo-horizon { animation: draw 1.6s var(--ease) 0.9s both; }
.js .hero .eyebrow { animation: rise 0.9s var(--ease) both; }
.js .hero-slogan { animation: rise 0.9s var(--ease) 0.35s both; }
.js .hero .actions { animation: rise 0.9s var(--ease) 0.5s both; }

.hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  pointer-events: none;
  color: var(--text-3);
  font-size: 0.6875rem;
}
.hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hud-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hud-item:first-child { color: var(--text-2); }
.hud-pos { white-space: pre; font-variant-numeric: tabular-nums; }
.hud .dot { animation: blink 2.4s ease-in-out infinite; }
.scale {
  display: inline-block;
  width: 60px;
  height: 6px;
  border: 1px solid var(--text-3);
  border-top: 0;
}
@keyframes blink { 50% { opacity: 0.25; } }
@media (max-width: 699px) {
  .hud-scale { display: none; }
}
@media (max-width: 479px) {
  .hud-pos { display: none; }
}

/* ---------- İç sayfa başlığı ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 136px) clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--text-3);
}
.breadcrumb a { text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.25rem);
  font-stretch: 118%;
  line-height: 1;
  letter-spacing: -0.025em;
}
.page-hero .lead {
  max-width: 54ch;
  color: var(--text-2);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.5;
}

/* ---------- Bölümler ---------- */

.section {
  padding-block: clamp(88px, 11vw, 152px);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: end;
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-3);
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  font-stretch: 116%;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 60ch;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.65;
}

@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  .split > .section-head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    margin-bottom: 0;
  }
}

/* ---------- Alan kartları (ana sayfa) ---------- */

.domains {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 960px) {
  .domains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .domain { min-height: 460px; }
}

.domain {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--bg);
  transition: background-color 0.3s;
}
.domain:hover { background: var(--bg-2); }
.domain-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.domain-top .mono { color: var(--text-3); }
.icon { color: var(--text-2); }
.domain .icon { width: 56px; height: 56px; }
.domain h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.85rem);
  font-stretch: 110%;
  line-height: 1.15;
}
.domain p { color: var(--text-2); }

.bullets {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.bullets li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
}
.bullets li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  transform: translateY(-1px);
}
.domain .link-arrow { margin-top: auto; padding-top: 20px; }

/* ---------- Modüler mimari diyagramı ---------- */

.arch {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.arch-label { margin-bottom: 14px; color: var(--text-3); }
.chips {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-weight: 500;
  line-height: 1.3;
}
.chip .mono { color: var(--text-3); }
.chips--classes .chip { border-color: var(--accent-soft); }
.chips--classes .chip .mono { color: var(--accent); }
.arch-bus {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--accent);
}
.arch-bus::before,
.arch-bus::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
  opacity: 0.7;
}
.arch-bus span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Büyük ifade ---------- */

.statement {
  margin-bottom: 32px;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ---------- İş birlikleri ---------- */

.partners {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 860px) {
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.partner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(32px, 4vw, 48px);
  background: var(--bg);
}
.partner .role { color: var(--text-3); }
.partner .name {
  margin-top: clamp(32px, 4vw, 56px);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1.15;
}
.partner .detail { color: var(--text-2); }

/* ---------- CTA bandı ---------- */

.cta {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent);
}
.cta h2 { margin-bottom: 20px; }
.cta p {
  max-width: 48ch;
  margin: 0 auto 40px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
}
.cta .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ---------- Ürünler sayfası ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 11, 13, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex;
  gap: 8px;
  padding-block: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.subnav a .mono { color: var(--text-3); transition: color 0.2s; }
.subnav a:hover { border-color: var(--text-2); color: var(--text); }
.subnav a.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.subnav a.is-active .mono { color: var(--accent); }

.products {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
}
@media (min-width: 820px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.3s;
}
.product:hover { border-color: var(--line-2); }

.illus {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  color: var(--text-2);
}
.illus svg {
  position: absolute;
  inset: 9% 10%;
  width: 80%;
  height: 82%;
  transition: transform 0.6s var(--ease);
}
.product:hover .illus svg { transform: scale(1.03); }
.illus-code {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--accent);
}
.illus figcaption {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--text-3);
  font-size: 0.625rem;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
}
.product h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.95rem);
  font-stretch: 110%;
  line-height: 1.15;
}
.product p { color: var(--text-2); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.8125rem;
}

.services {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--bg);
  transition: background-color 0.3s;
}
.service:hover { background: var(--bg-2); }
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 32px;
}
.service-top .mono { color: var(--text-3); }
.service .icon { width: 44px; height: 44px; }
.service h3 {
  font-size: 1.25rem;
  font-stretch: 108%;
  line-height: 1.2;
}
.service p { color: var(--text-2); font-size: 0.95rem; }

.flow {
  display: grid;
  gap: 14px;
}
@media (min-width: 960px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
}
.flow-step {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  background: var(--bg-2);
  transform: rotate(135deg);
}
@media (min-width: 960px) {
  .flow-step + .flow-step { border-left: 0; }
  .flow-step:not(:last-child)::after {
    left: auto;
    right: -7px;
    top: 50%;
    bottom: auto;
    margin: -6px 0 0;
    transform: rotate(45deg);
  }
}
.flow-step .icon { width: 40px; height: 40px; margin-bottom: 32px; }
.flow-step .mono { color: var(--accent); }
.flow-step h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  font-stretch: 108%;
}
.flow-step p { color: var(--text-2); font-size: 0.95rem; }
.flow-caption { margin-top: 16px; color: var(--text-3); }

/* ---------- Hakkımızda ---------- */

.prose p {
  max-width: 64ch;
  margin-bottom: 1.5em;
  color: var(--text-2);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.75;
}
.prose p:last-child { margin-bottom: 0; }

.cap-list { border-top: 1px solid var(--line-2); }
.cap-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.cap-list .idx { color: var(--text-3); transition: color 0.2s; }
.cap-list li:hover .idx { color: var(--accent); }
.cap-list h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 500;
  font-stretch: 108%;
  line-height: 1.2;
}
.cap-list p { margin-top: 6px; color: var(--text-2); font-size: 0.95rem; }
.tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
}
.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--text-3);
}
.tag-hw::before { background: var(--text-3); }
@media (max-width: 559px) {
  .cap-list li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .cap-list .tag { grid-column: 2; }
}

/* ---------- İletişim ---------- */

.contact-grid {
  display: grid;
  gap: 56px;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
}
.contact-label { margin-bottom: 18px; color: var(--text-3); }
.email {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 40px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line-2);
  font-size: clamp(1.5rem, 0.8rem + 2.6vw, 3rem);
  font-weight: 600;
  font-stretch: 108%;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 0.25s;
}
.email:hover { border-bottom-color: var(--accent); }

.info-list { margin: 0; border-top: 1px solid var(--line-2); }
.info-list > div {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.info-list dt { color: var(--text-3); }
.info-list dd { margin: 0; color: var(--text); line-height: 1.6; }
.info-list .link-arrow { margin-top: 8px; }

/* ---------- 404 ---------- */

.not-found {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 1px);
  min-height: calc(100svh - var(--header-h) - 1px);
}
.not-found .code { margin-bottom: 20px; color: var(--accent); }
.not-found .lead { margin-bottom: 36px; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 72px 36px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  gap: 44px;
}
@media (min-width: 640px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 48px; }
}
.footer-brand img { height: 24px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; line-height: 1.55; }
.footer-title { margin-bottom: 18px; color: var(--text-3); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
}
.footer-bottom .legal { max-width: 72ch; }

/* ---------- Scroll animasyonu ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s var(--ease) calc(var(--d, 0) * 90ms),
    transform 0.8s var(--ease) calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-logo img,
  .js .logo-line,
  .js .logo-horizon,
  .js .hero .eyebrow,
  .js .hero-slogan,
  .js .hero .actions,
  .hud .dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
