/* =========================================================
   MIATRIS — renkler logodan: yeşil #123825, altın #BB9D6B
   ========================================================= */
:root {
  --green: #123825;
  --green-2: #1b4d34;
  --green-dark: #0b2418;
  --gold: #BB9D6B;
  --gold-soft: #e9dfcd;
  --ink: #111;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --line: #e4e4e4;
  --card: #efefef;
  --white: #fff;
  --radius: 24px;
  --header-h: 80px;
  --gutter: 16px;
  --container: 1440px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

/* Sayfa kaydırma çubuğu: marka yeşili, üzerine gelince altın */
html { scrollbar-color: var(--green) #f1f1f1; scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif; font-weight: 300;
  line-height: 1.28; overflow-x: hidden; /* mobil: 1.6'dan %20 daraltıldı; 769px+ için aşağıda 1.45 */
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 .8em; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 48px 0; }
.section-title { font-size: 24px; color: var(--green); margin-bottom: 20px; }
.section-title--xl { color: var(--ink); font-size: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 32px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-2); }
.btn--white { background: var(--white); color: var(--green); width: 100%; }
.btn--white:hover { background: var(--gold-soft); }
.btn--outline { border: 1px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--icon i { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--green); display: grid; place-items: center; }
.btn--icon i svg { width: 14px; height: 14px; }

.circle-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--green); color: var(--green); transition: background .3s, color .3s;
}
.circle-btn svg { width: 18px; height: 18px; }
.circle-btn:hover { background: var(--green); color: var(--white); }
.circle-btn--light { border-color: rgba(255,255,255,.7); color: var(--white); width: 52px; height: 52px; }
.circle-btn--light:hover { background: var(--white); color: var(--green); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px,-3px); }

.row-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* grid öğeleri içerikleri yüzünden taşmasın */
[class*="__grid"] { grid-template-columns: minmax(0, 1fr); }
[class*="__grid"] > * { min-width: 0; }
.arrows { display: flex; gap: 8px; }

