:root {
  --accent: #059669;
  --accent-dark: #047857;
  --accent-light: #d1fae5;
  --accent-soft: #f0fdf4;
  --accent-rgb: 5, 150, 105;
  --gold: #b45309;
  --gold-light: #fef3c7;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #f1f5f9;
  --border-dark: #e2e8f0;
  --shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0; /* Removed fixed padding-bottom, handled by demo bar height if present */
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(var(--accent-rgb), 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(var(--accent-rgb), 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.btn-light {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--border-dark);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

section {
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.center .eyebrow {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(var(--accent-rgb), 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-menu a {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-menu a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-menu a.active-nav {
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1000000 !important;
}

.burger span {
  width: 24px;
  height: 2.2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--ink);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8.2px) rotate(-45deg);
  background: var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.98), rgba(245, 248, 247, 0.99)) !important;
  backdrop-filter: blur(25px);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  padding: 32px 24px !important;
  box-sizing: border-box !important;
  /* Premium Faint Architectural Grid Background */
  background-image: 
    linear-gradient(rgba(37, 211, 102, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 211, 102, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mobile-menu.open {
  display: flex !important;
}

.mobile-nav-item {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink) !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: -0.03em;
  padding: 8px 24px;
  display: inline-block;
  text-align: center;
}

.mobile-nav-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}

.mobile-nav-item.active-nav {
  color: var(--accent) !important;
}

.mobile-nav-item.active-nav::before {
  transform: translateX(-50%) scaleX(1);
}

.mobile-nav-item:hover {
  color: var(--accent) !important;
  opacity: 0.85;
}

.mobile-nav-item:hover::before {
  transform: translateX(-50%) scaleX(1);
}

@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav-actions .btn-outline {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  background: 
    radial-gradient(circle at 90% 10%, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(180, 83, 9, 0.03) 0%, transparent 50%),
    var(--bg-alt);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--ink);
  font-weight: 800;
}

.hero-stats div > span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  height: 580px;
  width: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.hero-float .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.hero-float span {
  font-size: 13px;
  color: var(--muted);
}

/* Home Search Bar */
.search-bar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  border: 1px solid var(--border);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.search-field select, .search-field input {
  appearance: none;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  width: 100%;
}

.search-field select {
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%23475569" stroke-width="1.6" fill="none" stroke-linecap="round"/></svg>') no-repeat right 16px center;
  cursor: pointer;
}

.search-field select:focus, .search-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.search-bar .btn {
  align-self: flex-end;
  padding: 13px 28px;
}

@media (max-width: 900px) {
  .search-bar {
    grid-template-columns: 1fr 1fr;
  }
  .search-bar .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img-wrap img {
    height: 400px;
  }
}

/* ---------- LISTINGS ---------- */
.listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-3-listings {
  margin-top: 10px;
}

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

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark);
}

.card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge.sale {
  background: var(--accent);
}

.badge.rent {
  background: #2563eb;
}

.card-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.card-fav:hover {
  background: #fff;
  transform: scale(1.1);
}

.card-fav svg {
  transition: fill 0.2s ease;
}

.card-fav:hover svg {
  fill: rgba(var(--accent-rgb), 0.15);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-price {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.card-specs {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  margin-bottom: 20px;
  margin-top: auto;
}

.spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.spec svg {
  color: var(--accent);
}

.card-body .btn {
  width: 100%;
}

.listings-footer-btn {
  margin-top: 60px;
  margin-bottom: 0;
  text-align: center;
}

#ilanlar {
  padding-bottom: 0;
}

#hakkimizda {
  padding-top: 60px;
}

/* ---------- PREMIUM HAKKIMIZDA (ABOUT US) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
}

.about-img-main {
  width: 75%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 6px solid #fff;
}

.about-img-secondary {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 50%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 6px solid #fff;
}

.about-img-decoration {
  position: absolute;
  top: 10px;
  right: 0;
  width: 45%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1;
  opacity: 0.85;
}

.about-experience-badge {
  position: absolute;
  top: 40px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotate(-4deg);
}

.about-experience-badge strong {
  display: block;
  font-size: 32px;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}

.about-experience-badge span {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.about-feat-item {
  display: flex;
  gap: 14px;
}

.about-feat-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feat-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.about-feat-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
}

.about-stat-item strong {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-dark);
  display: block;
  line-height: 1.1;
}

.about-stat-item > span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-images {
    height: 450px;
  }
  .about-img-main {
    height: 360px;
  }
  .about-img-secondary {
    height: 200px;
  }
  .about-img-decoration {
    height: 180px;
  }
  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    padding-top: 24px;
  }
}

/* ---------- ADVISORS ---------- */
.grid-advisors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

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

@media (max-width: 560px) {
  .grid-advisors {
    grid-template-columns: 1fr;
  }
}

.adv-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.adv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: #fff;
  border-color: var(--border-dark);
}

