/* ============================================================
   KAVIS — kavis.net
   Monokrom: açık temada beyaz kâğıt / siyah mürekkep,
   koyu temada tam tersi. Tek motif: yay (kavis).
   ============================================================ */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-024F, U+0130, U+0131, U+015E, U+015F, U+011E, U+011F, U+1E00-1EFF;
}

/* ---------- Tema değişkenleri ---------- */

:root {
  --bg: #FBFBF9;        /* kâğıt */
  --bg-2: #F2F2EE;      /* hafif zemin */
  --ink: #121212;       /* mürekkep */
  --muted: #6B6B66;
  --line: rgba(18, 18, 18, 0.14);
  --tick: rgba(18, 18, 18, 0.22);
  --grid: rgba(18, 18, 18, 0.045);

  --sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --measure: 34rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0C0C;
    --bg-2: #151515;
    --ink: #F1F1EE;
    --muted: #8F8F8A;
    --line: rgba(241, 241, 238, 0.16);
    --tick: rgba(241, 241, 238, 0.26);
    --grid: rgba(241, 241, 238, 0.05);
  }
}
:root[data-theme="dark"] {
  --bg: #0C0C0C;
  --bg-2: #151515;
  --ink: #F1F1EE;
  --muted: #8F8F8A;
  --line: rgba(241, 241, 238, 0.16);
  --tick: rgba(241, 241, 238, 0.26);
  --grid: rgba(241, 241, 238, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 320;
  line-height: 1.65;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; }

h1, h2, h3 { font-weight: 560; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.lede { color: var(--muted); max-width: var(--measure); margin-top: 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* hover'da beliren yay — kavis motifi */
.btn::after {
  content: "";
  position: absolute; left: 50%; bottom: -7px;
  width: 0; height: 6px;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  pointer-events: none;
}
.btn:hover::after { width: 70%; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem var(--pad);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  display: flex; align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.nav__wordmark { height: 26px; width: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a {
  font-size: 0.85rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

.theme-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--ink); cursor: pointer;
  transition: border-color 0.25s, transform 0.4s;
}
.theme-toggle:hover { border-color: var(--ink); transform: rotate(180deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle__label { display: none; }

.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  height: 34px; min-width: 40px; padding: 0 0.7rem;
  display: grid; place-items: center;
  color: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.nav__burger {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 38px; height: 38px;
  place-items: center;
  color: var(--ink); cursor: pointer;
  transition: border-color 0.25s;
}
.nav__burger:hover { border-color: var(--ink); }
.nav__burger svg { width: 20px; height: 20px; }
.nav__burger line { transition: transform 0.3s ease; transform-origin: 10px 10px; }
.nav.is-open .nav__burger-top { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger-bot { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(5rem + 6vh) var(--pad) 0;
  position: relative;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}
.hero__inner { position: relative; max-width: 72rem; margin: 0 auto; width: 100%; }
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 5vw, 5.2rem);
  margin-top: 0.5rem;
}
.hero__title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}
.hero__sub { color: var(--muted); margin-top: 1.5rem; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero__curve { margin-top: auto; position: relative; }
.hero__curve svg { display: block; width: 100%; height: clamp(180px, 34vh, 380px); }
.hero__curve-caption {
  position: absolute; bottom: 0.35rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  color: var(--muted); white-space: nowrap; text-align: center;
  /* sayfa rengiyle ince etiket: cetvel çizgilerini metnin arkasında temizce keser */
  background: var(--bg); padding: 0.5rem 1rem; border-radius: 3px;
}
.hero__curve-caption span { color: var(--ink); opacity: 0; transition: opacity 0.5s; }
.hero__curve-caption.is-curved span { opacity: 1; }

#curvePath { stroke: var(--ink); }
#curveLoop { stroke: var(--ink); }
#curveStations text {
  fill: var(--ink); font-size: 15px; font-family: var(--mono);
  letter-spacing: 0.12em;
}
#curveStations circle { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
#curveStations g { opacity: 0; transition: opacity 0.4s; }
#curveStations g.on { opacity: 1; }

/* ---------- Stats strip ---------- */

.stats { padding: clamp(2rem, 5vh, 3.25rem) var(--pad); border-top: 1px solid var(--line); }
.stats__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}
.stat { display: flex; flex-direction: column; gap: 0.35rem; position: relative; padding-left: 1.25rem; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; bottom: 0.15rem;
  width: 2px; background: var(--ink); border-radius: 2px;
}
.stat__value {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 560;
  letter-spacing: -0.02em; line-height: 1;
}
.stat__label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Sections common ---------- */

.services, .security, .it, .work, .process, .faq, .contact {
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.services__head, .work__head { max-width: 72rem; margin: 0 auto; }

/* ---------- Services / journey ---------- */

.services { border-top: 1px solid var(--line); }

.journey {
  max-width: 72rem; margin: 4rem auto 0;
  position: relative;
  display: grid; row-gap: clamp(4rem, 10vh, 7rem);
  padding-left: clamp(3.2rem, 8vw, 6rem);
}
.journey__rail {
  position: absolute; top: 0; bottom: 0; left: clamp(0.9rem, 3vw, 2.2rem);
  width: 4px;
}
.journey__rail svg { width: 100%; height: 100%; }
#railPath { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: 1; }

.station { position: relative; max-width: 46rem; }
.station__node {
  position: absolute;
  left: calc(-1 * clamp(3.2rem, 8vw, 6rem) + clamp(0.9rem, 3vw, 2.2rem) - 15px);
  top: 0.1rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.6px solid var(--ink);
  background: var(--bg);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}
.station.is-active .station__node {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--ink) 12%, transparent);
}
.station__body > h3 { margin-top: 0.25rem; }
.station__body > p { color: var(--muted); margin-top: 0.9rem; max-width: var(--measure); }
.station__body .eyebrow { margin-bottom: 0.4rem; }

.station__list {
  list-style: none; margin-top: 1.4rem;
  display: grid; gap: 0.55rem;
}
.station__list li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.92rem;
}
.station__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 0.85rem; height: 0.45rem;
  border-top: 1.5px solid var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.station { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.station.is-in { opacity: 1; transform: none; }

/* ---------- Security ---------- */

.security { background: var(--bg-2); border-block: 1px solid var(--line); }
.security__inner { max-width: 72rem; margin: 0 auto; }

.isolation {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  max-width: 56rem;
}
.isolation__box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
  background: var(--bg);
  transform: translateX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s;
}
.isolation.is-split .isolation__box--site { transform: translateX(clamp(-24px, -2.5vw, -10px)); }
.isolation.is-split .isolation__box--data {
  transform: translateX(clamp(10px, 2.5vw, 24px));
  border-color: var(--ink);
}
.isolation__box strong { display: block; font-size: 1.15rem; font-weight: 560; margin-top: 0.7rem; }
.isolation__box p { color: var(--muted); font-size: 0.85rem; margin-top: 0.35rem; }
.isolation__tag {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.isolation__tag--safe { color: var(--ink); border-color: var(--ink); }

.isolation__link { text-align: center; }
.isolation__link svg { width: clamp(70px, 10vw, 120px); height: 24px; display: block; margin: 0 auto; }
.isolation__link line { stroke: var(--ink); }
.isolation__link path { fill: var(--ink); }
.isolation__link span {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em;
  color: var(--muted);
}
.isolation.is-split .isolation__dash { animation: dashflow 1.6s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -13; } }

.isolation__caption {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--muted); margin-top: 1.5rem;
}