/* ---------- Header (smart: scroll'da gizlenir/gelir) ---------- */
/* Omega'daki "manidar" easing'ine yakın, yumuşak başlayıp yumuşak biten eğri */
:root { --ease-m: cubic-bezier(.76,0,.24,1); }

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  transition: transform .3s ease;
}
.header__body { height: 100%; position: relative; z-index: 2; transition: background-color .45s, box-shadow .45s; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.header__logo { position: relative; z-index: 2; flex: none; }
.header__logo img { height: 60px; width: auto; }
.logo--color { display: none; }
/* Kaydırınca: beyaz zemin + hafif gölge (orijinaldeki scroll-down durumu) */
.header.scroll-down .header__body { background: var(--white); box-shadow: -1px 3px 14px 6px rgba(0,0,0,.03); }
.header.scroll-down .logo--white, body.menu-open .header .logo--white { display: none; }
.header.scroll-down .logo--color, body.menu-open .header .logo--color { display: block; }
/* Aşağı kaydırırken gizlen, yukarı kaydırırken gel */
.header.is-hidden { transform: translateY(-100%); }

/* ---------- Masaüstü yatay menü ---------- */
.nav { display: none; position: relative; height: 100%; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
  position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding: 0 20px;
  font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.5;
  border-radius: 30px 30px 0 0; transition: all .3s;
}
.header.scroll-down .nav__link { color: var(--ink); }
/* alt menüsü olan öğe hover: link beyaz sekmeye dönüşür, alt kart altına yapışır */
.nav__item.has-sub:hover .nav__link { background: var(--white); color: var(--ink); }
/* son öğe (İletişim): hap buton */
/* son öğe (Teklif Al): diğerlerinden ayrışan altın renkli özel buton */
.nav__item--cta { margin-left: 16px; }
.nav__item--cta .nav__link {
  height: auto; gap: 8px; padding: 14px 26px; line-height: 1; border-radius: 999px;
  background: var(--gold); color: var(--green-dark); font-weight: 700; white-space: nowrap;
}
.nav__item--cta .nav__link svg { width: 14px; height: 14px; stroke-width: 2.6; transition: transform .3s var(--ease); }
.nav__item--cta:hover .nav__link { background: var(--white); color: var(--green); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.nav__item--cta:hover .nav__link svg { transform: translate(2px, -2px); }
.header.scroll-down .nav__item--cta .nav__link { background: var(--gold); color: var(--green-dark); }
.header.scroll-down .nav__item--cta:hover .nav__link { background: var(--green); color: var(--white); }
.nav__link { white-space: nowrap; }
.sub {
  position: absolute; left: 0; top: 100%; width: 314px; opacity: 0; pointer-events: none;
  transition: opacity .45s;
}
.nav__item:hover .sub { opacity: 1; pointer-events: auto; }
.sub__card { background: var(--white); padding: 30px; border-radius: 0 30px 30px 30px; box-shadow: 0 2px 29px 12px rgba(0,0,0,.08); }
.sub ul { list-style: none; margin: 0; padding: 0; }
.sub li { overflow: hidden; }
.sub a {
  display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(18,56,37,.3);
  font-size: 16px; font-weight: 600; color: rgba(0,0,0,.8); transition: color .3s;
}
.sub li:last-child a { border-bottom: 0; }
.sub__dot {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; transform: translateX(-100%) scale(.75); margin-right: -20px; opacity: 0;
  transition: transform .45s var(--ease-m), margin .45s var(--ease-m), opacity .3s;
}
.sub__dot svg { width: 9px; height: 9px; stroke-width: 2.6; }
.sub a:hover { color: var(--ink); }
.sub a:hover .sub__dot { transform: none; margin-right: 8px; opacity: 1; }
/* hover'da öğenin altını takip eden çizgi */
.nav__tracker {
  position: absolute; bottom: 26px; left: 50%; height: 2px; width: 0; background: var(--gold);
  opacity: 0; pointer-events: none; transition: left .45s var(--ease-m), width .45s var(--ease-m), opacity .3s;
}

/* ---------- Hamburger ---------- */
.burger { width: 32px; height: 24px; position: relative; z-index: 2; flex: none; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease), background .3s; }
.burger span:nth-child(1) { top: 2px; } .burger span:nth-child(2) { top: 11px; } .burger span:nth-child(3) { top: 20px; }
.header.scroll-down .burger span, body.menu-open .burger span { background: var(--ink); }
body.menu-open .burger span:nth-child(1) { top: 11px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Mobil açılır panel (başlığın altından beyaz panel) ---------- */
body.menu-open .header { transform: none; }
body.menu-open .header__body { background: var(--white); }
.mnav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
  max-height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-m), visibility 0s .5s;
}
body.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-m); }
.mnav__list { list-style: none; margin: 0; padding: 4px var(--gutter) 20px; }
.mnav__item { border-bottom: 1px solid transparent; }
.mnav__row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.mnav__row svg { width: 18px; height: 18px; color: rgba(0,0,0,.6); transition: transform .35s var(--ease-m); }
.mnav__item.is-open .mnav__row svg { transform: rotate(180deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-m); }
.mnav__item.is-open .mnav__sub { grid-template-rows: 1fr; }
.mnav__sub > ul { overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 12px; }
.mnav__sub a { display: inline-block; width: 100%; padding: 8px 0; font-size: 16px; font-weight: 600; color: rgba(0,0,0,.8); }
.mnav__item--cta { margin-top: 12px; }
.mnav__item--cta .mnav__row { justify-content: center; gap: 8px; height: 50px; border-radius: 999px; background: var(--gold); color: var(--green-dark); font-weight: 700; }
.mnav__item--cta .mnav__row svg { width: 15px; height: 15px; color: currentColor; stroke-width: 2.6; }
.mnav-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .4s; }
body.menu-open .mnav-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* ---------- Hero video slider ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--white); background: var(--white); }
/* Açılış: video önce küçük yuvarlak köşeli kart, sonra tam ekrana büyür (masaüstü) */
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: var(--green-dark); transform-origin: 8% 55%; transition: transform 1.4s var(--ease-m), border-radius 1.4s var(--ease-m); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { isolation: isolate; } /* video katmanı slayt dışına taşmasın */
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__content { z-index: 2; }
.hero__slide.is-active { opacity: 1; }
.hero__slide video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* Video yokken gösterilen hareketli marka arka planı */
.hero__slide .hero__fallback { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 70% 30%, rgba(187,157,107,.35), transparent 70%),
  radial-gradient(50% 60% at 20% 80%, rgba(27,77,52,.9), transparent 70%),
  linear-gradient(160deg, #0b2418, #123825 55%, #1b4d34);
  animation: drift 18s ease-in-out infinite alternate; }
