/* ==========================================================================
   WebPlay — Dijital Hizmetler
   Tek dosya stil sayfası. Tema değişkenleri + bileşenler.

   Palet:  lacivert #223f5c (yapı) · gri #dddddc (zemin) ·
           turuncu #e08f2c ve somon #ea8d89 (dolgu vurgusu)
   Gradient: #e4bec4 · #ed9a9b · #5bc7d9 · #908e76 · #343e29
   Tipografi: Georgia (başlıklar) · Arial (metin) — ikisi de sistemde yüklü
   ========================================================================== */

/* ------------------------------------------------------------ 1. Değişkenler */
:root {
  /* Lacivert yapı rengidir: metin, bağlantı ve butonlarda kullanılır.
     Beyazla 10.9:1, zeminde 10.4:1 kontrast verir. */
  --brand: #223f5c;
  --brand-600: #1b3349;
  --brand-700: #16283b;
  --brand-soft: #eaeff4;

  /* Turuncu ve somon hiçbir zeminde yazı olarak okunmaz (2.0–2.6:1),
     bu yüzden yalnızca dolgu ve vurgu olarak kullanılır. Yazı/ikon
     gereken yerlerde koyu tonları devreye girer. */
  --accent: #e08f2c;
  --accent-600: #c0741a;
  --accent-ink: #a8620f;     /* beyaz üstünde 4.75:1 */
  --accent-soft: #fdf2e2;

  --rose: #ea8d89;
  --rose-ink: #b85450;       /* beyaz üstünde 4.75:1 */
  --rose-soft: #fdeceb;

  /* Gradient paleti. Açık pastel bant koyu zemin metniyle kullanılır:
     #343e29 bu tonların hepsinde 5.2–6.7:1 kontrast verir, beyaz ise vermez. */
  --grad-a: #e4bec4;         /* uçuk somon */
  --grad-b: #ed9a9b;         /* somon */
  --grad-c: #5bc7d9;         /* turkuaz */
  --grad-d: #908e76;         /* adaçayı */
  --grad-ink: #343e29;       /* koyu zeytin — gradient üstü metin */

  --grad: linear-gradient(115deg, var(--grad-a) 0%, var(--grad-b) 34%, var(--grad-c) 88%);
  --grad-deep: linear-gradient(135deg, #343e29 0%, #6a6a55 100%);
  --sage: var(--grad-d);

  --bg: #fafaf9;
  --bg-tint: #efefee;
  --bg-soft: #dddddc;        /* verilen gri — bölüm bantları */
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f0ef;

  --text: #18222d;
  --text-2: #39434f;
  --muted: #5f6873;
  --border: #dddddc;
  --border-strong: #c0c0be;

  --success: #15803d;
  --success-soft: #edf5ee;
  --danger: #b42318;
  --danger-soft: #fdf1f0;

  --radius: 10px;
  --radius-lg: 14px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(20, 35, 26, .05);
  --shadow-sm: 0 1px 2px rgba(20, 35, 26, .06), 0 1px 3px rgba(20, 35, 26, .05);
  --shadow: 0 8px 20px -8px rgba(20, 35, 26, .18), 0 2px 6px rgba(20, 35, 26, .05);
  --shadow-lg: 0 20px 44px -16px rgba(20, 35, 26, .24), 0 4px 12px rgba(20, 35, 26, .06);

  --container: 1180px;
  --header-h: 72px;

  /* Yaygın, her cihazda yüklü fontlar — dış font dosyası indirilmez.
     Arial hem Windows'ta hem Mac'te bulunduğu için ilk sırada;
     Georgia ise iki platformda da yüklü en yaygın serif. */
  --font: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-display: Georgia, 'Times New Roman', Times, serif;
}

[data-theme='dark'] {
  --brand: #7fb3dd;
  --brand-600: #a3c9e6;
  --brand-700: #5c92c0;
  --brand-soft: #1b2a37;

  --accent: #eaa54f;
  --accent-600: #f0b56b;
  --accent-ink: #eaa54f;
  --accent-soft: #2c2318;

  --rose: #f0a5a1;
  --rose-ink: #f0a5a1;
  --rose-soft: #2c1e1e;

  --band: #16283b;

  --bg: #131920;
  --bg-tint: #182028;
  --bg-soft: #1a222b;
  --bg-elevated: #1e2832;
  --surface: #1e2832;
  --surface-2: #242f3a;

  --text: #e9edf1;
  --text-2: #bfc9d3;
  --muted: #8b98a5;
  --border: #2b3742;
  --border-strong: #3d4c59;

  --success: #4ade80;
  --success-soft: #0f2417;
  --danger: #f97066;
  --danger-soft: #2a1512;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
  --shadow: 0 8px 22px rgba(0, 0, 0, .45);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, .58);
}

