/* =============================================================================
   Kızılca Makina — style.css
   Tasarım sistemi: "Sac & Hava"
   Koyu yüzeyler (sac): üst menü, hero, "neden biz", keşif formu, footer.
   Açık yüzeyler (hava): hizmetler, uygulama alanları, süreç, SSS.
   ---------------------------------------------------------------------------
   İçindekiler
   1. Fontlar         2. Tokenlar        3. Reset ve temel
   4. Yardımcılar     5. Butonlar        6. Üst menü + mobil menü
   7. Hero            8. Sistem şeridi   9. Hizmetler
   10. Alanlar        11. Neden biz      12. Süreç
   13. SSS            14. Keşif formu    15. Footer
   16. Mobil çubuk    17. Animasyon      18. Responsive
   ========================================================================== */

/* 1. Fontlar — self-hosted, latin + Türkçe alt kümesi ----------------------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 100% 120%; font-display: swap; src: url("../fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/cinzel-var.woff2") format("woff2"); }

/* 2. Tokenlar ---------------------------------------------------------------- */
:root {
  /* renk: sac */
  --grafit: #0E1319;
  --celik: #25303D;
  --celik-2: #3A4756;
  /* renk: hava */
  --sis: #F3F5F7;
  --beyaz: #FFFFFF;
  --galvaniz: #C9D1D9;
  --line: #DDE3E9;
  /* vurgu: logodaki buz mavisi ve alev turuncusu */
  --aero: #22B3E8;
  --aero-700: #0B7AA6;
  --aero-100: #DCF2FB;
  --kor: #E8761A;
  --kor-100: #FCE6D3;
  --kor-800: #7A3A08;
  /* metin */
  --ink: #0E1319;
  --ink-2: #4A5766;
  --ink-3: #77838F;
  --on-dark: #C9D1D9;
  --on-dark-2: #8E9AA6;
  --line-dark: rgba(201, 209, 217, 0.14);
  /* tipografi */
  --fd: "Archivo", system-ui, sans-serif;
  --fb: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fw: "Cinzel", "Times New Roman", serif;
  /* ölçü */
  --w: 1240px;
  --gutter: 24px;
  --r: 6px;
  --rc: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sec: clamp(72px, 9vw, 120px);
}

/* 3. Reset ve temel ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--sis);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fd); letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aero); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--aero); color: var(--grafit); padding: 10px 14px; border-radius: var(--r);
  font: 500 14px/1 var(--fb); text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* 4. Yardımcılar ------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--w)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--light { background: var(--sis); }
.section--white { background: var(--beyaz); }
.section--dark { background: var(--grafit); color: var(--on-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--fm); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aero-700); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--aero); flex: none; }
.section--dark .eyebrow { color: var(--aero); }
.h2 { font-weight: 700; font-stretch: 112%; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.024em; max-width: 20ch; }
.h3 { font-weight: 650; font-stretch: 108%; font-size: 21px; line-height: 1.2; letter-spacing: -0.012em; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 56ch; margin-top: 18px; }
.section--dark .lead { color: var(--on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .lead { margin-top: 0; }
.mono { font-family: var(--fm); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 4px;
  font: 500 11px/1 var(--fm); letter-spacing: 0.08em; text-transform: uppercase;
}
.tag--aero { background: var(--aero-100); color: var(--aero-700); }
.tag--kor { background: var(--kor-100); color: var(--kor-800); }
.section--dark .tag--aero { background: rgba(34, 179, 232, 0.14); color: var(--aero); }
.section--dark .tag--kor { background: rgba(232, 118, 26, 0.16); color: var(--kor); }
.ico { width: 22px; height: 22px; flex: none; }

/* 5. Butonlar ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--r);
  font: 500 15px/1 var(--fb); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--aero); color: var(--grafit); }
.btn--primary:hover { background: #3DBEEC; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--beyaz); }
.section--dark .btn--secondary, .site-header .btn--secondary, .hero .btn--secondary { color: var(--beyaz); border-color: rgba(201, 209, 217, 0.5); }
.section--dark .btn--secondary:hover, .hero .btn--secondary:hover { background: var(--galvaniz); color: var(--grafit); border-color: var(--galvaniz); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1 var(--fb); color: var(--aero-700); text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color 0.2s;
}
.lnk:hover { border-color: currentColor; }
.lnk svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.lnk:hover svg { transform: translateX(3px); }

/* 6. Üst menü ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(14, 19, 25, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(14, 19, 25, 0.92); border-color: var(--line-dark); height: 66px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* marka kilidi: amblem + yazı, yazı amblemin çentiğine oturur */
.brand { --eh: 62px; display: flex; align-items: center; text-decoration: none; color: var(--beyaz); flex: none; }
.brand__mark { height: var(--eh); width: auto; }
.brand__text { display: flex; flex-direction: column; margin-left: calc(var(--eh) * -0.345); margin-top: calc(var(--eh) * 0.046); }
.brand__name { font: 600 calc(var(--eh) * 0.225) / 1 var(--fw); letter-spacing: 0.2em; white-space: nowrap; color: var(--beyaz); }
.brand__tagline { display: none; }
.is-scrolled .brand { --eh: 54px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 15px/1 var(--fb); color: var(--on-dark); text-decoration: none; position: relative; padding: 8px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--aero); transition: width 0.28s var(--ease); }
.nav a:hover { color: var(--beyaz); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.tel { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--fm); letter-spacing: 0.02em; color: var(--beyaz); text-decoration: none; }
.tel svg { width: 16px; height: 16px; color: var(--aero); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04); color: var(--beyaz); cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
body.menu-open .nav-toggle .i-open { display: none; }
body.menu-open .nav-toggle .i-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--grafit); color: var(--on-dark);
  padding: 8px var(--gutter) 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
