/* ============================================================
   Oikosa — Türkiye'nin sanal turlu, doğrulanmış emlak portalı
   Tasarım sistemi
   ============================================================ */

:root {
  /* Marka renkleri */
  --teal:        #0F4F4A;
  --teal-2:      #0F6E56;
  --mint:        #eef5f1;
  --mint-2:      #cdeadd;
  --red:         #e2574c;

  /* Metin */
  --ink:         #1a1a1a;
  --ink-2:       #5a5a5a;
  --ink-3:       #8a8a8a;
  --ink-4:       #9a9a9a;

  /* Yüzeyler */
  --bg:          #faf9f7;
  --surface:     #ffffff;
  --surface-2:   #f6f5f3;
  --surface-3:   #f0eee9;

  /* Kenarlıklar */
  --line:        #e8e6e1;
  --line-2:      #e3e0da;

  /* Tipografi */
  --serif:  'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Ölçü */
  --container: 1280px;
  --r-pill: 999px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 8px 28px rgba(20,40,35,.10);
  --shadow-lg: 0 24px 60px rgba(20,40,35,.16);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; -webkit-appearance: none; appearance: none; }
ul { list-style: none; }
i { font-style: normal; }

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

/* Property gradyan görseller (gerçek foto yok, placeholder) */
.g0 { background: linear-gradient(150deg,#5e7269,#2d3d38); }
.g1 { background: linear-gradient(150deg,#ede6d8,#c3b59c); }
.g2 { background: linear-gradient(150deg,#dce2de,#a9b6b1); }
.g3 { background: linear-gradient(150deg,#e2dace,#baab93); }
.g4 { background: linear-gradient(150deg,#d9dcd9,#9ead9f); }
.g5 { background: linear-gradient(150deg,#cdd8d2,#8fa39a); }
.g6 { background: linear-gradient(150deg,#e6e0d6,#c3b8a0); }
.g7 { background: linear-gradient(150deg,#d8ccc0,#b09c84); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -.5px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand .dot { color: var(--teal-2); }

/* Ortadaki tek parça arama çubuğu */
.topsearch {
  flex: 1;
  display: flex;
  justify-content: center;
}
/* Beyaz, yuvarlak köşeli tek kapsayıcı (Airbnb tarzı) */
.ts-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  padding: 5px 5px 5px 6px;
  transition: box-shadow .15s, border-color .15s;
}
.ts-bar:hover { box-shadow: var(--shadow-md); }
.ts-bar:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint-2); }
/* Bar içindeki tek tek bölmeler — şeffaf, aralarında ince ayraç */
.ts-seg {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 124px;
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%238a948f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 10px center;
  background-size: 14px;
  border: none;
  border-radius: var(--r-pill);
  padding: 9px 28px 9px 16px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
/* Bölmeler arası ince dikey ayraç */
.ts-seg + .ts-seg { box-shadow: -1px 0 0 var(--line); }
.ts-seg:hover { background-color: var(--surface-2); }
.ts-seg:focus { outline: none; }
.ts-seg:disabled { color: var(--ink-3); cursor: not-allowed; opacity: .7; }
.ts-seg-oda { width: 120px; }
.kind-toggle {
  position: relative;
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  flex-shrink: 0;
}
.kind-toggle .slider {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--teal);
  border-radius: var(--r-pill);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.kind-toggle.kir .slider { transform: translateX(100%); }
.kind-toggle button {
  position: relative;
  z-index: 1;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s;
}
.kind-toggle button.active { color: #fff; }
.ts-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  padding: 0 14px;
}
.ts-input:focus { outline: none; }
.ts-input::placeholder { color: var(--ink-3); }
.ts-go {
  width: 40px; height: 40px;
  margin-left: 6px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .15s;
}
.ts-go:hover { background: #0c423e; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--mint-2);
  color: var(--teal);
  display: grid; place-items: center;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: .02em;
}
.nav-toggle { display: none; font-size: 24px; color: var(--ink); }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  display: grid; place-items: center;
  font-size: 19px;
  transition: background .15s, color .15s;
}
.theme-toggle:hover { background: var(--surface-3); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0c423e; box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 72px 0 80px;
  background: linear-gradient(165deg, #0a3d38 0%, #0F4F4A 30%, #0F6E56 70%, #14805f 100%);
  overflow: hidden;
}
/* Decorative radial glow */
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(205,234,221,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(15,110,86,.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating decorative cards */
.hero-floats {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-card {
  position: absolute;
  width: 180px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  overflow: hidden;
  animation: floatY 6s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  opacity: .7;
}
.float-card .fc-photo { height: 80px; }
.float-card .fc-info {
  padding: 10px 12px;
  color: #fff;
}
.float-card .fc-info strong { font-size: 13px; display: block; font-weight: 600; }
.float-card .fc-info span { font-size: 12px; opacity: .75; }
.fc-1 { top: 12%; left: 4%; animation-delay: 0s; transform: rotate(-6deg); }
.fc-2 { top: 25%; right: 3%; animation-delay: -2s; transform: rotate(4deg); }
.fc-3 { bottom: 12%; left: 8%; animation-delay: -4s; transform: rotate(-3deg); width: 160px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (max-width: 980px) { .hero-floats { display: none; } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Hero pill badge */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  letter-spacing: .01em;
}
.hero-pill i { color: #7dddb8; font-size: 16px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  color: #fff;
}
.hero .lede {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Hero buttons */
.hero-action {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 0 0 0 rgba(255,255,255,.2);
  transition: transform .18s, box-shadow .18s;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 0 0 4px rgba(255,255,255,.1);
}
.btn-hero:active { transform: translateY(0); }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: background .18s, border-color .18s, transform .18s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}
.btn-hero-outline:active { transform: translateY(0); }

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-stats .stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 160px;
}
.hero-stats .stat-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(125,221,184,.15);
  color: #7dddb8;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-stats .stat strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.hero-stats .stat span {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   CTA Banner (between hero and categories)
   ============================================================ */
.cta-banner {
  padding: 0;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 36px;
  box-shadow: var(--shadow-lg);
}
.cta-text h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cta-text p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 480px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .cta-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats .stat { min-width: 140px; padding: 12px 14px; }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}

/* Hero image card */
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-lg);
}
.hero-card .photo { position: absolute; inset: 0; }
.hero-card .tour-badge {
  position: absolute;
  top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: #fff;
  background: rgba(15,79,74,.86);
  backdrop-filter: blur(4px);
  padding: 8px 13px;
  border-radius: var(--r-pill);
}
.hero-card .info {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.hero-card .info .price {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--ink);
}
.hero-card .info h3 {
  font-size: 15px; font-weight: 600; margin: 2px 0 3px;
}
.hero-card .info .meta { font-size: 13px; color: var(--ink-3); }
.hero-card .info .tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: 12px; font-weight: 600;
  color: var(--teal-2);
  background: var(--mint);
  padding: 5px 10px; border-radius: var(--r-pill);
}

/* ============================================================
   Section heading
   ============================================================ */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.section-head p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; }
.section-head .link {
  font-size: 14.5px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.section-head .link:hover { gap: 9px; }

/* ============================================================
   Categories
   ============================================================ */
.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mint-2); }
.cat .ico {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--mint);
  color: var(--teal);
  font-size: 24px;
}
.cat .name { font-weight: 600; font-size: 15px; }
.cat .count { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ============================================================
   Featured listings
   ============================================================ */
.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--surface-2);
  padding: 5px;
  border-radius: var(--r-pill);
}
.seg button {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: all .15s;
}
.seg button.active {
  background: #fff; color: var(--ink); font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .photo {
  height: 200px;
  position: relative;
}
.card .photo .pill {
  position: absolute; top: 12px; left: 12px;
  font-size: 12px; font-weight: 600;
  color: var(--teal);
  background: rgba(255,255,255,.92);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.card .photo .tour {
  position: absolute; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(15,79,74,.86);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.card .fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 18px;
  transition: transform .15s;
}
.card .fav:hover { transform: scale(1.08); }
.card .fav.on { color: var(--red); }
.card .body { padding: 16px 18px 18px; }
.card .body .price {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600; color: var(--ink);
}
.card .body h3 { font-size: 15.5px; font-weight: 600; margin: 4px 0 8px; }
.card .body .meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; color: var(--ink-3);
}
.card .body .meta span { display: inline-flex; align-items: center; gap: 5px; }
.card .body .verified-note {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: 12px; font-weight: 500; color: var(--brand, #0f4f4a);
}
.card .body .verified-note i { font-size: 14px; }

/* ============================================================
   Regions
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.region {
  position: relative;
  height: 220px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.region .photo {
  position: absolute; inset: 0;
  transition: transform .5s ease;
}
.region:hover .photo { transform: scale(1.06); }
.region::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,35,30,.72));
}
.region .label {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  color: #fff;
}
.region .label strong { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; }
.region .label span { font-size: 13px; opacity: .9; }

/* ============================================================
   Values — Neden Oikosa
   ============================================================ */
.values-band { background: var(--teal); color: #fff; }
.values-band .section-head h2 { color: #fff; }
.values-band .section-head p { color: rgba(255,255,255,.72); }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 28px;
}
.value .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--mint-2);
  color: var(--teal);
  font-size: 26px;
  margin-bottom: 18px;
}
.value h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.6; }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { padding: 64px 0; }
.cta {
  background: linear-gradient(135deg, #0F6E56, #0F4F4A);
  border-radius: var(--r-xl);
  padding: 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 15% 0%, rgba(205,234,221,.18), transparent),
    radial-gradient(420px 220px at 85% 100%, rgba(205,234,221,.14), transparent);
}
.cta > * { position: relative; }
.cta .badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
.cta h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em;
  margin: 18px 0 14px;
}
.cta p { font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 28px; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--surface-3);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: var(--ink-2); max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 14px; color: var(--ink-2);
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-3);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom .links a:hover { color: var(--teal); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1160px) {
  .topsearch { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-actions .btn span { display: none; }
  .nav { gap: 14px; }
  .kind-toggle button { padding: 7px 14px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search .btn-primary { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}




/* ============================================================
   Danışman kartları (anasayfa öne çıkan danışmanlar)
   ============================================================ */
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.agent-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px;
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint-2); }
.agent-card .top { display: flex; align-items: center; gap: 13px; }
.agent-card .av {
  width: 54px; height: 54px; border-radius: var(--r-pill); flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #cdeadd, #0F6E56); color: #fff;
  font-family: var(--serif); font-size: 20px; font-weight: 600;
}
.agent-card .nm { font-family: var(--serif); font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.agent-card .nm i { color: var(--teal-2); font-size: 16px; }
.agent-card .ttl { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.agent-card .rate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.agent-card .rate .stars { color: #e8a13a; letter-spacing: .5px; font-size: 13.5px; }
.agent-card .rate strong { color: var(--ink); }
.agent-card .loc { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.agent-card .loc i { color: var(--teal); font-size: 15px; }
.agent-card .go {
  margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
}
.agent-card:hover .go i { transform: translateX(3px); }
.agent-card .go i { transition: transform .18s ease; }

@media (max-width: 980px) { .agents { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agents { grid-template-columns: 1fr; } }

/* ============================================================
   Segment butonlarında kayan seçim (seg-slide.js ile birlikte)
   Aktif butonun arkasındaki "pill" seçim değiştikçe kayar.
   .seg-slide sınıfı seg-slide.js tarafından eklenir; kapsam:
   .seg-control, .seg-yn, .view-toggle, .auth-seg, .auth-login-tabs
   ============================================================ */
.seg-slide { position: relative; }
.seg-slide > button { position: relative; z-index: 1; }

.seg-slide::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: var(--pill-w, 0px);
  height: var(--pill-h, 0px);
  transform: translate(var(--pill-x, 0px), var(--pill-y, 0px));
  opacity: var(--pill-o, 0);
  z-index: 0;
  pointer-events: none;
  border-radius: 8px;
}
/* İlk boyamada animasyon yok; seg-slide.js hazır olunca açar */
.seg-slide[data-slide-ready]::before {
  transition: transform .28s cubic-bezier(.4, 0, .2, 1),
              width .28s cubic-bezier(.4, 0, .2, 1),
              height .28s ease,
              opacity .18s ease;
}

/* Açık zeminli pill (içeride teal yazı) */
.seg-control::before,
.auth-seg::before,
.auth-login-tabs::before {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.seg-control::before { border-radius: 8px; }
.auth-seg::before { border-radius: var(--r-pill); }
.auth-login-tabs::before { border-radius: 8px; }

/* Teal pill (içeride beyaz yazı) */
.seg-yn::before,
.view-toggle::before {
  background: var(--teal);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-pill);
}



/* ============================================================
   Bottom Nav Bar — Floating Ceramic Shield Capsule (kind-toggle style)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 480px;
  height: 68px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 
    0 8px 32px rgba(15, 79, 74, 0.08), 
    0 1px 2px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  padding: 6px;
}

.bottom-nav-tabs {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

/* Teal pill slider behind active item — like kind-toggle */
.bottom-nav-tabs::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 20%;
  background: var(--teal);
  border-radius: var(--r-pill);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}

/* Slide the pill to match active tab index */
.bottom-nav-tabs:has(.bottom-nav-item:nth-child(1).active)::before { transform: translateX(0%); }
.bottom-nav-tabs:has(.bottom-nav-item:nth-child(2).active)::before { transform: translateX(100%); }
.bottom-nav-tabs:has(.bottom-nav-item:nth-child(3).active)::before { transform: translateX(200%); }
.bottom-nav-tabs:has(.bottom-nav-item:nth-child(4).active)::before { transform: translateX(300%); }
.bottom-nav-tabs:has(.bottom-nav-item:nth-child(5).active)::before { transform: translateX(400%); }

.bottom-nav-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: color .2s;
}

.bottom-nav-item i {
  font-size: 22px;
  transition: color .2s;
}

.bottom-nav-item.active {
  color: #fff;
}

.bottom-nav-item.active i {
  color: #fff;
}

.home-indicator {
  display: none;
}

/* Desktop: centered compact dock */
@media (min-width: 761px) {
  .bottom-nav {
    max-width: 440px;
  }
  body {
    padding-bottom: 108px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 108px;
  }
}