/* --------------------------------------------------------------- 2. Temel */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Georgia yalnızca 400 ve 700 ağırlıklarına sahiptir; 600 istemek
   tarayıcının kalın sentezlemesine yol açar, bu yüzden başlıklar 700. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.28;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(1.95rem, 4.3vw, 3.1rem); line-height: 1.16; letter-spacing: -.015em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; color: var(--text-2); }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Lucide ikonları hizalanır */
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; flex: none; }
.lucide { display: inline-block; vertical-align: middle; }

::selection { background: var(--brand); color: #fff; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.center { justify-content: center; text-align: center; }

/* -------------------------------------------------------------- 3. Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, background-color .16s ease, border-color .16s ease,
              color .16s ease, box-shadow .16s ease;
}
.btn [data-lucide] { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
[data-theme='dark'] .btn-primary { color: #10202e; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Bu iki düğme yalnızca gradient şeritlerin üstünde kullanılır;
   şerit zemini pastel olduğu için metinleri koyu zeytin tonundadır. */
.btn-light { background: var(--grad-ink); color: #fff; }
.btn-light:hover { background: #232b1c; color: #fff; }

.btn-outline-light { background: transparent; color: var(--grad-ink); border-color: color-mix(in srgb, var(--grad-ink) 42%, transparent); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--grad-ink) 10%, transparent); border-color: var(--grad-ink); color: var(--grad-ink); }

.btn-sm { padding: .5rem .85rem; font-size: .85rem; }
.btn-lg { padding: .92rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  font-size: 18px;
  transition: border-color .16s, color .16s, background-color .16s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* --------------------------------------------------------------- 4. Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

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

.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-deep);
  color: #ffffff; font-size: 21px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em;
}
.brand-text small { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav > a, .dropdown-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem;
  border: 0; background: transparent;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font: inherit; font-size: .93rem; font-weight: 500;
  cursor: pointer;
  transition: color .16s, background-color .16s;
}
.nav > a:hover, .dropdown-toggle:hover { color: var(--brand); background: var(--brand-soft); }
.nav > a.active, .dropdown-toggle.active { color: var(--brand); font-weight: 600; }
.dropdown-toggle [data-lucide] { width: 15px; height: 15px; transition: transform .2s; }
.dropdown.open .dropdown-toggle [data-lucide] { transform: rotate(180deg); }
.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: .55rem; flex: none; }
.menu-toggle { display: none; }

/* Tema düğmesi */
.icon-sun, .icon-moon { display: none; width: 18px !important; height: 18px !important; }
[data-theme='light'] .icon-moon { display: block; }
[data-theme='dark']  .icon-sun  { display: block; }

/* Açılır menü */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(720px, 88vw);
  padding: .85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dropdown-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .1rem .45rem .7rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .6rem;
  font-size: .8rem; color: var(--muted);
}
.dropdown-head a { font-weight: 600; font-size: .82rem; }

.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.dropdown-grid a {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .6rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background-color .14s;
}
.dropdown-grid a:hover { background: var(--surface-2); }
.dd-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px; flex: none;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: 16px;
}
.dd-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dd-text strong { font-size: .86rem; font-weight: 600; }
.dd-text small { font-size: .73rem; color: var(--muted); }