/* ---------- IT band ---------- */

.it__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 3rem; align-items: center;
}
.it__chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.it__chips li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.it__chips li:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* ---------- Sectors ---------- */

.sectors { padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.sectors__inner { max-width: 72rem; margin: 0 auto; }
.sectors__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.1rem;
}
.sector {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.6rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.sector svg {
  width: 42px; height: 42px;
  fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1.1rem;
}
.sector h3 { font-size: 1.05rem; font-weight: 560; }
.sector p { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; transition: color 0.3s; }
.sector:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  transform: translateY(-4px);
}
.sector:hover p { color: var(--bg); opacity: 0.75; }

.sector--link { display: block; text-decoration: none; color: inherit; }
.sector__more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s;
}
.sector__more::after { content: "→"; transition: transform 0.3s; }
.sector--link:hover .sector__more { color: var(--bg); }
.sector--link:hover .sector__more::after { transform: translateX(3px); }

/* ---------- Work: ölçeklenen iş sicili ---------- */

.work { background: var(--bg-2); border-block: 1px solid var(--line); }
.work__count { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); margin-top: 1rem; }

.work__body { max-width: 72rem; margin: 2.5rem auto 0; }

.work__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.work__hint {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.work__filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.work__filters button {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.work__filters button:hover { border-color: var(--ink); color: var(--ink); }
.work__filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.work__list {
  list-style: none;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.work__row {
  width: 100%;
  display: grid;
  grid-template-columns: 3rem 1.35fr 1fr auto 4.5rem 1.5rem;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 0.75rem;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, padding-left 0.25s;
}
.work__row:hover, .work__row:focus-visible {
  background: var(--ink);
  color: var(--bg);
  padding-left: 1.25rem;
}
.work__row:hover .work__sector, .work__row:hover .work__num, .work__row:hover .work__year,
.work__row:focus-visible .work__sector, .work__row:focus-visible .work__num, .work__row:focus-visible .work__year {
  color: var(--bg); opacity: 0.75;
}
.work__num { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.work__name { font-weight: 560; font-size: 1.02rem; letter-spacing: -0.01em; }
.work__name small {
  display: block; font-weight: 320; font-size: 0.8rem; color: inherit; opacity: 0.65;
}
.work__sector { font-size: 0.85rem; color: var(--muted); }
.work__tag {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px;
  padding: 0.2rem 0.65rem;
  opacity: 0.8;
  justify-self: start;
}
.work__year { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); text-align: right; }
.work__chev {
  justify-self: end; display: inline-flex; color: var(--muted);
  transition: transform 0.3s ease, color 0.2s;
}
.work__chev svg { width: 15px; height: 15px; }
.work__row:hover .work__chev, .work__row:focus-visible .work__chev { color: var(--bg); }
.work__item.is-open .work__chev { transform: rotate(180deg); color: var(--ink); }

/* Vaka paneli — tıkla-genişlet */
.work__panel {
  display: grid;
  grid-template-rows: 0fr;
  border-bottom: 1px solid var(--line);
  transition: grid-template-rows 0.35s ease;
}
.work__item.is-open .work__panel { grid-template-rows: 1fr; }
.work__panel-inner { overflow: hidden; }
.work__case {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 1.75rem 0.75rem 0.5rem;
}
.work__case-col h4 {
  font-family: var(--mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.5rem;
}
.work__case-col p { font-size: 0.9rem; color: var(--muted); }
.work__result {
  color: var(--ink) !important; font-weight: 500;
  padding-left: 0.9rem; position: relative;
}
.work__result::before {
  content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em;
  width: 2px; background: var(--ink); border-radius: 2px;
}
.work__open { margin: 1.4rem 0.75rem 1.9rem; }

.work__row--hidden { display: none; }

/* ---------- Process ---------- */

.process { border-top: 1px solid var(--line); }
.process__inner { max-width: 72rem; margin: 0 auto; }

.process__steps {
  list-style: none;
  margin: 3.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.pstep {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}
.pstep__num {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--muted);
}
.pstep h3 { font-size: 1.1rem; font-weight: 560; margin: 0.6rem 0 0.6rem; }
.pstep p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Packages (rakamsız çerçeve) ---------- */

.packages { margin-top: clamp(4rem, 9vh, 6.5rem); }
.packages__head { max-width: var(--measure); }
.packages__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.pkg {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.9rem 1.6rem;
  background: var(--bg);
  transition: border-color 0.3s, transform 0.3s;
}
.pkg:hover { border-color: var(--ink); transform: translateY(-4px); }
.pkg--featured { border-color: var(--ink); }
.pkg__badge {
  position: absolute; top: -0.7rem; left: 1.6rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; padding: 0.3rem 0.75rem;
}
.pkg__name { font-size: 1.2rem; font-weight: 560; }
.pkg__desc { color: var(--muted); font-size: 0.88rem; margin-top: 0.6rem; }
.pkg__list {
  list-style: none; margin-top: 1.4rem; display: grid; gap: 0.6rem;
}
.pkg__list li {
  position: relative; padding-left: 1.5rem; font-size: 0.9rem;
}
.pkg__list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 0.85rem; height: 0.45rem;
  border-top: 1.5px solid var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.packages__foot {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.packages__note { color: var(--muted); font-size: 0.85rem; max-width: 40rem; }

/* ---------- Sector pages ---------- */

.secpage {
  padding: calc(5rem + 6vh) var(--pad) clamp(3rem, 8vh, 5rem);
  border-bottom: 1px solid var(--line);
}
.secpage__inner { max-width: 60rem; margin: 0 auto; }
.secpage__title {
  font-size: clamp(2rem, 1.4rem + 3.2vw, 3.6rem);
  margin-top: 0.5rem;
}
.crumbs {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }

.secblock { padding: clamp(3.5rem, 9vh, 6rem) var(--pad); }
.secblock__inner {
  max-width: 60rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.secblock__col > p { color: var(--muted); }
.secblock__col .eyebrow { color: var(--muted); }
.secblock__col .pkg__list { margin-top: 1.4rem; }

.seccase { padding: clamp(3rem, 7vh, 5rem) var(--pad); background: var(--bg-2); border-block: 1px solid var(--line); }
.seccase__inner { max-width: 60rem; margin: 0 auto; }
.seccase__text { color: var(--muted); max-width: var(--measure); margin: 0.75rem 0 1.75rem; }

.seccta { padding: clamp(4rem, 10vh, 7rem) var(--pad); }
.seccta__inner { max-width: 60rem; margin: 0 auto; }
.seccta__inner .lede { margin-bottom: 2rem; }

@media (max-width: 860px) {
  .secblock__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- FAQ ---------- */

.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__inner { max-width: 52rem; margin: 0 auto; }
.faq__list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0.25rem;
  font-weight: 500; font-size: 1.02rem;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none;
  width: 0.85rem; height: 0.85rem;
  background:
    linear-gradient(var(--ink), var(--ink)) center/100% 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.6px 100% no-repeat;
  transition: transform 0.3s ease, opacity 0.2s;
}
.faq__item[open] summary::after { transform: rotate(90deg); opacity: 0.5; }
.faq__item summary:hover { color: var(--muted); }
.faq__a { padding: 0 0.25rem 1.4rem; }
.faq__a p { color: var(--muted); max-width: 44rem; }

/* ---------- Contact ---------- */

.contact__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__alt { display: grid; gap: 0.4rem; margin-top: 2rem; }
.contact__alt a {
  text-decoration: none; font-size: 0.95rem;
  width: fit-content;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.contact__alt a:hover { border-color: var(--ink); }

.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; gap: 0.45rem; }
.form__row label { font-size: 0.85rem; font-weight: 500; }
.form__row label small { color: var(--muted); font-weight: 320; }
.form__row input, .form__row textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s;
  resize: vertical;
}
.form__row input:focus, .form__row textarea:focus {
  outline: none; border-color: var(--ink);
}
.form__row.is-invalid input { border-color: var(--ink); border-width: 2px; }
.form__err { display: none; font-size: 0.78rem; font-weight: 500; }
.form__err::before { content: "! "; }
.form__row.is-invalid .form__err { display: block; }

.form__submit { justify-self: start; border: none; }
.form__submit[disabled] { opacity: 0.55; cursor: wait; }
.form__status { font-size: 0.85rem; min-height: 1.4em; }
.form__status.is-error { font-weight: 500; }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad) 3.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer__arc { width: 34px; color: var(--ink); margin-bottom: 0.9rem; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { border-bottom: 1px solid var(--ink); }
.footer__legal { margin-top: 0.5rem; font-size: 0.75rem; }
.footer__legal a { color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav__burger { display: grid; }
  .nav__menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    font-size: 1rem; color: var(--ink);
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta { margin-top: 1rem; text-align: center; padding: 0.8rem 1.2rem; }
  .lang-toggle {
    margin-top: 0.75rem;
    width: 100%; height: auto; padding: 0.8rem 1.2rem; font-size: 0.9rem;
  }
  .theme-toggle {
    margin-top: 0.75rem;
    width: 100%; height: auto;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  }
  .theme-toggle:hover { transform: none; }
  .theme-toggle__label { display: inline; }
  .hero__curve-caption {
    white-space: normal; width: min(90vw, 20rem);
    font-size: 0.62rem; letter-spacing: 0.06em; line-height: 1.55;
  }
  /* SVG kavis viewBox 1200 birim geniş; mobilde küçüldüğü için durak
     etiketleri (DESIGN/CODE/MANAGE) minik kalıyor — user-unit'te büyüt. */
  #curveStations text { font-size: 40px; }
  #curveStations circle { r: 11; }
  .it__inner, .contact__inner { grid-template-columns: 1fr; }
  .isolation { grid-template-columns: 1fr; justify-items: stretch; }
  .isolation__link svg { transform: rotate(90deg); width: 60px; margin: 0.35rem auto; }
  .isolation.is-split .isolation__box--site { transform: translateY(-8px); }
  .isolation.is-split .isolation__box--data { transform: translateY(8px); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .process__steps { grid-template-columns: 1fr; gap: 0; }
  .pstep { border-top: none; padding-top: 1.4rem; padding-left: 1.25rem; padding-bottom: 1.4rem; border-left: 2px solid var(--ink); }
  .pstep:not(:last-child) { border-bottom: 1px solid var(--line); }
  .packages__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .pkg--featured { order: -1; }
  .packages__foot { flex-direction: column; align-items: flex-start; }
  .work__row { grid-template-columns: 2rem 1fr auto 1.25rem; gap: 0.9rem; padding: 1.15rem 0.5rem; }
  .work__sector, .work__year { display: none; }
  .work__case { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.4rem 0.5rem 0.25rem; }
  .work__toolbar { align-items: flex-start; }

  /* Mobil okunabilirlik + dokunma hedefleri */
  body { font-size: 16px; }
  .nav__burger { width: 44px; height: 44px; }
  .form__row input, .form__row textarea { font-size: 16px; }  /* iOS odak zoom'unu engeller */
  .work__filters { gap: 0.5rem; }
  .work__filters button { padding: 0.62rem 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .it__chips li { padding: 0.65rem 1.1rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .station { opacity: 1; transform: none; }
  #railPath { stroke-dashoffset: 0 !important; }
}

/* ---------- İş galerisi + lightbox ---------- */

.work__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.work__thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  width: clamp(120px, 22vw, 168px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.work__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work__thumb:hover,
.work__thumb:focus-visible { transform: translateY(-2px); border-color: var(--ink); outline: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; }
.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
  transition: background 0.15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 44px; height: 44px; font-size: 1.7rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.8rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
