/* ============================================================
   FUSE MÜHENDİSLİK — Tasarım Sistemi (Light Tema)
   Palet logodan türetilmiştir: #FF2801 (kırmızı-turuncu)
   ============================================================ */
:root {
  --brand: #FF2801;
  --brand-dark: #D92301;
  --brand-soft: #FFF1EC;
  --ink: #1B1D21;
  --ink-2: #4A4E57;
  --ink-3: #8A8F99;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --line: #E7E8EC;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(27, 29, 33, .07);
  --shadow-lg: 0 16px 44px rgba(27, 29, 33, .12);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); margin-top: 10px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem;
  transition: all .22s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,40,1,.28); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
/* Kare logoya uyum: marka bloğu yatay kapsül — logo sabit küçük kare, yanında yazı */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; }
.brand-text span {
  font-size: .62rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--brand);
}

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 9px 14px;
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
  border-radius: 8px; transition: all .18s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.main-nav a.active { color: var(--brand); background: var(--brand-soft); }

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 10px 20px; font-size: .88rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 340px at 88% 12%, var(--brand-soft), transparent 65%),
    radial-gradient(560px 300px at 4% 92%, #F1F3F7, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 1.13rem; color: var(--ink-2); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 60px;
  box-shadow: var(--shadow);
}
.hero-stats div { background: #fff; padding: 22px 24px; }
.hero-stats strong { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stats span { font-size: .85rem; color: var(--ink-3); font-weight: 600; }

/* ---------- Gridler & Kartlar ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: all .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card .num {
  font-size: .8rem; font-weight: 800; color: var(--brand);
  letter-spacing: .12em; margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.card .card-link {
  margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}
.card:hover .card-link { gap: 10px; }
.card .card-link { transition: gap .2s ease; }

/* İkon kutusu */
.icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-box svg { width: 24px; height: 24px; }

/* ---------- Bölümler ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--bg-alt); }

/* Kategori listesi (hizmet detay sayfaları) */
.cat-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.cat-item .cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cat-item .cat-code {
  font-size: .78rem; font-weight: 800; color: var(--brand);
  letter-spacing: .08em; flex-shrink: 0;
}
.cat-item ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.cat-item li {
  font-size: .92rem; color: var(--ink-2);
  padding-left: 18px; position: relative;
}
.cat-item li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  opacity: .55;
}

/* ---------- CTA bandı ---------- */
.cta-band {
  background: var(--ink); border-radius: var(--radius);
  padding: 56px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9BCC4; margin-top: 8px; max-width: 480px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A6AAB3; margin-top: 88px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px; padding: 64px 0 48px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 10px; font-size: .92rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0; font-size: .85rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--brand); }
.page-hero p { color: var(--ink-2); max-width: 620px; margin-top: 12px; font-size: 1.05rem; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,40,1,.12);
}

/* ---------- Reveal animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* Mobil menü */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .header-cta { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats div { padding: 16px 18px; }
  .hero-stats strong { font-size: 1.35rem; }
  .cta-band { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .cat-item ul { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand img { width: 36px; height: 36px; }
  .brand-text strong { font-size: .92rem; }
  .brand-text span { letter-spacing: .2em; font-size: .56rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
