/* ==========================================================================
   Tedarik — ön yüz stilleri
   Tasarım sistemi: design-system/tedarik/MASTER.md (ui-ux-pro-max)
   Yön bağımsız: margin/padding için logical property (inline-start/end) → AR sağdan sola çalışır.
   ========================================================================== */

/* ── Fontlar (yerel, OFL) ─────────────────────────────────────────────────── */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-ext-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-latin-ext-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-sans-cyrillic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ── Token'lar ────────────────────────────────────────────────────────────── */
:root {
  /* renk: lacivert-siyah zemin, beyaz yüzey, tek vurgu (panelden --accent ile değişir) */
  --ink: #0B1220;
  --ink-2: #1E293B;
  --text: #0F172A;
  --text-muted: #475569;       /* beyaz üzerinde 7.5:1 */
  --surface: #FFFFFF;
  --surface-muted: #F3F5F8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent: #0369A1;           /* beyaz metinle 5.9:1 */
  --accent-ink: #FFFFFF;
  --danger: #B91C1C;
  --success: #15803D;
  --on-dark: #F8FAFC;
  --on-dark-muted: #CBD5E1;

  --font-head: "Manrope", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plex Sans", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* tip ölçeği */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);

  /* boşluk (8 ritmi) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 7rem);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06);
  --shadow: 0 8px 24px -8px rgb(15 23 42 / .16);
  --shadow-lg: 0 24px 48px -16px rgb(15 23 42 / .28);

  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur: 200ms;

  --z-header: 40;
  --z-overlay: 60;
  --z-cookie: 80;
}

html[dir="rtl"] {
  --font-head: "Plex Arabic", "Manrope", system-ui, sans-serif;
  --font-body: "Plex Arabic", "Plex Sans", system-ui, sans-serif;
}

/* ── Temel ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[dir="rtl"] body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
main:focus { outline: none; }

.skip-link {
  position: absolute; inset-inline-start: var(--sp-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--sp-4); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.align-center { text-align: center; }
.align-center .btn-row { justify-content: center; }
.mt-lg { margin-top: var(--sp-7); }

.icon { flex: none; }
html[dir="rtl"] .icon-dir { transform: scaleX(-1); }

/* ── Tipografi ────────────────────────────────────────────────────────────── */
.h1 { font-size: var(--fs-h1); font-weight: 700; }
.h2 { font-size: var(--fs-h2); font-weight: 700; }
.h3 { font-size: var(--fs-h3); font-weight: 650; }
.h4 { font-size: var(--fs-md); font-weight: 650; }
.eyebrow {
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--sp-3); display: inline-flex; align-items: center; gap: var(--sp-3);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow--light { color: var(--on-dark); }
.lead { font-size: var(--fs-md); color: var(--text-muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head .h2 + .lead { margin-top: var(--sp-4); }

.prose { color: var(--text-muted); font-size: var(--fs-md); max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.6em; }
.prose h2 { font-size: var(--fs-h3); }
.prose h3 { font-size: var(--fs-md); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote { border-inline-start: 3px solid var(--accent); padding-inline-start: var(--sp-4); margin-inline: 0; color: var(--text); }
.prose--lead { font-size: var(--fs-lg); color: var(--text); }
.h2 + .prose, .h2 + .prose--lead { margin-top: var(--sp-5); }
.align-center .prose, .align-center .lead { margin-inline: auto; }

/* ── Butonlar ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-5); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon-dir { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .icon-dir { transform: scaleX(-1) translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 var(--sp-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 85%, black); }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--surface); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--surface-muted); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--surface-muted); }
.btn--light-outline { border-color: rgb(255 255 255 / .7); color: var(--on-dark); background: transparent; }
.btn--light-outline:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; color: inherit; min-height: 44px; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(8px);
}
.is-home .site-header { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; backdrop-filter: none; color: var(--on-dark); transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur); }
.is-home .site-header.is-scrolled, .is-home .site-header.is-open { background: rgb(255 255 255 / .97); color: var(--text); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; font-family: var(--font-head); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; margin-inline-end: auto; }
.brand-logo { height: 40px; width: auto; }
.brand-logo--light { display: none; }
.is-home .site-header:not(.is-scrolled):not(.is-open) .brand-logo--dark { display: none; }
.is-home .site-header:not(.is-scrolled):not(.is-open) .brand-logo--light { display: block; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; }
.main-nav ul { display: flex; gap: var(--sp-1); list-style: none; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 500; font-size: .925rem; border-radius: var(--radius-sm); position: relative; white-space: nowrap; }
.brand-text { white-space: nowrap; }
@media (max-width: 1320px) { .header-cta { display: none; } }
.main-nav a::after { content: ""; position: absolute; inset-inline: var(--sp-3); bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
html[dir="rtl"] .main-nav a::after { transform-origin: right; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--sp-3); background: transparent; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: var(--radius-sm); font-weight: 600; font-size: var(--fs-sm); }
.lang-btn[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 160px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--sp-2); list-style: none; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--dur), transform var(--dur), visibility var(--dur); }
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 var(--sp-3); border-radius: var(--radius-sm); text-decoration: none; }
.lang-menu a:hover { background: var(--surface-muted); }
.lang-menu a[aria-current="true"] { font-weight: 600; color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: var(--radius-sm); }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

@media (max-width: 1179px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); color: var(--text);
    padding: var(--sp-5) var(--gutter) var(--sp-7); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav a { min-height: 56px; font-size: 1.125rem; padding: 0; width: 100%; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--accent); }
  .nav-mobile-extra { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
  .nav-contact { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; text-decoration: none; color: var(--text-muted); }
  body.nav-open { overflow: hidden; }
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb { padding-block: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: var(--sp-2); color: var(--border-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb + .hero--page { margin-top: 0; }
.is-inner .breadcrumb { position: absolute; z-index: 2; inset-inline: 0; color: var(--on-dark-muted); }
.is-inner .breadcrumb li + li::before { color: rgb(255 255 255 / .4); }
.is-inner .breadcrumb [aria-current] { color: var(--on-dark); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--ink); display: flex; }
.hero--full { min-height: 100svh; min-height: max(640px, 100svh); align-items: flex-end; }
.hero--page { min-height: clamp(360px, 52vh, 520px); align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(11 18 32 / .55) 0%, rgb(11 18 32 / .25) 35%, rgb(11 18 32 / .85) 100%);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { padding-block: calc(var(--header-h) + var(--sp-8)) clamp(3rem, 2rem + 5vw, 6rem); }
.hero--page .hero-inner { padding-block: calc(var(--sp-9)) var(--sp-7); }
.hero-content { max-width: 760px; }
.hero-title { font-size: var(--fs-h1); font-weight: 750; color: #fff; }
.hero--page .hero-title { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.hero-text { margin-top: var(--sp-5); font-size: var(--fs-lg); color: var(--on-dark-muted); max-width: 60ch; line-height: 1.55; }

/* ── Bölümler ─────────────────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.tone-muted { background: var(--surface-muted); }
.tone-dark { background: var(--ink); color: var(--on-dark); }
.tone-dark .h2, .tone-dark .h3, .tone-dark .prose strong, .tone-dark .prose h2, .tone-dark .prose h3 { color: #fff; }
.tone-dark .lead, .tone-dark .prose { color: var(--on-dark-muted); }
.tone-dark .eyebrow { color: color-mix(in srgb, var(--accent) 45%, white); }
.tone-dark .btn--outline { border-color: #fff; color: #fff; }
.tone-dark .btn--outline:hover { background: #fff; color: var(--ink); }

/* metin + görsel */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--img-start .split-media { order: -1; }
}
.split-text .btn { margin-top: var(--sp-6); }
.split-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-muted); }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* açılır metin */
.readmore { margin-top: var(--sp-5); border-top: 1px solid var(--border); }
.tone-dark .readmore { border-color: rgb(255 255 255 / .15); }
.readmore summary { list-style: none; display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 48px; font-weight: 600; cursor: pointer; color: var(--accent); }
.tone-dark .readmore summary { color: #fff; }
.readmore summary::-webkit-details-marker { display: none; }
.readmore summary .icon { transition: transform var(--dur) var(--ease-out); }
.readmore[open] summary .icon { transform: rotate(180deg); }
.readmore .prose { padding-bottom: var(--sp-4); }

/* ürün kartları */
.cards { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); list-style: none; }
/* tam 4 kart: 3+1 yerine 2×2 (tek kalan kart boşlukta asılı durmasın) */
@media (min-width: 700px) { .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur); }
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-muted); }
.card-media img { transition: transform 600ms var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card-title { font-size: 1.25rem; font-weight: 700; }
.card-text { color: var(--text-muted); font-size: .975rem; }
.card-more { margin-top: auto; padding-top: var(--sp-2); display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; color: var(--accent); font-size: var(--fs-sm); }

/* adımlar */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; counter-reset: none; }
.step { position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-5); border-top: 2px solid var(--text); }
.tone-dark .step { border-color: rgb(255 255 255 / .8); }
.step-no { display: block; font-family: var(--font-head); font-size: 2.5rem; font-weight: 750; line-height: 1; color: var(--accent); margin-bottom: var(--sp-4); font-variant-numeric: tabular-nums; }
.tone-dark .step-no { color: color-mix(in srgb, var(--accent) 45%, white); }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--sp-2); }
.step-text { color: var(--text-muted); }
.tone-dark .step-text { color: var(--on-dark-muted); }