.hero__slide:nth-child(2) .hero__fallback { filter: hue-rotate(-12deg) brightness(.9); animation-direction: alternate-reverse; }
.hero__slide:nth-child(3) .hero__fallback { filter: brightness(1.1); }
.hero__fallback::after { content: ""; position: absolute; inset: 0; background: url("img/mark.svg") center/min(70vw,520px) no-repeat; opacity: .06; filter: brightness(10); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.15) translate(-2%, 2%); } }
/* Videoların üstündeki siyah film: koyuluğu --hero-film ile ayarlanır (0 = yok, 1 = tam siyah) */
.hero { --hero-film: .45; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(0,0,0,.3) 0%, transparent 28%, transparent 55%, rgba(0,0,0,.4) 100%),
  rgba(0,0,0,var(--hero-film)); }
.hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: 40px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; }
/* Başlıklar üst üste aynı hücrede; aktif olan görünür */
.hero__titles { grid-column: 1 / -1; display: grid; margin: 0; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.5px; }
.hero__mask { grid-area: 1 / 1; overflow: hidden; display: flex; }
.hero__title { display: flex; align-items: flex-end; width: 100%; padding-bottom: .08em; opacity: 0; transition: opacity .4s; }
.hero__title > span { display: block; max-width: 15ch; }
.hero__mask.is-active .hero__title { opacity: 1; }
.hero__controls { grid-row: 1; grid-column: 2; display: flex; gap: 12px; align-self: start; margin-bottom: 24px; display: none; }
.hero__controls, .scroll-badge { transition: opacity 1s ease .6s; }
body.is-intro .hero__controls, body.is-intro .scroll-badge { opacity: 0; }

/* Masaüstü (orijinaldeki min-md = 769px+): açılış animasyonu + maskeli başlık kayması */
@media (min-width: 769px) {
  body.is-intro .hero__frame { transform: translate(4%, 2%) scale(.58); border-radius: 24px; }
  body.is-intro .header { transform: translateY(-100%); }
  .hero__title { opacity: 1; transform: translateY(101%); visibility: hidden; transition: transform 1s var(--ease-m) .2s, visibility 0s 1.2s; }
  .hero__mask.is-active .hero__title { transform: none; visibility: visible; transition: transform 1s var(--ease-m) .2s, visibility 0s; }
  .hero__mask.is-first .hero__title { transition-duration: .7s; transition-delay: .1s; }
  body.is-intro .hero__mask .hero__title { transform: translateY(101%); }
}
.scroll-badge { position: absolute; right: var(--gutter); bottom: 32px; width: 120px; height: 120px; display: grid; place-items: center; }
.scroll-badge__ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.scroll-badge__ring text { fill: var(--white); stroke: none; font-size: 10.5px; letter-spacing: 3px; font-weight: 500; }
/* amblem halkanın tam ortasında; boyutu rozete oranlı (eski boyutun ~2 katı) */
.scroll-badge__icon { position: absolute; left: 50%; top: 50%; width: 60%; height: 60%; transform: translate(-50%, -50%); object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--gold); }

/* Mobil: oklar rozetin üstünde (orijinal düzen) */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; padding-right: 150px; }
  .hero__controls { display: flex; position: absolute; right: var(--gutter); bottom: 172px; margin: 0; }
}

/* ---------- Hakkımızda ---------- */
.about { padding-top: 32px; }
.about__grid { display: grid; gap: 24px; }
.about__title { font-size: 24px; color: var(--ink); text-align: right; }
.about__mark { display: grid; place-items: center; padding: 16px 0; }
.about__mark img { width: min(55vw, 320px); }
.about__text p { font-size: 15px; color: var(--text); font-weight: 400; }
.about__text em { color: var(--muted); font-style: normal; font-size: 13px; }

