@import "tokens.css";

/* Renk paleti tokens.css'te — tek merkez (MASTER emir, 2026-08-04).
   Buraya renk degiskeni EKLEME; tokens.css'e ekle. */


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.app {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-2);
  /* Ust bant (2026-08-04): beyazdi, logo ve menu zemine karisiyordu.
     Hafif gri yapildi — logo ve yazi belirginlesti, sayfadan da ayrildi. */
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 20px;
}

.brand-text span {
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #4f6276;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  border-radius: 8px;
  padding: 9px 10px;
}

.nav a:hover,
.nav a.active {
  background: linear-gradient(180deg, #eef7fb, var(--blue-soft));
  color: var(--navy);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  border: 1px solid rgba(219, 228, 236, 0.9);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--blue-soft);
}

.role-select {
  min-width: 152px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(16, 36, 58, 0.05);
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 260px;
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: 8px;
  padding: 9px 11px;
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(16, 36, 58, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 36, 58, 0.11);
}

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

/* PASIF BUTON GORUNUMU (W-18, 2026-08-11).
   Onceki durum: hicbir :disabled stili yoktu. Buton `disabled` olsa bile
   tam opaklikta ve `cursor: pointer` ile duruyordu — yani ISLEVSEL olarak
   engelli ama GORSEL olarak aktif gorunuyordu. Yonetici tikliyor, hicbir sey
   olmuyor, sebebini anlamiyor. Faz 5B-1 karar defterinde avukat karari
   bekleyen metinlerde bu somut bir soruna yol acti (canli dogrulamada
   yakalandi).

   `:disabled` gercek buton/input ogeleri icin; `[aria-disabled="true"]`
   ileride buton gibi davranan baglantilar icin bilerek eklendi.
   Hover'daki yukselme efekti de iptal edilir — aksi halde pasif buton
   uzerine gelince canliymis gibi oynuyordu. */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn:disabled:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-2);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: var(--soft-line);
}

.btn-outline {
  border-color: var(--line);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--navy-3);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
}

.btn-small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 12px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 62vh;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(60% 50% at 85% 20%, #eef2ff 0%, rgba(238, 242, 255, 0) 70%);
}

/* Sag kose gorseli (2026-08-04, Okan istegi): hero'nun sag ustunde cok silik
   bir konut fotografi. Metnin ve kartlarin ARKASINDA durur, okunurluga
   dokunmaz. Maske ile kenarlari yumusatilir ki kesik gorunmesin.
   Mobilde tamamen kapali — kucuk ekranda gurultu yaratir. */
.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 720px);
  height: 100%;
  content: "";
  background: url("./assets/hero-konuttalebim.webp") right top / cover no-repeat;
  opacity: 0.13;
  -webkit-mask-image: linear-gradient(to left, #000 5%, transparent 88%);
  mask-image: linear-gradient(to left, #000 5%, transparent 88%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero::after { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 52px;
  min-height: 78vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 22px 62px;
}

.hero-copy {
  max-width: 700px;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero p {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 34px;
}

.metric-tile {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #dce6ee;
  backdrop-filter: blur(10px);
}

.metric-tile b {
  display: block;
  color: var(--white);
  font-size: 22px;
  line-height: 1.1;
}

.metric-tile span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.hero-preview {
  position: relative;
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 470px);
  padding-top: 26px;
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
}

.hero-card h3 {
  margin: 12px 0 5px;
  font-size: 18px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-card-main {
  margin-right: 38px;
}

.hero-card-photo {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-left: 50px;
}

.hero-card-photo .photo {
  min-height: 116px;
}

.hero-card-lock {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 370px;
  margin-left: 8px;
  background: var(--gold-soft);
  border-color: #c7d2fe;
  color: var(--ink);
}

.hero-card-lock strong {
  display: block;
}

.hero-card-lock p {
  color: #475569;
}

.hero-progress {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf3;
}

.hero-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 0 22px 28px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(219, 228, 236, 0.86);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.trust-item > .icon {
  color: var(--teal);
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.color-showcase {
  position: relative;
  overflow: hidden;
  padding: 74px 22px;
  background:
    linear-gradient(120deg, rgba(255, 240, 237, 0.92) 0%, rgba(230, 246, 243, 0.96) 42%, rgba(234, 246, 252, 0.95) 100%);
}

.color-showcase::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200, 95, 81, 0.08) 0 25%, transparent 25% 100%),
    linear-gradient(135deg, transparent 0 62%, rgba(224, 170, 51, 0.16) 62% 100%);
  content: "";
  pointer-events: none;
}