/* ------------------------------------------------------------------ 5. Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(880px 440px at 86% -26%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%),
    radial-gradient(780px 400px at 4% -8%, color-mix(in srgb, var(--grad-a) 46%, transparent), transparent 66%),
    linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 66%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .85rem;
  margin-bottom: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border-strong));
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: .8rem; font-weight: 600;
}
.badge [data-lucide] { color: var(--accent-ink); width: 15px; height: 15px; }

.hero h1 { margin-bottom: 1.05rem; }

/* Elle çizilmiş hissi veren fosforlu kalem vurgusu — gradient paletinden */
.mark {
  color: var(--brand);
  background-image: linear-gradient(90deg, var(--grad-b) 0%, var(--grad-a) 42%, var(--grad-c) 100%);
  background-repeat: no-repeat;
  background-size: 100% .32em;
  background-position: 0 90%;
  padding-inline: .04em;
}

.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--text-2); max-width: 60ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1.6rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-size: .89rem; color: var(--text-2); }
.hero-points [data-lucide] { width: 16px; height: 16px; color: var(--brand); }

/* Hero kategori dizini — editoryal içindekiler listesi */
.index-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.index-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.index-kicker { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; }
.index-count { font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

.index-list a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .58rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background-color .14s;
}
.index-list li:last-child a { border-bottom: 0; }
.index-list a:hover { background: var(--surface-2); color: var(--text); }
.index-no {
  font-size: .73rem; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: .03em;
  transition: color .14s;
}
.index-list a:hover .index-no { color: var(--brand); }
.index-name { font-size: .9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.index-meta {
  font-size: .72rem; font-weight: 700; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: .08rem .48rem; border-radius: var(--radius-pill);
  transition: color .14s, border-color .14s;
}
.index-list a:hover .index-meta { color: var(--c); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }

.index-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .85rem 1.2rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: .84rem; font-weight: 600; color: var(--brand);
}
.index-foot [data-lucide] { width: 15px; height: 15px; transition: transform .18s; }
.index-foot:hover [data-lucide] { transform: translateX(3px); }

/* --------------------------------------------------------------- 6. Bilgi şeridi */
.facts { background: var(--bg-soft); border-bottom: 1px solid var(--border-strong); }
.facts-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .45rem 2.4rem;
  padding: 1.15rem 22px;
}
.fact { position: relative; margin: 0; font-size: .88rem; color: var(--muted); }
.fact strong { color: var(--text); font-weight: 700; }
.fact + .fact::before {
  content: ''; position: absolute; left: -1.25rem; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--border-strong); transform: translateY(-50%);
}

/* ---------------------------------------------------------------- 7. Bölüm */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border-strong); }

.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head h2 { margin-bottom: .6rem; }
.section-head p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .75rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: .97rem; font-weight: 700;
  letter-spacing: 0;
}
.eyebrow [data-lucide] { width: 15px; height: 15px; }

.section-foot { display: flex; justify-content: center; margin-top: 2.2rem; }

/* -------------------------------------------------------- 8. Hizmet kartları */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 45%, var(--border));
  box-shadow: var(--shadow);
  color: var(--text);
}

.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: 22px;
}
.card-icon.sm { width: 38px; height: 38px; font-size: 18px; border-radius: 9px; margin: 0; }
.card-icon.xl { width: 62px; height: 62px; font-size: 29px; border-radius: 13px; margin: 0; flex: none; }

.service-card h3 { margin-bottom: .35rem; font-size: 1.08rem; }
.service-card p { margin: 0 0 1.1rem; font-size: .88rem; color: var(--muted); }

.card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: auto; padding-top: .9rem;
  border-top: 1px solid var(--border);
}
.chip {
  display: inline-flex; align-items: center;
  padding: .22rem .62rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent);
  color: var(--c, var(--brand));
  font-size: .74rem; font-weight: 700;
  white-space: nowrap;
}
.card-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--c); }
.card-link [data-lucide] { width: 15px; height: 15px; transition: transform .18s; }
.service-card:hover .card-link [data-lucide] { transform: translateX(3px); }

