/* ===========================================================
   İnce İnşaat — Kurumsal Web Sitesi
   Marka: lacivert #202c4c · altın #b39963
   =========================================================== */

/* ---------- Tokenlar ---------- */
:root {
  --navy-900: #0d1526;
  --navy-800: #16213a;
  --navy-700: #202c4c;
  --navy-600: #2d3c63;
  --gold-500: #b39963;
  --gold-400: #c7ae7c;
  --gold-300: #ddc9a0;

  --paper: #ffffff;
  --paper-alt: #f6f4f0;
  --paper-line: #e6e1d8;

  --ink-900: #14161c;
  --ink-700: #3c4250;
  --ink-500: #6b7284;
  --ink-300: #a3a9b8;

  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, .68);
  --on-dark-line: rgba(255, 255, 255, .14);

  --max: 1240px;
  --gutter: 24px;
  --radius: 4px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 88px;

  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Satır içi ikonlar için güvenli varsayılan ölçü.
   Daha özel kurallar (.btn svg, .value-card .icon svg vb.) bunu ezer. */
svg { width: 18px; height: 18px; flex: none; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Düzen yardımcıları ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section--dark { background: var(--navy-900); color: var(--on-dark-soft); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--on-dark); }

.section--alt { background: var(--paper-alt); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Bölüm başlığı ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold-500); opacity: .7;
}

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { font-size: 1.06rem; color: var(--ink-500); }
.section--dark .section-head p { color: var(--on-dark-soft); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .86rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold-500); color: #fff; }
.btn--gold:hover { background: var(--navy-700); }

.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--gold-500); }

.btn--ghost { border-color: var(--paper-line); color: var(--ink-900); }
.btn--ghost:hover { border-color: var(--navy-700); background: var(--navy-700); color: #fff; }

.btn--ghost-light { border-color: var(--on-dark-line); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Metin bağlantısı */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-500);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; flex: none; }
.link-arrow:hover { gap: 16px; color: var(--navy-700); }
.section--dark .link-arrow:hover { color: #fff; }

/* ===========================================================
   Üst bar + Header
   =========================================================== */
.topbar {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  font-size: .82rem;
  border-bottom: 1px solid var(--on-dark-line);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 42px;
}
.topbar-list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar-list a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar-list a:hover { color: var(--gold-400); }
.topbar-list svg { width: 14px; height: 14px; color: var(--gold-500); flex: none; }
.topbar-tag {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  font-size: .72rem; color: var(--gold-500);
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid var(--on-dark-line);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.site-header.is-stuck { box-shadow: 0 12px 40px rgba(0, 0, 0, .28); }

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 46px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: .84rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-soft);
  padding: 10px 16px;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 1.5px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

/* Mobil menü tetiği */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: none; border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  cursor: pointer; padding: 0;
  /* Flex kolon: çizgi aralığı margin ile sabit kalır, grid satırları gibi esnemez */
  flex-direction: column; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  display: flex; align-items: flex-end;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease), transform 7s linear;
  position: absolute; inset: 0;
  transform: scale(1.06);
}
.hero-media img.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13, 21, 38, .94) 0%, rgba(13, 21, 38, .55) 42%, rgba(13, 21, 38, .3) 100%),
    linear-gradient(to right, rgba(13, 21, 38, .75) 0%, rgba(13, 21, 38, 0) 65%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 96px); width: 100%; }

.hero-inner { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .accent { color: var(--gold-400); display: block; }
.hero-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--on-dark-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero .eyebrow { color: var(--gold-400); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 44px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--on-dark-line);
}
.hero-meta div { min-width: 120px; }
.hero-meta dt {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; line-height: 1;
}
.hero-meta dd {
  margin: 8px 0 0;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-dark-soft);
}