.about__text .about__lead { color: var(--ink); font-weight: 500; }
.about__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-m); }
.about__more.is-open { grid-template-rows: 1fr; }
.about__more > div { overflow: hidden; }
#aboutToggle svg { transition: transform .3s var(--ease); }
#aboutToggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* ---------- Hizmetlerimiz ---------- */
.services { background: #f6f6f6; }
.services__head { margin-bottom: 24px; }
.services__head p { color: var(--text); font-size: 15px; font-weight: 400; max-width: 60ch; }
.services__list { display: grid; gap: 12px; }
.scard { background: var(--white); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: background .4s, color .4s; }
.scard__no { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .08em; }
.scard h3 { font-size: 19px; color: var(--green); transition: color .4s; }
.scard p { margin: 0; font-size: 14.5px; font-weight: 400; color: var(--text); transition: color .4s; }
@media (hover: hover) {
  .scard:hover { background: var(--green); }
  .scard:hover h3 { color: var(--white); }
  .scard:hover p { color: rgba(255,255,255,.82); }
}
@media (min-width: 769px) {
  .services__list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .scard { padding: 30px; }
  .scard h3 { font-size: 22px; }
}
@media (min-width: 1025px) {
  .services__head { display: grid; grid-template-columns: 1fr 1.2fr; align-items: end; gap: 80px; margin-bottom: 48px; }
  .services__head .section-title { margin: 0; }
  .services__head p { margin: 0; font-size: 17px; }
  .services__list { grid-template-columns: repeat(6, 1fr); }
  .scard { grid-column: span 2; }
  .scard:nth-child(4), .scard:nth-child(5) { grid-column: span 3; }
}

/* ---------- Referanslar ---------- */
.refs { position: relative; background: var(--green); color: var(--white); overflow: hidden; padding: 48px 0; }
.refs__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.refs__bg img { width: 140%; max-width: none; opacity: .06; filter: brightness(10); }
.refs__inner { position: relative; }
.refs__title { font-size: 26px; margin-bottom: 24px; }
/* Logolar beyaz kartlarda: beyaz zeminli ve koyu renkli logolar yeşil üzerinde ancak böyle okunuyor */
.refs__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.refs__logos li { position: relative; background: var(--white); border-radius: 16px; aspect-ratio: 16 / 9; overflow: hidden; }
/* tek kalan son kart: tam genişliğe yayılmaz, aynı boyutta ortalanır */
.refs__logos li:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
/* logo, dosya boyutu ne olursa olsun kartın iç boşluğuna sığar */
.refs__logos img { position: absolute; inset: 14% 12%; width: 76%; height: 72%; object-fit: contain; }

/* ---------- Görsel yer tutucu ---------- */
.ph { position: relative; border-radius: var(--radius); overflow: hidden; background:
  linear-gradient(135deg, rgba(18,56,37,.85), rgba(27,77,52,.6)),
  repeating-linear-gradient(45deg, #1b4d34 0 12px, #16432d 12px 24px); display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .06em; }
.ph--img { aspect-ratio: 4 / 3; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Rakamlarla Biz ---------- */
.numbers__head p { color: var(--text); font-size: 15px; font-weight: 400; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { background: var(--card); border-radius: 16px; padding: 16px 14px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.stat--tall { min-height: 200px; }
.stat strong { color: var(--green); font-size: 22px; font-weight: 500; line-height: 1.15; }
.stat > span { font-size: 14px; font-weight: 400; color: var(--ink); margin-top: 4px; }
/* Slot makinesi sayaç: her hane 0-9 sütunu, yukarı kayarak hedef rakamda durur */
.roller { display: inline-flex; align-items: flex-start; height: 1.15em; overflow: hidden; line-height: 1.15; font-variant-numeric: tabular-nums; }
.roller .d { display: inline-flex; flex-direction: column; transition: transform 2s cubic-bezier(.16,1,.3,1); }
.roller .d > i { font-style: normal; height: 1.15em; margin: 0; font-size: inherit; color: inherit; }
.roller .s { display: inline-block; }

/* ---------- Vaatlerimiz ---------- */
.promises__grid { display: grid; gap: 24px; }
.promise { border-top: 1px solid var(--line); }
.promise:last-child { border-bottom: 1px solid var(--line); }
.promise__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; text-align: left; font-size: 18px; font-weight: 500; color: var(--ink); transition: color .2s; }
.promise__btn i { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.promise__btn i svg { width: 14px; height: 14px; }
.promise.is-open .promise__btn { color: var(--green); }
.promise.is-open .promise__btn i { transform: rotate(45deg); background: var(--green); border-color: var(--green); color: var(--white); }
.promise__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.promise.is-open .promise__body { grid-template-rows: 1fr; }
.promise__body > div { overflow: hidden; }
.promise__body p { color: var(--text); font-size: 15px; font-weight: 400; padding-bottom: 16px; }
.promise__body .ph { margin-bottom: 18px; }
.promises__media { display: none; position: relative; }
.promises__media .ph { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.promises__media .ph.is-active { opacity: 1; }

/* ---------- Carousel (scroll-snap) ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }

/* ---------- Özellikler ---------- */
.features__head { display: grid; gap: 20px; margin-bottom: 24px; }
.features__carousel { grid-auto-columns: 76%; }
.fcard { background: var(--card); border-radius: 20px; padding: 22px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; color: var(--text); font-weight: 400; font-size: 15px; transition: background .4s, color .4s; }
/* Kart ikonu: yeşil kartta 3 beyaz + 1 altın, açık gri kartta 3 yeşil + 1 altın (beyaz, gri zeminde görünmez) */
.fcard__icon { position: relative; width: 40px; height: 40px; flex: none; }
.fcard__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.fcard__icon .is-white { opacity: 0; }
.fcard.is-active, .fcard:hover { background: var(--green); color: var(--white); }
.fcard.is-active .is-white, .fcard:hover .is-white { opacity: 1; }
.fcard.is-active .is-color, .fcard:hover .is-color { opacity: 0; }

/* ---------- Footer ---------- */
.footer { padding: 0; }
.footer__box { background: #f6f6f6; padding: 40px var(--gutter) 24px; }
.footer__top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__logo { height: 48px; width: auto; }
.footer__nav { display: none; }
.footer__contact { display: grid; gap: 28px; padding: 28px 0; }
.fc { display: flex; flex-direction: column; gap: 2px; font-weight: 400; }
.fc > svg { width: 28px; height: 28px; color: var(--muted); margin-bottom: 10px; stroke-width: 1.5; }
.fc small { color: var(--muted); font-size: 13px; }
.fc b { font-weight: 500; font-size: 15px; }
.fc > span { font-size: 14px; color: var(--text); margin-top: 4px; }
.fc--address b { font-size: 14px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; transition: background .3s; }
.social a:hover { background: var(--gold); }
.social svg { width: 16px; height: 16px; stroke-width: 1.8; }
.footer__bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 400; }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--green); }

/* ---------- Çerez popup ---------- */
.cookie { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; background: var(--white); border-radius: 20px; padding: 20px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.35); border: 1px solid var(--line); max-width: 480px; margin-left: auto; animation: rise .5s var(--ease); }
.cookie[hidden] { display: none; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.cookie__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cookie__head h3 { font-size: 16px; }
.cookie__head button { font-size: 26px; line-height: 1; color: var(--muted); }
.cookie p { font-size: 12.5px; color: var(--text); font-weight: 400; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; }
.cookie__actions .btn { height: 44px; padding: 0 12px; font-size: 13px; }
.cookie__links { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }

/* ---------- Scroll reveal ---------- */

/* =========================================================
   BREAKPOINTS (orijinal tema: 480 / 768 / 1024 / 1280 / 1440)
   ========================================================= */
@media (min-width: 481px) {
  .hero__titles { font-size: 32px; }
  .stats { gap: 14px; }
}

@media (min-width: 769px) {
  :root { --gutter: 32px; --header-h: 96px; }
  body { line-height: 1.45; }
  .refs__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .refs__logos li:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .section-title--xl { font-size: 36px; }
  .header__logo img { height: 72px; }
  .hero__titles { font-size: 42px; letter-spacing: -1.5px; }
  .about__text p { font-size: 17px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { min-height: 160px; padding: 22px; }
  .stat--tall { min-height: 160px; }
  .stat strong { font-size: 28px; }
  .carousel { grid-auto-columns: 46%; gap: 20px; }
  .features__carousel { grid-auto-columns: 38%; }
  .footer__contact { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .cookie { left: auto; right: 24px; bottom: 24px; padding: 28px; }
}

@media (min-width: 1025px) {
  :root { --gutter: 48px; }
  .section { padding: 100px 0; }
  .header__inner, .hero__content.container { max-width: none; padding-left: 30px; padding-right: 30px; }
  .hero__content { padding-bottom: 80px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 40px; row-gap: 0; }
  .hero__titles { grid-column: 1; grid-row: 1 / span 2; align-self: end; font-size: 42px; letter-spacing: -1.5px; line-height: 1.25; }
  .hero__title > span { max-width: none; }
  .circle-btn--light { width: clamp(64px, 5.9vw, 96px); height: clamp(64px, 5.9vw, 96px); border-color: rgba(255,255,255,.55); }
  .circle-btn--light svg { width: 22px; height: 22px; stroke-width: 1.6; }
  :root { --header-h: 130px; }
  .header__logo img { height: 96px; }
  .hero__controls { display: flex; gap: 8px; grid-row: 1; grid-column: 2; justify-self: end; align-self: end; margin: 0 0 28px; }
  .scroll-badge { position: relative; right: auto; bottom: auto; width: clamp(130px, 10.5vw, 170px); height: clamp(130px, 10.5vw, 170px); grid-column: 2; grid-row: 2; justify-self: center; }

  .about__grid { grid-template-columns: 1fr 1.2fr; grid-template-rows: auto 1fr; column-gap: 80px; }
  .about__title { grid-column: 2; text-align: left; font-size: 32px; }
  .about__mark { grid-row: 1 / span 2; }
  .about__mark img { width: 380px; }
  .about__text { grid-column: 2; }

  .refs { padding: 20px; background: var(--white); }
  .refs__inner { max-width: none; z-index: 1; padding: 80px 64px; }
  .refs__bg { inset: 20px; border-radius: var(--radius); overflow: hidden; background: var(--green); }
  .refs__title { font-size: 40px; margin-bottom: 40px; }
  .refs__logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .refs__logos li { border-radius: 20px; }

  .numbers__grid { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
  .numbers__head { position: sticky; top: 120px; }
  .stats { grid-template-columns: repeat(3, 1fr); }

  .promises__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .promises__media { display: block; min-height: 520px; }
  .promise__body .ph { display: none; }
  .promise__btn { font-size: 22px; padding: 24px 0; }

  .features__head { grid-template-columns: 1fr auto; align-items: end; }
  .carousel.features__carousel { grid-auto-columns: 28%; }
  .fcard { min-height: 300px; padding: 30px; font-size: 17px; }



  .footer { padding: 30px; }
  .footer__box { border-radius: var(--radius); padding: 64px; }
  .footer__top { display: flex; justify-content: space-between; gap: 40px; }
  .footer__nav { display: grid; grid-template-columns: repeat(4, auto); gap: 48px; }
  .footer__nav h4 { font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-bottom: 12px; }
  .footer__nav a { display: block; font-weight: 400; font-size: 15px; margin-bottom: 6px; }
  .footer__nav a:hover { color: var(--green); }
}

@media (min-width: 1281px) {
  /* yatay menü 1281px ve üstünde; altında hamburger menü (8 öğe + logo daha dar ekrana sığmıyor) */
  .nav { display: block; }
  .burger, .mnav, .mnav-backdrop { display: none; }
  .header__logo img { height: 80px; }
  .nav__link { font-size: 16px; padding: 0 13px; }
  .nav__item--cta { margin-left: 10px; }
  .nav__item--cta .nav__link { padding: 13px 20px; }
  .hero__titles { font-size: 64px; letter-spacing: -2.8px; }
  .section-title--xl { font-size: 44px; }
}

@media (min-width: 1441px) {
  :root { --gutter: 64px; }
  .hero__titles { font-size: 80px; letter-spacing: -3.2px; }
  .section { padding: 140px 0; }
}

@media (min-width: 1621px) {
  .header__logo img { height: 96px; }
  .nav__link { font-size: 18px; padding: 0 20px; }
  .nav__item--cta { margin-left: 16px; }
  .nav__item--cta .nav__link { padding: 14px 26px; }
}

@media (min-width: 1681px) {
  .hero__titles { font-size: 96px; letter-spacing: -3.84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