.color-showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: 40px;
}

.color-copy h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.color-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #43576a;
  font-size: 17px;
}

.color-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.color-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
}

.chip-coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.chip-teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.chip-blue {
  background: var(--sky-soft);
  color: #2e78a6;
}

.visual-stack {
  position: relative;
  min-height: 440px;
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.visual-card-lg {
  inset: 0 12% auto 0;
  height: 320px;
}

.visual-card-sm {
  right: 0;
  bottom: 34px;
  width: 44%;
  min-width: 230px;
  padding: 10px;
}

.visual-card-alt {
  right: auto;
  bottom: 0;
  left: 11%;
  width: 40%;
}

.visual-photo {
  min-height: 230px;
  background: url("./assets/property-apartment.webp") center / cover no-repeat;
}

.visual-card-sm .visual-photo {
  min-height: 130px;
  border-radius: 6px;
}

.visual-photo.villa {
  background-image: url("./assets/property-villa.webp");
}

.visual-photo.residence {
  background-image: url("./assets/property-residence.webp");
}

.visual-card /* Rozet ve etiket renkleri (2026-08-04): 1.0'dan kalan altin gradyani ve
   Stil C paletinde olmayan #2b6fa6 mavisi temizlendi. Gradyanlar kaldirildi,
   pill kenarligi gorunur seviyeye alindi. KARAR #12 geregi kapsam tarandi:
   85 kullanim yeri (app.js + index.html) bu bes siniftan besleniyor. */
.badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

.visual-card-sm span {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.band {
  padding: 68px 22px;
}

/* Bölüm ritmi (2026-08-04, Okan onayı): sayfa aşırı beyaz kalmıştı, bölümler
   birbirinden ayrılmıyordu. Zeminler artık dönüşümlü — beyaz ve açık gri.
   Yeni renk eklenmedi, ikisi de palette zaten vardı. Gradyanlar kaldırıldı:
   düz zemin bölüm sınırını daha net gösteriyor. */
.band-white {
  background: var(--surface);
}

.band-soft {
  background: var(--bg);
}

/* Kart kontrastı terslenir: gri bölümde kartlar beyaz, beyaz bölümde kartlar
   açık gri. Böylece kart her iki zeminde de görünür kalır. */
.band-soft .card { background: var(--surface); }
.band-white .card { background: var(--bg); }

/* Kapanış bandı: sayfanın doruk noktası. Marka indigosu, buton ters çevrili. */
.band-cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.band-cta h2 { color: #fff; margin: 0 0 10px; }
.band-cta p { color: #dcd9fb; max-width: 520px; margin: 0 auto 22px; font-size: 16px; }
.band-cta .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}
.band-cta .btn-primary:hover { background: #eef2ff; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-title {
  max-width: 760px;
}

.kicker {
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
}

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

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel,
.empty,
.notice {
  border: 1px solid rgba(219, 228, 236, 0.92);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 20px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--teal-soft), var(--blue-soft));
  color: var(--teal);
}

.product-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.sample-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(219, 228, 236, 0.9);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(16, 36, 58, 0.1);
}

.sample-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.badge-blue {
  background: var(--gold-soft);
  color: var(--gold-2);
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold-2);
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-red {
  background: var(--red-soft);
  color: var(--red);
}

.badge-coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.badge-yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.badge-neutral {
  background: #e8edf3;
  color: #334155;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe2ec;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 800;
}

.photo {
  min-height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft-line);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.photo::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(145deg, rgba(16, 36, 58, 0.04), rgba(22, 133, 121, 0.08)),
    url("./assets/property-apartment.webp") center / cover no-repeat;
  transform: scale(1.01);
}

.photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(16, 36, 58, 0) 0%, rgba(16, 36, 58, 0.34) 100%);
  content: "";
  pointer-events: none;
}

.photo.villa::before {
  background:
    linear-gradient(145deg, rgba(16, 36, 58, 0.04), rgba(31, 138, 91, 0.08)),
    url("./assets/property-villa.webp") center / cover no-repeat;
}