.hero-dots {
  position: absolute; right: var(--gutter); bottom: 34px; z-index: 3;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 30px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .3);
  transition: background .3s var(--ease);
}
.hero-dots button[aria-selected="true"] { background: var(--gold-500); }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-900);
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .28;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 21, 38, .96), rgba(13, 21, 38, .55));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 15ch; }
.page-hero p { color: var(--on-dark-soft); max-width: 58ch; font-size: 1.06rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: .8rem; color: var(--on-dark-soft); margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span[aria-hidden] { color: var(--gold-500); }

/* ===========================================================
   İstatistik şeridi
   =========================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--paper-line);
}
.stats > div {
  padding: clamp(28px, 4vw, 44px) clamp(16px, 2.4vw, 32px);
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.stats > div:last-child { border-right: 0; }
.stats dt {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--navy-700);
  line-height: 1.1; letter-spacing: -.03em;
  white-space: nowrap;
}
.stats dd {
  margin: 12px 0 0; font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500);
}

/* ===========================================================
   Hakkımızda / iki sütun
   =========================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--media-first .split-media { order: -1; }

.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
}
.split-media--tall img { aspect-ratio: 3 / 4; }

.media-badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--gold-500); color: #fff;
  padding: 22px 26px; border-radius: var(--radius);
  max-width: 220px;
}
.media-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; line-height: 1;
}
.media-badge span {
  display: block; margin-top: 8px;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .92;
}

.motto {
  margin: 30px 0;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600; font-style: italic;
  color: var(--ink-900); line-height: 1.5;
}
.section--dark .motto { color: #fff; }

.tick-list { display: grid; gap: 14px; margin: 26px 0; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; }
.tick-list svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; margin-top: 4px; }

/* ===========================================================
   Proje kartları
   =========================================================== */
.project-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.project-card {
  position: relative; display: block;
  overflow: hidden; border-radius: var(--radius);
  background: var(--navy-900);
  min-height: 460px;
  isolation: isolate;
}
.project-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.project-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(13, 21, 38, .96) 6%, rgba(13, 21, 38, .78) 38%, rgba(13, 21, 38, .3) 72%, rgba(13, 21, 38, .1) 100%);
  transition: opacity .5s var(--ease);
}
.project-card:hover img { transform: scale(1.06); }

.project-card-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 460px;
  padding: clamp(24px, 3vw, 36px);
  color: #fff;
}
.project-card .link-arrow { align-self: flex-start; color: var(--gold-400); }
.project-card:hover .link-arrow { color: #fff; }
.project-card h3 { color: #fff; margin-bottom: 8px; }
.project-card p { color: var(--on-dark-soft); font-size: .95rem; margin-bottom: 18px; }

.project-specs {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 20px;
}
.project-specs li { display: flex; align-items: center; gap: 7px; }
.project-specs li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500);
}

.badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--on-dark-line);
  color: #fff;
  backdrop-filter: blur(6px);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.badge--done::before { background: #5fc38a; }

/* Filtre çubuğu */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.filters button {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 22px; cursor: pointer;
  background: transparent;
  border: 1px solid var(--paper-line);
  border-radius: 100px;
  color: var(--ink-500);
  transition: all .28s var(--ease);
}
.filters button:hover { border-color: var(--navy-700); color: var(--navy-700); }
.filters button[aria-pressed="true"] {
  background: var(--navy-700); border-color: var(--navy-700); color: #fff;
}

.project-grid .is-hidden { display: none; }

.empty-note { color: var(--ink-500); font-style: italic; }

/* ===========================================================
   Değer / hizmet kartları
   =========================================================== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
/* Altı kartlık kümeler 3+3 dizilsin (4+2 yerine) */
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.value-card {
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 22px 50px rgba(32, 44, 76, .13);
}
.value-card .icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(179, 153, 99, .12);
  color: var(--gold-500);
}
.value-card .icon svg { width: 24px; height: 24px; }
.value-card p { font-size: .96rem; color: var(--ink-500); }

.section--dark .value-card {
  background: rgba(255, 255, 255, .035);
  border-color: var(--on-dark-line);
}
.section--dark .value-card:hover {
  background: rgba(255, 255, 255, .07);
  box-shadow: none; border-color: rgba(179, 153, 99, .5);
}
.section--dark .value-card p { color: var(--on-dark-soft); }

