/* ==========================================================================
   PEKER AGRO — Ana stil dosyası / Main stylesheet
   Renkleri değiştirmek için sadece :root bloğundaki değişkenleri düzenleyin.
   ========================================================================== */

:root {
  --green-900: #15321d;
  --green-800: #1d4527;
  --green-700: #2b6135;
  --green-600: #3a7a41;
  --green-500: #4f9350;
  --green-100: #e5efe3;
  --gold-600: #b8862a;
  --gold-500: #d3a03a;
  --gold-100: #f7ecd5;
  --chili: #c0472f;

  --ink: #1e241d;
  --muted: #5d6a5b;
  --line: #e2e0d6;
  --cream: #faf7f0;
  --paper: #ffffff;
  --sand: #f2ede1;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(21, 50, 29, .06), 0 2px 8px rgba(21, 50, 29, .05);
  --shadow-md: 0 4px 12px rgba(21, 50, 29, .08), 0 12px 32px rgba(21, 50, 29, .07);
  --shadow-lg: 0 18px 50px rgba(21, 50, 29, .16);

  --wrap: 1180px;
  --header-h: 76px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
/* Sayfa içi bağlantılar (#teklif, #belgeler...) yapışkan başlığın altında
   kalmasın diye hedefe boşluk bırakıyoruz. */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
/* Dokunmatikte bağlantıya basınca çıkan mavi kutuyu marka rengine çeviriyoruz */
a, button { -webkit-tap-highlight-color: rgba(43, 97, 53, .16); }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(36px, 4.5vw, 56px) 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--green-900); color: #dfe7dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.lead { font-size: 1.09rem; color: var(--muted); max-width: 68ch; }
.section--dark .lead { color: #b9c8b6; }
.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 .7rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--green-800); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .78em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .15s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--gold { background: var(--gold-500); color: #2c2205; }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--green-800); background: transparent; }
.btn--ghost:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--green-900); }
.btn--sm { padding: .55em 1.05em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- header */
/* DİKKAT: burada backdrop-filter KULLANMAYIN. backdrop-filter (transform ve
   filter gibi) kendisine bağlı position:fixed alt öğeler için yeni bir
   kapsayıcı blok oluşturur; bu yüzden mobil menü paneli ekranın tamamı yerine
   başlığın 121 piksellik kutusuna hapsolup görünmez hâle geliyordu. */
.header {
  position: sticky; top: 0; z-index: 100; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--green-900); color: #cddac9; font-size: .8rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #cddac9; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar__badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.topbar__badge {
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 1px 9px;
  font-size: .68rem; letter-spacing: .06em; font-weight: 600;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  display: grid; place-items: center; color: #fff;
}
/* Kurumsal logo (assets/img/logo-mark.png) varsa: beyaz yuvarlak rozet.
   Hem acik basliktaki hem koyu alt bilgideki zeminde okunakli duruyor. */
