/* ============================================================
   Aybars Gayrimenkul — Samara-adapted design system
   Warm architectural restraint: parchment, ink, brand red.
   Font: Plus Jakarta Sans (Regola substitute, light display cuts)
   ============================================================ */

/* ---------- Font (yerel — Google'a istek gitmez) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --color-ink: #141b33;
  --color-ink-soft: #545c72;
  --color-ink-faint: #868da0;
  --color-parchment: #f9fafc;
  --color-parchment-2: #f0f3f8;
  --color-warm-sand: #e8edf5;
  --color-cream: #dfe6f2;
  --color-navy: #1d2d62;
  --color-navy-deep: #121d44;
  --color-brand: #de463c;
  --color-brand-deep: #c13329;
  --color-brand-soft: #faeae7;
  --color-brand-blue: #3060b0;
  --color-white: #ffffff;
  --color-line: rgba(20, 27, 51, 0.1);
  --color-line-soft: rgba(20, 27, 51, 0.06);
  --color-overlay: rgba(16, 12, 8, 0.55);

  /* Font */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Type scale */
  --text-caption-sm: 12px;
  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 18px;
  --text-body-lg: 23px;
  --text-subheading: 30px;
  --text-heading-sm: 36px;
  --text-heading: 48px;
  --text-heading-lg: 60px;
  --text-display: 96px;

  /* Spacing */
  --sp-5: 5px;  --sp-6: 6px;  --sp-8: 8px;  --sp-9: 9px;  --sp-10: 10px;
  --sp-12: 12px; --sp-14: 14px; --sp-15: 15px; --sp-16: 16px; --sp-18: 18px;
  --sp-24: 24px; --sp-30: 30px; --sp-32: 32px; --sp-36: 36px; --sp-42: 42px;
  --sp-54: 54px;

  /* Layout */
  --page-max: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-gap: clamp(72px, 10vw, 128px);

  /* Radius */
  --radius-cards: 12px;
  --radius-pills: 24px;
  --radius-inputs: 12px;
  --radius-buttons: 12px;
  --radius-specialty: 18px;

  /* Shadows */
  --shadow-subtle: rgba(0, 0, 0, 0.12) 0px 0.5px 2px 0px;
  --shadow-sm: rgba(0, 0, 0, 0.12) 0px 2px 4px 0px;
  --shadow-md: rgba(0, 0, 0, 0.08) 0px 2px 10px 0px;
  --shadow-card: rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
  --shadow-float: rgba(31, 20, 10, 0.12) 0 24px 60px -24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--color-brand); color: #fff; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.047em;
  font-weight: 400;
}
.heading-lg {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.041em;
  font-weight: 400;
}
.heading {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.027em;
  font-weight: 400;
}
.heading-sm {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.014em;
  font-weight: 400;
}
.subheading {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.body-lg {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--color-ink-soft);
}
.body {
  font-size: var(--text-body);
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.body-sm {
  font-size: var(--text-body-sm);
  line-height: 1.5;
  letter-spacing: -0.014em;
}
.caption {
  font-size: var(--text-caption);
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.caption-sm {
  font-size: var(--text-caption-sm);
  line-height: 1.5;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.text-soft { color: var(--color-ink-soft); }
.text-faint { color: var(--color-ink-faint); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--color-brand);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: calc(var(--section-gap) * 0.72); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p.body-lg { max-width: 620px; }
.section-head.center p.body-lg { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-buttons);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-subtle);
}
.btn--primary:hover {
  background: var(--color-brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-ink);
}
.btn--ghost:hover { background: rgba(0, 0, 0, 0.08); }
.btn--outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn--outline:hover { border-color: var(--color-ink); }
.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.24); }
.btn--pill { border-radius: var(--radius-pills); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.site-header.is-scrolled {
  background: rgba(253, 250, 243, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: var(--shadow-subtle);
}
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand__logo {
  height: 50px;
  width: auto;
}
.site-footer .brand__logo { }
.brand__mark {
  width: 30px; height: 38px;
  flex: 0 0 auto;
  color: var(--color-brand);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-brand-blue);
  line-height: 1;
}
.brand__sub {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-brand);
  line-height: 1;
}
.site-header.is-dark .brand__name,
.site-header.is-dark .brand__sub { color: #fff; }
.site-header.is-dark .brand__mark { color: #fff; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  opacity: 0.82;
  transition: opacity 0.2s ease;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }
.site-header.is-dark .nav__link { color: #fff; }
.nav__cta { padding: 12px 22px; font-size: 14px; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.nav__toggle span { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: currentColor;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.site-header.is-dark .nav__toggle { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--color-navy-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 38, 0.50) 0%,
    rgba(10, 16, 38, 0.30) 30%,
    rgba(10, 16, 38, 0.55) 62%,
    rgba(10, 16, 38, 0.85) 100%
  ), linear-gradient(90deg, rgba(10, 16, 38, 0.45) 0%, rgba(10, 16, 38, 0) 65%);
}
.hero h1, .hero__sub, .hero__eyebrow { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 120px 72px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 26px;
}
.hero__eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--color-brand);
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-bottom: 26px;
}
.hero h1 .accent { color: var(--color-brand); font-weight: 500; }
.hero__sub {
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 3px; color: inherit; }
a.hero__meta-item:hover strong { color: var(--color-brand); }
.hero__meta-item strong {
  font-size: 20px; font-weight: 500; letter-spacing: -0.02em;
}
.hero__meta-item span {
  font-size: 12.5px; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.68);
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}.hero__scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- Stats strip ---------- */
.stats {
  border-bottom: 1px solid var(--color-line-soft);
  background: var(--color-parchment);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-block: 40px;
}
.stat__value {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__value .unit { color: var(--color-brand); font-size: 0.55em; font-weight: 400; margin-left: 2px; }
.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
  letter-spacing: -0.01em;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about__copy p.body-lg + p.body-lg { margin-top: 18px; }
.about__list { margin-top: 30px; display: grid; gap: 16px; }
.about__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--color-ink);
}
.about__list .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.about__media { position: relative; }
.about__media .frame {
  border-radius: var(--radius-specialty);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about__media .frame--small {
  position: absolute;
  right: -24px; bottom: -30px;
  width: 46%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-cards);
  border: 6px solid var(--color-parchment);
  box-shadow: var(--shadow-md);
}
.about__media .badge {
  position: absolute;
  left: -22px; top: 26px;
  background: var(--color-cream);
  color: var(--color-ink);
  border-radius: var(--radius-cards);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__media .badge strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--color-brand); }