/* Numaralı hizmet listesi */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.service-item {
  display: grid; grid-template-columns: 90px 1fr auto;
  gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(24px, 3.4vw, 38px) 0;
  border-bottom: 1px solid var(--paper-line);
  transition: background .35s var(--ease), padding-inline .35s var(--ease);
}
.service-item:hover { background: var(--paper-alt); padding-inline: 20px; }
.service-item .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; color: var(--gold-500); letter-spacing: .06em;
}
.service-item h3 { margin-bottom: 6px; }
.service-item p { font-size: .96rem; color: var(--ink-500); max-width: 62ch; margin: 0; }
.service-item .go { color: var(--gold-500); }
.service-item .go svg { width: 26px; height: 26px; transition: transform .35s var(--ease); }
.service-item:hover .go svg { transform: translateX(6px); }

/* Süreç adımları */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; }
.step {
  padding: clamp(26px, 3vw, 36px);
  background: rgba(255, 255, 255, .04);
  border-top: 2px solid var(--gold-500);
  color: var(--on-dark-soft);
}
/* Koyu zemin üzerinde başlık beyaz kalsın */
.step h3 { color: var(--on-dark); }
.step .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: .8rem; letter-spacing: .16em; color: var(--gold-400);
  margin-bottom: 14px; display: block;
}
.step p { font-size: .94rem; margin: 0; }

/* ===========================================================
   Galeri + lightbox
   =========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}
.gallery--feature { grid-template-columns: repeat(4, 1fr); }
.gallery--feature > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.gallery button {
  position: relative; padding: 0; border: 0; cursor: zoom-in;
  overflow: hidden; border-radius: var(--radius);
  background: var(--paper-alt);
  aspect-ratio: 4 / 3;
  display: block; width: 100%;
}
.gallery--feature > *:nth-child(1) button { aspect-ratio: auto; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.07); }
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(13, 21, 38, .32);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 12, 22, .96);
  display: none; place-items: center;
  padding: clamp(16px, 4vw, 56px);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1200px, 100%); max-height: 84vh;
  object-fit: contain; border-radius: var(--radius);
}
.lightbox-caption {
  position: absolute; left: 0; right: 0; bottom: 22px;
  text-align: center; color: var(--on-dark-soft); font-size: .86rem;
  letter-spacing: .08em;
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--on-dark-line);
  border-radius: 50%; color: #fff; cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox-btn:hover { background: var(--gold-500); border-color: var(--gold-500); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-prev { left: clamp(10px, 3vw, 36px); }
.lightbox-next { right: clamp(10px, 3vw, 36px); }
.lightbox-close { top: clamp(14px, 3vw, 30px); right: clamp(10px, 3vw, 36px); transform: none; }

/* ===========================================================
   Proje künyesi
   =========================================================== */
.factsheet {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--paper-line);
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  overflow: hidden;
}
.factsheet > div { background: var(--paper); padding: 26px; }
.factsheet dt {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 700; margin-bottom: 8px;
}
.factsheet dd {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: var(--ink-900);
}

.project-nav {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--paper-line);
}

/* ===========================================================
   CTA
   =========================================================== */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  padding: clamp(64px, 9vw, 112px) 0;
}
.cta img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13, 21, 38, .95) 30%, rgba(32, 44, 76, .7) 100%);
}
.cta .wrap { position: relative; z-index: 2; }
.cta-inner {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between;
}
.cta h2 { color: #fff; max-width: 17ch; margin-bottom: 12px; }
.cta p { color: var(--on-dark-soft); max-width: 50ch; margin: 0; }

/* ===========================================================
   İletişim
   =========================================================== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}

.contact-info { display: grid; gap: 2px; }
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--paper-line);
}
.contact-info-item:first-child { border-top: 1px solid var(--paper-line); }
.contact-info-item .icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: var(--radius);
  background: rgba(32, 44, 76, .07); color: var(--navy-700);
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item h4 {
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 6px;
}
.contact-info-item p, .contact-info-item a {
  margin: 0; font-size: 1.02rem; color: var(--ink-900); font-weight: 500;
}
.contact-info-item a:hover { color: var(--gold-500); }
.contact-info-item > div { flex: 1; }

.contact-info-item a.contact-directions {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  align-self: center; padding: 11px 16px;
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-700);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.contact-info-item a.contact-directions svg { width: 15px; height: 15px; }
.contact-info-item a.contact-directions:hover {
  background: var(--navy-700); border-color: var(--navy-700); color: #fff;
}

.map-embed {
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  overflow: hidden; line-height: 0;
}
.map-embed iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; }

/* İletişim sayfası: sağda çerçeveli ofis çizimi, altta tam genişlik harita */
.contact-layout:has(.contact-visual) { align-items: center; }
.contact-visual {
  position: relative; margin: 0 18px 18px 0;
}
.contact-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-300); border-radius: var(--radius);
}
.contact-illustration {
  position: relative; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(32, 44, 76, .14);
}
.contact-badge {
  position: absolute; left: -18px; bottom: 32px;
  background: var(--navy-700); color: #fff;
  padding: 18px 24px; border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 21, 38, .25);
}
.contact-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800; line-height: 1.2;
}
.contact-badge span {
  display: block; margin-top: 4px;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300);
}

