/* =========================================================================
   BKM Yapı Mimarlık — "Aydınlık Föy" tasarım sistemi
   Palet: ferah porselen / sıcak kum · fırçalanmış pirinç aksan
   Tipografi: Fraunces (display) · Manrope (gövde) · Space Mono (föy/ölçü)
   ========================================================================= */

:root {
  /* Açık zeminler */
  --bg: #f4efe8;           /* sayfa zemini — sıcak porselen */
  --surface: #fbf9f4;      /* açık bölüm */
  --sand: #ece3d5;         /* sıcak kum bölüm */
  --white: #ffffff;

  /* Sıcak taupe/greige — açık kontrast blokları */
  --greige: #e4d8c4;
  --greige-2: #dccdb4;

  /* Metin */
  --ink: #2a251f;          /* ana metin (açık üstünde) */
  --ink-dim: #6d6459;      /* ikincil metin */
  --on-dark: #f2ede4;      /* koyu üstünde metin */
  --on-dark-dim: #b3a999;  /* koyu üstünde ikincil */

  /* Aksan — pirinç */
  --brass: #a9762f;
  --brass-2: #c9964a;
  --brass-ink: #86601f;

  /* WhatsApp */
  --wa: #1faf54;
  --wa-2: #27c563;

  /* Çizgiler */
  --line: rgba(42, 37, 31, 0.14);
  --line-strong: rgba(42, 37, 31, 0.24);
  --line-on-dark: rgba(242, 237, 228, 0.14);

  /* Tipografi */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Ölçü */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 74px;
}

/* ----- Reset tamamlayıcı ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--brass); color: #fff; }

/* Sabit başlık altına kayan bağlantı hedefleri gizlenmesin */
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); display: inline-block; flex: none; }

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(42, 37, 31, 0.06);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); color: var(--ink); min-width: 0; }
.brand .mono {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: 0.12em;
  border: 1px solid var(--brass); color: var(--brass); padding: 5px 8px; border-radius: var(--radius); line-height: 1; flex: none;
}
.brand-text { min-width: 0; }
.brand b { font-weight: 500; font-size: 17px; display: block; white-space: nowrap; }
.brand-text > span { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); transition: color 0.25s var(--ease); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav-links { display: flex; gap: 30px; }