.logo__mark--img { border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.logo__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo__text { line-height: 1.05; }
.logo__name {
  font-family: var(--display); font-weight: 700; font-size: 1.16rem;
  color: var(--green-900); letter-spacing: .02em; display: block;
}
.logo__tag { font-size: .63rem; letter-spacing: .21em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: .62em .8em; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.menu > li > a:hover, .menu > li > a[aria-current="page"] { background: var(--green-100); color: var(--green-800); }
.menu .has-sub > a::after {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-left: .45em;
  border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; list-style: none;
  margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .5em .75em; border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink); font-weight: 500; }
.submenu a:hover { background: var(--green-100); color: var(--green-800); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__actions .btn { white-space: nowrap; }
.logo__name { white-space: nowrap; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper);
}
.lang a {
  padding: .3em .78em; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  color: var(--muted); text-transform: uppercase;
}
.lang a.is-active { background: var(--green-700); color: #fff; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--radius-sm); cursor: pointer; padding: 0; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--green-900); overflow: hidden; }
/* Slaytlar aynı grid hücresinde üst üste durur: kapsayıcı EN UZUN slaytın
   boyuna göre büyür. Eskiden position:absolute idi ve dar ekranlarda uzun
   başlıklar hero'nun dışına taşıp kırpılıyordu. */
.slides { position: relative; display: grid; min-height: clamp(420px, 66vh, 640px); }
.slide {
  grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; pointer-events: none;
  display: grid; align-items: center;
  transition: opacity .75s ease, visibility 0s linear .75s;
}
.slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .75s ease, visibility 0s;
}
.slide__bg { position: absolute; inset: 0; }
.slide__bg svg { width: 100%; height: 100%; }
.slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,38,21,.93) 0%, rgba(15,38,21,.72) 48%, rgba(15,38,21,.25) 100%);
}
.slide__inner { position: relative; z-index: 2; max-width: 640px; padding-block: 56px; color: #fff; }
.slide__inner .eyebrow { color: var(--gold-500); }
.slide h1, .slide h2 { color: #fff; margin-bottom: .35em; }
.slide p { color: #d5e0d1; font-size: 1.09rem; max-width: 52ch; }
.slider-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; gap: 9px; justify-content: center; }
.slider-dots button {
  width: 30px; height: 24px; border-radius: 3px; border: 0; padding: 10px 0; cursor: pointer;
  background: rgba(255,255,255,.35); background-clip: content-box; transition: .2s;
}
.slider-dots button.is-active { background: var(--gold-500); width: 46px; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.2); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.1rem;
}
.slider-arrow:hover { background: #fff; color: var(--green-900); }
.slider-arrow--prev { left: 14px; }
.slider-arrow--next { right: 14px; }

.pagehead { background: var(--green-900); color: #fff; padding: clamp(46px, 6vw, 78px) 0 clamp(38px, 5vw, 62px); position: relative; overflow: hidden; }
.pagehead::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,160,58,.22), transparent 68%);
}
.pagehead h1 { color: #fff; position: relative; z-index: 1; }
.pagehead .lead { color: #c3d1bf; position: relative; z-index: 1; }
.crumbs { font-size: .82rem; color: #9fb39b; margin-bottom: 1rem; position: relative; z-index: 1; }
.crumbs a { color: #c8d6c4; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; margin-inline: .45em; }

/* ---------------------------------------------------------------- grids */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.grid--split { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }

.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); flex-shrink: 0;
}
.feature__icon svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- products */
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s ease; box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfd6c9; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.product-card__media svg, .product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card__cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.product-card__title { font-size: 1.06rem; margin: 0; }
.product-card__title a { color: var(--green-900); }
.product-card__title a:hover { color: var(--green-700); }
.product-card__text { font-size: .89rem; color: var(--muted); margin: 0; flex: 1; }
.product-card__actions { display: flex; gap: 8px; margin-top: 10px; }
.product-card__actions .btn { flex: 1; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.94);
  border-radius: 999px; padding: 3px 10px; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--green-800); box-shadow: var(--shadow-sm);
}
.badge--soon { background: var(--green-800); color: #fff; }
.heat { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 2px; }
.heat span { width: 7px; height: 7px; border-radius: 50%; background: rgba(30,36,29,.16); }
.heat span.on { background: var(--chili); }

.cat-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  min-height: 210px; color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: #fff; }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); }
.cat-card > * { position: relative; z-index: 2; }
.cat-card h3 { color: #fff; margin-bottom: .25em; font-size: 1.22rem; }
.cat-card p { color: rgba(255,255,255,.86); font-size: .88rem; margin: 0; }
.cat-card__bg { position: absolute; inset: 0; z-index: 0; }
.cat-card__bg svg { width: 100%; height: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a {
  padding: .5em 1.05em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-size: .87rem; font-weight: 600; color: var(--muted);
}
.filters a:hover { border-color: var(--green-500); color: var(--green-700); }
.filters a.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
.pd__media { border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); position: relative; aspect-ratio: 4 / 3; }
.pd__media svg, .pd__media img { width: 100%; height: 100%; object-fit: cover; }
.spec-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt, .spec-list__label {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600);
  font-weight: 700; margin-bottom: 4px;
}
.spec-list__value { color: var(--ink); font-size: .95rem; margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 480px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--green-100); font-weight: 700; color: var(--green-800); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfaf6; }

