/* EvAtlas Beta 2.2: mobile-only homepage. Desktop keeps previous presentation. */
.mobileLandingActions,.mobileVillaArt,.mobileEder,.mobileEderDots,.evMobileBottomNav,.evMobileMenu{display:none}
@media (max-width:800px){
.evLanding{overflow-y:auto;overflow-x:hidden;display:block;padding-bottom:calc(90px + env(safe-area-inset-bottom));background:linear-gradient(150deg,#f9fbff 5%,#e9f2ff 55%,#fff 100%)}
.evLanding.isHidden{display:none}
.landingNav{position:relative;z-index:2;display:flex;justify-content:space-between;padding:20px 20px 8px;min-height:75px}
.landingNav .landingLogo{font-size:29px;line-height:1}
.landingNav .landingLinks,.landingNav .navAccount{display:none!important}
.mobileLandingActions{display:flex;align-items:center;gap:8px}
.mobileLandingActions button{display:grid;place-items:center;width:43px;height:43px;border:1px solid #dbe6f7;border-radius:50%;font-size:24px;color:#122b5c;background:#ffffffce}
.landingContent{position:relative;margin:0 auto;padding:35px 0 8px;width:calc(100% - 32px);text-align:left;min-height:0}
/* Beta 2.2.1: full-width Bosphorus + villa scene, behind the original headline and search. */
.mobileVillaArt{display:block;position:absolute;pointer-events:none;z-index:0;top:8px;left:-16px;right:-16px;width:auto;height:clamp(390px,105vw,510px);border-radius:0;background-image:linear-gradient(180deg,rgba(248,251,255,.98) 0%,rgba(248,251,255,.90) 12%,rgba(248,251,255,.55) 35%,rgba(248,251,255,.02) 61%,rgba(234,243,255,.10) 80%,#eaf3ff 100%),linear-gradient(90deg,rgba(249,251,255,.56) 0%,rgba(249,251,255,.18) 47%,transparent 82%),url('/evatlas-bogaz-hero.webp');background-size:100% 100%,100% 100%,100% auto;background-repeat:no-repeat;background-position:center,center,center bottom 62px;opacity:1;mask-image:none} 
.landingContent>.heroLabel,.landingContent>h1,.landingContent>p{position:relative;z-index:1;max-width:100%;text-shadow:0 1px 8px rgba(248,251,255,.45)}
.heroLabel{font-size:10px;letter-spacing:2px;color:#1b4dbb;font-weight:900}
.landingContent h1{font-size:clamp(34px,9vw,48px);line-height:1.08;letter-spacing:-1.5px;margin:17px 0 15px;font-weight:900}
.landingContent p{font-size:14px;line-height:1.5;color:#1a2c50;margin:0 0 58px;max-width:100%}
.landingChoices{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:16px;margin-bottom:12px}
.landingChoices button{border-radius:18px;min-height:66px;padding:9px 4px;font-size:13px;background:#f9fbffeb;box-shadow:0 4px 12px #163b6a16;color:#112750;border:1px solid #e3eafa}
.landingChoices button.chosen{background:linear-gradient(135deg,#2575fd,#073ad3);color:#fff}
.landingSearch{position:relative;z-index:2;border-radius:25px;padding:8px 6px 8px 11px;gap:4px;min-height:65px}
.landingSearch input{font-size:12px;padding:10px 2px;width:30px}
.landingSearch button{padding:13px 10px;border-radius:17px;font-size:12px}
.nearby{position:relative;z-index:1;width:100%;font-size:13px;margin:10px 0 18px;text-align:center}
.mobileEder{display:grid;grid-template-columns:52% 48%;min-height:190px;background:linear-gradient(120deg,#fff,#e9f3ff);border:2px solid #fff;border-radius:26px;box-shadow:0 10px 25px #1741871c;overflow:hidden;padding:20px 14px 16px;margin:1px 0 0}
.mobileEderWords{display:flex;flex-direction:column;position:relative;z-index:1;align-items:flex-start;gap:4px}
.mobileEderWords strong{font-size:25px;letter-spacing:-1px;color:#112344}
.mobileEderWords>span{font-size:13px;color:#293b5c}
.mobileEderWords small{font-size:11px;line-height:1.5;color:#53627d;margin:13px 0 5px}
.mobileEderWords button{border:0;border-radius:30px;background:#dfeaff;color:#1753c6;font-size:12px;font-weight:800;padding:12px 13px;margin-top:auto}
.mobileEderVisual{position:relative;min-width:0;background:linear-gradient(150deg,#deecff22,#e8f0ff55),url('/evatlas-eder-home.webp') right bottom/cover no-repeat}
.mobileEderVisual svg{position:absolute;width:100%;height:85px;left:0;bottom:29px;filter:drop-shadow(0 1px 4px #2455d644)}
.mobileEderValue{position:absolute;top:3px;right:0;padding:9px 7px;font-size:11px;font-weight:800;color:#142751;border-radius:14px;background:#ffffffed;white-space:nowrap;z-index:2}
.mobileEderDots{display:block;text-align:center;color:#2455d6;font-size:13px;letter-spacing:6px;margin:11px 0 0}.mobileEderDots span{color:#c6d4ed}
.landingFooter{display:none}
.evMobileBottomNav{display:flex;position:fixed;z-index:3101;bottom:0;left:0;right:0;min-height:70px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 22px #17346318;border-top:1px solid #d9e5f5;justify-content:space-around;align-items:center;gap:1px}
.evMobileBottomNav button{background:transparent;border:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;font-size:10px;color:#4d5d7b;font-weight:650;padding:0}
.evMobileBottomNav button span{font-size:28px;line-height:34px;color:#1a3b7c}
.evMobileBottomNav button:first-child,.evMobileBottomNav button:first-child span{color:#2455d6}
.evMobileBottomNav button.evMobileAdd span{border-radius:30px;background:#2455d6;color:white;padding:0 12px;font-size:30px;line-height:34px}
.evMobileMenu:not([hidden]){display:flex;position:fixed;inset:0;z-index:3201;background:#101e38a0;justify-content:flex-end}
.evMobileMenu>div{width:min(330px,86%);background:#fff;padding:24px 20px;display:flex;flex-direction:column;gap:9px;box-shadow:-8px 0 25px #101e3833}
.evMobileMenu h2{font-size:24px;color:#2455d6}.evMobileMenu button{border:0;text-align:left;background:#f3f7ff;border-radius:11px;padding:14px;font-size:16px;color:#17294d;font-weight:650}
.evMobileMenu .evMenuClose{align-self:flex-end;font-size:25px;background:transparent;padding:0 9px}
}

@media (max-width:390px){.mobileVillaArt{background-position:center,center,center bottom 55px}.landingContent h1{font-size:clamp(32px,8.5vw,40px)}}

/* Beta 2.2.2: reference-matched mobile homepage. Mobile-only; desktop unchanged. */
.landingChoices .choiceIcon{display:none}
@media (max-width:800px){
  .evLanding{background:linear-gradient(180deg,#f8fbff 0%,#eaf3ff 55%,#edf5ff 90%,#fff 100%);}
  .landingNav{position:relative;z-index:3;padding:17px 18px 8px;min-height:70px;}
  .landingContent{display:flex;flex-direction:column;position:relative;isolation:isolate;width:100%;padding:28px 14px 12px; margin:0 auto; overflow:hidden;}
  /* Photo spans the entire hero; layered fades keep every line legible. */
  .mobileVillaArt{position:absolute;display:block;z-index:-1;pointer-events:none;inset:0 0 auto;left:0;right:0;width:100%;height:clamp(365px,116vw,500px);border-radius:0;opacity:1;
    background-image:linear-gradient(180deg,rgba(248,251,255,.88) 0%,rgba(248,251,255,.65) 18%,rgba(248,251,255,.02) 47%,rgba(233,243,255,.04) 82%,#eaf3ff 100%),linear-gradient(90deg,rgba(248,251,255,.97) 0%,rgba(248,251,255,.82) 39%,rgba(248,251,255,.28) 65%,transparent 90%),url('/evatlas-bogaz-hero.webp');
    background-size:100% 100%,100% 100%,auto 100%;background-position:center,center,59% center;background-repeat:no-repeat;
  }
  .landingContent>.heroLabel{order:1;position:relative;z-index:2;font-size:clamp(10px,2.8vw,12px);letter-spacing:2.2px;line-height:1.3;margin:0 0 15px;white-space:normal;color:#153d9d;}
  .landingContent>h1{order:2;position:relative;z-index:2;font-size:clamp(31px,8.35vw,47px);line-height:1.06;letter-spacing:-1.5px;margin:0 0 14px;max-width:100%;font-weight:900;text-wrap:balance;}
  .landingContent>h1 em{display:block;font-style:normal;color:#1755dd;}
  .landingContent>p{order:3;position:relative;z-index:2;font-size:clamp(13px,3.45vw,17px);line-height:1.5;color:#172c52;max-width:min(96%,420px);margin:0;min-height:0;overflow-wrap:normal;text-shadow:0 1px 9px #f8fbff;}
  .landingSearch{order:4;z-index:3;flex-shrink:0;min-height:56px;margin-top:clamp(85px,23vw,150px);margin-bottom:17px;border-radius:30px;padding:6px 6px 6px 12px;box-shadow:0 12px 28px rgba(27,65,132,.13);}
  .landingSearch>span{font-size:23px;flex-shrink:0;}
  .landingSearch input{font-size:clamp(11px,3vw,14px);min-width:0;flex:1;padding:9px 0;}
  .landingSearch button{font-size:clamp(11px,3vw,14px);padding:13px 11px;border-radius:25px;min-height:42px;}
  .landingChoices{order:5;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 20px;}
  .landingChoices button{min-width:0;min-height:82px;padding:10px 4px 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:19px;font-size:clamp(12px,3.2vw,15px);box-shadow:0 5px 12px rgba(24,72,155,.12);border:1px solid #dfe8f8;background:linear-gradient(145deg,#fff,#eaf2ff);color:#11234a;}
  .landingChoices button.chosen{background:linear-gradient(130deg,#257aff,#0640dc);border-color:#1363e8;color:#fff;}
  .landingChoices .choiceIcon{display:flex;align-items:center;justify-content:center;}
  .landingChoices .choiceIcon svg{width:27px;height:27px;display:block;}
  .landingContent>.nearby{display:none;}
  .mobileEder{order:7;display:grid;grid-template-columns:46% minmax(0,54%);position:relative;z-index:2;min-height:182px;border-radius:25px;margin:0;padding:16px 11px 13px;border:2px solid #fff;background:linear-gradient(130deg,#fff 0%,#f2f8ff 45%,#d7e8ff 100%);box-shadow:0 10px 20px #184c961a;}
  .mobileEderWords{min-width:0;gap:3px;}
  .mobileEderWords strong{font-size:clamp(25px,6.3vw,34px);line-height:1.04;}
  .mobileEderWords>span{font-size:clamp(12px,3vw,15px);line-height:1.25;}
  .mobileEderWords small{font-size:clamp(10px,2.65vw,12px);line-height:1.5;margin:12px 0 5px;}
  .mobileEderWords button{font-size:clamp(11px,2.9vw,13px);padding:10px 10px;white-space:nowrap;}
  .mobileEderVisual{position:relative;min-width:0;border-radius:10px;overflow:visible;background:linear-gradient(125deg,#eef6ff11,#d3e6ff11),url('/evatlas-eder-home.webp') center bottom/cover no-repeat;}
  .mobileEderVisual svg{left:-12px;bottom:4px;width:calc(100% + 12px);height:104px;}
  .mobileEderValue{top:1px;right:0;white-space:nowrap;max-width:100%;padding:8px 8px;font-size:clamp(9px,2.5vw,12px);box-shadow:0 3px 10px #0c37852b;}
  .mobileEderDots{order:8;margin:10px 0 14px;}
  .evMobileBottomNav{border-radius:20px 20px 0 0;}
}
@media (max-width:370px){
  .landingContent{padding-left:11px;padding-right:11px;}
  .landingContent>h1{font-size:clamp(28px,8.4vw,32px);letter-spacing:-1.2px;}
  .landingContent>p{font-size:12.5px;}
  .landingSearch{margin-top:75px;}
  .landingSearch button{font-size:11px;padding:10px 8px;}
  .mobileEder{grid-template-columns:49% minmax(0,51%);padding:13px 9px;}
}

/* Beta 2.2.2 final: preserve ALL of Bosphorus / villa image, readable text, three separate action cards. */
@media (max-width:800px){
  .landingContent{padding-top:24px; overflow:hidden;}
  .landingContent>.heroLabel{order:1;margin-bottom:13px;}
  .landingContent>h1{order:2;max-width:100%;margin:0 0 12px;line-height:1.1;overflow-wrap:normal;}
  .landingContent>p{order:3;max-width:100%;margin-bottom:14px;line-height:1.5;}
  /* This is a complete uncropped photograph: unlike cover, contain never hides the bridge or villa. */
  .mobileVillaArt{position:relative;order:4;z-index:0;inset:auto;left:auto;right:auto;top:auto;display:block;
    flex:0 0 auto;align-self:center;width:calc(100% + 28px);height:auto;aspect-ratio:1586 / 992;
    margin:0 -14px;border-radius:0;background-image:url('/evatlas-bogaz-hero.webp');
    background-size:contain;background-position:center center;background-repeat:no-repeat;opacity:1;mask-image:none;}
  .landingSearch{order:5;z-index:3;margin-top:-32px;margin-bottom:16px;position:relative;}
  .landingChoices{order:6;position:relative;z-index:2;margin:0 0 18px;}
  .landingChoices button{min-height:86px;}
  .mobileEder{order:7;}
  .mobileEderDots{order:8;}
}
@media (max-width:370px){
  .mobileVillaArt{width:calc(100% + 22px);margin:0 -11px;}
  .landingSearch{margin-top:-25px;}
  .landingContent>p{margin-bottom:12px;}
}

/* Beta 2.2.3 — reference-locked mobile design. No desktop changes. */
@media (max-width:800px){
  .landingNav{align-items:center;}
  .mobileLandingActions{gap:0;}
  .mobileLandingActions button{width:43px;height:43px;}
  /* Render the complete Bosphorus / bridge / villa panorama as the ONE hero background.
     The copy lives ON the sky, never on a separate white panel. */
  .landingContent{position:relative;padding:18px 14px 10px;overflow:hidden;isolation:isolate;}
  .mobileVillaArt{position:absolute;order:initial;z-index:-1;top:0;left:0;right:0;inset:0 0 auto;
    width:100%;height:auto;aspect-ratio:1586 / 992;margin:0;
    background-image:linear-gradient(90deg,rgba(245,249,255,.23) 0%,rgba(245,249,255,.10) 40%,rgba(245,249,255,0) 74%),url('/evatlas-bogaz-hero.webp');
    background-size:100% 100%,100% 100%;background-position:center,center;background-repeat:no-repeat;
    opacity:1;border-radius:0;pointer-events:none;}
  .landingContent>.heroLabel{margin:0 0 10px;font-size:clamp(9px,2.65vw,12px);}
  .landingContent>h1{margin:0 0 10px;font-size:clamp(29px,8.3vw,46px);line-height:1.07;max-width:100%;text-shadow:0 1px 12px rgba(248,251,255,.68);}
  .landingContent>p{margin:0;max-width:100%;font-size:clamp(12px,3.35vw,17px);line-height:1.45;text-shadow:0 1px 12px rgba(248,251,255,.85);}
  .landingSearch{margin-top:clamp(55px,13vw,120px);margin-bottom:17px;}
  .landingChoices{margin:0 0 19px;}
  /* The approved Eder reference is rendered as a single stable piece — no shifting overlays. */
  .mobileEder{display:block;position:relative;overflow:hidden;padding:0;margin:0;min-height:0;border:0;background:none;box-shadow:none;border-radius:0;line-height:0;}
  .evEderReference{display:block;width:100%;height:auto;object-fit:contain;}
  .evEderHitTarget{position:absolute;left:3.5%;bottom:11%;width:36%;height:22%;background:transparent;border:0;cursor:pointer;border-radius:24px;}
  .evEderHitTarget:focus-visible{outline:3px solid #1852c5;outline-offset:-3px;}
  .mobileEderDots{margin-top:6px;}
}
@media (max-width:375px){
  .landingContent{padding-left:11px;padding-right:11px;}
  .landingContent>h1{font-size:clamp(28px,8.1vw,32px);}
  .landingContent>p{font-size:clamp(11px,3.3vw,13px);}
  .landingSearch{margin-top:clamp(45px,12vw,55px);}
}

/* Beta 2.2.4: mobile-only live components, deliberate safe text area. */
.evMobileHero{display:contents}.evFeatureCarousel{display:none}
@media(max-width:800px){
 .evLanding{background:linear-gradient(180deg,#eaf3ff 0%,#e8f2ff 78%,#f1f7ff 100%)}
 .landingNav{background:linear-gradient(180deg,#eaf3ff,#eaf3ff);padding:17px 16px 12px;min-height:73px}
 .landingContent{display:flex;flex-direction:column;overflow:visible;width:100%;padding:0 0 calc(110px + env(safe-area-inset-bottom));isolation:auto;min-height:0}
 .evMobileHero{display:flex;flex-direction:column;position:relative;isolation:isolate;height:clamp(345px,97vw,465px);flex:none;padding:18px 16px 0;overflow:hidden;background:linear-gradient(180deg,#d9ebff,#e9f2ff 58%,#dcecff)}
 .evMobileHero .mobileVillaArt{display:block;position:absolute;z-index:-1;inset:auto 0 0;width:100%;height:100%;aspect-ratio:auto;margin:0;pointer-events:none;opacity:1;background-image:url('/evatlas-bogaz-hero-extended.webp');background-repeat:no-repeat;background-size:100% 100%;background-position:center;}
 .evMobileHero .heroLabel{font-size:clamp(9px,2.7vw,12px);font-weight:900;letter-spacing:1.8px;color:#1b4fbd;margin:3px 0 12px;line-height:1.3;position:relative;z-index:1}
 .evMobileHero h1{position:relative;z-index:1;font-size:clamp(29px,8.1vw,43px);line-height:1.08;letter-spacing:-1.2px;max-width:100%;margin:0 0 11px;font-weight:900;color:#112244;text-shadow:none}
 .evMobileHero h1 em{display:block;color:#1755dc;font-style:normal}
 .evMobileHero p{position:relative;z-index:1;max-width:53%;font-size:clamp(11px,2.9vw,14px);line-height:1.46;font-weight:500;margin:0;color:#142749;text-shadow:0 1px 10px #f0f6ff}
 .landingSearch{order:1;position:relative;z-index:2;align-self:stretch;margin:-2px 16px 18px;min-height:57px;border-radius:32px;box-shadow:0 8px 22px rgba(32,73,150,.13)}
 .landingChoices{order:2;margin:0 16px 20px;gap:8px}
 .landingChoices button{min-height:83px}
 .landingChoices .choiceIcon svg{width:27px;height:27px}
 .landingContent>.nearby{display:none}
 .evFeatureCarousel{order:3;display:block;min-width:0;width:100%;padding:0 16px;overflow:hidden}
 .evFeatureTrack{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:24px}
 .evFeatureTrack::-webkit-scrollbar{display:none}
 .evFeatureSlide{position:relative;flex:0 0 100%;scroll-snap-align:start;overflow:hidden;height:clamp(180px,53vw,245px);border:2px solid #fff;border-radius:24px;background:linear-gradient(120deg,#fff 0%,#eef6ff 51%,#d4e8ff 100%);box-shadow:0 8px 21px #204c8b16;}
 .evFeatureText{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:53%;height:100%;padding:17px 0 15px 16px;color:#13264d}
 .evFeatureText h2{font-size:clamp(23px,6.3vw,32px);letter-spacing:-1.2px;line-height:1.05;margin:0;font-weight:900}
 .evFeatureText sup{font-size:12px;vertical-align:super;letter-spacing:0}
 .evFeatureSubtitle{font-size:clamp(12px,3.1vw,16px);margin:3px 0 0;line-height:1.22}
 .evFeatureDisclaimer{font-size:clamp(10px,2.8vw,13px);line-height:1.45;color:#52637e;margin:12px 0 0}
 .evFeatureText button{margin-top:auto;border:0;border-radius:25px;background:#dbeaff;color:#1452c8;font-weight:800;font-size:clamp(10px,2.7vw,13px);padding:10px 12px;white-space:nowrap;max-width:100%}
 .evFeatureArt{position:absolute;inset:0 0 0 39%;pointer-events:none;background-position:right bottom;background-repeat:no-repeat;background-size:cover}
 .evEderArt{background-image:linear-gradient(90deg,#eff7ff 0%,rgba(237,247,255,.06) 40%,transparent 80%),url('/evatlas-eder-home.webp')}
 .evEderArt svg{position:absolute;bottom:4%;left:-27%;width:130%;height:68%;filter:drop-shadow(0 1px 3px #5399ff45)}
 .evChartPrice{position:absolute;right:7px;top:9px;background:#fff;border-radius:24px;padding:9px 10px;font-size:clamp(10px,3vw,14px);white-space:nowrap;color:#152a50;font-weight:850;box-shadow:0 3px 12px #1c54a326}
 .evChartPrice span{font-size:18px;color:#1766eb;margin-right:3px}
 .evRentArt{background-image:linear-gradient(90deg,#edf5ff 0%,rgba(237,245,255,.12) 55%,transparent),url('/evatlas-rent.webp')}
 .evDistrictArt{background-image:linear-gradient(90deg,#edf5ff 0%,rgba(237,245,255,.12) 55%,transparent),url('/evatlas-neighborhood.webp')}
 .evInfoPill{position:absolute;right:8px;top:10px;border-radius:24px;padding:7px 10px;background:#fff;color:#1552c6;font-size:11px;font-weight:800}
 .evFeatureDots{display:flex;align-items:center;justify-content:center;gap:10px;margin:15px auto 10px}
 .evFeatureDots button{width:10px;height:10px;padding:0;background:#c1d2ee;border:0;border-radius:50%;cursor:pointer;transition:width .2s, background .2s}
 .evFeatureDots button.isActive{background:#2455d6;width:21px;border-radius:8px}
 .evMobileBottomNav{border-radius:24px 24px 0 0;box-shadow:0 -5px 20px #194f9515}
}
@media(max-width:375px){
 .evMobileHero{height:clamp(325px,99vw,380px);padding-left:12px;padding-right:12px}
 .evMobileHero h1{font-size:clamp(28px,8vw,34px)}
 .evMobileHero p{max-width:54%;font-size:10.5px}
 .landingSearch{margin-left:12px;margin-right:12px}
 .landingChoices{margin-left:12px;margin-right:12px}
 .evFeatureCarousel{padding-left:12px;padding-right:12px}
 .evFeatureText{padding-left:12px}
 .evFeatureText button{font-size:10px;padding:9px 8px}
}
