/* =====================================================================
   ANKARA AĞAÇ BUDAMA — Ana Stil Dosyası
   Saf CSS3 · build gerektirmez · mobil öncelikli
   Palet: koyu orman yeşili + antrasit + kırık beyaz + amber (CTA)
   ===================================================================== */

/* ---------- 1. Tasarım Değişkenleri (tokens) ---------- */
:root {
  /* Marka renkleri */
  --green-900: #0E3321;   /* en koyu orman yeşili */
  --green-800: #14432A;   /* birincil marka */
  --green-700: #1C5636;
  --green-600: #237045;   /* doğal yeşil */
  --green-500: #2E8B57;
  --green-100: #E4EFE8;   /* çok açık yeşil zemin */
  --green-050: #F1F7F2;

  --ink-900: #171A16;     /* antrasit / metin */
  --ink-700: #2C312A;
  --ink-500: #4A5248;     /* ikincil metin */
  --ink-400: #6B7367;     /* soluk metin */

  --cream:   #F7F5EF;     /* kırık beyaz zemin */
  --cream-2: #EFEDE4;     /* alternatif zemin */
  --gray-100:#E7E4DA;     /* açık gri / çizgi */
  --white:   #FFFFFF;

  --amber-600:#B9741B;    /* CTA koyu (hover) */
  --amber-500:#D98A26;    /* birincil CTA / vurgu */
  --amber-400:#E9A849;
  --amber-100:#F7E9CF;

  --wa:      #25D366;     /* WhatsApp yeşili */
  --wa-dark: #1EBE5A;

  /* Anlamsal eşlemeler */
  --bg:            var(--cream);
  --bg-alt:        var(--cream-2);
  --surface:       var(--white);
  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --primary:       var(--green-800);
  --primary-dark:  var(--green-900);
  --accent:        var(--amber-500);
  --border:        var(--gray-100);
  --ring:          #2E8B57;

  /* Tipografi */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Boşluk ölçeği */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  /* Yarıçap & gölge */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(23,26,22,.06);
  --shadow-sm: 0 2px 10px rgba(23,26,22,.07);
  --shadow-md: 0 10px 30px -12px rgba(23,26,22,.18);
  --shadow-lg: 0 24px 60px -20px rgba(14,51,33,.30);

  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset / temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber-600); }
ul, ol { padding-left: 1.1rem; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--green-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; font-family: var(--font-head); font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary-dark); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); }
p { color: var(--ink-700); }