.contact-map { position: relative; margin-top: clamp(64px, 8vw, 104px); }
.contact-map iframe {
  height: clamp(380px, 38vw, 500px);
  filter: grayscale(.35) contrast(1.02);
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(52px, 7vw, 84px) 0 clamp(36px, 5vw, 56px);
}
.footer-main img.footer-logo { height: 48px; width: auto; margin-bottom: 22px; }
.footer-main p { font-size: .94rem; max-width: 40ch; }
.footer-col h4 {
  color: #fff; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: .95rem; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer-col a:hover { color: var(--gold-400); padding-left: 5px; }

.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .95rem; line-height: 1.6;
}
.footer-contact li + li { margin-top: 16px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: var(--gold-400); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--on-dark-line); border-radius: 50%;
  transition: all .28s var(--ease);
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #fff; }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--on-dark-line);
  font-size: .85rem;
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--navy-700); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
  box-shadow: 0 10px 28px rgba(13, 21, 38, .3);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); }
.to-top svg { width: 18px; height: 18px; }

/* ===========================================================
   Kaydırma animasyonu
   =========================================================== */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ===========================================================
   Duyarlılık
   =========================================================== */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2n) { border-right: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: flex; }

  /* Panel, başlığın hemen altından açılır; logo ve menü düğmesi görünür kalır */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    padding: 20px var(--gutter) 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { visibility: visible; }
  .nav.is-open { transform: none; }
  .nav a {
    font-size: 1.15rem; letter-spacing: .04em;
    padding: 20px 0; border-bottom: 1px solid var(--on-dark-line);
  }
  .nav a::after { display: none; }

  body.nav-open { overflow: hidden; }

  .topbar-list li:not(:first-child) { display: none; }

  .split, .contact-layout { grid-template-columns: 1fr; }
  .contact-visual { margin-right: 12px; margin-bottom: 12px; }
  .contact-visual::before { inset: 12px -12px -12px 12px; }
  .contact-badge { left: 16px; bottom: 16px; padding: 14px 18px; }
  .contact-map iframe { height: 340px; }
  .split--media-first .split-media { order: 0; }
  .media-badge { right: 16px; bottom: -14px; }

  .gallery--feature { grid-template-columns: repeat(2, 1fr); }
  .gallery--feature > *:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gallery--feature > *:nth-child(1) button { aspect-ratio: 16 / 9; }

  .service-item { grid-template-columns: 60px 1fr; }
  .service-item .go { display: none; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }

  .contact-info-item:has(.contact-directions) { flex-wrap: wrap; }
  .contact-info-item a.contact-directions { margin-left: 64px; }

  .topbar .wrap { justify-content: center; }
  .topbar-tag { display: none; }

  .hero { min-height: 600px; }
  .hero-dots { left: var(--gutter); right: auto; bottom: 22px; }
  .hero-meta { gap: 22px 32px; }
  .hero-meta div { min-width: 40%; }

  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; }

  .footer-main { grid-template-columns: 1fr; }
  .project-card, .project-card-body { min-height: 400px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta-inner .btn-row { width: 100%; }
}

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

@media print {
  .site-header, .topbar, .to-top, .hero-dots, .cta, .nav-toggle { display: none !important; }
  body { color: #000; }
}