.about__media .badge span { font-size: 12.5px; color: var(--color-ink-soft); line-height: 1.25; }

/* ---------- Video section ---------- */
.video-section { background: var(--color-navy-deep); color: #fff; }
.video-section .section-head .eyebrow { color: var(--color-brand); }
.video-section .section-head .eyebrow::before { background: var(--color-brand); }
.video-section .section-head p.body-lg { color: rgba(255,255,255,0.72); }
.video-frame {
  position: relative;
  border-radius: var(--radius-specialty);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  background: #000;
  cursor: pointer;
}
.video-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-frame .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.45));
  transition: background 0.3s ease;
}
.video-frame .play__btn {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: none;
  background: var(--color-brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-frame .play__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-frame:hover .play { background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35)); }
.video-frame:hover .play__btn { transform: scale(1.06); background: var(--color-brand-deep); }
.video-frame.is-playing .play { display: none; }
.video-frame .hint {
  position: absolute;
  left: 24px; bottom: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--color-warm-sand);
  border-radius: var(--radius-specialty);
  padding: 36px 32px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--color-ink-soft);
}
.service-card .num {
  position: absolute;
  top: 26px; right: 28px;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(26, 20, 14, 0.08);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--color-parchment-2); }
.gallery__masonry {
  column-count: 4;
  column-gap: 18px;
}
.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-cards);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--color-warm-sand);
  box-shadow: var(--shadow-subtle);
  transform: translateZ(0);
}
.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery__item img.is-loaded { opacity: 1; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,8,5,0.4));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item[hidden] { display: none; }
.gallery__item:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.gallery__item img { height: auto; }
.gallery__more { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 30px; }
.gallery__more .gallery__count { margin-top: 18px; }
.gallery__count {
  margin-top: 34px;
  text-align: center;
  color: var(--color-ink-soft);
  font-size: 14px;
  letter-spacing: -0.01em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 9, 6, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute;
  top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__count {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

/* ---------- Location / Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: stretch;
}
.contact__card {
  background: var(--color-warm-sand);
  border-radius: var(--radius-specialty);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}
.contact__rows { display: grid; gap: 22px; margin-top: 28px; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; }
.contact__row .ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  display: grid;
  place-items: center;
}
.contact__row .ico svg { width: 21px; height: 21px; }
.contact__row .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin-bottom: 3px;
}
.contact__row .val { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.contact__row a.val:hover { color: var(--color-brand); }
.contact__hours { margin-top: 26px; }
.contact__hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.contact__hours td { padding: 9px 0; border-bottom: 1px solid var(--color-line-soft); color: var(--color-ink-soft); }
.contact__hours td:last-child { text-align: right; color: var(--color-ink); font-weight: 500; }
.contact__hours tr.today td { color: var(--color-brand); font-weight: 600; }
.contact__map {
  border-radius: var(--radius-specialty);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  min-height: 320px;
  position: relative;
  background: var(--color-parchment-2);
}
.contact__map iframe {
  width: 100%; height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: #fff;
  background-color: var(--color-navy);
  background-image:
    radial-gradient(circle at 50% 42%, rgba(222, 70, 60, 0.22), transparent 55%),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(32deg, transparent 48.5%, rgba(255,255,255,0.10) 49%, rgba(255,255,255,0.10) 51%, transparent 51.5%);
  background-size: 100% 100%, 34px 34px, 34px 34px, 100% 100%;
}
.map-consent__pin {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  margin-bottom: 6px;
}
.map-consent__pin svg { width: 24px; height: 24px; }
.map-consent strong { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.map-consent__addr { font-size: 15px; opacity: 0.85; margin-bottom: 10px; }
.map-consent .btn--primary { background: #fff; color: var(--color-navy); }
.map-consent__note { font-size: 12.5px; line-height: 1.5; opacity: 0.7; max-width: 340px; margin-top: 8px; }
.map-consent__note a { color: #fff; text-decoration: underline; }

/* Portal links */
.portals { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.portal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius-pills);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.portal:hover { transform: translateY(-2px); border-color: var(--color-brand); box-shadow: var(--shadow-md); }
.portal__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-brand); }
.social-group { display: inline-flex; gap: 10px; }
.social-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  color: var(--color-navy);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--color-brand); color: var(--color-brand); }
.listings { display: grid; gap: 10px; margin-top: 26px; max-width: 280px; }
.listings__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ink-faint); }
.listing-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 54px; padding: 0 18px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-subtle);
  color: var(--color-ink-faint);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.listing-tile img { height: 19px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s ease, opacity 0.25s ease; }