/* ---------- 3. Yardımcı sınıflar ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container-wide { max-width: 1340px; }
.section { padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section--green { background: var(--primary-dark); color: #E9F0EA; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green p { color: #C4D6C8; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.section--green .eyebrow { color: var(--amber-400); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); color: var(--text-muted); max-width: 60ch; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 3vw, 3rem); }
.section-head.center { margin-inline: auto; }
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }

/* ---------- 4. Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .92rem 1.5rem; border-radius: var(--r-pill); border: 2px solid transparent;
  min-height: 48px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber-500); color: #2A1B04; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--wa { background: var(--wa); color: #06351A; box-shadow: var(--shadow-sm); }
.btn--wa:hover { background: var(--wa-dark); color: #042a14; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--primary-dark); border-color: var(--green-800); }
.btn--ghost:hover { background: var(--green-800); color: #fff; }
.btn--light { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--amber-500); color: #2A1B04; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--green-800); border-color: #fff; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; min-height: 54px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,239,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(247,245,239,.97); box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--green-900); letter-spacing: -.01em; }
.brand-text span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-700);
  padding: .6rem .8rem; border-radius: var(--r-sm); position: relative;
}
.main-nav a:hover { color: var(--green-800); background: var(--green-050); }
.main-nav a[aria-current="page"] { color: var(--green-800); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .34rem; height: 2px;
  background: var(--amber-500); border-radius: 2px;
}
.nav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head);
  font-weight: 700; color: var(--green-900); white-space: nowrap; padding: .4rem .6rem;
}
.header-phone svg { width: 20px; height: 20px; color: var(--green-600); }
.header-phone small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }
.header-phone b { font-size: 1.02rem; letter-spacing: .01em; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); color: var(--green-900); align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }

/* Mobil çekmece */
.nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(14,51,33,.45); opacity: 0; visibility: hidden; transition: .3s var(--ease); z-index: 98; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--primary-dark); color: #fff; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero__content { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--amber-400); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--amber-400); }
.hero__text { color: #C8D8CC; font-size: clamp(1.02rem,1rem + .4vw,1.18rem); max-width: 54ch; margin-bottom: 1.6rem; }
.hero__cta { margin-bottom: 1.7rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.hero__phone svg { width: 26px; height: 26px; color: var(--amber-400); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 1.7rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust li { list-style: none; display: flex; align-items: center; gap: .5rem; color: #CFE0D4; font-size: .92rem; }
.hero__trust svg { width: 20px; height: 20px; color: var(--amber-400); flex: none; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: center 20%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; background: #fff; color: var(--ink-900);
  border-radius: var(--r-md); padding: .9rem 1.1rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .75rem;
}
.hero__badge .num { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--green-700); line-height: 1; }
.hero__badge small { display: block; font-size: .78rem; color: var(--ink-500); max-width: 13ch; line-height: 1.25; }
.hero__glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(46,139,87,.35), transparent 70%); top: -120px; right: -80px; pointer-events: none; }

/* ---------- 7. İstatistik şeridi ---------- */
.stats { background: var(--green-800); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--green-800); padding: clamp(1.4rem,3vw,2.1rem) 1.2rem; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem,1.4rem + 1.4vw,2.6rem); color: var(--amber-400); line-height: 1; }
.stat .lbl { margin-top: .5rem; color: #C8D8CC; font-size: .92rem; font-weight: 500; }

/* ---------- 8. Hizmet kartları ---------- */
.cards { display: grid; gap: clamp(1rem,2.4vw,1.6rem); }
.cards--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cards--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.4rem,2.4vw,1.9rem); box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card__icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--green-050); color: var(--green-700); display: grid; place-items: center; margin-bottom: 1.1rem; border: 1px solid var(--green-100); }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: .97rem; }
.card__link { margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Resimli hizmet kartı */
.scard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.scard__media { aspect-ratio: 4/3; overflow: hidden; background: var(--green-050); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); }
.scard__body { padding: clamp(1.2rem,2.2vw,1.6rem); display: flex; flex-direction: column; flex: 1; }
.scard__body h3 { margin-bottom: .5rem; }
.scard__body p { color: var(--text-muted); font-size: .96rem; }