body.menu-open, .lightbox-open { overflow: hidden; }
body.menu-open .site-header { background: var(--grafit); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
body.menu-open .mobile-menu li { opacity: 1; transform: none; }
.mobile-menu li:nth-child(1) { transition-delay: 0.05s; } .mobile-menu li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu li:nth-child(3) { transition-delay: 0.15s; } .mobile-menu li:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu li:nth-child(5) { transition-delay: 0.25s; } .mobile-menu li:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
  font: 700 26px/1 var(--fd); font-stretch: 112%; letter-spacing: -0.02em; color: var(--beyaz); text-decoration: none;
}
.mobile-menu li a svg { width: 20px; height: 20px; color: var(--aero); }
.mobile-menu__contact { margin-top: 24px; display: grid; gap: 12px; }
.mobile-menu__contact .tel { font-size: 16px; }
.mobile-menu__meta { font: 400 12px/1.7 var(--fm); color: var(--on-dark-2); letter-spacing: 0.02em; }

/* 7. Hero -------------------------------------------------------------------- */
.hero { position: relative; background: var(--grafit); color: var(--on-dark); overflow: hidden; isolation: isolate; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; min-height: min(760px, calc(100svh - var(--header-h))); padding: 72px 0 88px; }
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--aero); margin-bottom: 26px; }
.hero__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--aero); }
.hero__title { color: var(--beyaz); font-weight: 750; font-stretch: 116%; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -0.028em; margin-bottom: 26px; }
.hero__title .l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .l > span { display: block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.hero__title .l:nth-child(2) > span { animation-delay: 0.09s; }
.hero__title .l:nth-child(3) > span { animation-delay: 0.18s; }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 54ch; margin-bottom: 34px; opacity: 0; animation: fade 0.8s 0.35s var(--ease) forwards; }
.hero__lead strong { color: var(--beyaz); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 0.8s 0.5s var(--ease) forwards; }
.hero__glow { position: absolute; right: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(34, 179, 232, 0.10), transparent 70%); z-index: 0; pointer-events: none; }
.flow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0; animation: fade 1.6s 0.3s var(--ease) forwards;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 40%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 40%, #000 62%); }
.flow path { fill: none; stroke: var(--aero); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow .duct { stroke: var(--celik-2); stroke-width: 1.5; }
.flow .f { stroke-dasharray: 0.38 0.22; animation: flow var(--d, 14s) linear infinite; animation-delay: var(--o, 0s); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; width: 22px; height: 34px; border: 1.5px solid rgba(201, 209, 217, 0.35); border-radius: 12px; opacity: 0; animation: fade 1s 1.2s forwards; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--aero); animation: hint 1.8s var(--ease) infinite; }