.listing-tile__arrow { width: 18px; height: 18px; flex-shrink: 0; }
.listing-tile img.listing-tile__logo--sahibinden { height: 24px; border-radius: 2px; }
.listing-tile:hover { transform: translateY(-2px); border-color: var(--color-brand); color: var(--color-brand); }
.listing-tile:hover img { filter: none; opacity: 1; }
@media (hover: none) { .listing-tile img { filter: none; opacity: 1; } }

/* ---------- Location (kuşbakışı) video ---------- */
.loc-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
  align-items: stretch;
}
.loc-video {
  position: relative;
  border-radius: var(--radius-specialty);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  aspect-ratio: 16 / 9;
  background: var(--color-navy-deep);
}
.loc-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- WhatsApp bilgi al ---------- */
.whatsapp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  background: var(--color-warm-sand);
  border-radius: var(--radius-specialty);
  padding: clamp(30px, 4.5vw, 56px);
  box-shadow: var(--shadow-subtle);
  margin-top: 26px;
}
.wa-phone {
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
  border-radius: 28px;
  background: var(--wa-bg, #e7ddd2);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  border: 8px solid #0f1417;
  font-family: var(--font-sans);
}
.wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--wa-dark, #075e54);
  color: #fff;
}
.wa-head__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex: 0 0 auto;
}
.wa-head__name { font-size: 15px; font-weight: 600; line-height: 1.1; }
.wa-head__status { font-size: 12px; color: rgba(255,255,255,0.82); margin-top: 2px; }
.wa-head__logo {
  margin-left: auto;
  width: 22px; height: 22px;
  color: #fff;
  opacity: 0.9;
}
.wa-chat {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
}
.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: -0.01em;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
  position: relative;
}
.chat-msg--in {
  align-self: flex-start;
  background: #fff;
  color: #1a1a1a;
  border-top-left-radius: 2px;
}
.chat-msg--out {
  align-self: flex-end;
  background: var(--wa-green, #d9fdd3);
  color: #111;
  border-top-right-radius: 2px;
}
.chat-msg--time {
  align-self: center;
  font-size: 11px;
  color: rgba(0,0,0,0.42);
  margin-top: 2px;
}
.wa-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f0f0f0;
}
.wa-input input {
  flex: 1;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
}
.wa-input__send {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--wa-green, #25d366);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
}
.wa-input__send svg { width: 20px; height: 20px; }
.whatsapp__copy .eyebrow, .reach-form .eyebrow { margin-bottom: 16px; }
.whatsapp__copy h3, .reach-form h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.whatsapp__copy p, .reach-form > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
  max-width: 420px;
}
.btn--wa {
  background: var(--wa-green, #25d366);
  color: #fff;
}
.btn--wa:hover { background: #1ebe5d; }

/* Reach form */
.reach-form { display: flex; flex-direction: column; }
.form-field { margin-bottom: 15px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-inputs);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-stone, #999); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(222, 70, 60, 0.12);
}
.form-field textarea { resize: vertical; min-height: 92px; }
.reach-form .btn { margin-top: 18px; align-self: flex-start; }
.form-field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-inputs);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-ink);
}
.form-field select:focus { outline: none; border-color: var(--color-brand); background: #fff; box-shadow: 0 0 0 3px rgba(222, 70, 60, 0.12); }
.form-field [aria-invalid="true"] { border-color: var(--color-brand-deep); }
.form-optional { color: var(--color-ink-faint); font-weight: 400; }
.form-error { display: block; min-height: 0; margin-top: 6px; font-size: 13px; color: var(--color-brand-deep); }
.form-error:empty { display: none; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--color-ink-soft); cursor: pointer; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-brand); flex: 0 0 auto; }
.form-check a { color: var(--color-brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.whatsapp { align-items: start; }
.whatsapp__direct { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mobile quick contact bar */
.quickbar { display: none; }
@media (max-width: 640px) {
  .quickbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(253, 250, 243, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-line);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .quickbar__btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 46px;
    border-radius: var(--radius-buttons);
    font-size: 15px; font-weight: 600;
    color: var(--color-ink);
    background: var(--color-warm-sand);
  }
  .quickbar__btn svg { width: 18px; height: 18px; }
  .quickbar__btn:first-child { background: var(--color-navy); color: #fff; }
  .quickbar__btn--wa { background: #25d366; color: #fff; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
.reach-form .form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--color-ink-faint);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .loc-row { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
  .whatsapp { grid-template-columns: 1fr; }
  .whatsapp__copy p { max-width: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy-deep), var(--color-navy) 60%, #2a4590);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 85% 20%, rgba(255,255,255,0.14), transparent 55%);
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-band h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-band p { margin-top: 12px; font-size: 17px; color: rgba(255,255,255,0.85); max-width: 440px; }
.cta-band .btn { background: #fff; color: var(--color-navy); box-shadow: var(--shadow-md); }
.cta-band .btn:hover { background: var(--color-brand); color: #fff; }
.cta-band .btn:hover { background: #fbeaea; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,0.72);
  padding-block: 72px 34px;
}
.site-footer .container { }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--color-brand); }
.footer__brand p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 340px;
}
.footer__col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .gallery__masonry { column-count: 3; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--color-parchment);
    box-shadow: var(--shadow-md);
    padding: 20px var(--gutter) 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav.is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.is-open .nav__link { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--color-line-soft); }
  .site-header .nav.is-open .nav__link { color: var(--color-ink); }
  .nav.is-open .nav__cta { display: inline-flex; margin-top: 14px; justify-content: center; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gallery__masonry { column-count: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .services__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { padding-block: 140px 60px; }
  .hero__meta { gap: 16px 24px; }
  .hero__scroll { display: none; }
  .about__media .frame--small { right: -12px; bottom: -16px; }
  .about__media .badge { left: -8px; }
  .stats .container { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}


/* ---------- "Buradayız" pin on the location video ---------- */
.loc-video { position: relative; }
.loc-pin {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.loc-pin__dot {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto;
}
.loc-pin__dot svg { width: 18px; height: 18px; }
.loc-pin__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--color-brand); animation: pinPulse 2s ease-out infinite;
}
@media (max-width: 600px) {
  .loc-video { overflow: visible; aspect-ratio: auto; background: none; box-shadow: none; }
  .loc-video video { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-specialty); box-shadow: var(--shadow-subtle); background: var(--color-navy-deep); }
  .loc-pin { position: static; margin-top: 12px; border-radius: var(--radius-cards); box-shadow: var(--shadow-subtle); }
}
@keyframes pinPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.loc-pin strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.1; }
.loc-pin span { display: block; font-size: 12.5px; color: var(--color-ink-soft); margin-top: 2px; }

/* ---------- Hero: ilan portalları (revize 21.11) ---------- */
.contact__row a.val { display: block; }
.wordmark-emlakjet {
  font-weight: 800; font-size: 21px; letter-spacing: -0.04em; line-height: 1;
  color: #ec1c24;
}
.listing-tile .wordmark-emlakjet { font-size: 19px; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s ease, opacity 0.25s ease; }
.listing-tile:hover .wordmark-emlakjet { filter: none; opacity: 1; }
@media (hover: none) { .listing-tile .wordmark-emlakjet { filter: none; opacity: 1; } }

.hero-listings { margin: 0 0 30px; max-width: 720px; }
.hero-listings__label {
  display: block; margin-bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-listings__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-listing {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: 0 18px 0 20px;
  background: #fff; color: var(--color-ink-faint);
  border-radius: var(--radius-cards);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.hero-listing:hover { transform: translateY(-3px); color: var(--color-brand); box-shadow: 0 16px 36px rgba(0,0,0,0.32); }
.hero-listing__logo { height: 22px; width: auto; max-width: 100%; }
.hero-listing__logo--sahibinden { height: 28px; border-radius: 3px; }
.hero-listings__arrow, .hero-listing svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 640px) {
  .hero-listings { margin-bottom: 24px; }
  .hero-listings__row { grid-template-columns: 1fr; gap: 8px; }
  .hero-listing { height: 52px; }
  .hero h1 { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 22px; }
}
.hero-listing__logo--emlakjet { height: 30px; }
.listing-tile img.listing-tile__logo--emlakjet { height: 26px; }

/* ---------- Mobil açılış (revize 21.11 gece) ----------
   Telefonda video arka plan yerine üstte 16:9 bant olarak durur;
   tabela tam görünür, yazılar altta lacivert zeminde rahat okunur. */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .hero { display: block; min-height: 0; }
  .hero__media {
    position: relative; inset: auto;
    margin-top: 78px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(18,29,68,0) 55%, var(--color-navy-deep) 100%);
  }
  .hero h1, .hero__sub, .hero__eyebrow { text-shadow: none; }
  .hero__content { padding-block: 22px 34px; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero h1 { font-size: 42px; margin-bottom: 14px; }
  .hero__sub { font-size: 16px; line-height: 1.45; margin-bottom: 24px; color: rgba(255,255,255,0.78); }
  .hero-listings { margin-bottom: 0; }
  .hero-listings__label { margin-bottom: 10px; }
  .hero-listing { height: 54px; }
  .hero__actions { display: none; }
  .hero__meta { margin-top: 28px; padding-top: 22px; }
  .hero__meta-item strong { font-size: 17px; }
}