.adv-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.adv-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.adv-card .role {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.adv-card .phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  width: 100%;
}

.adv-card .phone:hover {
  color: var(--accent);
}

/* ---------- PROCESS ---------- */
.process-wrap {
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 70px; /* Aligned with icons */
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--accent-light) 0 8px, transparent 8px 16px);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}

.steps-grid.visible::before {
  opacity: 1;
}

@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.steps-grid .step-card:nth-child(1) { transition-delay: 0.05s; }
.steps-grid .step-card:nth-child(2) { transition-delay: 0.15s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.25s; }
.steps-grid .step-card:nth-child(4) { transition-delay: 0.35s; }

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(6deg) scale(1.05);
}

.step-bg-num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(var(--accent-rgb), 0.04);
  font-family: var(--font-head);
  line-height: 1;
  pointer-events: none;
  transition: all 0.35s ease;
}

.step-card:hover .step-bg-num {
  color: rgba(var(--accent-rgb), 0.1);
  transform: scale(1.1);
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: linear-gradient(145deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 16px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  font-size: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item:last-of-type {
  margin-bottom: 0;
}

.contact-item .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.contact-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.map-placeholder {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 10px, rgba(255, 255, 255, 0.03) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 10px, rgba(255, 255, 255, 0.05) 10px 20px);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-card .form-group-textarea {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.form-card textarea {
  flex-grow: 1;
  min-height: 120px;
  resize: vertical;
}

.form-card button[type="button"] {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-row .form-group {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-alt);
  width: 100%;
  transition: all 0.2s ease;
}

.form-group select {
  background: var(--bg-alt) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%23475569" stroke-width="1.6" fill="none" stroke-linecap="round"/></svg>') no-repeat right 16px center;
  appearance: none;
  cursor: pointer;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-card .btn {
  width: 100%;
  margin-top: 24px;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0b1512;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(var(--accent-rgb), 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-wrap {
  background: var(--bg-alt);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent-dark);
}

.breadcrumb-separator {
  color: var(--muted);
}

.breadcrumb-current {
  color: var(--accent-dark);
  font-weight: 600;
}

/* ---------- ALL LISTINGS PAGE FILTER BAR ---------- */
.filter-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.filter-container {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.filter-full-width {
  grid-column: span 4;
  display: block;
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
}

.search-input-wrap input {
  padding-left: 44px;
}

.search-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.filter-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-full-width {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-full-width {
    grid-column: span 1;
    flex-direction: column;
    align-items: stretch;
  }
  .filter-actions {
    flex-direction: column;
  }
  .filter-actions .btn {
    width: 100%;
  }
}

/* ---------- LISTINGS RESULTS INFO ---------- */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 580px) {
  .results-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .sort-select-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .sort-select-wrap select {
    flex-grow: 1 !important;
    max-width: 200px !important;
  }
}

.results-count {
  font-weight: 600;
  color: var(--ink-soft);
}

.results-count span {
  color: var(--accent-dark);
  font-weight: 700;
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.sort-select-wrap .custom-select-container {
  width: 220px;
}

.sort-select-wrap select {
  padding: 8px 30px 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  font-weight: 600;
  font-family: var(--font-body);
  appearance: none;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" stroke="%23475569" stroke-width="1.4" fill="none" stroke-linecap="round"/></svg>') no-repeat right 12px center;
  cursor: pointer;
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 2px dashed var(--border-dark);
  grid-column: 1 / -1;
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.empty-state p {
  color: var(--muted);
  font-size: 15px;
  max-width: 380px;
  margin: 0 auto 24px;
}

/* ---------- FADE IN ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9998;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: none !important;
  }
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.7;
  z-index: -1;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ---------- HEADER EXTRA BUTTONS ---------- */
.btn-header-cta {
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
  border: 1.5px solid var(--accent-light);
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 700;
  border-radius: 100px;
}

.btn-header-cta:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.15);
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  color: #25d366;
  background: rgba(37, 211, 102, 0.08);
  border: 1.5px solid rgba(37, 211, 102, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-whatsapp-header:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-header svg {
  fill: currentColor;
}

@media (max-width: 960px) {
  .btn-header-cta {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .btn-whatsapp-header span {
    display: none;
  }
  .btn-whatsapp-header {
    padding: 10px !important;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
}

/* ---------- FAQ (SSS) SECTION ---------- */
.faq-section {
  background: var(--bg-alt);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-head);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.faq-answer p {
  padding-bottom: 20px;
}

.faq-icon-toggle {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

/* ---------- INFO MODAL ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius);
  max-width: 640px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-dark);
  color: var(--ink-soft);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.modal-card h3 {
  padding: 24px 30px;
  font-size: 22px;
  border-bottom: 1px solid var(--border);
}

.modal-body-content {
  padding: 30px;
  overflow-y: auto;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.modal-body-content h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
}

.modal-body-content p {
  margin-bottom: 14px;
}

/* ---------- SECTION PADDING ADJUSTMENTS ---------- */
.hero {
  padding-top: 60px;
  padding-bottom: 20px;
}
.search-bar {
  margin-top: 30px;
}
#ilanlar {
  padding-top: 30px;
  padding-bottom: 30px;
}
#hakkimizda {
  padding-top: 60px;
  padding-bottom: 30px;
}
#danismanlar {
  padding-top: 30px;
  padding-bottom: 30px;
}
.process-wrap {
  padding-top: 30px;
  padding-bottom: 30px;
}
.faq-section {
  padding-top: 30px;
  padding-bottom: 30px;
}
#iletisim {
  padding-top: 30px;
  padding-bottom: 50px;
}

@media (max-width: 768px) {
  footer {
    padding: 40px 0 35px !important;
    text-align: center !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 24px !important;
  }
  .footer-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-grid .logo {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .footer-grid .social-links {
    justify-content: center !important;
  }
  .footer-bottom {
    padding-top: 24px !important;
    gap: 12px !important;
  }
  .filter-container {
    padding: 20px !important;
  }
  .process-wrap {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }
  .faq-section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }
  .section-head {
    margin-bottom: 32px !important;
  }
  .listings-head {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
  }
  .listings-head .section-head {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
  }
  .listings-head .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
    display: table !important;
  }
}



/* ---------- LISTINGS CTA SECTION ---------- */
.listings-cta-section {
  padding: 50px 0;
  background: #fff;
}

.cta-card {
  background: linear-gradient(135deg, var(--accent-dark), #064e3b);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta-content {
  max-width: 600px;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  z-index: 2;
}

.btn-whatsapp-cta {
  background-color: #25d366;
  color: #fff !important;
  border: 1px solid #25d366;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px !important;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.btn-whatsapp-cta:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-cta svg {
  fill: currentColor;
}

.btn-phone-cta {
  background-color: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px !important;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.btn-phone-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-phone-cta svg {
  stroke: currentColor;
}

@media (max-width: 992px) {
  .cta-card {
    flex-direction: column;
    padding: 40px;
    text-align: center;
    gap: 30px;
  }
  .cta-actions {
    width: 100%;
    align-items: center;
  }
  .btn-whatsapp-cta, .btn-phone-cta {
    width: 100%;
    max-width: 320px;
  }
}


/* ---------- LISTING DETAIL MODAL ---------- */
.listing-modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  animation: modalZoomIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.listing-modal-left {
  position: relative;
  background: #0f172a;
  height: 480px;
  display: flex;
  flex-direction: column;
}

.modal-slider-main {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.modal-slider-main:active {
  cursor: grabbing;
}

.modal-slider-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-slider-main img.active {
  opacity: 1;
  z-index: 2;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--accent-dark);
}

.slider-nav-prev {
  left: 16px;
}

.slider-nav-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.listing-modal-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-detail-badges .badge {
  position: static;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
}

.modal-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal-detail-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.modal-detail-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-light);
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.modal-spec-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: grid;
  grid-template-areas: 
    "icon label"
    "icon value";
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
}

.modal-spec-item span {
  grid-area: label;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.modal-spec-item strong {
  grid-area: value;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-left: 0;
}

.modal-spec-icon {
  grid-area: icon;
  align-self: center;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.modal-detail-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 30px;
}

.modal-detail-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.modal-detail-actions .btn {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  font-size: 20px;
  color: var(--ink-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--ink);
}

@media (max-width: 850px) {
  .listing-modal-card {
    grid-template-columns: 1fr;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    width: 94%;
  }
  .listing-modal-left {
    height: 350px !important;
  }
  .modal-slider-main {
    height: 100% !important;
  }
  .listing-modal-right {
    padding: 30px;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .listing-modal-card {
    width: 96%;
  }
  .listing-modal-right {
    padding: 20px;
  }
  .modal-detail-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .modal-detail-title {
    font-size: 20px;
  }
  .modal-detail-price {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

/* ---------- CUSTOM SELECT DROPDOWNS ---------- */
.custom-select-hidden {
  display: none !important;
}

.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  height: 48px;
  box-sizing: border-box;
}

.custom-select-trigger:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.custom-select-container.open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.custom-select-trigger .chevron {
  transition: transform 0.25s ease;
  color: var(--ink-light);
}

.custom-select-container.open .chevron {
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 16px -8px rgba(15, 23, 42, 0.04);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}

.custom-select-container.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.custom-select-option:hover {
  background: var(--bg-alt);
  color: var(--accent-dark);
}

.custom-select-option.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
}

.custom-select-option .check-icon {
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Custom scrollbar for dropdown options */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}
.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 4px;
}
.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--ink-light);
}

/* ---------- LIGHTBOX GALLERY PREMIUM CONTROLS ---------- */
.lightbox-arrow:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3) !important;
}

.lightbox-close-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3) !important;
}

@media (max-width: 850px) {
  .lightbox-arrow {
    display: none !important;
  }
}

