:root {
  --zemin: #f7f4ef;      /* sıcak kırık beyaz */
  --kart: #ffffff;
  --ana: #4a5a52;        /* yumuşak adaçayı-antrasit (butonlar) */
  --ana-koyu: #36423c;
  --vurgu: #e8782a;      /* kum / toprak */
  --vurgu-acik: #fdece0;
  --adacayi: #dfe7e1;
  --yazi: #2b2b2b;       /* logo rengi */
  --soluk: #7a756d;
  --cizgi: #e8e1d6;
  --hata: #b4483a;
  --basari: #4f8a63;
  --wa: #25a85a;
  --r: 16px;
  --golge: 0 6px 24px rgba(60, 50, 35, .07);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--zemin); color: var(--yazi);
  font-size: 18px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
.ust {
  background: rgba(247, 244, 239, .92); backdrop-filter: blur(8px);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--cizgi);
}
.ust img { height: 34px; display: block; }
.ust .marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--yazi); }
.ust .marka span { font-weight: 500; letter-spacing: 3px; font-size: 15px; }
.ust a.ara { color: var(--ana); text-decoration: none; font-size: 15px; font-weight: 500; border: 1px solid var(--cizgi); background: #fff; padding: 7px 12px; border-radius: 99px; }
.ilerleme { height: 4px; background: var(--cizgi); }
.ilerleme div { height: 100%; background: var(--vurgu); width: 0; transition: width .35s; border-radius: 0 4px 4px 0; }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 130px; }
.demo-uyari { background: #fbf1dc; color: #7a5a17; font-size: 13px; padding: 7px 16px; text-align: center; }

h1 { font-size: 29px; line-height: 1.18; margin: 4px 0 10px; color: var(--yazi); font-weight: 600; }
h2 { font-size: 24px; margin: 2px 0 6px; color: var(--yazi); font-weight: 600; }
h3 { font-size: 18px; margin: 22px 0 10px; font-weight: 600; }
p.alt { color: var(--soluk); margin: 0 0 18px; font-size: 16px; }

.adim { display: none; animation: gir .3s ease; }
.adim.aktif { display: block; }
@keyframes gir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.btn {
  display: block; width: 100%; border: 0; border-radius: var(--r);
  padding: 17px 18px; font: 600 19px "Jost", system-ui, sans-serif; cursor: pointer;
  background: var(--ana); color: #fff; text-align: center; text-decoration: none;
  transition: background .2s, transform .1s;
}
.btn:hover { background: var(--ana-koyu); }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.ikincil { background: #fff; color: var(--ana); border: 1px solid var(--cizgi); }
.btn.wa { background: var(--wa); display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn.kum { background: var(--vurgu); }
.btn.kucuk { padding: 12px 14px; font-size: 16px; }
.alt-bar {
  position: fixed; left: 0; right: 0; bottom: 0; background: rgba(247, 244, 239, .95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--cizgi); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.alt-bar .ic { max-width: 560px; margin: 0 auto; display: flex; gap: 10px; }
.alt-bar .geri { flex: 0 0 auto; width: auto; padding: 17px 22px; }

.secenekler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.secenekler.uc { grid-template-columns: 1fr 1fr 1fr; }
.secim {
  background: var(--kart); border: 1.5px solid var(--cizgi); border-radius: var(--r);
  padding: 14px 10px; text-align: center; cursor: pointer; font-weight: 500; font-size: 17px;
  user-select: none; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color .15s, background .15s;
}
.secim small { font-weight: 400; color: var(--soluk); font-size: 13px; }
.secim.secili { border-color: var(--vurgu); background: var(--vurgu-acik); box-shadow: inset 0 0 0 1px var(--vurgu); }
.secim .ikon { font-size: 26px; line-height: 1; }

.kart { background: var(--kart); border-radius: var(--r); padding: 16px; border: 1px solid var(--cizgi); margin-bottom: 12px; box-shadow: var(--golge); }
label.etiket { display: block; font-weight: 500; margin: 16px 0 6px; font-size: 16px; color: var(--yazi); }
label.etiket small { color: var(--soluk); font-weight: 400; }
input[type=text], input[type=tel], input[type=number], select {
  width: 100%; font: 18px "Jost", system-ui, sans-serif; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--cizgi); background: #fff; color: var(--yazi);
  appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--soluk) 50%), linear-gradient(135deg, var(--soluk) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select:disabled { background-color: #f3f0ea; color: var(--soluk); }
input:focus, select:focus { outline: none; border-color: var(--vurgu); }
.yan-yana { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.yan-yana.iki { grid-template-columns: 1fr 1fr; }
.yan-yana label.etiket { font-size: 14px; margin-top: 8px; }

.sekmeler { display: grid; grid-template-columns: 1fr 1fr; background: #ece6dc; border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.sekmeler button { border: 0; background: transparent; padding: 11px 6px; border-radius: 11px; font: 500 15px "Jost", system-ui, sans-serif; color: var(--soluk); cursor: pointer; }
.sekmeler button.secili { background: #fff; color: var(--yazi); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.foto-alan {
  border: 1.5px dashed #cdbfa9; border-radius: var(--r); background: #fff; padding: 18px 14px;
  text-align: center; cursor: pointer; color: var(--ana); font-weight: 500; display: block;
}
.foto-alan img { max-width: 100%; border-radius: 10px; display: block; margin: 0 auto 8px; max-height: 220px; object-fit: cover; }
.foto-alan .ikon { font-size: 34px; }

.parsel-kutu { background: #fff; border: 1px solid var(--cizgi); border-radius: var(--r); padding: 12px; margin-top: 12px; box-shadow: var(--golge); }
.parsel-kutu svg { width: 100%; height: auto; display: block; background: #f6f8f5; border-radius: 10px; touch-action: manipulation; }
.parsel-bilgi { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 14px; margin-top: 10px; }
.parsel-bilgi b { display: block; font-size: 16px; font-weight: 600; }
.parsel-bilgi span { color: var(--soluk); }
.ipucu { font-size: 14px; color: var(--ana); background: var(--adacayi); border-radius: 10px; padding: 8px 10px; margin: 10px 0 0; }

.olcu-satir { display: flex; align-items: center; gap: 10px; }
.olcu-satir input { text-align: center; font-weight: 600; }
.olcu-satir .x { font-size: 22px; color: var(--soluk); }
.buyuk-deger { font-size: 34px; font-weight: 600; color: var(--yazi); text-align: center; margin: 10px 0 2px; }
.buyuk-deger small { font-size: 16px; color: var(--soluk); font-weight: 400; }
input[type=range] { width: 100%; accent-color: var(--vurgu); height: 36px; }
.aralik-etiket { display: flex; justify-content: space-between; color: var(--soluk); font-size: 13px; }

.rozet { display: inline-block; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: #e5efe7; color: var(--basari); }
.rozet.uyari { background: #f8e6e2; color: var(--hata); }
.bilgi-kutu { background: var(--adacayi); border-radius: var(--r); padding: 12px 14px; font-size: 15px; color: var(--ana-koyu); margin: 12px 0; }
.onay { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 16px 0; }
.onay input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--ana); }
.onay a { color: var(--ana); }
.hata { color: var(--hata); font-size: 15px; margin-top: 8px; min-height: 1em; }

/* Karşılama */
.hero { text-align: center; padding: 6px 0 4px; }
.hero img.logo-buyuk { width: 150px; margin: 4px auto 14px; display: block; }
.hak-kart { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #fbf5ec, #f1e5d4); border: 1px solid #ead9c2; border-radius: var(--r); padding: 14px 16px; margin: 16px 0; text-align: left; }
.hak-kart .sayi { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--vurgu); font-size: 30px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(232,120,42,.25); }
.hak-kart b { display: block; font-size: 17px; font-weight: 600; }
.hak-kart span { font-size: 14px; color: var(--soluk); }
.maddeler { list-style: none; padding: 0; margin: 12px 0; text-align: left; }
.maddeler li { padding: 7px 0 7px 34px; position: relative; font-size: 17px; }
.maddeler li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--adacayi); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px var(--ana); }
.referanslar { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.referans { scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--cizgi); }
.referans .resim { height: 150px; background: var(--adacayi); }
.referans .resim img, .referans .resim svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.referans .yazi { padding: 10px 12px; font-size: 14px; color: var(--soluk); }
.referans .yazi b { display: block; font-size: 16px; color: var(--yazi); font-weight: 500; }

/* Sonuç */
.gorsel-kutu { border-radius: var(--r); overflow: hidden; background: var(--adacayi); aspect-ratio: 3 / 2; position: relative; box-shadow: var(--golge); }
.gorsel-kutu img, .gorsel-kutu canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.gorsel-kutu .etiket-ust { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.88); font-size: 12px; padding: 4px 9px; border-radius: 99px; color: var(--ana-koyu); }
.yukleniyor { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ana); font-size: 16px; text-align: center; padding: 20px; }
.gorsel-kutu:has(.buyuk) { aspect-ratio: auto; min-height: 380px; background: linear-gradient(160deg, #eef3ef, #fdece0); }
.yukleniyor.buyuk { gap: 16px; }
.yukleniyor.buyuk .donen { width: 72px; height: 72px; border-width: 6px; }
.yuk-baslik { font-size: 30px; font-weight: 600; color: var(--yazi); line-height: 1.15; }
.yuk-alt { font-size: 18px; color: var(--ana); line-height: 1.5; }
.yuk-cubuk { width: 80%; height: 8px; border-radius: 99px; background: #fff; overflow: hidden; }
.yuk-cubuk div { height: 100%; width: 0; background: var(--vurgu); border-radius: 99px; animation: dol 35s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes dol { to { width: 95%; } }
.donen { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #fff; border-top-color: var(--vurgu); animation: don 1s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }
.ozet-tablo { width: 100%; border-collapse: collapse; font-size: 15px; }
.ozet-tablo td { padding: 7px 0; border-bottom: 1px solid var(--cizgi); }
.ozet-tablo td:last-child { text-align: right; font-weight: 500; }
.ozet-tablo tr:last-child td { border-bottom: 0; }
.maliyet { font-size: 24px; font-weight: 600; text-align: center; margin: 6px 0; }
.wa-kart { background: #eef7f0; border: 1px solid #cfe6d6; border-radius: var(--r); padding: 16px; text-align: center; margin: 16px 0; }
.wa-kart p { margin: 0 0 12px; font-size: 16px; color: #2f5b3e; }
.kvkk-metin { font-size: 14px; color: var(--soluk); background: #fff; padding: 12px; border-radius: 10px; display: none; margin-top: -6px; }

/* Fotoğraf büyütme */
.referans .resim img, .gorsel-kutu img, .gorsel-kutu canvas { cursor: zoom-in; }
.buyutec { position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 18, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; animation: gir .2s ease; cursor: zoom-out; }
.buyutec img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.buyutec .aciklama { color: #f2ede4; font-size: 16px; margin-top: 12px; text-align: center; }
.buyutec .kapat { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }

/* Instagram */
.insta { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); text-decoration: none; color: #fff; background: linear-gradient(120deg, #e8782a, #b5747a 55%, #8c6a9a); box-shadow: var(--golge); }
.insta b { display: block; font-weight: 600; font-size: 17px; }
.insta small { font-size: 14px; opacity: .9; }
.insta .ok { margin-left: auto; font-size: 28px; opacity: .85; }

/* Zorunlu alan uyarıları */
.eksik { border-radius: var(--r); box-shadow: 0 0 0 2px var(--hata) !important; animation: titre .35s ease; }
input.eksik { border-color: var(--hata) !important; box-shadow: none !important; }
.onay.eksik { padding: 6px; }
.eksik-not { color: var(--hata); font-size: 14px; font-weight: 500; margin-top: 6px; }
.eksik-not::before { content: "⚠ "; }
@keyframes titre { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.uyari-kutu { max-width: 560px; margin: 0 auto 10px; background: #fbe9e5; color: #8f3326; border: 1px solid #f0c7bf; border-radius: 12px; padding: 10px 14px; font-size: 15px; animation: gir .2s ease; }

/* Çekmelere göre en büyük taban */
.sinir-kutu { margin-top: 10px; font-size: 14px; color: var(--ana-koyu); background: var(--adacayi); border-radius: 10px; padding: 9px 12px; }
.sinir-kutu.asim { background: #fbe9e5; color: #8f3326; }
input.asim { border-color: var(--hata); color: var(--hata); }

/* Kenar türleri (Yol / Bahçe) */
.ipucu.uyari { background: #fbe9e5; color: #8f3326; }
.kenar-liste { margin-top: 10px; display: grid; gap: 6px; }
.kenar-satir { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; padding: 6px 2px; border-bottom: 1px solid var(--cizgi); }
.kenar-satir:last-child { border-bottom: 0; }
.kenar-satir small { color: var(--soluk); }
.mini-sec { display: inline-flex; background: #ece6dc; border-radius: 10px; padding: 3px; flex: 0 0 auto; }
.mini-sec button { border: 0; background: transparent; font: 500 14px "Jost", system-ui, sans-serif; color: var(--soluk); padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.mini-sec button.secili.yol { background: #e8782a; color: #fff; }
.mini-sec button.secili.bahce { background: #7fa38a; color: #fff; }

/* Kenar üstü kontroller (Yol/Bahçe + çekme) */
.parsel-sahne { position: relative; }
.kenar-kontroller { position: absolute; inset: 0; pointer-events: none; }
.kenar-kontrol { position: absolute; transform: translate(-50%, -50%); width: 92px; pointer-events: auto; background: rgba(255,255,255,.96); border: 1px solid var(--cizgi); border-radius: 10px; padding: 4px; box-shadow: 0 2px 8px rgba(60,50,35,.12); display: grid; gap: 3px; }
.kenar-kontrol.yol { border-color: #e2c9a9; }
.kenar-kontrol.bahce { border-color: #c4d8c9; }
.kenar-kontrol .mini-sec { display: flex; padding: 2px; border-radius: 8px; }
.kenar-kontrol .mini-sec button { flex: 1; padding: 5px 0; font-size: 12.5px; border-radius: 6px; }
.cekme-gir { display: flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--soluk); justify-content: center; }
.cekme-gir input[type=number] { width: 42px; padding: 3px 2px; font-size: 14px; font-weight: 600; text-align: center; border-radius: 6px; border-width: 1px; -moz-appearance: textfield; }
.cekme-gir input::-webkit-outer-spin-button, .cekme-gir input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cekme-gir input.eksik { border-color: var(--hata); }
.cekme-gir .eksik-not { display: none; }
.aydinlatma { font-size: 13px; color: var(--soluk); margin-top: 22px; }
.aydinlatma a { color: var(--ana); }
.kk-baslik { font-size: 11.5px; font-weight: 600; text-align: center; color: var(--yazi); line-height: 1.2; }
.kenar-kontrol.yol .kk-baslik { color: #c2590f; }
.kenar-kontrol.bahce .kk-baslik { color: #3f6b4f; }
.kenar-kontrol .mini-sec button { padding: 4px 0; font-size: 12px; }
.parsel-sahne { margin: 6px 0; }

/* ===== Antrasit tema (sayfa zemini antrasit, içerik açık kart üzerinde siyah yazı) ===== */
:root { --antrasit: #2e3230; --antrasit-2: #3a3f3c; --yazi: #111111; --soluk: #57534d; --vurgu-koyu: #c2590f; }
html { background: var(--antrasit); }
body { background: var(--antrasit); color: var(--yazi); }
.ust { background: rgba(46, 50, 48, .97); border-bottom: 1px solid rgba(255,255,255,.08); }
.ust .marka span { color: #fff; }
.ust a.ara { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); }
.ilerleme { background: var(--antrasit-2); }
main { background: var(--zemin); border-radius: 22px; width: calc(100% - 20px); margin: 12px auto 118px; padding: 22px 16px 28px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.alt-bar { background: rgba(46, 50, 48, .97); border-top: 1px solid rgba(255,255,255,.08); }
.alt-bar .btn:not(.ikincil) { background: var(--vurgu); color: #111; }
.alt-bar .btn:not(.ikincil):hover { background: #f08a3c; }
.alt-bar .btn.ikincil { background: #fff; color: var(--yazi); border-color: #fff; }
h1, h2, h3, label.etiket { color: var(--yazi); }
p.alt { color: var(--soluk); }

/* Vurgulu ana başlık */
.vurgu-baslik { font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--vurgu-koyu); letter-spacing: -.2px; }
.vurgu-baslik span { color: var(--yazi); background: linear-gradient(transparent 60%, #ecd3ae 60%); padding: 0 2px; }

/* Yaptığımız bazı işler: daha büyük fotoğraflar */
.referanslar { grid-auto-columns: 90%; }
.referans .resim { height: 230px; }

/* Uydu görüntüsü */
.uydu-kutu { background: #fff; border: 1px solid var(--cizgi); border-radius: var(--r); padding: 10px; margin-top: 12px; box-shadow: var(--golge); }
.uydu-baslik { font-weight: 600; font-size: 15px; margin: 2px 2px 8px; }
.uydu-resim { position: relative; border-radius: 10px; overflow: hidden; background: #dfe7e1; aspect-ratio: 1 / 1; }
.uydu-resim canvas { width: 100%; height: 100%; display: block; cursor: zoom-in; }
.uydu-resim .yukleniyor { position: absolute; inset: 0; }

/* Sonuç sırası: görsel → özet → tekrar dene → WhatsApp */
#sonrasi #tekrarBtn { margin-top: 4px; }

/* ===== Ana ekran da antrasit: zemin üstündeki yazılar açık, kartların içi açık zemin + siyah yazı ===== */
.uydu-sahne { position: relative; }
main { background: transparent; box-shadow: none; border-radius: 0; width: auto; margin: 0 auto; padding: 22px 16px 130px; }
main h1, main h2, main h3, main > section > label.etiket, main > section > p.alt,
#modTapu label.etiket, #modElle label.etiket, #fotoBolum label.etiket { color: #f4f1ec; }
main label.etiket small, main p.alt { color: #c9c4bb; }
.maddeler li { color: #ece8e1; }
.maddeler li::before { background: #4b524e; box-shadow: inset 0 0 0 5px var(--antrasit), inset 0 0 0 9px var(--vurgu); }
.buyuk-deger, .buyuk-deger small { color: #fff; }
.aralik-etiket, #tabanNot, .aydinlatma { color: #c9c4bb !important; }
.aydinlatma a, .onay a { color: #e7c497; }
.olcu-satir .x { color: #c9c4bb; }
.hata, .eksik-not { color: #ffab9c; }
.sekmeler { background: #3d4340; }
.sekmeler button { color: #cfcac2; }
.sekmeler button.secili { background: #fff; color: var(--yazi); }
.secim { color: var(--yazi); }
.kart, .parsel-kutu, .uydu-kutu, .referans, .hak-kart { box-shadow: 0 6px 22px rgba(0,0,0,.25); }
.uydu-baslik { color: var(--yazi); }
.ipucu { background: #e3ebe5; }
.bilgi-kutu { background: #e3ebe5; }
.hero .alt { color: #c9c4bb; }
.vurgu-baslik { color: #e4b47c; }
.vurgu-baslik span { color: #fff; background: linear-gradient(transparent 62%, rgba(232,120,42,.55) 62%); }
.demo-uyari { margin-bottom: 0; }
.kvkk-metin { color: var(--soluk); }
#sonrasi > p { color: #c9c4bb !important; }
.foto-alan { border-color: #8f8a80; }

.logo-alt { color: #fff; font-size: 13px; letter-spacing: 1.6px; font-weight: 500; margin: -4px 0 16px; }
.hero img.logo-buyuk { width: 140px; margin-bottom: 8px; }
.ref-sahne { position: relative; }
.ref-ok { position: absolute; top: 95px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.ref-ok.sol { left: -6px; } .ref-ok.sag { right: -6px; }

/* ===================== TEK EKRAN DÜZENİ: hiçbir adımda aşağı kaydırma yok ===================== */
html, body.tek-ekran { height: 100%; overflow: hidden; }
body.tek-ekran { display: flex; flex-direction: column; height: 100dvh; }
body.tek-ekran .ust { position: static; flex: 0 0 auto; padding: 8px 14px; }
body.tek-ekran .ust img { height: 28px; }
body.tek-ekran main { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 560px; margin: 0 auto; padding: 10px 14px 8px; overflow: hidden; }
body.tek-ekran .alt-bar { position: static; flex: 0 0 auto; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
body.tek-ekran .alt-bar .btn { padding: 14px 16px; font-size: 18px; }
body.tek-ekran .uyari-kutu { position: absolute; left: 14px; right: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
body.tek-ekran .alt-bar { position: relative; }
.adim.aktif { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 0; }
.adim > * { flex: 0 0 auto; }
.adim > .esnek { flex: 1 1 auto; min-height: 0; }
.adim h2 { font-size: clamp(19px, 2.9vh, 24px); margin: 0 0 6px; }
.adim p.alt { font-size: clamp(13px, 1.9vh, 16px); margin: 0 0 8px; }

/* 0: karşılama */
.adim[data-adim="0"] .hero { padding: 0; }
.adim[data-adim="0"] .hero img.logo-buyuk { width: auto; height: clamp(54px, 10vh, 96px); margin: 0 auto 2px; }
.adim[data-adim="0"] .logo-alt { font-size: clamp(10px, 1.5vh, 13px); margin: 0 0 clamp(6px, 1.2vh, 12px); }
.adim[data-adim="0"] .vurgu-baslik { font-size: clamp(22px, 3.9vh, 32px); margin: 0 0 4px; }
.adim[data-adim="0"] .hero .alt { margin: 0 0 clamp(6px, 1.2vh, 12px); }
.adim[data-adim="0"] .hak-kart { margin: 0 0 clamp(6px, 1.2vh, 12px); padding: clamp(8px, 1.3vh, 14px) 14px; gap: 12px; }
.adim[data-adim="0"] .hak-kart .sayi { width: clamp(38px, 6vh, 54px); height: clamp(38px, 6vh, 54px); font-size: clamp(20px, 3.4vh, 28px); }
.adim[data-adim="0"] .hak-kart b { font-size: clamp(14px, 2vh, 17px); }
.adim[data-adim="0"] .hak-kart span { font-size: clamp(12px, 1.7vh, 14px); }
.ref-bolum { display: flex; flex-direction: column; }
.ref-bolum h3 { margin: 0 0 6px; font-size: clamp(14px, 2.1vh, 18px); }
.ref-bolum .ref-sahne { flex: 1 1 auto; min-height: 0; }
.ref-bolum .referanslar { height: 100%; grid-auto-rows: 100%; }
.ref-bolum .referans { display: flex; flex-direction: column; height: 100%; }
.ref-bolum .referans .resim { flex: 1 1 auto; min-height: 0; height: auto; }
.ref-bolum .referans .yazi { padding: 6px 10px; font-size: 12px; }
.ref-bolum .referans .yazi b { font-size: 14px; }
.ref-bolum .ref-ok { top: 50%; transform: translateY(-50%); }
.adim[data-adim="0"] .insta { margin-top: clamp(6px, 1.2vh, 12px); padding: clamp(8px, 1.2vh, 12px) 14px; }
.adim[data-adim="0"] .insta b { font-size: 15px; }

/* 1: arsa bilgisi */
.adim[data-adim="1"] .sekmeler { margin-bottom: 6px; }
.form-alan label.etiket { margin: clamp(6px, 1.2vh, 12px) 0 4px; font-size: 14px; }
.form-alan select, .form-alan input[type=number] { padding: clamp(9px, 1.5vh, 13px) 12px; font-size: 17px; }

/* 2: arsa sonucu */
.cekme-talimat { background: var(--vurgu); color: #111; border-radius: 14px; padding: clamp(8px, 1.3vh, 12px) 14px; margin: 0 0 8px; }
.cekme-talimat b { display: block; font-size: clamp(16px, 2.4vh, 20px); line-height: 1.2; }
.cekme-talimat span { display: block; font-size: clamp(12px, 1.7vh, 14px); margin-top: 3px; }
.cekme-talimat.uyari { background: #f2b8ad; }
.cizim-alan { display: flex; align-items: center; justify-content: center; position: relative; }
.cizim-alan .uydu-sahne, .cizim-alan .parsel-sahne { position: relative; margin: 0; }
.cizim-alan .uydu-sahne { background: #fff; border-radius: 14px; overflow: visible; }
.cizim-alan .uydu-resim { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 14px; }
.cizim-alan .parsel-sahne { background: #f6f8f5; border-radius: 14px; }
.cizim-alan .parsel-sahne svg { width: 100%; height: 100%; display: block; background: transparent; }
.bilgi-serit { font-size: clamp(12px, 1.7vh, 14px); color: #e8e4dc; text-align: center; margin-top: 6px; line-height: 1.35; }
.bilgi-serit b { color: #fff; }
.bilgi-serit.vurgu { background: #e3ebe5; color: var(--ana-koyu); border-radius: 10px; padding: 6px 10px; }
.bilgi-serit.vurgu b { color: var(--yazi); }
.foto-satir { display: block; margin-top: 6px; text-align: center; background: #fff; border-radius: 12px; padding: 9px; font-size: 15px; color: var(--ana); cursor: pointer; }
.foto-satir small { color: var(--soluk); }

/* 3: ev */
.satir-etiket { color: #f4f1ec; font-weight: 500; font-size: clamp(12px, 1.8vh, 15px); margin: clamp(4px, .9vh, 9px) 0 4px; }
.satir-etiket small { color: #c9c4bb; font-weight: 400; }
.secenekler.dort { grid-template-columns: repeat(4, 1fr); }
.secenekler.kucuk { gap: 6px; }
.secenekler.kucuk .secim { min-height: 0; padding: clamp(7px, 1.25vh, 11px) 4px; font-size: clamp(14px, 2vh, 16px); border-radius: 12px; }
.m2-satir { display: flex; align-items: baseline; justify-content: space-between; }
.m2-deger { color: #fff; font-size: clamp(18px, 2.8vh, 24px); font-weight: 600; }
.adim[data-adim="3"] input[type=range] { height: 26px; margin: 0; }
.olcu-blok { display: flex; align-items: center; gap: 10px; }
.olcu-blok .satir-etiket { margin: 0; white-space: nowrap; }
.olcu-blok .olcu-satir { flex: 1; gap: 6px; }
.olcu-blok .olcu-satir input { padding: clamp(7px, 1.2vh, 11px) 8px; font-size: 17px; }
.kucuk-not { font-size: 12.5px; color: #c9c4bb; margin-top: 3px; min-height: 0; }
.adim[data-adim="3"] .cizim-alan { margin: 6px 0 2px; min-height: 70px; }
.adim[data-adim="3"] .sinir-kutu { margin-top: 2px; padding: 5px 10px; font-size: 12.5px; }
.adim[data-adim="3"] #evSigma .rozet { font-size: 12px; padding: 2px 8px; }

/* 4: zaman */
.adim[data-adim="4"] .secenekler .secim { min-height: clamp(54px, 9vh, 76px); }
.kvkk-metin { display: none; position: fixed; left: 14px; right: 14px; top: 50%; transform: translateY(-50%); z-index: 60; max-height: 80vh; overflow: auto; background: #fff; color: var(--yazi); padding: 18px; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.5); font-size: 14px; margin: 0; }
.kvkk-metin.acik { display: block; }

/* 5: sonuç */
.sonuc-gorsel { display: flex; align-items: center; justify-content: center; }
.sonuc-gorsel .gorsel-kutu { width: 100%; height: 100%; aspect-ratio: auto; max-height: 100%; }
.sonuc-gorsel .gorsel-kutu:has(.buyuk) { min-height: 0; }
.sonuc-gorsel .gorsel-kutu img, .sonuc-gorsel .gorsel-kutu canvas { object-fit: contain; background: #1f2321; }
.ozet-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; background: #fff; border-radius: 12px; padding: 8px 12px; margin: 8px 0 6px; font-size: 12.5px; }
.ozet-izgara div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--cizgi); padding: 2px 0; min-width: 0; }
.ozet-izgara span { color: var(--soluk); }
.ozet-izgara b { font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sonrasi #tekrarBtn { margin: 0 0 6px; padding: 10px; font-size: 15px; }
#sonrasi .wa-kart { margin: 0 0 4px; padding: 10px 12px; }
#sonrasi .wa-kart p { margin: 0 0 8px; font-size: 14px; }
#sonrasi .wa-kart .btn { padding: 13px; font-size: 17px; }
.adim[data-adim="5"] .yuk-baslik { font-size: clamp(22px, 3.6vh, 30px); }

/* çok kısa ekranlar */
@media (max-height: 640px) {
  .adim[data-adim="0"] .hero .alt, .adim[data-adim="0"] .hak-kart span { display: none; }
  .cekme-talimat span { display: none; }
}
@media (max-height: 700px) {
  .form-alan label.etiket { margin: 4px 0 3px; font-size: 13px; }
  .form-alan select, .form-alan input[type=number] { padding: 8px 12px; font-size: 16px; }
  .adim[data-adim="1"] p.alt { font-size: 13px; margin-bottom: 6px; }
  .adim[data-adim="3"] #tabanNot { display: none; }
  .adim[data-adim="3"] .satir-etiket { margin: 3px 0 3px; }
  .adim[data-adim="3"] h2 { margin-bottom: 2px; }
}

/* ===== Sadeleştirilmiş karşılama + iletişim ===== */
.ust { position: relative; }
button.ara { font: 500 15px "Jost", system-ui, sans-serif; cursor: pointer; }
body.tek-ekran .ust a.ara, body.tek-ekran .ust button.ara { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); padding: 7px 12px; border-radius: 99px; }
.ara-menu { position: absolute; right: 12px; top: calc(100% + 6px); z-index: 40; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); overflow: hidden; min-width: 230px; }
.ara-menu a { display: block; padding: 12px 16px; text-decoration: none; color: var(--yazi); border-bottom: 1px solid var(--cizgi); }
.ara-menu a:last-child { border-bottom: 0; }
.ara-menu span { display: block; font-size: 13px; color: var(--soluk); }
.ara-menu b { display: block; font-size: 17px; font-weight: 600; }

.logo-satir { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.adim[data-adim="0"] .logo-satir img.logo-buyuk { height: clamp(48px, 8.5vh, 84px); margin: 0; }
.kisi a { display: block; text-decoration: none; color: #e9e5de; line-height: 1.2; }
.logo-satir { display: flex; justify-content: center; align-items: center; gap: 10px; }
.kisi.sol { text-align: right; } .kisi.sag { text-align: left; }
.kisi a { white-space: nowrap; }
.olcu-satir .alan-yaz { color: #fff; font-weight: 600; font-size: 16px; white-space: nowrap; min-width: 62px; }
.kisi span { display: block; font-size: clamp(10px, 1.45vh, 12px); color: var(--vurgu); font-weight: 500; }
.kisi b { display: block; font-size: clamp(11px, 1.6vh, 13px); font-weight: 600; color: #fff; }
.kisi i { display: block; font-style: normal; font-size: clamp(11px, 1.6vh, 13px); color: #e9e5de; letter-spacing: .2px; }
.adim[data-adim="0"] .logo-alt { margin-top: 4px; }
.adim[data-adim="0"] .vurgu-baslik { font-size: clamp(20px, 3.4vh, 28px); }

/* hak kartı: tek satır, küçük */
.adim[data-adim="0"] .hak-kart { padding: 7px 12px; gap: 10px; border-radius: 14px; }
.adim[data-adim="0"] .hak-kart .sayi { width: 34px; height: 34px; font-size: 19px; flex: 0 0 34px; }
.adim[data-adim="0"] .hak-kart > div:last-child { min-width: 0; }
.adim[data-adim="0"] .hak-kart b { font-size: 14px; }
.adim[data-adim="0"] .hak-kart span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* yaptığımız işler: fotoğraf tüm kartı kaplar, yazı küçük ve fotoğrafın üstünde */
.ref-bolum .referans { position: relative; }
.ref-bolum .referans .resim { position: absolute; inset: 0; height: 100%; }
.ref-bolum .referans .yazi { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #e8e4dc; font-size: 11px; }
.ref-bolum .referans .yazi b { color: #fff; font-size: 13px; }
.adim[data-adim="0"] .insta { padding: 8px 14px; }
.adim[data-adim="0"] .insta small { display: inline; margin-left: 6px; }
.adim[data-adim="0"] .insta b { display: inline; font-size: 14px; }

/* çekme kutusu: tek satır başlık + tek satır açıklama */
.cekme-talimat { padding: 8px 12px; }
.cekme-talimat b { font-size: clamp(14px, 4vw, 17px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cekme-talimat span { font-size: clamp(11px, 3.1vw, 13px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-height: 640px) { .cekme-talimat span { display: block; } }

/* ileride arka plan fotoğrafı (config.js → ARKA_FON): karartılmış fotoğraf + okunur yazılar */
body.arka-fonlu { background: linear-gradient(rgba(30,33,31,.82), rgba(30,33,31,.9)), var(--arka-fon) center / cover no-repeat, var(--antrasit); }
body.arka-fonlu .ust, body.arka-fonlu .alt-bar { background: rgba(30,33,31,.75); }
body.arka-fonlu .vurgu-baslik, body.arka-fonlu .kisi, body.arka-fonlu .logo-alt { text-shadow: 0 2px 8px rgba(0,0,0,.6); }

/* ---- Yama 11: isimler kenarlarda, daha okunur bilgi şeritleri, küçük kutular, dikkat çeken talimat ---- */
.logo-satir { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.kisi.sol { text-align: left; justify-self: start; }
.kisi.sag { text-align: right; justify-self: end; }
#parselBilgi { font-size: clamp(14px, 4.1vw, 17px); line-height: 1.35; }
#yapilasmaBilgi { font-size: clamp(14px, 4.1vw, 17px); font-weight: 500; padding: 9px 12px; border-radius: 12px; line-height: 1.3; }
.secenekler.kucuk .secim { padding: clamp(5px, .9vh, 8px) 4px; font-size: clamp(13px, 1.8vh, 15px); border-radius: 10px; }
.olcu-blok .olcu-satir input { padding: clamp(4px, .8vh, 7px) 6px; font-size: 15px; border-radius: 10px; }
.olcu-blok .satir-etiket { font-size: 14px; }
.adim[data-adim="3"] .satir-etiket { font-size: 14px; }
.cekme-talimat { padding: 10px 14px; border: 2px solid #fff3dc; animation: talimatNabiz 1.8s ease-in-out infinite; }
.cekme-talimat b { font-size: clamp(15px, 4.3vw, 18px); font-weight: 700; }
.cekme-talimat span { font-size: clamp(12px, 3.4vw, 14px); font-weight: 600; color: #1c1005; }
@keyframes talimatNabiz { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,120,42, .0); } 50% { box-shadow: 0 0 0 5px rgba(232,120,42, .45); } }
@media (prefers-reduced-motion: reduce) { .cekme-talimat { animation: none; } }

/* ---- Yama 12 ---- */
.hak-kart[hidden] { display: none !important; }
.kisi a { display: inline-block; text-align: center; }

/* Yama 14: Instagram üstte ortada, başlık-işler boşluğu, küçük vitrin */
.ust-insta { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; color: #fff; text-decoration: none; line-height: 1; }
.ust-insta svg { width: 20px; height: 20px; }
.ust-insta small { font-size: 11px; font-weight: 600; letter-spacing: .2px; opacity: .9; }
.adim[data-adim="0"] .vurgu-baslik { margin-bottom: clamp(10px, 2vh, 20px); }
.adim[data-adim="0"] .ref-bolum { width: 92%; margin-left: auto; margin-right: auto; }
.adim[data-adim="0"] .ref-bolum h3 { font-size: clamp(13px, 1.9vh, 16px); }

/* Yama 15: başlık renkleri (turuncusuz, antrasitle uyumlu adaçayı tonu) */
.vurgu-baslik { color: #c4dccd; }
.vurgu-baslik span { color: #fff; background: linear-gradient(transparent 62%, rgba(124,170,146,.5) 62%); }

/* Yama 16: parlak, canlı başlık (aqua-nane) */
.vurgu-baslik { color: #4df0c8; text-shadow: 0 0 14px rgba(77,240,200,.35); }
.vurgu-baslik span { color: #fff; text-shadow: none; background: linear-gradient(transparent 58%, rgba(34,211,238,.6) 58%); }

/* Yama 17: Kat / bina ölçüsü kutuları ayrık; 3B sahne */
.adim[data-adim="3"] .secenekler.kucuk { margin-bottom: clamp(10px, 1.8vh, 16px); }
.adim[data-adim="3"] .olcu-blok { margin-top: clamp(4px, 1vh, 10px); }
.olcu-blok .olcu-satir input { padding: clamp(3px, .6vh, 6px) 6px; font-size: 14px; max-width: 100px; }
.secenekler.kucuk .secim { padding: clamp(4px, .7vh, 7px) 4px; font-size: clamp(13px, 1.7vh, 15px); }

.s3 { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; background: linear-gradient(#0f1c22 0%, #1f3a44 38%, #2e4a44 62%, #1f2321 100%); }
.s3.tutuyor { cursor: grabbing; }
.s3-kamera { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.s3-dunya { position: relative; width: 0; height: 0; transform-style: preserve-3d; }
.s3-zemin { position: absolute; -webkit-mask-image: radial-gradient(circle closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 62%, transparent 100%); }
.gorsel-kutu .s3-zemin canvas, .sonuc-gorsel .gorsel-kutu .s3-zemin canvas { width: 100%; height: 100%; object-fit: fill; cursor: inherit; background: none; }
.s3-ev { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.s3-bilbord { position: absolute; transform-origin: 50% 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); pointer-events: none; }
.s3-duvar { position: absolute; transform-origin: 50% 100%; background-color: #d6cfc4; background-size: cover; background-position: center; backface-visibility: visible; box-sizing: border-box; }
.s3-duvar.on { background-color: #cbbfae; }
.s3-duvar.koyu { filter: brightness(.82); }
.s3-duvar i { position: absolute; left: 12%; right: 12%; background: repeating-linear-gradient(90deg, #2c3b44 0 14%, transparent 14% 28%); border-radius: 1px; opacity: .85; }
.s3-cati { position: absolute; background: #8e918d; box-shadow: inset 0 0 0 3px #c9c6bf; }
.s3-etiket { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 99px; pointer-events: none; }
.s3-ipucu { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 99px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.s3-model { position: absolute; right: 10px; top: 8px; display: flex; gap: 4px; }
.s3-model[hidden] { display: none; }
.s3-model button { border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.45); color: #fff; font: 600 12px Jost, sans-serif; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.s3-model button.secili { background: #e8782a; border-color: #e8782a; }

/* Yama 18: three.js sahnesi */
.s3 { background: linear-gradient(#bcd8ea, #dcebf2); }
.s3 canvas, .gorsel-kutu .s3 canvas, .sonuc-gorsel .gorsel-kutu .s3 canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; cursor: inherit; background: none; display: block; }
.s3-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.s3-zoom button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #222; font: 700 22px/1 Jost, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: pointer; }
.s3-etiket { background: rgba(0,0,0,.5); }
.s3-ipucu { left: 10px; transform: none; bottom: 12px; font-size: 12px; padding: 5px 11px; max-width: calc(100% - 70px); white-space: normal; }
.s3-not { position: absolute; left: 10px; right: 58px; top: 44px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 10px; pointer-events: none; }