/* ---------- 9. Özellik / içerik ikili düzen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3.5rem); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.feature-list { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.3rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list b { font-family: var(--font-head); color: var(--ink-900); display: block; }
.feature-list span { color: var(--text-muted); font-size: .94rem; }

/* ---------- 10. Güvenlik kartları (rozet grid) ---------- */
.badges { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 1rem; }
.badge-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 1.3rem; }
.badge-card .ic { width: 48px; height: 48px; border-radius: var(--r-sm); background: rgba(217,138,38,.16); color: var(--amber-400); display: grid; place-items: center; margin-bottom: .9rem; }
.badge-card .ic svg { width: 26px; height: 26px; }
.badge-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.badge-card p { color: #BACDBF; font-size: .9rem; }

/* ---------- 11. Süreç / timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; counter-reset: step; }
.tstep { position: relative; padding-top: 2.6rem; }
.tstep__num, .tstep__num { }
.tstep { text-align: left; }
.step { position: relative; }
.proc { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(.8rem,2vw,1.4rem); }
.proc li { position: relative; padding-top: 3.2rem; }
.proc .n { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--shadow-sm); }
.proc li::before { content: ""; position: absolute; top: 23px; left: 46px; right: -0.7rem; height: 2px; background: var(--green-100); }
.proc li:last-child::before { display: none; }
.proc h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.proc p { color: var(--text-muted); font-size: .92rem; }
.section--green .proc .n { background: var(--amber-500); color: #2A1B04; }
.section--green .proc li::before { background: rgba(255,255,255,.18); }

/* ---------- 12. Referans grid ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 1rem; }
.ref {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 1.3rem 1.2rem; display: flex; align-items: center; gap: .9rem; box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.ref:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-100); }
.ref .mono { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-800); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.15rem; }
.ref span { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: .98rem; line-height: 1.25; }
.ref small { display:block; color: var(--ink-400); font-weight: 500; font-family: var(--font-body); font-size: .76rem; margin-top: 2px; }

/* ---------- 13. Galeri ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.gf-btn { font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: .55rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); color: var(--ink-700); min-height: 44px; transition: .2s var(--ease); }
.gf-btn:hover { border-color: var(--green-600); color: var(--green-800); }
.gf-btn[aria-pressed="true"] { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.gallery { columns: 3; column-gap: 1rem; }
.gitem { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: pointer; background: var(--green-050); border: 0; padding: 0; width: 100%; display: block; }
.gitem img { width: 100%; transition: transform .5s var(--ease); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,51,33,.55), transparent 55%); opacity: 0; transition: opacity .3s var(--ease); }
.gitem figcaption { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; z-index: 2; opacity: 0; transform: translateY(8px); transition: .3s var(--ease); text-align: left; }
.gitem:hover img { transform: scale(1.06); }
.gitem:hover::after, .gitem:focus-visible::after { opacity: 1; }
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
.gitem.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,22,15,.92); display: none; align-items: center; justify-content: center; padding: 2rem 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px,92vw); max-height: 86vh; width: auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #E9F0EA; font-family: var(--font-head); font-size: .95rem; padding-inline: 1rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: .2s var(--ease); }
.lb-btn:hover { background: var(--amber-500); color: #2A1B04; border-color: var(--amber-500); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. SSS akordeon ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.15rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink-900); min-height: 56px; }
.faq-q .chev { flex: none; width: 24px; height: 24px; color: var(--green-600); transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 1.3rem 1.25rem; color: var(--text-muted); }
.faq-a__inner p { color: var(--text-muted); }

/* ---------- 15. CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--green-800), var(--green-900)); color: #fff; border-radius: var(--r-lg); padding: clamp(2rem,4vw,3.4rem); position: relative; overflow: hidden; text-align: center; }
.cta-banner::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(217,138,38,.22), transparent 70%); top: -120px; right: -60px; }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: #C8D8CC; max-width: 56ch; margin: .8rem auto 1.6rem; position: relative; }
.cta-banner .btn-row { justify-content: center; position: relative; }

/* ---------- 16. İletişim / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem,4vw,3rem); align-items: start; }
.info-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-xs); }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--green-050); color: var(--green-700); display: grid; place-items: center; border: 1px solid var(--green-100); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { font-family: var(--font-head); color: var(--ink-900); display: block; font-size: .95rem; }
.info-list a, .info-list span { color: var(--text-muted); }
.info-list a:hover { color: var(--green-700); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-900); margin-bottom: .4rem; }
.field label .req { color: #B9471B; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: .8rem .95rem; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--cream); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,139,87,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0431B; background: #FCF2EE; }
.field .err { display: none; color: #B23A14; font-size: .83rem; margin-top: .35rem; font-weight: 500; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: var(--text-muted); margin-top: .4rem; }
.form-note svg { width: 18px; height: 18px; color: var(--green-600); flex: none; margin-top: 2px; }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-xs); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- 17. Breadcrumb ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.breadcrumb ol { list-style: none; padding: .85rem 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; font-size: .88rem; }
.breadcrumb li { display: flex; align-items: center; gap: .45rem; color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--ink-400); }
.breadcrumb a { color: var(--green-700); font-weight: 500; }
.breadcrumb li[aria-current] { color: var(--ink-900); font-weight: 600; }

/* ---------- 18. Sayfa başlığı (iç sayfa hero) ---------- */
.page-hero { background: var(--primary-dark); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 85% -10%, rgba(46,139,87,.4), transparent 70%); pointer-events:none; }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(2.4rem,2rem + 4vw,4.2rem); max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #C8D8CC; font-size: clamp(1.02rem,1rem + .35vw,1.18rem); max-width: 60ch; }
.page-hero .btn-row { margin-top: 1.6rem; }