/* ---------------------------------------------------------------- 9. Adımlar */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.8rem 1.5rem; counter-reset: step;
}
.steps li { padding-top: 1.05rem; border-top: 2px solid var(--text); }
.step-no {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent-ink);
}
.steps h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .87rem; color: var(--muted); }

/* -------------------------------------------------------------- 10. Özellik */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.feature-grid-tight { margin-bottom: 2rem; }
.feature {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  transition: border-color .18s, box-shadow .18s;
}
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.feature-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: .85rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 20px;
}
.feature h3 { margin-bottom: .3rem; font-size: 1.03rem; }
.feature p { margin: 0; font-size: .87rem; color: var(--muted); }

/* -------------------------------------------------------------- 11. CTA şeridi */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: clamp(1.9rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--grad);
  box-shadow: var(--shadow);
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 260px at 92% -36%, color-mix(in srgb, var(--sage) 38%, transparent), transparent 72%);
}
.cta-copy, .cta-actions { position: relative; z-index: 1; }
.cta-copy { max-width: 620px; }
.cta-band h2 { color: var(--grad-ink); margin-bottom: .5rem; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.cta-band p { color: color-mix(in srgb, var(--grad-ink) 84%, transparent); margin: 0; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* --------------------------------------------------------- 12. Sayfa başlığı */
.page-head {
  padding: clamp(2rem, 4vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-head h1 { margin: .6rem 0 .7rem; }
.page-head .lead { margin: 0; }
.page-head-detail { border-bottom-color: color-mix(in srgb, var(--c) 32%, var(--border)); }

.crumbs { display: flex; align-items: center; gap: .45rem; font-size: .83rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [data-lucide] { width: 14px; height: 14px; opacity: .6; }
.crumbs span { color: var(--text-2); font-weight: 600; }

.detail-head { display: flex; align-items: flex-start; gap: 1.3rem; margin-top: .8rem; }
.detail-head > div { min-width: 0; }
.detail-head .chip { --c: inherit; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); margin-bottom: .5rem; }

/* ----------------------------------------------------------------- 13. Arama */
.searchbar {
  position: relative;
  display: flex; align-items: center; gap: .5rem;
  max-width: 720px;
  margin-top: 1.6rem;
  padding: .4rem .4rem .4rem 2.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}
.searchbar-icon { position: absolute; left: 1.05rem; color: var(--muted); width: 18px; height: 18px; }
.searchbar input {
  flex: 1; min-width: 0;
  padding: .6rem .2rem;
  border: 0; background: transparent;
  font-family: var(--font); font-size: .94rem; color: var(--text);
}
.searchbar input:focus { outline: none; }
.searchbar .btn { border-radius: var(--radius-pill); }

.search-summary { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.search-summary a { font-weight: 600; }

/* ------------------------------------------------------- 14. Arama sonuçları */
.results { display: grid; gap: 1.1rem; }
.result-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}
.result-card header { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.result-card h2 { margin: 0; font-size: 1.15rem; }
.result-card header p { margin: .1rem 0 0; font-size: .85rem; color: var(--muted); }

.mini-list { display: grid; gap: .35rem; margin-bottom: 1rem; }
.mini-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .87rem; color: var(--text-2); }
.mini-list [data-lucide] { width: 15px; height: 15px; color: var(--brand); margin-top: .28rem; }
.mini-list .more { color: var(--muted); font-style: italic; font-size: .83rem; padding-left: 1.35rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .87rem; font-weight: 600; }
.link-arrow [data-lucide] { width: 15px; height: 15px; transition: transform .18s; }
.link-arrow:hover [data-lucide] { transform: translateX(3px); }

/* ------------------------------------------------------------ 15. Boş durum */
.empty-state { max-width: 620px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.empty-state-lg { padding: 4rem 1.5rem; }
.empty-state > [data-lucide] { width: 56px; height: 56px; color: var(--muted); opacity: .55; margin-bottom: 1rem; }
.empty-state h1, .empty-state h2 { margin-bottom: .5rem; }
.empty-state p { color: var(--muted); }
.empty-state .hero-actions { justify-content: center; margin-bottom: 1.5rem; }
.error-code {
  display: block;
  font-family: var(--font-display);
  font-size: 3.6rem; font-weight: 700; color: var(--brand);
  letter-spacing: -.02em; line-height: 1; margin-bottom: .3rem;
}

/* ------------------------------------------------------------ 16. Katalog */
.quick-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.quick-nav a {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text-2);
  font-size: .83rem; font-weight: 500;
  transition: border-color .16s, color .16s, background-color .16s;
}
.quick-nav a:hover { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); }
.quick-nav a [data-lucide] { width: 15px; height: 15px; color: var(--c); }
.quick-nav.center { justify-content: center; margin-top: 1.5rem; margin-bottom: 0; }

.catalog { display: grid; gap: 1.6rem; }
.catalog-block {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}
.catalog-head { display: flex; align-items: flex-start; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.catalog-title { flex: 1; min-width: 0; }
.catalog-title .chip { --c: inherit; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); margin-bottom: .45rem; }
.catalog-title h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.catalog-title h2 a { color: var(--text); }
.catalog-title h2 a:hover { color: var(--brand); }
.catalog-title p { margin: 0; font-size: .89rem; color: var(--muted); }
.catalog-head .btn { flex: none; }

.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .3rem .6rem; padding-top: 1.2rem; }
.service-list li { display: flex; align-items: flex-start; gap: .55rem; padding: .3rem 0; font-size: .89rem; color: var(--text-2); }
.service-list [data-lucide] { width: 16px; height: 16px; color: var(--c, var(--brand)); margin-top: .3rem; }
.service-list-lg { grid-template-columns: 1fr 1fr; padding-top: 0; margin-bottom: 2.2rem; }
.service-list-lg li { font-size: .93rem; }

.catalog-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.catalog-foot > span { display: inline-flex; align-items: center; gap: .4rem; font-size: .83rem; color: var(--muted); }
.catalog-foot > span [data-lucide] { width: 15px; height: 15px; }

/* --------------------------------------------------------- 17. Detay sayfası */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; align-items: start; }

.callout {
  display: flex; gap: 1rem;
  padding: 1.3rem 1.4rem;
  margin-bottom: 2.2rem;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--border));
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.callout > [data-lucide] { width: 24px; height: 24px; color: var(--brand); margin-top: .2rem; }
.callout h2 { margin-bottom: .3rem; font-size: 1.05rem; }
.callout p { margin: 0; font-size: .92rem; }