/* özellikler */
.features { display: grid; gap: var(--sp-6) var(--sp-7); list-style: none; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); }
.tone-dark .feature-icon { background: rgb(255 255 255 / .1); color: #fff; }
.feature-title { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--sp-2); }
.feature-text { color: var(--text-muted); }
.tone-dark .feature-text { color: var(--on-dark-muted); }

/* rakamlar */
.stats { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: var(--sp-2); }
.stat-value { margin: 0; font-family: var(--font-head); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-muted); }
.tone-dark .stat-label { color: var(--on-dark-muted); }
html[dir="rtl"] .stat-value { text-align: right; }

/* geniş görsel */
.image-band { position: relative; height: clamp(320px, 60vh, 640px); overflow: hidden; background: var(--ink); }
.image-band-img { width: 100%; height: 100%; object-fit: cover; }
.image-band-caption { position: absolute; inset-inline: 0; bottom: 0; padding-block: var(--sp-7) var(--sp-6); background: linear-gradient(0deg, rgb(11 18 32 / .8), transparent); color: #fff; font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 600; }

/* CTA bandı */
.cta-band { background: var(--accent); color: var(--accent-ink); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cta-inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } .cta-inner .btn-row { margin-top: 0; } }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: rgb(255 255 255 / .88); margin-top: var(--sp-3); }