/* Butonlar */
.btn {
  --btn-bg: var(--brass); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 18px; border-radius: var(--radius); min-height: 44px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover, .btn:focus-visible { background: var(--brass-2); border-color: var(--brass-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: transparent; border-color: var(--brass); color: var(--brass-ink); transform: translateY(-2px); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn--wa:hover, .btn--wa:focus-visible { background: var(--wa-2); border-color: var(--wa-2); }
.btn--lg { padding: 15px 24px; font-size: 13px; min-height: 50px; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink);
  width: 44px; height: 44px; padding: 0; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 46px); padding-bottom: 48px; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-color: #efe8db;
  background-image:
    radial-gradient(130% 90% at 82% 12%, rgba(201,150,74,0.20), transparent 52%),
    radial-gradient(120% 100% at 8% 100%, rgba(255,255,255,0.6), transparent 55%),
    repeating-linear-gradient(54deg, rgba(120,100,72,0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(48deg, rgba(120,100,72,0.03) 0 2px, transparent 2px 70px),
    linear-gradient(160deg, #f6f2ea 0%, #e6dcc9 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(246,242,234,0.35) 0%, rgba(246,242,234,0) 38%, rgba(244,239,232,0.55) 100%);
}
.hero-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(32px, 5vw, 72px); align-items: end;
}
.hero-text { min-width: 0; }
.hero-media { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 400px; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px;
  box-shadow: 0 30px 60px rgba(42, 37, 31, 0.22); border: 1px solid rgba(255,255,255,0.5);
}
.hero-media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  background: rgba(28, 20, 12, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 12px; border-radius: 40px;
}
.hero-media figcaption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 0 3px rgba(201,150,74,0.3); }

.hero-coords {
  position: absolute; top: calc(var(--header-h) + 46px); right: var(--gutter);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-dim); text-align: right; line-height: 1.9;
}
.hero-coords span { color: var(--brass-ink); }

.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 8.5vw, 7rem); line-height: 1; letter-spacing: -0.02em;
  margin: 22px 0 0; max-width: 15ch; text-wrap: balance; color: var(--ink);
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
.hero-lede { margin: 26px 0 0; max-width: 48ch; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-dim); }
.hero-lede strong { color: var(--brass-ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 5vw, 56px);
  margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line-strong);
}
.proof-item .num { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 400; line-height: 1; color: var(--ink); }
.proof-item .num em { font-style: normal; color: var(--brass); }
.proof-item .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin-top: 8px; }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 26px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-dim); display: flex; align-items: center; gap: 10px;
}
.scroll-cue .bar { width: 1px; height: 34px; background: linear-gradient(var(--brass), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================ SECTION taban ============================ */
.section { padding-block: clamp(64px, 10vw, 132px); position: relative; }
.section--light { background: var(--surface); color: var(--ink); }
.section--paper { background: var(--sand); color: var(--ink); }
.section--greige { background: var(--greige); color: var(--ink); }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance; color: inherit;
}
.section-head h2 em { font-style: italic; color: var(--brass); }
.section-head p { margin: 20px 0 0; font-size: 1.06rem; color: var(--ink-dim); max-width: 52ch; }

/* ============================ STRIP ============================ */
.strip { border-block: 1px solid var(--line); background: var(--bg); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; padding-block: 26px; }
.strip .tick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.strip .tick svg { width: 17px; height: 17px; flex: none; color: var(--brass); }

/* ============================ HİZMETLER ============================ */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc {
  position: relative; grid-column: span 6; min-height: 340px;
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; color: #fff; border: 1px solid var(--line); isolation: isolate;
  box-shadow: 0 14px 40px rgba(42, 37, 31, 0.10);
}
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(196deg, rgba(28,20,12,0) 42%, rgba(28,20,12,0.42) 68%, rgba(24,17,10,0.82) 100%); }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.svc:hover .svc-img { transform: scale(1.04); }
.svc-ref { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.svc h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin: 10px 0 8px; line-height: 1.1; color: #fff; }
.svc p { margin: 0; font-size: 0.98rem; color: rgba(255,255,255,0.9); max-width: 34ch; }
.svc .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border: 1px solid rgba(255,255,255,0.34); border-radius: 40px; color: #fff; }
.svc--tall { grid-column: span 6; grid-row: span 2; min-height: 400px; }
.svc--wide { grid-column: span 6; }
.svc--full { grid-column: span 12; min-height: 280px; }

/* ============================ INSTAGRAM REELS ============================ */
.reels-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.reels-note { margin-top: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim); }
.reels-note a { color: var(--brass-ink); border-bottom: 1px solid currentColor; }

/* --- Ortak karusel iskeleti: reels ve galeri paylaşır --- */
.carousel { position: relative; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(251, 249, 244, 0.95); border: 1px solid var(--line-strong); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(42, 37, 31, 0.14);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: var(--brass); border-color: var(--brass); color: #fff; }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow--prev { left: -18px; }
.carousel-arrow--next { right: -18px; }
.carousel-arrow[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }
/* display:grid tarayıcının [hidden] kuralını ezer — JS ok gizleyebilsin diye açıkça yaz */
.carousel-arrow[hidden] { display: none; }

.reels-track { gap: 20px; padding-bottom: 8px; }
/* Masaüstünde aynı anda tam 3 slayt (2 aralık × 20px) */
.reel-slide { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; scroll-snap-align: start; }
.reel-frame {
  width: 100%; height: clamp(560px, 46vw, 720px); display: block;
  border-radius: 12px; background: var(--surface);
  box-shadow: 0 10px 34px rgba(42, 37, 31, 0.12); border: 1px solid var(--line);
}

/* ============================ GALERİ ============================ */
/* Aynı anda --per adet slayt; kalanı yandan görünsün diye kesirli değer de alabilir */
.gallery-track {
  --per: 4; --gap: 16px;
  gap: var(--gap);
  /* hover'daki kalkma ve gölge üstten/alttan kırpılmasın */
  padding: 8px 2px 18px;
}
.gal-slide {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  min-width: 0; scroll-snap-align: start;
}
.gal-item {
  position: relative; padding: 0; margin: 0; border: 1px solid var(--line);
  background: var(--sand); border-radius: 8px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1; display: block; width: 100%;
  box-shadow: 0 10px 28px rgba(42, 37, 31, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gal-item:hover, .gal-item:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(42, 37, 31, 0.18); }
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.06); }
.gal-item:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.gal-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-start; gap: 10px; padding: 14px; text-align: left;
  background: linear-gradient(180deg, rgba(24,17,10,0) 45%, rgba(24,17,10,0.72) 100%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.gal-item:hover .gal-overlay, .gal-item:focus-visible .gal-overlay { opacity: 1; }
.gal-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(251, 249, 244, 0.92); color: var(--ink);
}
.gal-zoom svg { width: 17px; height: 17px; }
.gal-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
/* Dokunmatik cihazlarda hover yok — bilgi hep görünsün */
@media (hover: none) {
  .gal-overlay { opacity: 1; background: linear-gradient(180deg, rgba(24,17,10,0) 55%, rgba(24,17,10,0.62) 100%); }
}