.block-title { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; margin-bottom: 1.2rem; }
.block-title [data-lucide] { width: 20px; height: 20px; color: var(--brand); }
.block-title .count {
  font-family: var(--font);
  font-size: .78rem; font-weight: 700;
  padding: .15rem .55rem; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted);
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.6rem; }
.info-grid-wide { margin-top: 1.4rem; }
.info-card .muted { color: var(--muted); font-size: .82rem; }
.info-card address { margin: 0; }
.info-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.info-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: .75rem;
  border-radius: 9px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--brand); font-size: 18px;
}
.info-card h3 { margin-bottom: .4rem; font-size: .98rem; }
.info-card p { margin: 0; font-size: .87rem; color: var(--text-2); }
.info-card ul { display: grid; gap: .3rem; }
.info-card ul li { position: relative; padding-left: 1rem; font-size: .87rem; color: var(--text-2); }
.info-card ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

.notice {
  display: flex; gap: .8rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.notice > [data-lucide] { width: 19px; height: 19px; color: var(--muted); margin-top: .22rem; }
.notice p { margin: 0; font-size: .87rem; color: var(--muted); }

.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.1rem; }

.side-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}
.side-card h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.side-card > p { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }

.side-card-cta {
  background: linear-gradient(170deg, var(--brand-soft), var(--bg-elevated) 70%);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
}
.side-points { display: grid; gap: .45rem; margin-top: 1.1rem; }
.side-points li { display: flex; align-items: center; gap: .5rem; font-size: .83rem; color: var(--text-2); }
.side-points [data-lucide] { width: 15px; height: 15px; color: var(--brand); }