/* ---------------------------------------------------------------- misc blocks */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__value { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--gold-500); line-height: 1; }
.stat__label { font-size: .87rem; color: #b9c8b6; margin-top: .5rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step__n {
  font-family: var(--display); font-size: 2.1rem; color: var(--green-100); line-height: 1;
  position: absolute; top: 16px; right: 20px;
}
.step h3 { font-size: 1.07rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--green-100); }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li::before {
  content: ''; position: absolute; left: -30px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100);
}
.timeline b { display: block; font-family: var(--display); font-size: 1.12rem; color: var(--green-800); }
.timeline p { color: var(--muted); margin: 0; font-size: .94rem; }

.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center;
}
.cert__code {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--green-800);
  display: block; margin-bottom: 4px;
}
.cert__name { font-size: .78rem; color: var(--muted); line-height: 1.4; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: .38em 1em; font-size: .86rem; font-weight: 500;
}
.section--dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #dfe7dc; }

.cta-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: var(--radius); padding: clamp(30px, 4.5vw, 52px); color: #fff;
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d3e2d0; margin: 0; max-width: 56ch; }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__media { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.post-card__meta { font-size: .78rem; color: var(--muted); display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.tag {
  background: var(--gold-100); color: var(--gold-600); border-radius: 999px; padding: 2px 10px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.post-card h3 { font-size: 1.1rem; }
.post-card h3 a { color: var(--green-900); }
.post-card p { font-size: .91rem; color: var(--muted); }

.prose { max-width: 72ch; }
.prose p { font-size: 1.03rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; color: var(--muted); }

/* Legal page rich-content styles */
.legal-prose { max-width: 82ch; }
.legal-prose h2 { font-size: 1.5rem; margin-top: 0; margin-bottom: .8em; color: var(--green-900); }
.legal-prose h3 { font-size: 1.15rem; margin-top: 2em; margin-bottom: .6em; color: var(--green-800); border-bottom: 1px solid var(--green-100); padding-bottom: .3em; }
.legal-prose h4 { font-size: 1rem; margin-top: 1.4em; margin-bottom: .4em; color: var(--green-700); }
.legal-prose p { line-height: 1.75; margin-bottom: 1em; }
.legal-prose ul { margin-bottom: 1.2em; }
.legal-prose li { margin-bottom: .35em; line-height: 1.7; }
.legal-prose a { color: var(--green-700); text-decoration: underline; }
.legal-prose a:hover { color: var(--green-900); }
.legal-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .93rem; }
.legal-prose th { background: var(--green-800); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
.legal-prose td { padding: 10px 14px; border-bottom: 1px solid var(--green-100); vertical-align: top; }
.legal-prose tbody tr:nth-child(even) { background: var(--green-50, #f4f9f2); }
.legal-prose em { font-size: .9rem; color: var(--muted); }

.note {
  background: var(--gold-100); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; font-size: .88rem; color: #6a5314; margin: 0 0 20px;
}

.note--soon { background: rgba(78,122,52,.10); border-left-color: var(--green-700); color: var(--green-900); }

/* --------------------------------------------------- hakkimizda fotografi */
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  box-shadow: var(--shadow-md); background: var(--paper);
}
.about-photo figcaption {
  margin-top: 12px; text-align: center; font-size: .9rem; color: var(--muted);
}

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--green-800); }
.field label .req { color: var(--chili); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .72em .9em; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(79,147,80,.16);
}
.field input[type="file"] { padding: .55em; background: var(--sand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--green-700); }
.form__msg { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form__msg.ok { display: block; background: var(--green-100); color: var(--green-800); }
.form__msg.err { display: block; background: #fbe6e2; color: #8e2f1c; }
.form-aside { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-item a, .contact-item span { color: var(--ink); font-size: .97rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--green-900); color: #a9bda5; padding-top: 60px; font-size: .92rem; }
.footer a { color: #cfdccb; }
.footer a:hover { color: #fff; }
.footer h4 {
  color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .13em;
  text-transform: uppercase; margin: 0 0 16px;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 34px; padding-bottom: 44px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .logo__name { color: #fff; }
.footer__about { max-width: 34ch; margin: 16px 0; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: .68em .9em;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07); color: #fff;
}
.newsletter input::placeholder { color: #8ea38a; }
.newsletter input:focus { outline: none; border-color: var(--gold-500); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: #cfdccb;
}
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #22261f; }
.social svg { width: 17px; height: 17px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- floats */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }

.cookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 95; max-width: 380px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; font-size: .87rem; display: none;
}
.cookie.show { display: block; }
.cookie p { color: var(--muted); margin-bottom: 12px; }

/* Yalnızca mobil menüde görünen öğeler (masaüstünde gizli) */
.only-sm { display: none; }
.menu__cta { margin-top: 12px; }
.menu__cta + .menu__cta { margin-top: 8px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .grid--sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: grid; }
  .only-sm { display: block; }
  .hide-sm { display: none !important; }

  /* Mobilde e-posta ve sertifika rozetleri yerine telefon numarası kalsın:
     hem başlık tek satıra iner hem de numara tek dokunuşla aranabilir. */
  .topbar__badges { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__list { display: flex; justify-content: center; }
  .topbar__list li:first-child { display: none; }

  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw); background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 2px;
    /* Üst boşluk başlığın GERÇEK yüksekliği kadar: --header-total değerini
       main.js ölçüp yazıyor (üst şerit dar ekranda iki satıra inebiliyor).
       JS çalışmazsa 150px yedek değeri kullanılır. */
    padding: calc(var(--header-total, 150px) + 14px) 16px 32px;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; overscroll-behavior: contain; z-index: 99;
  }
  .menu.is-open { transform: translateX(0); }
  /* Panel başlığın içinde yer aldığı için kapatma (X) düğmesi ve dil seçici
     panelin ALTINDA kalıyordu: menü açıkken kapatılamıyordu. Bunları panelin
     (z-index: 99) üstüne alıyoruz. */
  .nav__actions { position: relative; z-index: 101; }
  .menu > li > a { padding: .85em .7em; font-size: 1rem; }
  .menu .has-sub > a::after { float: right; margin-top: .5em; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--green-100); border-radius: 0; margin: 0 0 6px 12px;
    padding: 0 0 0 8px; display: none;
  }
  .menu .has-sub.is-open .submenu { display: block; }
  .grid--2, .grid--3, .grid--split { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }

  /* iOS Safari 16px'ten kucuk bir alana odaklaninca sayfayi zorla yakinlastirir.
     16px sabitlemek bu istenmeyen zoom'u tamamen engeller. */
  .field input, .field select, .field textarea, .newsletter input { font-size: 16px; }

  /* Dokunma hedefleri: parmakla rahat basilabilmesi icin metin baglantilarina
     dikey bosluk veriyoruz (gorunum degismiyor, tiklanabilir alan buyuyor). */
  .topbar__list a { display: inline-block; padding: 10px 6px; }
  .topbar .wrap { min-height: 44px; }
  .crumbs a { display: inline-block; padding: 5px 0; }
  .footer__list a, .footer__legal a { display: inline-block; padding: 6px 0; }
  .contact-item a { display: inline-block; padding: 4px 0; }
  .check { padding: 4px 0; }
  .check input { width: 20px; height: 20px; margin-top: 2px; }
  .slide__inner { padding-block: 40px; }
  .lang a { padding: .5em .9em; }
  .filters a { padding: .62em 1.1em; }
}

@media (max-width: 620px) {
  .grid--4, .steps, .stats { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .topbar .wrap { justify-content: center; }
  .cookie { left: 12px; right: 12px; max-width: none; bottom: 84px; }
  .wrap { padding-inline: 16px; }
  .card, .form-aside, .step { padding: 20px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 1.04rem; }
  table { font-size: .86rem; }
  th, td { padding: 10px 12px; }
  .about-photo figcaption { text-align: left; }
}

/* Dar telefonlar (iPhone SE vb.): başlık tek satıra sığsın */
@media (max-width: 430px) {
  .logo { gap: 8px; }
  .logo__tag { display: none; }
  .logo__name { font-size: .98rem; }
  .logo__mark { width: 36px; height: 36px; }
  .topbar { font-size: .76rem; }
  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Kaydırınca beliren içerik.
   ÖNEMLİ: gizleme yalnızca <html class="js-anim"> varken uygulanır — bu sınıfı
   main.js ekler. Böylece JavaScript çalışmazsa veya gözlemci tetiklenmezse
   içerik gizli kalmaz, sadece animasyon olmaz. */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-anim .reveal { opacity: 1; transform: none; } }

@media print {
  .header, .footer, .wa-float, .cookie, .slider-dots, .slider-arrow { display: none !important; }
  body { background: #fff; }
}