/* ============================ LIGHTBOX ============================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(12px, 4vw, 48px);
  background: rgba(20, 15, 10, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.lightbox.is-visible { display: flex; }
.lightbox.is-open { opacity: 1; }

.lb-figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lb-figure img {
  max-width: min(100%, 1200px);
  max-height: 74vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 10px; background: rgba(255,255,255,0.04);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  transition: opacity 0.22s var(--ease), transform 0.32s var(--ease);
}
.lightbox.is-swapping .lb-figure img { opacity: 0; transform: scale(0.985); }

.lb-caption { text-align: center; max-width: 62ch; display: grid; gap: 6px; }
.lb-caption-title {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2);
}
.lb-caption-text { font-size: 0.98rem; color: var(--on-dark-dim); }
.lb-caption-title:empty, .lb-caption-text:empty { display: none; }

.lb-btn {
  position: absolute; z-index: 3;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.28); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--brass); border-color: var(--brass); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: clamp(10px, 3vw, 32px); }
.lb-next { right: clamp(10px, 3vw, 32px); }
.lb-nav[hidden] { display: none; }

.lb-counter {
  position: absolute; bottom: clamp(12px, 3vw, 28px); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--on-dark-dim);
}

/* ============================ SÜREÇ ============================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 10px; }
.step { padding: 28px 22px 28px 0; border-top: 1px solid var(--line); position: relative; }
.step .idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brass-ink); }
.step h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 16px 0 8px; color: var(--ink); }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-dim); }

/* ============================ FELSEFE ============================ */
.creed { position: relative; }
.creed .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.creed blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 4vw, 3.1rem); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink);
}
.creed blockquote b { font-style: normal; font-weight: 400; color: var(--brass-ink); }
.creed .who { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin-top: 28px; }
.creed .body p { color: var(--ink-dim); margin: 0 0 18px; }
.creed .body p:last-child { margin-bottom: 0; }
.creed .body .lead { color: var(--ink); font-size: 1.1rem; }

/* ============================ İLETİŞİM ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: 0 14px 40px rgba(42, 37, 31, 0.06); }
.contact-row { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row .ic { width: 40px; height: 40px; flex: none; border: 1px solid var(--brass); color: var(--brass); border-radius: var(--radius); display: grid; place-items: center; }
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.contact-row .v { font-size: 1.08rem; margin-top: 3px; color: var(--ink); overflow-wrap: anywhere; }
.contact-row .v a:hover { color: var(--brass-ink); }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.person .role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); }
.person .name { font-family: var(--font-display); font-size: 1.15rem; margin: 6px 0 4px; color: var(--ink); }
.person a { font-size: 0.95rem; color: var(--ink-dim); }
.person a:hover { color: var(--brass-ink); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  /* .contact-grid align-items:start olduğu için kutu satırı doldurmuyordu; iframe de
     yüksekliğini çözemeyip 460px'te kalıyor ve altta boş zemin şeridi görünüyordu. */
  align-self: stretch;
  display: grid;
  background-color: #ece6db;
  background-image:
    repeating-linear-gradient(52deg, rgba(120,110,96,0.10) 0 1px, transparent 1px 26px),
    linear-gradient(150deg, #f4f0e8 0%, #e2dacd 100%);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); padding-block: 56px 34px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { max-width: 34ch; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.footer-brand p { color: var(--ink-dim); font-size: 0.95rem; margin: 12px 0 0; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; color: var(--ink-dim); transition: all 0.25s var(--ease); }
.footer-social a:hover { color: #fff; background: var(--brass); border-color: var(--brass); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim); }

/* --- Geliştirici künyesi --- */
.footer-dev {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-dim);
}
.footer-dev a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brass-ink); text-transform: uppercase; letter-spacing: 0.14em;
  border-bottom: 1px solid transparent; transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-dev a:hover, .footer-dev a:focus-visible { color: var(--ink); border-bottom-color: currentColor; }
.footer-dev svg { width: 12px; height: 12px; }

