/* ==========================================================================
   Bizimköy Engelliler Üretim Merkezi Vakfı – site stili
   ========================================================================== */
:root {
  --green-900: #12401b;
  --green-800: #17522a;
  --green-700: #1f6b2c;
  --green-600: #258137;
  --green-500: #2e9e3e;
  --green-100: #e3f1df;
  --green-50: #f3f8f1;
  --accent: #f4a21d;
  --accent-600: #e08a00;
  --accent-ink: #8a4b00;
  --bark: #7a4329;
  --ink: #1b281d;
  --muted: #56655a;
  --line: #dde7da;
  --bg: #ffffff;
  --tint: #f5f9f3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 64, 27, .06), 0 8px 24px rgba(18, 64, 27, .08);
  --shadow-lg: 0 20px 50px rgba(18, 64, 27, .16);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Nunito", var(--font);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--green-900); color: #fff; padding: .6rem 1rem; z-index: 1000; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon.big { width: 56px; height: 56px; }
main { display: block; }
main:focus { outline: none; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #2b1a00; }
.btn-accent:hover { background: #ffb43a; color: #2b1a00; box-shadow: 0 8px 24px rgba(244, 162, 29, .35); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--green-700); font-family: var(--font-head); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon, .unit-card:hover .link-arrow .icon { transform: translateX(4px); }

/* Topbar ------------------------------------------------------------------ */
.topbar { background: var(--green-900); color: #dfeee0; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.topbar a { color: #dfeee0; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-contact, .topbar-tools { display: flex; align-items: center; gap: 1.25rem; }
.a11y { display: flex; gap: .25rem; }
.a11y button {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  border-radius: 6px; min-width: 34px; height: 28px; font: 700 .85rem var(--font-head); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.a11y button:hover { background: rgba(255,255,255,.2); }
.lang-switch { font-weight: 700; padding: .2rem .7rem; border-radius: 999px; background: var(--accent); color: #2b1a00 !important; }
.lang-switch:hover { background: #ffb43a; }

/* Header / Nav ------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18,64,27,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: .6rem .8rem; color: var(--ink); text-decoration: none;
  font: 700 1rem var(--font-head); border-radius: 8px;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--green-700); background: var(--green-50); }
.main-nav .nav-cta > a { margin-left: .5rem; }
.main-nav .nav-cta > a.btn { color: #fff; }
.main-nav .nav-cta > a.btn:hover { background: var(--green-800); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: .2rem !important; }
.sub-toggle { background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--muted); display: inline-flex; border-radius: 6px; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .icon, .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.sub a .icon { color: var(--green-600); }
.sub a:hover { background: var(--green-50); color: var(--green-700); }
.nav-toggle { display: none; background: var(--green-50); border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--green-900); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: linear-gradient(100deg, rgba(10,45,18,.92) 0%, rgba(18,64,27,.78) 45%, rgba(18,64,27,.25) 100%), var(--hero-img) center/cover no-repeat;
  min-height: min(78vh, 680px); display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 70px; z-index: -1;
  background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-inner { padding: 5rem 20px 7rem; }
.hero h1 { color: #fff; max-width: 14ch; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .35em; }
.hero .lead { max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e6f2e6; }
.hero .eyebrow { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.eyebrow { font: 800 .85rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Stats ------------------------------------------------------------------- */
.stats { margin-top: -3.5rem; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
.stat { padding: 1.6rem 1.2rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 800 clamp(1.8rem, 3.5vw, 2.6rem)/1.1 var(--font-head); color: var(--green-700); }
.stat span { color: var(--muted); font-weight: 600; font-size: .98rem; }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 26ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.intro-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 120px; height: 120px; border-radius: 24px; background: var(--accent); opacity: .25; z-index: -1; }
.intro-badge {
  position: absolute; right: -14px; bottom: -22px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: center; max-width: 290px;
  font: 700 .95rem/1.35 var(--font-head); color: var(--green-900);
}
.intro-badge .icon { width: 40px; height: 40px; color: var(--accent-600); }
.intro-badge:has(span:empty) { display: none; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature-icon .icon { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Unit cards -------------------------------------------------------------- */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.unit-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.unit-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--green-600), var(--green-900)); }
.unit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.unit-card:hover .unit-media img { transform: scale(1.05); }
.unit-media.no-img { display: grid; place-items: center; color: rgba(255,255,255,.85); background:
  radial-gradient(circle at 20% 20%, rgba(244,162,29,.35), transparent 45%), linear-gradient(135deg, var(--green-500), var(--green-900)); }
.unit-media.no-img .icon { width: 72px; height: 72px; }
.unit-body { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.unit-icon { position: absolute; top: -26px; right: 1.2rem; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #2b1a00; display: grid; place-items: center; box-shadow: var(--shadow); }
.unit-icon .icon { width: 26px; height: 26px; }
.unit-body h3 a { color: var(--green-900); text-decoration: none; }
.unit-body h3 a::after { content: ""; position: absolute; inset: 0; }
.unit-card { isolation: isolate; }
.unit-body p { color: var(--muted); font-size: 1rem; flex: 1; }

/* News cards -------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--green-100); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media .ph { display: grid; place-items: center; height: 100%; color: var(--green-600); }
.news-body { padding: 1.3rem 1.4rem 1.5rem; }
.news-body time, .meta time { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-ink); font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.news-body h3 { font-size: 1.15rem; }
.news-body h3 a { color: var(--green-900); text-decoration: none; }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-body p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Gallery ----------------------------------------------------------------- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery-strip .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-grid .g-item { margin-bottom: 1rem; break-inside: avoid; }
.g-item { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--green-100); }
.gallery-strip .g-item { aspect-ratio: 4/3; }
.gallery-strip .g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item img { transition: transform .5s, filter .3s; }
.g-item:hover img { transform: scale(1.04); filter: brightness(.9); }

.lightbox { position: fixed; inset: 0; background: rgba(8, 20, 10, .94); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #e6efe6; margin-top: .8rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.6rem; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Partners ---------------------------------------------------------------- */
.partner-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.partner-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.2rem 1rem; text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s;
}
.partner-grid li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-grid li > a { display: flex; flex-direction: column; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.partner-grid li > a:hover { color: var(--green-700); }
.partner-grid img { height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.content .partner-grid { margin-top: 2.5rem; }

/* CTA --------------------------------------------------------------------- */
.cta { background: linear-gradient(120deg, var(--green-800), var(--green-600)); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(244,162,29,.18); right: -120px; top: -180px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem 20px; position: relative; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: #dcefdc; margin: 0; max-width: 55ch; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Page head --------------------------------------------------------------- */
.page-head { background: radial-gradient(circle at 85% 0%, rgba(244,162,29,.22), transparent 40%), linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: 3.2rem 0 3.6rem; }
.page-head h1 { color: #fff; margin: .2rem 0 0; }
.page-head .lead { color: #dcefdc; margin: .8rem 0 0; max-width: 65ch; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .92rem; color: #cfe5cf; }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; opacity: .7; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Layouts ----------------------------------------------------------------- */
.layout-narrow { max-width: 860px; }
.layout-side { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.layout-side-right { grid-template-columns: 1fr 320px; }
.side-nav { position: sticky; top: 110px; }
.side-nav h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.side-nav ul { list-style: none; margin: 0; padding: .5rem; background: var(--tint); border-radius: var(--radius); border: 1px solid var(--line); }
.side-nav a { display: flex; gap: .6rem; align-items: center; padding: .7rem .9rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.side-nav a .icon { color: var(--green-600); }
.side-nav a:hover { background: #fff; color: var(--green-700); }
.side-nav a[aria-current] { background: var(--green-700); color: #fff; }
.side-nav a[aria-current] .icon { color: #fff; }
.side-card { margin-top: 1.25rem; background: var(--green-900); color: #dcefdc; border-radius: var(--radius); padding: 1.5rem; }
.side-card h3 { color: #fff; }
.side-card p { font-size: .98rem; }
.content-cover { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); max-height: 520px; object-fit: cover; }
.content .meta { margin-bottom: 1rem; }

/* Prose (editör içeriği) -------------------------------------------------- */
.prose { font-size: 1.08rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; color: var(--green-700); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--green-500); }
.prose blockquote { margin: 1.5rem 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--accent); background: #fff8ec; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: #4a3a1c; }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem auto; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--green-50); color: var(--green-900); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); }
.prose .lead { font-size: 1.2rem; }

/* İçerikte kullanılabilecek bileşenler */
.prose .fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.prose .fact { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.prose .fact strong { display: block; font: 800 1.6rem/1.15 var(--font-head); color: var(--green-700); }
.prose .fact span { font-size: .95rem; color: var(--muted); }
.prose .goal-list { list-style: none; padding: 0; counter-reset: g; display: grid; gap: .8rem; }
.prose .goal-list li { counter-increment: g; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: var(--tint); border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 0; }
.prose .goal-list li::before { content: counter(g); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--green-700); color: #fff; font: 800 .95rem/1.9rem var(--font-head); text-align: center; }
.prose .people { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.prose .people li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-500); border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 0; }
.prose .people strong { display: block; color: var(--green-900); }
.prose .people span { font-size: .93rem; color: var(--muted); }
.prose .bar-list { list-style: none; padding: 0; }
.prose .bar-list li { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: .8rem; }
.prose .bar-list .bar { height: 12px; border-radius: 6px; background: var(--green-100); overflow: hidden; }
.prose .bar-list .bar .fill { display: block; height: 100%; font-size: 0; color: transparent; background: linear-gradient(90deg, var(--green-500), var(--green-700)); border-radius: 6px; }
.prose .note { background: #fff8ec; border: 1px solid #f7dcae; border-radius: var(--radius-sm); padding: 1rem 1.2rem; }

/* Share ------------------------------------------------------------------- */
.share { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share span { font-weight: 700; margin-right: .3rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.share a:hover { background: var(--green-700); color: #fff; }

/* Pagination -------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a { min-width: 44px; height: 44px; padding: 0 .9rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.pagination a:hover { border-color: var(--green-700); color: var(--green-700); }
.pagination a[aria-current] { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* References -------------------------------------------------------------- */
.ref-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.ref-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.ref-card:hover { box-shadow: var(--shadow); border-color: var(--green-100); }
.ref-card img { width: 56px; height: 56px; object-fit: contain; }
.ref-initial { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; font: 800 1.35rem var(--font-head); }
.ref-card strong { display: block; color: var(--green-900); line-height: 1.3; }
.ref-card strong a { color: inherit; text-decoration: none; }
.ref-card span { color: var(--muted); font-size: .92rem; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ii { width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.info-list strong { display: block; color: var(--green-900); font-family: var(--font-head); }
.info-list a { text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form-wrap { background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 700; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid #c8d6c4; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(46,158,62,.15); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--green-700); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert-success { background: #e5f5e3; color: #17522a; border: 1px solid #b9e0b4; }
.alert-error { background: #fdeceb; color: #8c1d18; border: 1px solid #f3c1bd; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--green-900); color: #c9dcca; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 4rem 20px 3rem; }
.footer-logo { background: #fff; padding: .7rem 1rem; border-radius: 12px; height: 76px; width: auto; margin-bottom: 1.2rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #c9dcca; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .3rem; color: var(--accent); }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--accent); color: #2b1a00; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.to-top .icon { transform: rotate(180deg); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--green-900); color: #fff; }

.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 500; }
.cookie-inner { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1rem 1.3rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 980px; }
.cookie-inner p { margin: 0; font-size: .95rem; flex: 1 1 380px; }
.cookie-actions { display: flex; gap: .5rem; }

.notfound .big404 { font: 800 clamp(5rem, 15vw, 9rem)/1 var(--font-head); color: var(--green-100); margin: 0; -webkit-text-stroke: 2px var(--green-500); }
.empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* Reveal animasyonu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Yüksek kontrast modu ---------------------------------------------------- */
html.hc { --ink: #000; --muted: #111; --line: #000; --tint: #fff; --green-50: #fff; --green-100: #fff; --green-700: #003d0c; --green-900: #000; }
html.hc body { background: #fff; }
html.hc a { text-decoration: underline !important; }
html.hc .hero { background: #000; }
html.hc .page-head, html.hc .cta, html.hc .site-footer, html.hc .topbar { background: #000; }
html.hc .btn-primary { background: #000; border-color: #000; }
html.hc .btn-accent, html.hc .lang-switch { background: #ffd800; color: #000 !important; }
html.hc .unit-card, html.hc .news-card, html.hc .feature, html.hc .ref-card { border: 2px solid #000; }
html.hc .eyebrow { color: #000; }
html.hc .hero .eyebrow, html.hc .footer-contact .icon { color: #ffd800; }
html.hc img { filter: contrast(1.1); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: .6rem .55rem; font-size: .95rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-open .site-header { z-index: 300; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 200;
    padding: 5.5rem 1.2rem 2rem; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,20,10,.5); z-index: 150; }
  .nav-toggle { position: relative; z-index: 210; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav > ul > li > a { padding: .85rem 1rem; font-size: 1.05rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { padding: .7rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; width: 100%; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .main-nav .nav-cta > a { margin: 1rem 0 0; }
  .layout-side, .layout-side-right { grid-template-columns: 1fr; }
  .layout-side .side-nav { position: static; }
  .layout-side:not(.layout-side-right) .side-nav { order: 2; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { margin-bottom: 1.5rem; }
  .unit-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hide-sm, .topbar .hide-sm, .topbar .lang-switch span { display: none; }
  .topbar-inner { gap: .5rem; }
  .topbar-tools { gap: .5rem; }
  .topbar a span { white-space: nowrap; }
  .a11y button { min-width: 30px; }
  .topbar .lang-switch::after { content: attr(hreflang); text-transform: uppercase; }
  .header-inner { min-height: 72px; }
  .brand img { height: 50px; }
  .hero-inner { padding: 3.5rem 16px 6rem; }
  .unit-grid, .news-grid, .feature-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .intro-badge { position: static; margin-top: 1rem; max-width: none; }
  .lightbox { padding: 3.5rem .5rem; }
  .lb-prev, .lb-next { top: auto !important; bottom: 1rem; transform: none !important; }
  .prose .bar-list li { grid-template-columns: 90px 1fr 40px; }
  .footer-bottom-inner { padding-right: 76px; }
}
@media (max-width: 380px) {
  .topbar-contact a span { display: none; }
  .topbar-contact a .icon { width: 1.3em; height: 1.3em; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta, .to-top, .cookie-bar, .share, .side-nav { display: none !important; }
  .page-head { background: none; color: #000; padding: 0; }
  .page-head h1 { color: #000; }
}

/* Anasayfa slider -------------------------------------------------------- */
.hero-slider { background: var(--green-900); display: block; padding: 0; }
.hero-slider .slides { display: grid; }
.hero-slider .slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: min(82vh, 720px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slider .slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--green-900); }
.slide-media img, .slide-media video { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide-media img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,45,18,.9) 0%, rgba(18,64,27,.72) 45%, rgba(18,64,27,.2) 100%); }
.hero-slider .hero-inner { padding-top: 5rem; padding-bottom: 8.5rem; }
.slide .hero-inner > * { transform: translateY(16px); opacity: 0; transition: transform .7s ease .25s, opacity .7s ease .25s; }
.slide.is-active .hero-inner > * { transform: none; opacity: 1; }
.slide .hero-inner > *:nth-child(2) { transition-delay: .35s; }
.slide .hero-inner > *:nth-child(3) { transition-delay: .45s; }
.slide .hero-inner > *:nth-child(4) { transition-delay: .55s; }
.hero h2.h1 { color: #fff; max-width: 14ch; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .35em; }
.hero-slider::after { z-index: 2; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 5.2rem; z-index: 3; display: flex; align-items: center; gap: .6rem; }
.sl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(0,0,0,.18); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); }
.sl-btn:hover { background: #fff; color: var(--green-900); }
.sl-prev .icon { transform: rotate(90deg); }
.sl-next .icon { transform: rotate(-90deg); }
.sl-pause { margin-left: auto; }
.sl-pause .i-play, .sl-pause.paused .i-pause { display: none; }
.sl-pause.paused .i-play { display: block; }
.sl-dots { display: flex; gap: .5rem; }
.sl-dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.sl-dots button[aria-selected="true"] { width: 34px; background: var(--accent); }
html.hc .slide::before { background: rgba(0,0,0,.82); }
@media (max-width: 640px) {
  .hero-slider .slide { min-height: 620px; align-items: flex-start; }
  .hero-slider .hero-inner { padding-top: 3rem; padding-bottom: 9rem; }
  .slider-ui { bottom: 4.6rem; }
  .sl-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active .slide-media img { animation: none; }
  .slide .hero-inner > * { transform: none; opacity: 1; }
}

