/* ==========================================================================
   Hateks İnşaat — Ana stil dosyası
   Renkler logodan alınmıştır: lacivert #0b4870, açık mavi #5b86c0
   ========================================================================== */

:root {
  --navy-950: #041b2d;
  --navy-900: #062a44;
  --navy-800: #083a5c;
  --navy: #0b4870;
  --blue: #5b86c0;
  --blue-200: #c9d8ec;
  --blue-50: #eef3fa;
  --accent: #f5a524;
  --accent-600: #e08e0b;
  --accent-ink: #2b1a00;
  --ink: #0f1d2b;
  --muted: #5a6b7d;
  --line: #e1e8f0;
  --soft: #f4f7fb;
  --white: #fff;
  --success: #16a34a;
  --danger: #dc2626;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 42, 68, .06), 0 2px 8px rgba(6, 42, 68, .05);
  --shadow: 0 10px 30px -10px rgba(6, 42, 68, .25);
  --shadow-lg: 0 30px 60px -20px rgba(4, 27, 45, .45);
  --container: 1200px;
  --header-h: 84px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy-900); }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.hide-sm { display: inline; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(245, 165, 36, .8); }
.btn-accent:hover { background: var(--accent-600); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(224, 142, 11, .9); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(6, 42, 68, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 56px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5em .9em; border-radius: 999px;
  color: var(--navy-900); font-weight: 600; font-size: .95rem;
}
.main-nav a:hover, .main-nav a.active { background: var(--blue-50); color: var(--navy); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--navy-900); }
.header-phone small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.header-phone strong { font-size: .95rem; white-space: nowrap; }
.header-phone-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-50); color: var(--navy);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy-900); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(91, 134, 192, .45), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(91, 134, 192, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--white);
  padding: 72px 0 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sphere {
  position: absolute; right: -180px; top: -200px; width: 760px; height: 760px; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(140, 175, 220, .55) 2.2px, transparent 2.6px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(circle at 40% 40%, #000 0 30%, transparent 68%);
          mask: radial-gradient(circle at 40% 40%, #000 0 30%, transparent 68%);
  animation: spin 120s linear infinite;
  opacity: .7;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; color: rgba(255, 255, 255, .045); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .45em 1em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: var(--blue-200);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(245, 165, 36, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245, 165, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); } }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; margin: 22px 0 18px; }