/* ============================ WHATSAPP FAB ============================ */
.wa-fab {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,175,84,0.4); transition: transform 0.25s var(--ease);
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============================ REVEAL ============================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================ HATA SAYFASI ============================ */
.error-page { max-width: 60ch; margin: 0 auto; padding: 18vh var(--gutter) 10vh; }
.error-page h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 6vw, 3.4rem); margin: 18px 0 12px; }
.error-page p { color: var(--ink-dim); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* --- Tablet --- */
@media (max-width: 1100px) {
  .gallery-track { --per: 3; }
}

@media (max-width: 820px) {
  .gallery-track { --per: 2; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .creed .wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--tall, .svc--wide, .svc--full { grid-column: span 6; grid-row: auto; min-height: 300px; }
  .map-wrap iframe { min-height: 340px; }
}

/* --- Hero: tek kolon, görsel metnin altında --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-coords { display: none; }
  .hero-media { justify-self: stretch; max-width: 100%; margin-top: 36px; }
  .hero-media img { aspect-ratio: 16 / 10; border-radius: 10px; box-shadow: 0 18px 40px rgba(42, 37, 31, 0.18); }
  .scroll-cue { display: none; }
  .hero { padding-bottom: 64px; }
}

/* --- Reels: mobilde kenardan kenara tek video --- */
@media (max-width: 700px) {
  .reels-carousel { margin-inline: calc(var(--gutter) * -1); }
  .reels-track { gap: 12px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .reel-slide { flex-basis: min(calc(100vw - 32px), 420px); }
  .reel-frame {
    /* Instagram gömme çerçevesi ~9:16 — sabit yükseklik yerine genişliğe bağlı */
    height: min(76vh, calc(min(100vw - 32px, 420px) * 1.72));
    border-radius: 10px;
  }
  .carousel-arrow { width: 42px; height: 42px; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow--prev { left: 6px; }
  .carousel-arrow--next { right: 6px; }
  .reels-head { margin-bottom: 28px; }
}

/* --- Galeri: mobilde kenardan kenara, sonraki görsel ucundan görünsün --- */
@media (max-width: 620px) {
  .gallery-carousel { margin-inline: calc(var(--gutter) * -1); }
  .gallery-track {
    --per: 1.25; --gap: 12px;
    padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
}

/* --- Telefon --- */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { gap: 10px; padding-inline: var(--gutter); }
  .brand { gap: 9px; }
  .brand b { font-size: 15.5px; }
  .brand-text > span { font-size: 8.5px; letter-spacing: 0.16em; }

  .services-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .svc, .svc--tall, .svc--wide, .svc--full { min-height: 265px; padding: 22px; }
  .svc h3 { font-size: 1.45rem; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 22px 0; }
  .contact-people { grid-template-columns: 1fr; }

  .strip .wrap { display: grid; grid-template-columns: 1fr; gap: 14px; padding-block: 22px; }

  .footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; }
  .footer-bottom { margin-top: 34px; }

  .lb-btn { width: 44px; height: 44px; }
  .lb-btn svg { width: 19px; height: 19px; }
  .lb-figure img { max-height: 66vh; }
  .lb-nav { top: auto; bottom: clamp(12px, 3vw, 28px); transform: none; }
  .lb-nav:hover { transform: none; }
  .lb-prev { left: 18px; }
  .lb-next { right: 18px; }
  .lb-counter { bottom: 28px; }

  .wa-fab { width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* --- Küçük telefon --- */
@media (max-width: 430px) {
  .brand-text > span { display: none; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .contact-cta .btn { flex: 1 1 100%; }
  .hero-proof { gap: 20px 26px; }
  .proof-item { flex: 1 1 40%; }
}

/* ============================ MOBİL MENÜ ============================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(246, 242, 234, 0.98); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: max(88px, 14vh) var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-100%); transition: transform 0.45s var(--ease), visibility 0.45s; visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2rem); padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu-links a:last-of-type { border-bottom: none; }
.mobile-menu .close {
  position: absolute; top: 18px; right: var(--gutter);
  background: none; border: 1px solid var(--line-strong); color: var(--ink);
  width: 44px; height: 44px; padding: 0; border-radius: var(--radius); cursor: pointer;
  display: grid; place-items: center;
}
.mobile-menu .close svg { width: 20px; height: 20px; display: block; }
.mobile-menu .m-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.mobile-menu .m-cta .btn { flex: 1 1 140px; }