.photo.residence::before {
  background:
    linear-gradient(145deg, rgba(16, 36, 58, 0.04), rgba(43, 111, 166, 0.08)),
    url("./assets/property-residence.webp") center / cover no-repeat;
}

.layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: calc(100vh - 69px);
}

.sidebar {
  position: sticky;
  top: 69px;
  align-self: start;
  height: calc(100vh - 69px);
  overflow: auto;
  border-right: 1px solid rgba(12, 30, 48, 0.18);
  background:
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #d8e2ea;
  padding: 20px 16px;
}

.sidebar-section {
  margin-bottom: 18px;
}

.sidebar-title {
  margin: 0 0 8px;
  color: #7f99af;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sidebar a,
.sidebar button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 11px 10px;
  background: transparent;
  color: #c6d6e3;
  font-weight: 800;
  text-align: left;
}

.sidebar a:hover,
.sidebar a.active,
.sidebar button:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--gold);
}

.main {
  min-width: 0;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 247, 250, 0.92));
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(219, 228, 236, 0.86);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f1f8f7 54%, #f9f4e8 100%);
  box-shadow: var(--shadow-soft);
}

.page-head h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  text-wrap: balance;
}

.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 236, 0.9);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: var(--shadow-soft);
}

.stat::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  content: "";
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stat b {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.toolbar input,
.toolbar select {
  min-height: 40px;
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: 8px;
  background: var(--white);
  padding: 9px 11px;
  box-shadow: 0 6px 16px rgba(16, 36, 58, 0.05);
}

.list {
  display: grid;
  gap: 12px;
}

.row-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(219, 228, 236, 0.94);
  border-radius: 8px;
  padding: 15px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.row-card:hover {
  border-color: #b8c8d5;
  box-shadow: 0 18px 44px rgba(16, 36, 58, 0.11);
  transform: translateY(-1px);
}

.promoted-card {
  border-color: rgba(200, 95, 81, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 240, 237, 0.82), rgba(255, 255, 255, 0.98) 34%, rgba(230, 246, 243, 0.55));
  box-shadow: 0 18px 44px rgba(200, 95, 81, 0.12);
}

.thumb {
  display: grid;
  place-items: center;
  width: 82px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--teal-soft), var(--blue-soft));
  color: var(--teal);
  overflow: hidden;
}

.thumb.photo {
  min-height: 68px;
}

.row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.row-meta {
  color: var(--muted);
  font-size: 13px;
}

.row-note {
  margin-top: 8px;
  color: #3f5062;
  font-size: 13px;
}

.row-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 170px;
}