/* ---------- 19. Floating WhatsApp + mobil bar + back-to-top ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: .6rem; background: var(--wa); color: #06351A; font-family: var(--font-head); font-weight: 700; padding: .8rem 1rem; border-radius: var(--r-pill); box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa .fab-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease), margin .3s var(--ease); margin-left: -.6rem; }
.fab-wa:hover { transform: translateY(-3px); color: #06351A; }
.fab-wa:hover .fab-label { max-width: 220px; margin-left: 0; }

.back-top { position: fixed; right: 18px; bottom: 20px; z-index: 89; width: 48px; height: 48px; border-radius: 50%; background: var(--green-800); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.back-top svg { width: 24px; height: 24px; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--amber-500); color: #2A1B04; }

.mobile-bar { display: none; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--green-900); color: #C4D6C8; padding-top: clamp(2.6rem,4vw,4rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.6rem,3vw,2.4rem); padding-bottom: 2.4rem; }
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { color: #A9C0AF; font-size: .94rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-head); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: #B6CCBC; font-size: .93rem; }
.footer-col a:hover { color: var(--amber-400); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; color: #B6CCBC; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--amber-400); flex: none; margin-top: 3px; }
.footer-contact a { color: #B6CCBC; }
.footer-contact a:hover { color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; font-size: .86rem; color: #8FA996; }
.footer-bottom a { color: #A9C0AF; }
.footer-areas { color: #8FA996; font-size: .86rem; }

/* ---------- 21. 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.notfound .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem,20vw,10rem); color: var(--green-100); line-height: .9; }

/* ---------- 22. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .cards--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proc { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .proc li::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: flex;
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(84vw, 340px);
    background: var(--cream); flex-direction: column; align-items: stretch; gap: .2rem;
    padding: calc(var(--header-h) + 1rem) 1.2rem 1.5rem; z-index: 99;
    transform: translateX(100%); transition: transform .32s var(--ease); box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav a { font-size: 1.08rem; padding: .85rem .6rem; border-radius: var(--r-sm); border-bottom: 1px solid var(--border); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: var(--green-050); }
  .main-nav .nav-mobile-cta { display: grid; gap: .6rem; margin-top: 1rem; border: 0; }
  body.nav-open .nav-toggle .ic-open { display: none; }
  body.nav-open .nav-toggle .ic-close { display: block; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .field-row { grid-template-columns: 1fr; }
  /* floating WA gizlenir, yerine mobil bar */
  .fab-wa { display: none; }
  .back-top { bottom: 78px; right: 14px; width: 44px; height: 44px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3,1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(23,26,22,.1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: .55rem .3rem; font-family: var(--font-head); font-weight: 600; font-size: .74rem; color: var(--ink-700); min-height: 58px; }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a.m-call { color: var(--green-800); }
  .mobile-bar a.m-wa { color: var(--wa-dark); }
  .mobile-bar a.m-quote { color: var(--amber-600); }
  .mobile-bar a:not(:last-child) { border-right: 1px solid var(--border); }
  body { padding-bottom: 58px; }
  .stats__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero__badge { left: 0; }
  .btn-row .btn { width: 100%; }
  .hero__cta.btn-row .btn { width: 100%; }
  /* Başlık çubuğunu sadeleştir: Teklif Al zaten alt barda ve menüde var */
  .header-cta .btn { display: none; }
  .brand img { height: 40px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text span { font-size: .6rem; }
  /* İstatistik kartları 2'li ve ortalı dursun */
  .stat { padding: 1.3rem .6rem; }
  .stat .num { font-size: clamp(1.5rem, 6vw, 2rem); }
}
@media (max-width: 360px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ---------- 23b. Mobil sağlamlaştırma — grid taşmasını kökten önle ---------- */
/* Grid öğeleri varsayılan min-width:auto (min-content) yüzünden küçülemez ve
   dar ekranda taşar; aşağıdaki kurallar her grid çocuğunun küçülmesine izin verir. */
.cards > *, .cards--2 > *, .cards--3 > *, .stats__grid > *, .split > *,
.contact-grid > *, .footer-grid > *, .ref-grid > *, .badges > *, .proc > *,
.gallery-filters > * { min-width: 0; }
.card, .scard, .stat, .badge-card, .ref, .info-list li { min-width: 0; }
/* Uzun kelime/e-posta/URL'lerin kutudan taşmasını engelle */
p, .lead, .card p, .scard__body p, .info-list a, .info-list span,
.footer-contact a, .footer-contact li, .ref span, .breadcrumb li,
.hero__text, .page-hero p, h1, h2, h3 { overflow-wrap: break-word; }
/* Görsel ve iframe hiçbir zaman konteynerini aşmasın */
img, video, iframe, svg { max-width: 100%; }

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

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .fab-wa, .mobile-bar, .back-top, .nav-backdrop { display: none !important; }
  body { padding: 0; }
}