/* 7b. Ürünlerimiz (hava) ------------------------------------------------------ */
.products { background: var(--beyaz); border-bottom: 1px solid var(--line); }
.products__carousel { position: relative; }
.products__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 6px; margin: 0; scrollbar-width: none;
}
.products__track::-webkit-scrollbar { display: none; }
.products__slide {
  flex: 0 0 auto; width: clamp(220px, 30vw, 380px); aspect-ratio: 4 / 3; margin: 0; scroll-snap-align: start;
  border-radius: var(--rc); overflow: hidden; background: var(--sis); border: 1px solid var(--line);
}
.products__slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.4s var(--ease); }
.products__slide img:hover { transform: scale(1.035); }
.products__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%;
  background: var(--beyaz); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 10px 24px -14px rgba(14, 19, 25, 0.35); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.products__nav:hover { background: var(--aero); border-color: var(--aero); color: var(--beyaz); }
.products__nav svg { width: 20px; height: 20px; }
.products__nav--prev { left: -8px; }
.products__nav--next { right: -8px; }
@media (max-width: 640px) { .products__nav { display: none; } }

/* 7c. Ürün lightbox (foto büyütme) --------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(8, 11, 15, 0.94); padding: 56px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox__figure { position: relative; max-width: min(1100px, 92vw); max-height: 86vh; margin: 0; }
.lightbox__img { display: block; max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 209, 217, 0.3);
  background: rgba(37, 48, 61, 0.7); color: var(--beyaz); display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--aero); border-color: var(--aero); }
.lightbox__close { top: 18px; right: 18px; z-index: 201; }
.lightbox__prev, .lightbox__next { top: 50%; translate: 0 -50%; z-index: 201; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__count { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 201; font: 500 12.5px/1 var(--fm); letter-spacing: 0.06em; color: var(--on-dark-2); }
@media (max-width: 640px) {
  .lightbox { padding: 72px 10px; }
  .lightbox__prev, .lightbox__next { width: 42px; height: 42px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}

/* 8. Dört sistem şeridi ------------------------------------------------------- */
.systems { background: var(--beyaz); border-bottom: 1px solid var(--line); }
.systems__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.systems__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 26px 0; border-right: 1px solid var(--line); margin-right: 24px; text-decoration: none; color: inherit; }
.systems__item:last-child { border-right: 0; margin-right: 0; }
.systems__ico { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--aero-100); color: var(--aero-700); }
.systems__ico--kor { background: var(--kor-100); color: var(--kor-800); }
.systems__item h3 { font-size: 18px; font-stretch: 108%; font-weight: 650; letter-spacing: -0.012em; margin-bottom: 4px; }
.systems__item p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* 9. Hizmetler --------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--beyaz); border: 1px solid var(--line); border-radius: var(--rc); padding: 28px 26px 26px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--aero); box-shadow: 0 22px 34px -26px rgba(14, 19, 25, 0.4); }
.card__ico { width: 44px; height: 44px; border-radius: 8px; background: var(--aero-100); color: var(--aero-700); display: grid; place-items: center; margin-bottom: 22px; }
.card__ico--kor { background: var(--kor-100); color: var(--kor-800); }
.card h3 { position: relative; display: inline-block; align-self: flex-start; margin-bottom: 10px; }
.card h3::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--aero); transition: width 0.4s var(--ease); }
.card:hover h3::after { width: 100%; }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; }
.card ul { display: grid; gap: 8px; margin-bottom: 24px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.card li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--aero-700); }
.card .lnk { margin-top: auto; }

