/* ==========================================================================
   Espada Bilişim — ana stil dosyası
   Renkler logodaki lacivert ve krom gümüşten türetildi; vurgu: sinyal mavisi.
   ========================================================================== */

:root {
  --ink: #04285B;          /* logo laciverti */
  --deep: #061630;         /* koyu zemin */
  --deeper: #030C1E;
  --paper: #F3F6FA;        /* soğuk açık zemin */
  --white: #FFFFFF;
  --steel: #8C97A8;        /* krom "e" gümüşü */
  --steel-light: #C9D1DD;
  --line: #DCE3EE;
  --text: #13213B;
  --muted: #56647C;
  --signal: #2E6BFF;       /* dijital vurgu */
  --signal-soft: #E5EDFF;
  --glow: #5FD3FF;         /* yalnızca koyu zeminde */
  --ok: #138A5B;
  --err: #C0352B;

  --f-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --sp: clamp(4.5rem, 9vw, 8rem);  /* bölüm boşluğu */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }

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

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(100% - 3rem, var(--wrap)); } }

.skip {
  position: absolute; left: -9999px; top: .5rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip:focus { left: .5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1 var(--f-body);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .7rem 1.15rem; font-size: .94rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .4rem 0; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
    background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px);
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 1rem 2rem; background: #fff;
    opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 1rem 0; font-family: var(--f-display); font-size: 1.35rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 85% 10%, #0D2D63 0%, var(--deep) 45%, var(--deeper) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner {
  min-height: min(86vh, 820px);
  display: grid; align-content: center;
  padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem);
}
.hero h1 {
  color: #fff; max-width: 15ch;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.05; letter-spacing: -0.035em;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #C5D2E8; max-width: 56ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 3.5rem 0 0; padding: 0; list-style: none;
}
.hero-tags li {
  font-size: .9rem; color: #D6E1F3;
  padding: .4rem .85rem; border: 1px solid rgba(201,209,221,.25); border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.hero-mail {
  margin-top: 1.4rem; font-size: .95rem; color: #8FA3C4;
}
.hero-mail a { color: #fff; }

/* Hero yükleme anı — tek koreografi */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero [data-in="2"] { animation-delay: .12s; }
  .hero [data-in="3"] { animation-delay: .24s; }
  .hero [data-in="4"] { animation-delay: .4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Genel bölüm ---------- */
.section { padding-block: var(--sp); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--deep); color: #D3DDEE; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.section-dark .section-head p { color: #9FB0CC; }

/* ---------- Hizmet dizini (kart değil, satır listesi) ---------- */
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid; gap: .5rem 2rem;
  grid-template-columns: 1fr;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  position: relative;
}
@media (min-width: 860px) {
  .service-row { grid-template-columns: 300px minmax(0, 1fr) 250px; align-items: center; padding: 2.1rem 0; }
}
.service-row h3 { margin: 0; transition: color .2s, transform .25s; }
.service-row p { margin: 0; color: var(--muted); max-width: 58ch; }
.service-row .tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-start; }
@media (min-width: 860px) { .service-row .tags { justify-content: flex-end; } }
.tag {
  font-size: .8rem; font-weight: 500; color: var(--ink);
  padding: .28rem .65rem; border-radius: 999px; background: var(--signal-soft); white-space: nowrap;
}
a.service-row:hover h3 { color: var(--signal); transform: translateX(6px); }
a.service-row::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
a.service-row:hover::before { transform: scaleX(1); }

/* ---------- Yapay zeka bloğu ---------- */
.ai-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .ai-grid { grid-template-columns: 1fr 1.05fr; gap: 5rem; } }
.ai-list { list-style: none; margin: 2rem 0 2.2rem; padding: 0; display: grid; gap: 1.2rem; }
.ai-list li { padding-left: 1.6rem; position: relative; }
.ai-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 0 4px rgba(95,211,255,.15);
}
.ai-list strong { color: #fff; display: block; font-weight: 600; }

.chat {
  background: linear-gradient(180deg, #0B2149 0%, #081A3A 100%);
  border: 1px solid rgba(201,209,221,.14);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.chat-top {
  display: flex; align-items: center; gap: .7rem; padding: .2rem .3rem 1rem;
  border-bottom: 1px solid rgba(201,209,221,.12); margin-bottom: 1rem;
}
.chat-top img { width: 34px; height: 34px; border-radius: 9px; }
.chat-top strong { color: #fff; font-weight: 600; font-size: .98rem; display: block; line-height: 1.2; }
.chat-top span { font-size: .82rem; color: #7FE0B4; }
.chat-log { display: grid; gap: .75rem; min-height: 330px; align-content: start; }
.msg {
  max-width: 85%; padding: .75rem 1rem; border-radius: 16px; font-size: .96rem; line-height: 1.5;
}
.msg-user { justify-self: end; background: var(--signal); color: #fff; border-bottom-right-radius: 5px; }
.msg-bot { justify-self: start; background: rgba(255,255,255,.07); color: #E3EAF6; border-bottom-left-radius: 5px; }
.msg-bot .typing { display: inline-flex; gap: 4px; }
.msg-bot .typing i { width: 6px; height: 6px; border-radius: 50%; background: #9FB0CC; animation: blink 1s infinite; }
.msg-bot .typing i:nth-child(2) { animation-delay: .15s; }
.msg-bot .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-note { font-size: .82rem; color: #7487A6; margin: 1rem .3rem 0; }

/* ---------- Sektörel çözümler ---------- */
.solutions { display: grid; gap: 1.5rem; }
.solution {
  display: grid; gap: 2rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}
@media (min-width: 900px) {
  .solution { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .solution.flip { grid-template-columns: .85fr 1.15fr; }
  .solution.flip .solution-visual { order: -1; }
}
.solution-kicker { color: var(--signal); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.solution h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.solution ul { margin: 1.2rem 0 1.8rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
@media (min-width: 560px) { .solution ul { grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; } }
.solution li { padding-left: 1.6rem; position: relative; font-size: .98rem; }
.solution li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232E6BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.solution-visual {
  position: relative; min-height: 340px; border-radius: var(--r-md);
  background: radial-gradient(90% 90% at 70% 20%, #11397D 0%, var(--deep) 70%);
  display: grid; place-items: center; padding: 2rem 1rem; overflow: hidden;
}
.solution-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,209,221,.18) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

/* Telefon maketi */
.phone {
  position: relative; width: 210px; aspect-ratio: 9 / 18.5;
  background: #0A1530; border-radius: 30px; padding: 10px;
  border: 1px solid rgba(201,209,221,.35);
  box-shadow: 0 25px 60px -20px rgba(0,0,0,.7), inset 0 0 0 2px #1A2A4E;
}
.phone-screen {
  height: 100%; border-radius: 22px; background: var(--paper); overflow: hidden;
  display: flex; flex-direction: column; font-size: 10px; color: var(--text);
}
.ps-bar { background: var(--ink); color: #fff; padding: 18px 12px 10px; font-weight: 600; font-size: 11px; }
.ps-bar small { display: block; font-weight: 400; opacity: .7; font-size: 9px; }
.ps-body { padding: 10px; display: grid; gap: 7px; }
.ps-item { background: #fff; border-radius: 9px; padding: 8px 9px; border: 1px solid var(--line); line-height: 1.35; }
.ps-item b { display: block; font-size: 10px; color: var(--ink); }
.ps-item span { color: var(--muted); font-size: 9px; }
.ps-pill { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: 999px; background: var(--signal-soft); color: var(--signal); font-size: 8.5px; font-weight: 600; }
.ps-img { height: 62px; border-radius: 7px; margin-bottom: 6px; background: linear-gradient(135deg, #9DB4DA, #4C6FA8); }
.ps-img.b { background: linear-gradient(135deg, #C9D1DD, #7D8DA8); }

/* Masaüstü + telefon (emlak / e-ticaret) */
.browser {
  position: relative; width: min(100%, 380px);
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,.7);
}
.browser-bar { display: flex; gap: 5px; padding: 9px 11px; background: #E8EDF4; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--steel-light); }
.browser-body { padding: 14px; display: grid; gap: 10px; font-size: 11px; }
.bb-hero { height: 70px; border-radius: 8px; background: linear-gradient(120deg, var(--ink), #2E6BFF); color: #fff; padding: 12px; font-weight: 600; font-size: 12px; }
.bb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bb-card { border: 1px solid var(--line); border-radius: 7px; padding: 6px; }
.bb-card .ps-img { height: 38px; margin-bottom: 5px; }
.bb-card b { display: block; font-size: 9.5px; color: var(--ink); }
.bb-card span { font-size: 9px; color: var(--signal); font-weight: 600; }
.browser + .phone { position: absolute; right: 6%; bottom: -40px; width: 120px; border-radius: 20px; padding: 6px; }
.browser + .phone .phone-screen { border-radius: 15px; }
.browser + .phone .ps-bar { padding: 12px 8px 6px; font-size: 8px; }
.browser + .phone .ps-body { padding: 6px; gap: 5px; }
.browser + .phone .ps-item { padding: 5px; }
.browser + .phone .ps-img { height: 40px; }
@media (max-width: 520px) { .browser + .phone { display: none; } }

/* ---------- Süreç (gerçek bir sıra olduğu için numaralı) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  counter-increment: step; position: relative;
  padding: 2rem 1.5rem 2rem 0; border-top: 2px solid rgba(201,209,221,.18);
}
@media (max-width: 899px) { .process li { padding: 1.6rem 0 1.6rem 3.5rem; border-top: 0; border-left: 2px solid rgba(201,209,221,.18); } }
.process li::before {
  content: counter(step);
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--deep);
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--glow); margin-bottom: 1.2rem;
}
@media (min-width: 900px) { .process li::before { position: relative; top: -3.1rem; margin-bottom: -1.9rem; } }
@media (max-width: 899px) { .process li::before { position: absolute; left: -1.15rem; top: 1.4rem; } }
.process h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process p { margin: 0; font-size: .97rem; color: #A9B8D1; }
.process-wrap { padding-top: 1.2rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .cover { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--deep); margin-bottom: 1.1rem; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .cover img { transform: scale(1.04); }
.post-meta { font-size: .88rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.post-meta .cat { color: var(--signal); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .5rem; transition: color .2s; }
.post-card:hover h3 { color: var(--signal); }
.post-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.post-grid.featured .post-card:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .post-grid.featured .post-card:first-child { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
  .post-grid.featured .post-card:first-child .cover { margin: 0; }
  .post-grid.featured .post-card:first-child h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
}

/* ---------- Alt sayfa başlığı ---------- */
.page-hero {
  background: radial-gradient(120% 120% at 90% 0%, #0D2D63 0%, var(--deep) 55%, var(--deeper) 100%);
  color: #C5D2E8; padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(201,209,221,.14) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.page-hero p { max-width: 60ch; font-size: 1.15rem; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 1.2rem; color: #8FA3C4; }
.crumbs a { color: #C5D2E8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Hizmet detayları ---------- */
.service-detail { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:first-child { border-top: 0; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
.service-detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.service-detail .lead { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--signal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232E6BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.checks strong { color: var(--ink); }
.deliver { background: var(--paper); border-radius: var(--r-md); padding: 1.3rem 1.5rem; font-size: .97rem; }
.deliver h4 { margin-bottom: .4rem; font-family: var(--f-body); font-weight: 700; }
.deliver p { margin: 0; color: var(--muted); }

.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a {
  color: #fff; text-decoration: none; font-size: .92rem;
  padding: .45rem .9rem; border: 1px solid rgba(201,209,221,.3); border-radius: 999px;
}
.jump a:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* ---------- Formlar ---------- */
.form-grid { display: grid; gap: 1.1rem 1.2rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--text);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2304285B' stroke-width='1.8'/%3E%3C/svg%3E") right .9rem center/16px no-repeat; padding-right: 2.5rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(46,107,255,.15); }
.field .err-text { color: var(--err); font-size: .87rem; margin-top: .35rem; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--err); }
.field.has-error .err-text { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }

.choice-grid { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span {
  display: flex; align-items: center; gap: .6rem; height: 100%;
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: .95rem; background: #fff; transition: border-color .15s, background-color .15s;
}
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--steel); border-radius: 5px; background: #fff;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--signal); background: var(--signal-soft); }
.choice input:checked + span::before {
  border-color: var(--signal);
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/90% no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--signal); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }

.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.4rem; font-weight: 500; }
.alert-ok { background: #E3F5EC; color: var(--ok); }
.alert-err { background: #FBE9E7; color: var(--err); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.6rem); }
.form-step { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; margin-bottom: 1rem; padding-bottom: 0; }
.form-step > h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.form-step > h2 .n {
  display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .85rem;
}

/* ---------- İletişim ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.mail-big {
  display: inline-block; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem); color: var(--ink); text-decoration: none;
  border-bottom: 3px solid var(--signal); padding-bottom: .2rem; overflow-wrap: anywhere;
}
.mail-big:hover { color: var(--signal); }
.contact-side p { color: var(--muted); }
.contact-side h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.faq { margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--signal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--muted); font-size: .97rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: var(--ink); color: #C5D2E8; border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  border: 40px solid rgba(201,209,221,.07);
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 54ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; }
.cta-band a.mail { color: #fff; }

/* ---------- Makale ---------- */
.article-hero { padding-bottom: clamp(2rem, 5vw, 3rem); }
.article-hero h1 { max-width: 24ch; font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
.article-cover { margin-top: clamp(-2rem, -3vw, -1rem); }
.article-cover img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 7; object-fit: cover; position: relative; z-index: 2; }
.article-layout { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--sp); }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 5rem; } }
.prose { max-width: 70ch; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2.4em 0 .7em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin: 2em 0 .6em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--signal); }
.prose blockquote {
  margin: 2em 0; padding: 1.2em 1.5em; border-left: 4px solid var(--signal);
  background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); font-size: 1.12rem;
}
.prose blockquote p:last-child { margin: 0; }
.prose code { font-size: .92em; background: var(--paper); padding: .1em .35em; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--paper); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose > p:first-child { font-size: 1.22rem; color: var(--ink); }

.toc { position: sticky; top: 100px; align-self: start; font-size: .95rem; }
.toc h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 2rem; border-left: 2px solid var(--line); }
.toc ol a { display: block; padding: .35rem 0 .35rem 1rem; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.4; }
.toc ol a:hover, .toc ol a.is-active { color: var(--ink); border-left-color: var(--signal); }
.toc-box { background: var(--paper); border-radius: var(--r-md); padding: 1.3rem; }
.toc-box p { font-size: .93rem; color: var(--muted); }
@media (max-width: 1039px) { .toc ol { display: none; } .toc h2 { display: none; } .toc { position: static; } }

.share { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.share a, .share button {
  font: 500 .9rem var(--f-body); color: var(--ink); background: #fff; cursor: pointer;
  border: 1px solid var(--line); padding: .45rem .9rem; border-radius: 999px; text-decoration: none;
}
.share a:hover, .share button:hover { border-color: var(--ink); }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3.5rem; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600;
}
.pagination span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Basit metin sayfası ---------- */
.legal { max-width: 75ch; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deeper); color: #8FA3C4; padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .97rem; }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr 1.3fr; gap: 5rem; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 40ch; }
.footer-mail { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; text-decoration: none; border-bottom: 2px solid var(--signal); }
.footer-mail:hover { color: var(--glow); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.footer-cols h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-cols a { color: #8FA3C4; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(201,209,221,.12); font-size: .9rem; }
.footer-bottom a { color: #8FA3C4; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 4rem 1rem; }
.notfound .code { font-family: var(--f-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.05em; }
.notfound p { color: var(--muted); }

/* ---------- Yardımcılar ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack-lg > * + * { margin-top: 1.5rem; }
.two-col { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.stat-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 2.5rem; }
.stat-row div { border-top: 2px solid var(--signal); padding-top: 1rem; }
.stat-row strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.1rem; margin-bottom: .3rem; }
.stat-row span { color: var(--muted); font-size: .96rem; }
.section-dark .stat-row strong { color: #fff; }
.section-dark .stat-row span { color: #9FB0CC; }

/* Onay kutusu satırı (.field label kuralını geçersiz kılar) */
.field label.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); margin: 0; }