.text-gradient {
  background: linear-gradient(90deg, #ffd27a, var(--accent) 50%, #ffb44a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.hero-points .icon {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: rgba(245, 165, 36, .18); color: var(--accent);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Form kartı */
.form-card {
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-form .form-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 23px; z-index: -1;
  background: linear-gradient(140deg, var(--accent), var(--blue));
  filter: blur(18px); opacity: .45;
}
.form-card-head h2 { font-size: 1.5rem; margin: 10px 0 6px; }
.form-card-head p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-card-flat { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card-flat h3 { font-size: 1.35rem; margin-bottom: 18px; }
.badge {
  display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; background: #fff4df; color: #9a5b00;
}

/* ---------- Form ---------- */
.lead-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-bottom: 18px; }
.lead-form-short .form-grid { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .75em .95em; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(91, 134, 192, .15);
}
.field:has(.field-error) input, .field:has(.field-error) select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; font-weight: 600; }
.field-check { margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); font-weight: 500 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.check a { text-decoration: underline; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.form-note .icon { color: var(--success); }
.form-alert { padding: 12px 14px; border-radius: var(--radius-sm); background: #fef2f2; color: #991b1b; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* ---------- Bölümler ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.kicker-light { color: var(--blue-200); }

/* Hizmetler */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(140deg, var(--navy), var(--blue)); color: var(--white);
  box-shadow: 0 10px 20px -10px rgba(11, 72, 112, .8);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Önce / sonra bandı */
.transform-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy) 70%, #275e8f);
  color: var(--white); padding: 90px 0; position: relative; overflow: hidden;
}
.transform-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1.5px, transparent 2px);
  background-size: 26px 26px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 60%); mask: linear-gradient(90deg, #000, transparent 60%);
}
.transform-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.transform-copy h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.transform-copy p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.check-list .icon { color: var(--accent); margin-top: 3px; }
.ba-svg { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.ba-old rect:first-child { fill: #3a4d5e; stroke: #5d7183; stroke-width: 2; }
.ba-old .win rect { fill: #24323f; }
.ba-old .crack { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.is-visible .ba-old .crack { animation: draw 1.6s .3s forwards ease-out; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ba-arrow path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ba-new > rect:first-child { fill: #ffffff; }
.ba-new .roof { fill: var(--accent); }
.ba-new .win rect { fill: var(--blue-200); }
.ba-new .door { fill: var(--navy); }
.ba-new { transform-origin: 405px 281px; transform: scaleY(.2); opacity: 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .5s, opacity .5s .5s; }
.is-visible .ba-new { transform: scaleY(1); opacity: 1; }
.ground { stroke: rgba(255, 255, 255, .3); stroke-width: 2; }

/* Süreç */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; padding: 30px 28px 28px; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid; place-items: center; min-width: 54px; height: 54px; padding: 0 10px; border-radius: 14px; margin-bottom: 18px;
  font-weight: 800; font-size: 1.25rem; color: var(--navy); background: var(--blue-50); border: 2px dashed var(--blue-200);
  transition: background .3s, color .3s, border-color .3s;
}
.step:hover .step-num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Projeler */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); color: var(--ink); transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-50); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); background: linear-gradient(140deg, var(--blue-50), #dde7f4); }
.project-placeholder .icon { width: 64px; height: 64px; opacity: .6; }
.project-status {
  position: absolute; top: 14px; left: 14px; padding: .35em .85em; border-radius: 999px;
  font-size: .75rem; font-weight: 800; background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm);
}
.project-status.static { position: static; display: inline-block; margin-bottom: 14px; }
.status-tamamlandi { background: #dcfce7; color: #166534; }
.status-devam { background: #fff4df; color: #9a5b00; }
.status-planlanan { background: var(--blue-50); color: var(--navy); }
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.project-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.project-meta { list-style: none; padding: 14px 0 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.project-meta li { display: flex; align-items: center; gap: 6px; }
.project-meta .icon { color: var(--blue); }
.project-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.project-card:hover .project-link .icon { transform: translateX(4px); }
.project-link .icon { transition: transform .2s; }
.projects-empty {
  text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 32px; border-radius: 22px;
  border: 2px dashed var(--blue-200); background: linear-gradient(180deg, var(--blue-50), var(--white));
}
.projects-empty-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.projects-empty-icon .icon { width: 36px; height: 36px; }
.projects-empty p { color: var(--muted); }

/* Neden Hateks */
.section-dark { background: var(--navy-950); color: var(--white); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(91, 134, 192, .45) 2px, transparent 2.4px); background-size: 20px 20px;
  -webkit-mask: radial-gradient(circle, #000 0 25%, transparent 65%); mask: radial-gradient(circle, #000 0 25%, transparent 65%);
}
.why { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-copy h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.why-copy p { color: rgba(255, 255, 255, .75); font-size: 1.05rem; margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card {
  padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .3s;
}
.why-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(245, 165, 36, .5); transform: translateY(-4px); }
.why-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(245, 165, 36, .14); color: var(--accent); margin-bottom: 18px; }
.why-icon .icon { width: 24px; height: 24px; }
.why-card h3 { color: var(--white); font-size: 1.1rem; }
.why-card p { color: rgba(255, 255, 255, .65); font-size: .93rem; margin: 0; }

/* SSS */
.faq-wrap .section-head { margin-bottom: 40px; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; color: var(--navy-900); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--navy); flex-shrink: 0; transition: transform .3s, background .3s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq-body { padding: 0 24px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* İletişim */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 700; color: var(--navy-900); }
.ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.ci .icon { width: 22px; height: 22px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* CTA bandı */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-900)); color: var(--white); padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Alt sayfa başlığı */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; color: var(--white); background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); }
.page-hero-dots {
  position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(140, 175, 220, .5) 2px, transparent 2.4px); background-size: 20px 20px;
  -webkit-mask: radial-gradient(circle, #000 0 25%, transparent 65%); mask: radial-gradient(circle, #000 0 25%, transparent 65%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--blue-200); margin-bottom: 18px; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-bar a { padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.filter-bar a:hover { border-color: var(--navy); }
.filter-bar a.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Proje detay */
.project-detail { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.gallery-main { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-50); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 12px; }
.gallery-thumbs a { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-thumbs a:hover img { transform: scale(1.08); }
.prose { margin-top: 36px; color: #334455; font-size: 1.03rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose-narrow { max-width: 820px; }
.project-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.facts-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.facts-card h3 { font-size: 1.1rem; }
.facts-card ul { list-style: none; padding: 0; margin: 0; }
.facts-card li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts-card li:last-child { border-bottom: 0; }
.facts-card li span { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.facts-card li span .icon { color: var(--blue); }
.facts-card li strong { text-align: right; color: var(--navy-900); }
.facts-cta { background: linear-gradient(150deg, var(--navy), var(--navy-900)); border: 0; color: var(--white); display: grid; gap: 10px; }
.facts-cta h3 { color: var(--white); }
.facts-cta p { color: rgba(255, 255, 255, .75); font-size: .93rem; margin: 0 0 6px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 27, 45, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; display: grid; place-items: center; }

/* Teşekkürler */
.thanks { padding: 100px 0; background: var(--soft); }
.thanks-card { max-width: 620px; text-align: center; background: var(--white); border-radius: 24px; padding: 56px 32px; box-shadow: var(--shadow); }
.thanks-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: var(--success); margin-bottom: 20px; }
.thanks-icon .icon { width: 42px; height: 42px; stroke-width: 3; }
.thanks-card p { color: var(--muted); font-size: 1.05rem; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: .95rem; }
.footer-dots {
  position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%;
  background-image: radial-gradient(circle, rgba(91, 134, 192, .35) 2px, transparent 2.4px); background-size: 20px 20px;
  -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 65%); mask: radial-gradient(circle, #000 0 20%, transparent 65%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 20px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue); margin-top: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-cta { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.footer-cta p { font-size: .9rem; }
.site-footer .footer-cta .btn { color: var(--accent-ink); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* WhatsApp & mobil bar */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float .icon { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* ---------- Görünme animasyonu ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-sphere, .pulse { animation: none; }
  .ba-new { transform: none; opacity: 1; transition: none; }
  .ba-old .crack { stroke-dashoffset: 0; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 20px;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; margin: 0;
    display: flex; flex-direction: column; gap: 20px;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.1rem; padding: .85em 1em; border-radius: 12px; }
  .nav-mobile-extra { display: grid; gap: 10px; }
  .header-actions { margin-left: auto; }
  .nav-open { overflow: hidden; }

  .hero { padding: 48px 0 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-form { max-width: 620px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid, .steps, .projects-grid { grid-template-columns: 1fr 1fr; }
  .transform-inner, .why, .contact { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail { grid-template-columns: 1fr; }
  .project-aside { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero h1 { font-size: 2.15rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-card { padding: 22px 18px; border-radius: 18px; }
  .lead-form .form-grid, .lead-form-short .form-grid { grid-template-columns: 1fr; }
  .stats { margin-top: -50px; }
  .stat { padding: 20px 16px; }
  .stat strong { font-size: 1.6rem; }
  .services-grid, .steps, .projects-grid, .why-grid, .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .section-head-row .btn { width: 100%; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(6, 42, 68, .3);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; font-size: .74rem; font-weight: 700; color: var(--navy-900); }
  .mobile-bar a .icon { width: 22px; height: 22px; }
  .mobile-bar a:nth-child(2):not(.mobile-bar-cta) .icon { color: #25d366; }
  .mobile-bar-cta { background: var(--accent); color: var(--accent-ink) !important; }
}