/* 10. Uygulama alanları ------------------------------------------------------ */
.areas__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--rc); overflow: hidden; background: var(--sis); }
.area { padding: 28px 24px; border-right: 1px solid var(--line); background: var(--beyaz); transition: background 0.25s var(--ease); }
.area:last-child { border-right: 0; }
.area:hover { background: var(--sis); }
.area svg { width: 28px; height: 28px; color: var(--aero-700); margin-bottom: 18px; }
.area h3 { font-size: 18px; font-stretch: 108%; font-weight: 650; letter-spacing: -0.012em; margin-bottom: 8px; }
.area p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* 11. Neden biz (sac) -------------------------------------------------------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why .h2 { color: var(--beyaz); }
.why__text { font-size: 17px; color: var(--on-dark); max-width: 48ch; margin-top: 18px; }
.spec { margin-top: 32px; }
.spec li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15px; line-height: 1.5; }
.spec li:last-child { border-bottom: 1px solid var(--line-dark); }
.spec .k { font: 500 11px/1.6 var(--fm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; }
.spec .v { color: var(--beyaz); }
.spec .v small { display: block; font-size: 13.5px; color: var(--on-dark); margin-top: 2px; }
.diagram { background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-dark); border-radius: var(--rc); padding: clamp(14px, 3vw, 32px); }
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; fill: var(--on-dark-2); text-transform: uppercase; }
.diagram .cas { fill: none; stroke: #6B7785; stroke-width: 1.5; }
.diagram .thin { fill: none; stroke: #4E5A68; stroke-width: 1; }
.diagram .kor { fill: none; stroke: var(--kor); stroke-width: 1.8; stroke-linecap: round; }
.diagram .aero { fill: none; stroke: var(--aero); stroke-width: 1.8; stroke-linecap: round; }
.diagram .f { stroke-dasharray: 0.3 0.25; animation: flow var(--d, 6s) linear infinite; animation-delay: var(--o, 0s); }
.diagram .fan { transform-origin: 410px 180px; animation: spin 9s linear infinite; }
.diagram__caption { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font: 400 12px/1.6 var(--fm); color: var(--on-dark-2); letter-spacing: 0.02em; }
.diagram__caption span::before { content: ""; display: inline-block; width: 10px; height: 2px; margin: 0 8px 3px 0; background: var(--on-dark-2); }
.diagram__caption .c-kor::before { background: var(--kor); }
.diagram__caption .c-aero::before { background: var(--aero); }

/* 12. Süreç ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--galvaniz); }
.step { position: relative; }
.step::before { content: ""; display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--aero); box-shadow: 0 0 0 5px var(--sis); position: relative; z-index: 1; margin-bottom: 22px; }
.step__n { font: 500 11px/1 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--aero-700); margin-bottom: 10px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* 13. SSS -------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font: 650 19px/1.3 var(--fd); font-stretch: 106%; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--galvaniz); display: grid; place-items: center; color: var(--aero-700); transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.faq__item summary .pm svg { width: 14px; height: 14px; }
.faq__item[open] summary .pm { transform: rotate(45deg); background: var(--aero); border-color: var(--aero); color: var(--grafit); }
.faq__item summary:hover .pm { border-color: var(--aero); }
.faq__body { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__note { margin-top: 26px; padding: 22px 24px; background: var(--beyaz); border: 1px solid var(--line); border-radius: var(--rc); font-size: 15px; color: var(--ink-2); }
.faq__note strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }

/* 14. Keşif formu (sac) ------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .h2 { color: var(--beyaz); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 34px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 13px/1 var(--fb); color: var(--beyaz); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; border: 1px solid rgba(201, 209, 217, 0.28); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04); color: var(--beyaz); padding: 0 14px; height: 50px;
  font: 400 15px/1.4 var(--fb); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; min-height: 112px; padding: 13px 14px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C9D1D9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-2); }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aero); box-shadow: 0 0 0 3px rgba(34, 179, 232, 0.28); background: rgba(255, 255, 255, 0.06); }
.field input.mono { font-family: var(--fm); }
.field .err { display: none; font: 400 12.5px/1.4 var(--fb); color: #F58A8A; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E24B4A; }
.field.is-invalid .err { display: block; }
.field label.check, .check { display: flex; gap: 10px; align-items: flex-start; font: 400 13.5px/1.5 var(--fb); color: var(--on-dark); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--aero); flex: none; }
.check a { color: var(--aero); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__hint { font: 400 12.5px/1.5 var(--fm); color: var(--on-dark-2); }
.form__success { display: none; grid-column: 1 / -1; padding: 18px 20px; border: 1px solid rgba(34, 179, 232, 0.4); border-radius: var(--rc); background: rgba(34, 179, 232, 0.08); color: var(--beyaz); font-size: 15px; }
.form.is-sent .form__success { display: flex; gap: 12px; align-items: flex-start; }
.form.is-sent .field, .form.is-sent .form__actions { display: none; }
.form__success svg { width: 22px; height: 22px; color: var(--aero); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__aside { padding-top: 6px; }
.contact__aside h3 { color: var(--beyaz); font-size: 20px; margin-bottom: 20px; }
.clist { display: grid; gap: 4px; }
.clist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.clist li > span { display: grid; gap: 3px; }
.clist li:last-child { border-bottom: 1px solid var(--line-dark); }
.clist svg { width: 20px; height: 20px; color: var(--aero); margin-top: 2px; }
.clist .k { font: 500 11px/1.6 var(--fm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }
.clist .v { color: var(--beyaz); font-size: 15.5px; line-height: 1.5; }
.clist .v a { text-decoration: none; }
.clist .v a:hover { color: var(--aero); }
.clist .v.mono { font-family: var(--fm); font-size: 15px; }
.contact__wa { margin-top: 24px; }

/* 15. Footer (sac) ----------------------------------------------------------- */
.site-footer { background: var(--grafit); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand { --eh: 88px; }
.site-footer .brand__text { display: flex; }
.site-footer .brand__tagline { display: block; font: 400 10.5px/1.3 var(--fb); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); margin: 6px 0 0 0; white-space: nowrap; }
.footer__about { margin-top: 18px; font-size: 14.5px; color: var(--on-dark); max-width: 36ch; }
.site-footer h4 { font: 500 11px/1 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { font-size: 14.5px; color: var(--on-dark); text-decoration: none; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--aero); }
.footer__contact { font: 400 13.5px/1.8 var(--fm); color: var(--on-dark); }
.footer__contact b { font-weight: 500; color: var(--beyaz); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; font: 400 12px/1.6 var(--fm); color: var(--on-dark-2); letter-spacing: 0.02em; }
.footer__bottom a { color: var(--on-dark-2); text-decoration: none; margin-left: 20px; }
.footer__bottom a:hover { color: var(--aero); }

/* 16. Mobil aksiyon çubuğu --------------------------------------------------- */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); grid-template-columns: 1fr 1fr 1.25fr; background: var(--beyaz); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(14, 19, 25, 0.5); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font: 500 11.5px/1 var(--fb); color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a:last-child { border-right: 0; background: var(--aero); color: var(--grafit); }

/* 17. Animasyon -------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -0.6; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* 18. Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area { border-bottom: 1px solid var(--line); }
  .area:nth-child(3n) { border-right: 0; }
  .area:nth-last-child(-n + 2) { border-bottom: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 64px; }
  .nav, .header-actions .tel, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .brand { --eh: 46px; }
  .brand__text { margin-left: 10px; margin-top: 0; }
  .brand__name { font-size: 12.5px; letter-spacing: 0.18em; }
  .is-scrolled .brand { --eh: 42px; }
  .site-footer .brand { --eh: 64px; }
  .site-footer .brand__name { font-size: 14px; }
  .site-footer .brand__tagline { margin-left: 0; white-space: normal; max-width: 230px; }
  .hero__inner { grid-template-columns: 1fr; padding: 40px 0 56px; min-height: 0; }
  .hero__title .l { display: inline; }
  .hero__title .l > span { display: inline; }
  .flow { position: relative; inset: auto; height: 180px; width: calc(100% + 2 * var(--gutter)); margin: 8px calc(-1 * var(--gutter)) -30px; -webkit-mask-image: none; mask-image: none; }
  .hero__glow { display: none; }
  .scroll-hint { display: none; }
  .systems__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems__item { padding: 20px 16px 20px 0; margin-right: 16px; }
  .systems__item:nth-child(2n) { border-right: 0; margin-right: 0; }
  .systems__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .why__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .mobile-bar { display: grid; }
  .footer__bottom { padding-bottom: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  .services__grid { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .area { border-right: 0; border-bottom: 1px solid var(--line); }
  .area:last-child { border-bottom: 0; }
  .systems__grid { grid-template-columns: 1fr; }
  .systems__item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .systems__item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom a { margin: 0 16px 0 0; }
  .spec li { grid-template-columns: 1fr; gap: 4px; }
  .faq__item summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .hero__title .l > span { transform: none; }
  .hero__lead, .hero__cta, .flow, .rv { opacity: 1; transform: none; }
  .flow .f, .diagram .f { stroke-dasharray: none; opacity: 0.35; }
}

/* 19. Yasal sayfalar --------------------------------------------------------- */
.legal { padding-block: 56px 96px; }
.legal article { max-width: 760px; }
.legal h1 { font-weight: 750; font-stretch: 114%; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.024em; margin: 12px 0 18px; }
.legal h2 { font-weight: 650; font-stretch: 108%; font-size: 21px; letter-spacing: -0.012em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal .note { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--kor); border-radius: var(--rc); background: var(--kor-100); color: var(--kor-800); font-size: 14.5px; }