.price {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.panel {
  padding: 20px;
}

.panel + .panel {
  margin-top: 14px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.auth-layout-narrow {
  max-width: 980px;
}

.auth-panel {
  min-width: 0;
}

/* Kayit formu adim gostergesi */
.reg-step {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #7d8ea1;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid #e5eaf0;
}
.reg-step-on {
  background: var(--navy, #020617);
  color: #fff;
  border-color: var(--navy, #020617);
}
.reg-step-done {
  background: #eef7f0;
  color: #2f8f4e;
  border-color: #d3e8d9;
}

.auth-side {
  display: flex;
  flex-direction: column;
  /* Icerik ustten baslasin: ortalayinca uzun formun yaninda tepede bos bir
     bosluk kaliyordu. Sticky ile de kaydirirken gorunur kaliyor. */
  justify-content: flex-start;
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid rgba(219, 228, 236, 0.92);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(232, 241, 248, 0.88), rgba(230, 246, 243, 0.72) 48%, rgba(251, 244, 229, 0.92));
  box-shadow: var(--shadow-soft);
}

.auth-side h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
}

.auth-side p {
  margin: 10px 0 0;
  color: #425468;
}

.auth-benefits {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  padding: 11px 12px;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 111, 166, 0.12);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e3e9f0;
  border-radius: 10px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.check:hover {
  border-color: var(--gold);
  background: #fbfaf5;
}

/* Checkbox'i sabit boyutta tut; global input{width:100%} kuralindan etkilenip
   gerilmesini onle (aksi halde metin saga kayip kutular hizasiz gorunuyordu). */
.check input[type="checkbox"] {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: 0 0 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.copyright-bar {
  text-align: center;
  padding: 16px 18px;
  font-size: 13px;
  color: #8296a8;
  border-top: 1px solid #eef2f6;
  background: #fff;
}

.helper {
  color: var(--muted);
  font-size: 12px;
}

.error {
  display: none;
  border: 1px solid #efb4b4;
  border-radius: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 800;
}

.error.show {
  display: block;
}

.success {
  border: 1px solid #adddc6;
  border-radius: 8px;
  padding: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.step {
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.step.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-soft), #ffffff);
  color: var(--gold-2);
}

.chat-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 560px;
  border: 1px solid rgba(219, 228, 236, 0.94);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.conversation-list {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fbfd, #eef5f8);
  overflow: auto;
}

.conversation-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: transparent;
  padding: 14px;
  color: var(--ink);
  text-align: left;
}

.conversation-item.active,
.conversation-item:hover {
  background: linear-gradient(180deg, var(--blue-soft), #ffffff);
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-width: 0;
}

.chat-head {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, #f5f8fa, #eef4f7);
}

.bubble {
  max-width: min(72%, 640px);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(16, 36, 58, 0.06);
}

.bubble.me {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--white);
}

.bubble.system {
  align-self: center;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

.chat-input {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.chat-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.unlock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px;
  background:
    linear-gradient(90deg, var(--navy) 0%, #123a4c 52%, #284a54 100%);
  color: var(--white);
}

.unlock-states {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.unlock-states span {
  color: #a8bdd0;
  font-size: 12px;
  font-weight: 800;
}

.unlock-states b {
  display: block;
  color: var(--white);
}

/* Iletisim karti (2026-08-04): kenarligi altin sarisiydi (#d9b86c) ve zemini
   krem gradyandi — ikisi de 1.0 paletinden kalmaydi. Stil C indigosuna cekildi. */
.contact-card {
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 14px;
  background: var(--gold-soft);
  color: var(--navy);
}

.budget-meter {
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf2;
}

.budget-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--teal));
}

.budget-summary-card {
  border: 1px solid rgba(219, 228, 236, 0.88);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, var(--coral-soft) 0%, #ffffff 45%, var(--teal-soft) 100%);
  box-shadow: var(--shadow-soft);
}

.budget-summary-card strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.budget-summary-card > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  border: 1px solid rgba(219, 228, 236, 0.94);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid var(--soft-line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: linear-gradient(180deg, #f8fafc, #eef4f7);
  color: #526478;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fbfdfe;
}

.empty {
  padding: 34px 18px;
  text-align: center;
  background:
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.empty b {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 22px;
}

.notice {
  padding: 14px;
  color: var(--muted);
  background:
    linear-gradient(180deg, #ffffff, #fbfcfd);
}

.notice strong {
  color: var(--navy);
}

/* Alt bilgi (2026-08-04, Okan secimi A): koyu lacivert gradyandi,
   acik griye cevrildi. Sehir sayfalarinin alt bilgisi zaten acik —
   site genelinde tek gorunum saglandi. */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  padding: 34px 22px;
}
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--brand-dark); }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: none;
  max-width: 360px;
  border: 1px solid rgba(196, 154, 74, 0.55);
  border-radius: 8px;
  padding: 13px 14px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.toast.show {
  display: block;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 10px 18px 16px;
    background: #fff;
    border-bottom: 1px solid rgba(219, 228, 236, 0.72);
    box-shadow: 0 22px 34px rgba(16, 36, 58, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 12px;
    font-size: 15px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .color-showcase-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 520px;
  }

  .hero-preview {
    justify-self: start;
    width: min(100%, 620px);
  }

  .hero-card-main,
  .hero-card-photo,
  .hero-card-lock {
    margin-left: 0;
    margin-right: 0;
  }

  .grid-4,
  .stat-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .sidebar-section {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
  }

  .sidebar-title {
    width: 100%;
  }

  .sidebar a,
  .sidebar button {
    width: auto;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .role-select {
    flex: 1;
    min-width: 190px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 36, 58, 0.96) 0%, rgba(16, 36, 58, 0.82) 56%, rgba(16, 36, 58, 0.42) 100%),
      url("./assets/hero-konuttalebim.webp") center bottom / cover no-repeat;
  }

  .hero-inner {
    padding: 54px 20px 36px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-preview {
    width: 100%;
    padding-top: 4px;
  }

  .color-showcase {
    padding: 54px 20px;
  }

  .visual-stack {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .visual-card,
  .visual-card-lg,
  .visual-card-sm,
  .visual-card-alt {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    height: auto;
  }

  .hero-card-photo {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .trust-grid,
  .product-strip,
  .auth-layout,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .check-grid,
  .stat-grid,
  .chat-shell {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 20px;
  }

  .page-head,
  .section-head,
  .footer-inner,
  .unlock-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .row-card {
    grid-template-columns: 1fr;
  }

  .row-side {
    justify-items: start;
    min-width: 0;
  }

  .thumb,
  .thumb.photo {
    width: 100%;
    height: 150px;
  }

  .wizard-steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Rol alanlari (ana sayfa) --- */
.role-areas { align-items: stretch; }
.role-area { display: flex; flex-direction: column; gap: 10px; }
.role-area h3 { margin: 4px 0 0; }
.role-area p { margin: 0; color: #4a5a6b; }
.role-area .btn { margin-top: auto; }
.role-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px; color: #fff;
}
.role-ic-blue { background: #4b7bec; }
.role-ic-teal { background: #2bb3a3; }
.role-ic-gold { background: #e0a83e; }
.role-points { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 6px; }
.role-points li { position: relative; padding-left: 22px; color: #33475b; font-size: 14px; }
.role-points li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: #2bb3a3;
}

/* --- Nasil calisir adim gorselleri --- */
.how-steps .how-step { display: flex; flex-direction: column; align-items: flex-start; }
.how-illus { width: 100%; margin-bottom: 12px; }
.how-illus svg { width: 100%; height: auto; max-height: 132px; display: block; }

/* --- Gorsel yukleme / onizleme --- */
.file-input {
  width: 100%; padding: 10px; border: 1px dashed #b9c8d8; border-radius: 10px;
  background: #f7fafc; cursor: pointer; font: inherit; color: #33475b;
}
.img-preview {
  margin-top: 10px; max-width: 220px; width: 100%; border-radius: 12px;
  border: 1px solid #d9e2ec; object-fit: cover;
}
.thumb-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.thumb { overflow: hidden; }

/* ---------- İlan Ara: kategori kenar çubuğu + kart ızgarası ---------- */
.search-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.search-side {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  position: sticky; top: 84px;
}
.sc-tx { display: flex; gap: 6px; background: #eef3f8; border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.sc-tx button {
  flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer;
}
.sc-tx button.active { background: var(--navy); color: #fff; }
.sc-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 12px 4px 6px; }
.sc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  border: 0; background: transparent; text-align: left; padding: 9px 10px; border-radius: 9px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.sc-item > span { display: inline-flex; align-items: center; gap: 8px; }
.sc-item:hover { background: #f2f6fa; }
.sc-item.active { background: var(--gold-soft); color: var(--gold-2); }
.sc-item.sc-root { margin-bottom: 2px; }
.sc-caret { color: var(--muted); font-size: 12px; }
.sc-subs { margin: 2px 0 6px 12px; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); padding-left: 8px; }
.sc-sub {
  border: 0; background: transparent; text-align: left; padding: 7px 10px; border-radius: 8px;
  font: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
}
.sc-sub:hover { background: #f2f6fa; color: var(--ink); }
.sc-sub.active { background: var(--navy); color: #fff; }

.search-main { min-width: 0; }
.search-filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.search-filterbar select, .search-filterbar input {
  flex: 1 1 130px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 9px; font: inherit; font-size: 13.5px; background: #fff; color: var(--ink);
}
.search-filterbar .s-mah-wrap { flex: 1 1 150px; display: flex; }
.search-filterbar .s-mah-wrap select { width: 100%; }
.search-filterbar .btn { flex: 0 0 auto; }
.search-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.search-count { font-size: 14px; color: var(--muted); }
.search-count b, .search-count strong { color: var(--ink); }
.search-sort { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 13.5px; background: #fff; color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.home-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column;
}
.listing-card:hover { border-color: #94a3b8; background: #fcfdfe; }
.listing-card.promoted-card { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.lc-media { position: relative; height: 158px; background: linear-gradient(135deg, #1e293b, #020617); overflow: hidden; }
.lc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.lc-ph.villa { background: linear-gradient(135deg, #2e6b4f, #17402c); }
.lc-ph.residence { background: linear-gradient(135deg, #34507a, #1b2f4d); }
.lc-ph.commercial { background: linear-gradient(135deg, #6a4b86, #35234c); }
.lc-ph.land { background: linear-gradient(135deg, #6f7d3a, #3c4420); }
.lc-badge { position: absolute; top: 10px; left: 10px; background: rgba(16,36,58,.82); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 7px; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.lc-tx { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.lc-tx.sale { background: #eef2ff; color: #4338ca; }
.lc-tx.rent { background: #ecfdf5; color: #047857; }
.lc-chip { background: var(--soft-line); color: #475569; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.lc-boost { background: #fff7ed; color: #c2410c; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.lc-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.lc-title { font-size: 13.5px; font-weight: 500; color: #334155; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-loc { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.lc-price { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid #eef2f6; }
.lc-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.lc-date { font-size: 11.5px; color: #9aa8b6; }

@media (max-width: 880px) {
  .search-layout { grid-template-columns: 1fr; }
  .search-side { position: static; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* MASTER EMIR (2026-08-09): 390px genislikte talep kartlari iki sutuna
   sikisiyordu (fiyat metni kirilip okunmaz oluyordu). Dar telefonda tek sutun. */
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .home-card-grid { grid-template-columns: 1fr; }
}

/* HATA GORUNURLUGU (AJANS 2026-08-03 raporu, P0)
   Onceki durum: .form-error sinifinin hicbir kurali yoktu — hata metni sayfadaki
   normal yaziyla ayni renk ve puntoda cikiyordu, hatali alan da isaretlenmiyordu.
   Mobilde kullanici dugmeye basiyor, sayfa gitmiyor, sebebi gorunmuyordu. */
.form-error {
  display: none;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: 4px 0 2px;
}
.form-error.show { display: block; }
.form-error::before { content: "⚠ "; }
.field-invalid,
input.field-invalid, select.field-invalid, textarea.field-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important;
}
/* Mahalle listesi acilir kutusu (P1) */
.mahalle-katlanir { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mahalle-katlanir > summary {
  cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 14.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.mahalle-katlanir > summary::after { content: "▾"; color: var(--muted); }
.mahalle-katlanir[open] > summary::after { content: "▴"; }
.mahalle-katlanir > .check-grid { padding: 0 14px 14px; max-height: 260px; overflow: auto; }

/* Cloudflare Turnstile kutusu (bot korumasi, 2026-08-03).
   Widget kendi genisligini yonetir; biz yalniz bosluk ve mobil tasmayi ayarliyoruz. */
.turnstile-kutu { margin: 10px 0 4px; min-height: 0; }
.turnstile-kutu iframe { max-width: 100%; }
@media (max-width: 400px) {
  .turnstile-kutu { transform: scale(0.9); transform-origin: left center; }
}

/* ============================================================
   FİYATLANDIRMA — yeniden tasarım (2026-08-04, Okan)
   Eski kurgu: üç kart aynı ağırlıkta, özellikler dağınık pill'ler,
   fiyatın yanında süre/KDV yok. Yeni kurgu: bir plan çerçeveyle
   öne çıkıyor, özellikler işaretli liste, fiyat altında açıklama.
   ============================================================ */

.price-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 30px;
}
.price-eyebrow {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.price-lead h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.price-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  background: var(--surface);
}
/* Öne çıkan plan: 2px çerçeve tek başına yeter — arka planı değiştirmiyoruz ki
   kartlar arasında okunabilirlik farkı doğmasın. */
.price-card-one {
  border: 2px solid var(--brand);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}
.price-flag {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.price-role {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: var(--muted);
  margin-bottom: 14px;
}
.price-card-one .price-role {
  color: var(--brand-dark);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount strong {
  font-size: 31px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.price-amount span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.price-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 7px 0 19px;
}
.price-list {
  display: grid;
  gap: 10px;
}
.price-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}

.boost-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  background: var(--surface);
}
.boost-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}
.boost-title b { color: var(--brand-dark); }
.boost-title span { font-weight: 600; color: var(--muted); font-size: 13px; }
.boost-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card-one { order: -1; }
}