.side-links { display: grid; gap: .25rem; margin-bottom: 1rem; }
.side-links a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .5rem;
  border-radius: var(--radius-sm);
  color: var(--text); font-size: .88rem; font-weight: 500;
  transition: background-color .14s, color .14s;
}
.side-links a:hover { background: var(--surface-2); color: var(--brand); }
.side-links a > span:not(.side-ic) { flex: 1; min-width: 0; }
.side-links a > [data-lucide] { width: 15px; height: 15px; color: var(--muted); opacity: 0; transition: opacity .16s, transform .16s; }
.side-links a:hover > [data-lucide] { opacity: 1; transform: translateX(2px); }

.side-ic {
  display: grid; place-items: center;
  width: 32px; height: 32px; flex: none;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  color: var(--c, var(--brand));
  font-size: 16px;
}

.side-card-tip { text-align: left; }
.side-card-tip .side-ic { margin-bottom: .8rem; background: var(--rose-soft); color: var(--rose-ink); }
.side-card-tip p { font-size: .87rem; margin-bottom: 1rem; }

/* -------------------------------------------------------------- 18. Metin */
.prose { max-width: 860px; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1rem; }
.prose-list { display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.prose-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .94rem; color: var(--text-2); }
.prose-list [data-lucide] { width: 18px; height: 18px; color: var(--brand); margin-top: .25rem; }
.prose-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ----------------------------------------------------------- 19. İletişim */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
.contact-side { display: grid; gap: 1.1rem; }

.alert {
  display: flex; gap: .85rem;
  padding: 1.05rem 1.2rem;
  margin-bottom: 1.4rem;
  border: 1px solid;
  border-radius: var(--radius);
}
.alert > [data-lucide] { width: 22px; height: 22px; margin-top: .15rem; }
.alert strong { display: block; margin-bottom: .1rem; font-size: .95rem; }
.alert p { margin: 0; font-size: .87rem; }
.alert-success { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 40%, transparent); color: var(--success); }
.alert-success p { color: var(--text-2); }
.alert-error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--danger); }
.alert-error p { color: var(--text-2); }

.form-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-xs);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .38rem; margin-bottom: 1.1rem; }
.field label { font-size: .87rem; font-weight: 600; color: var(--text); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .8rem; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font); font-size: .92rem;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6873' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.3rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.hint { font-size: .8rem; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.4rem; font-size: .85rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: .22rem; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }

.form-note { margin: .9rem 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .75rem; }
.contact-list .side-ic { width: 36px; height: 36px; }
.contact-list div { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.contact-list strong { font-size: .84rem; }
.contact-list a, .contact-list span, .contact-list address { font-size: .89rem; color: var(--text-2); word-break: break-word; }
.contact-address { line-height: 1.5; }
.contact-list a:hover { color: var(--brand); }

.mini-steps { display: grid; gap: .85rem; counter-reset: ms; }
.mini-steps li { position: relative; padding-left: 2.1rem; }
.mini-steps li::before {
  counter-increment: ms; content: counter(ms);
  position: absolute; left: 0; top: .05rem;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-size: .76rem; font-weight: 700;
}
.mini-steps strong { display: block; font-size: .88rem; }
.mini-steps span { font-size: .82rem; color: var(--muted); }

/* -------------------------------------------------------------- 20. Footer */
.site-footer { margin-top: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; background: var(--bg-soft); border-top: 1px solid var(--border-strong); }

.footer-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 2.8rem;
  border-radius: var(--radius-lg);
  background: var(--grad);
  box-shadow: var(--shadow);
}
.footer-cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 240px at 90% -34%, color-mix(in srgb, var(--sage) 35%, transparent), transparent 72%);
}
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta h2 { color: var(--grad-ink); font-size: clamp(1.22rem, 2.2vw, 1.6rem); margin-bottom: .35rem; }
.footer-cta p { color: color-mix(in srgb, var(--grad-ink) 84%, transparent); margin: 0; font-size: .92rem; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--border); }
.footer-col h3 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .9rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .5rem; }
.footer-col ul a { font-size: .88rem; color: var(--text-2); }
.footer-col ul a:hover { color: var(--brand); }
.footer-brand .brand { margin-bottom: .9rem; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 32ch; }