/* ürün grubu detay */
.group-layout { display: grid; gap: var(--sp-7); }
@media (min-width: 1000px) { .group-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .group-aside { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); list-style: none; }
.chip { padding: var(--sp-2) var(--sp-4); border: 1px solid var(--border-strong); border-radius: 999px; font-size: .95rem; background: var(--surface); }
.group-aside { display: grid; gap: var(--sp-5); }
.aside-card { padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.aside-card .h4 { color: #fff; }
.aside-card p { color: var(--on-dark-muted); margin: var(--sp-3) 0 var(--sp-5); }
.aside-nav { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.aside-nav ul { list-style: none; margin-top: var(--sp-3); }
.aside-nav a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--border); }
.aside-nav li:last-child a { border-bottom: 0; }
.aside-nav a:hover { color: var(--accent); }

/* iletişim */
.contact-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-form-wrap { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-form-wrap .h3 { margin-bottom: var(--sp-5); }
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.req { color: var(--danger); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: var(--sp-3) var(--sp-4); font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-sm); min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: .95rem; color: var(--text-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-2); }
.form-status { font-weight: 500; }
.form-status.is-ok { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-info { display: grid; gap: var(--sp-5); align-content: start; }
.contact-lines { list-style: none; display: grid; gap: var(--sp-3); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--border); }
.contact-lines li { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-md); font-weight: 500; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--accent); }
.contact-lines .icon { color: var(--accent); }
.office-name { display: flex; align-items: center; gap: var(--sp-2); font-size: 1.05rem; font-weight: 700; margin-bottom: var(--sp-2); }
.office-name .icon { color: var(--accent); }
.office p { color: var(--text-muted); }
.office a { text-decoration: none; }
.map { margin-top: var(--sp-7); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface-muted); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }

.section--404 { padding-block: calc(var(--header-h) + var(--sp-9)) var(--sp-9); }
.section--404 .lead { margin: var(--sp-4) auto var(--sp-6); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: var(--sp-9); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-8); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand img { height: 44px; width: auto; }
.footer-tagline { margin-top: var(--sp-4); max-width: 36ch; }
.social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); list-style: none; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); color: #fff; transition: background-color var(--dur), border-color var(--dur); }
.social a:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .5); }
.footer-title { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4); }
html[dir="rtl"] .footer-title { letter-spacing: 0; }
.footer-col ul { list-style: none; display: grid; gap: var(--sp-1); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; transition: color var(--dur); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; padding-block: 6px; }
.footer-contact .icon { margin-top: 3px; color: color-mix(in srgb, var(--accent) 45%, white); }
.footer-contact a { min-height: 0; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: 64px; font-size: var(--fs-sm); }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #128C4A; color: #fff; box-shadow: var(--shadow-lg); transition: transform var(--dur) var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }

/* ── Çerez paneli ─────────────────────────────────────────────────────────── */
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: var(--z-cookie); display: flex; justify-content: flex-start; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie-box { pointer-events: auto; width: min(100%, 520px); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--sp-5); display: grid; gap: var(--sp-3); max-height: calc(100svh - 32px); overflow-y: auto; }
.cookie-title { font-size: 1.05rem; font-weight: 700; }
.cookie-text { font-size: .925rem; color: var(--text-muted); }
.cookie-text a { color: var(--accent); }
.cookie-prefs { display: grid; gap: var(--sp-3); padding-block: var(--sp-2); }
.cookie-prefs[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: flex-end; }
@media (max-width: 480px) { .cookie-actions .btn { flex: 1 1 auto; } }

/* ── Görünüme girince (hafif) ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .cookie, .wa-float { display: none !important; }
}