.footer-contact li { display: flex; align-items: flex-start; gap: .5rem; font-size: .86rem; color: var(--text-2); }
.footer-contact [data-lucide] { width: 16px; height: 16px; color: var(--brand); margin-top: .22rem; }
.footer-contact a { color: var(--text-2); }
.footer-contact a:hover { color: var(--brand); }
.footer-contact + .btn { margin-top: 1rem; }

/* Adres blokları — <address> varsayılan italik yazısını sıfırla */
address { font-style: normal; }
.footer-address { font-size: .86rem; line-height: 1.55; color: var(--text-2); }

.footer-legal { display: inline-block; margin-top: .4rem; font-size: .78rem; line-height: 1.55; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.4rem;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brand); }

/* ------------------------------------------- 21. Karanlık temada kategori renkleri
   Kategori renkleri koyu zeminlerde okunmaz hale gelir; burada aydınlatılır. */
[data-theme='dark'] .card-icon,
[data-theme='dark'] .dd-icon,
[data-theme='dark'] .side-ic,
[data-theme='dark'] .index-meta {
  background: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  color: color-mix(in srgb, var(--c, var(--brand)) 42%, #ffffff);
}
[data-theme='dark'] .card-link,
[data-theme='dark'] .index-list a:hover .index-no,
[data-theme='dark'] .quick-nav a [data-lucide],
[data-theme='dark'] .service-list [data-lucide] {
  color: color-mix(in srgb, var(--c, var(--brand)) 44%, #ffffff);
}
[data-theme='dark'] .chip,
[data-theme='dark'] .catalog-title .chip,
[data-theme='dark'] .detail-head .chip {
  background: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  color: color-mix(in srgb, var(--c, var(--brand)) 42%, #ffffff);
}
[data-theme='dark'] .index-list a:hover .index-meta { border-color: color-mix(in srgb, var(--c) 45%, var(--border)); }
/* İpucu kartı rose kimliğini karanlık temada da korur. */
[data-theme='dark'] .side-card-tip .side-ic { background: var(--rose-soft); color: var(--rose-ink); }
[data-theme='dark'] .steps li { border-top-color: var(--border-strong); }

/* ---------------------------------------------------------- 22. Duyarlılık */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .contact-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}

@media (max-width: 940px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none; flex-direction: column; align-items: stretch;
    gap: .1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    margin: 0; padding: .9rem 22px 1.6rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav > a, .dropdown-toggle { padding: .8rem .8rem; font-size: 1rem; justify-content: space-between; width: 100%; }
  .nav-mobile-cta { display: inline-flex; margin-top: .6rem; }

  .dropdown-menu {
    position: static; transform: none; width: auto;
    opacity: 1; visibility: visible; display: none;
    margin: .3rem 0 .6rem; padding: .5rem;
    box-shadow: none; border-radius: var(--radius);
    background: var(--surface-2);
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
  .dropdown:not(.open) .dropdown-menu { display: none; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown-head { display: none; }

  .menu-toggle { display: inline-flex; }
  .hide-sm { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .brand-text small { display: none; }

  .facts-inner { gap: .4rem 1.6rem; }
  .fact + .fact::before { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .service-list, .service-list-lg { grid-template-columns: 1fr; }
  .steps { gap: 1.4rem; }

  .catalog-head { flex-wrap: wrap; }
  .catalog-head .btn { width: 100%; }
  .detail-head { flex-direction: column; gap: .9rem; }
  .cta-band, .footer-cta { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .searchbar { flex-wrap: wrap; border-radius: var(--radius); padding: .6rem .6rem .6rem 2.6rem; }
  .searchbar .btn { width: 100%; margin-top: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
