/* =========================================================
   ETERNAL VIZE — TEK VE KESIN FOOTER STANDARDI
   Bu dosya footer için tek kaynaktır.
   ========================================================= */

.ev-site-footer{
  box-sizing:border-box !important;
  width:calc(100% - 48px) !important;
  max-width:none !important;
  min-width:0 !important;

  margin:32px 24px 32px !important;
  padding:0 !important;

  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;

  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
}

.ev-site-footer .ev-footer-card{
  box-sizing:border-box !important;
  width:100% !important;
  height:190px !important;
  min-height:190px !important;
  max-height:190px !important;

  margin:0 !important;
  padding:18px 28px 14px !important;

  background:#fff !important;
  border:1px solid #e7e9ee !important;
  border-radius:24px !important;
  box-shadow:0 12px 34px rgba(20,27,45,.055) !important;

  display:grid !important;
  grid-template-rows:68px 1px 32px 45px !important;
  align-items:center !important;
}

.ev-site-footer .evf-top{
  width:min(1280px,100%) !important;
  margin:0 auto !important;

  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) 220px !important;
  align-items:center !important;
  gap:28px !important;
}

.ev-site-footer .evf-logo{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
}

.ev-site-footer .evf-logo img{
  display:block !important;
  width:185px !important;
  max-width:100% !important;
  height:auto !important;
}

.ev-site-footer .evf-center{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
}

.ev-site-footer .evf-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:25px !important;

  margin:0 !important;
  padding:0 !important;
}

.ev-site-footer .evf-nav a{
  color:#626773 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

.ev-site-footer .evf-nav a:hover{
  color:#e52542 !important;
}

.ev-site-footer .evf-copyright{
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  color:#777c86 !important;
  font-size:10px !important;
  line-height:1.3 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
}

.ev-site-footer .evf-call{
  justify-self:end !important;

  width:200px !important;
  height:62px !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;

  background:#ed2341 !important;
  color:#fff !important;
  text-decoration:none !important;

  border:0 !important;
  border-radius:15px !important;
  box-shadow:0 10px 24px rgba(237,35,65,.14) !important;
}

.ev-site-footer .evf-call span{
  margin:0 0 3px !important;
  color:#fff !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:1.2px !important;
}

.ev-site-footer .evf-call strong{
  margin:0 !important;
  color:#fff !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:800 !important;
}

.ev-site-footer .evf-divider{
  width:min(1280px,100%) !important;
  height:1px !important;
  margin:0 auto !important;
  padding:0 !important;
  background:#e7e9ee !important;
}

.ev-site-footer .evf-legal{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:15px !important;

  margin:0 !important;
  padding:0 !important;
}

.ev-site-footer .evf-legal a{
  color:#686d78 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:650 !important;
}

.ev-site-footer .evf-legal a:hover{
  color:#e52542 !important;
}

.ev-site-footer .evf-legal span{
  width:1px !important;
  height:13px !important;
  background:#cfd3da !important;
  flex:0 0 1px !important;
}

.ev-site-footer .evf-identity{
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
}

.ev-site-footer .evf-identity strong{
  color:#555b66 !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:750 !important;
}

.ev-site-footer .evf-identity p{
  margin:0 !important;
  padding:0 !important;
  color:#666c76 !important;
  font-size:10px !important;
  line-height:1.25 !important;
}

/* TABLET */
@media(max-width:1100px){
  .ev-site-footer .evf-top{
    grid-template-columns:170px minmax(0,1fr) 185px !important;
    gap:16px !important;
  }

  .ev-site-footer .evf-logo img{
    width:155px !important;
  }

  .ev-site-footer .evf-nav{
    gap:12px !important;
  }

  .ev-site-footer .evf-nav a{
    font-size:10px !important;
  }

  .ev-site-footer .evf-call{
    width:175px !important;
  }

  .ev-site-footer .evf-call strong{
    font-size:17px !important;
  }

  .ev-site-footer .evf-legal{
    gap:9px !important;
  }

  .ev-site-footer .evf-legal a{
    font-size:9px !important;
  }
}

/* MOBILE */
@media(max-width:760px){
  .ev-site-footer{
    width:calc(100% - 24px) !important;
    margin:24px 12px 16px !important;
  }

  .ev-site-footer .ev-footer-card{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:24px 18px 20px !important;

    display:flex !important;
    flex-direction:column !important;
    gap:20px !important;
  }

  .ev-site-footer .evf-top{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }

  .ev-site-footer .evf-logo img{
    width:165px !important;
    margin:auto !important;
  }

  .ev-site-footer .evf-nav{
    flex-wrap:wrap !important;
    gap:12px 18px !important;
  }

  .ev-site-footer .evf-nav a{
    font-size:11px !important;
  }

  .ev-site-footer .evf-copyright{
    white-space:normal !important;
  }

  .ev-site-footer .evf-call{
    justify-self:auto !important;
    width:210px !important;
    margin:auto !important;
  }

  .ev-site-footer .evf-divider{
    width:100% !important;
  }

  .ev-site-footer .evf-legal{
    flex-wrap:wrap !important;
    gap:10px 14px !important;
  }

  .ev-site-footer .evf-legal span{
    display:none !important;
  }

  .ev-site-footer .evf-identity p{
    max-width:320px !important;
  }
}


/* === SUBELER + EK HIZMETLER TEK FOOTER KUTUSU === */

/* Dış footer artık TEK beyaz kart */
body.footer-bg-clean > footer.ev-site-footer{
  box-sizing:border-box !important;

  width:calc(100% - 48px) !important;
  margin:32px 24px 32px !important;
  padding:0 !important;

  background:#fff !important;
  border:1px solid #e7e9ee !important;
  border-radius:24px !important;
  box-shadow:0 12px 34px rgba(20,27,45,.055) !important;
}

/* İçteki ikinci beyaz kutuyu tamamen yok et */
body.footer-bg-clean > footer.ev-site-footer > .ev-footer-card{
  width:100% !important;

  margin:0 !important;

  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Mobil */
@media(max-width:760px){
  body.footer-bg-clean > footer.ev-site-footer{
    width:calc(100% - 24px) !important;
    margin:24px 12px 16px !important;
  }
}

/* Şubeler + Ek Hizmetler: footer çevresindeki eski beyaz zemini kaldır */
body.footer-bg-clean{
  background:#f5f6f8 !important;
}


/* === SADECE RANDEVU SORGULA SAYFA AKISI === */
body.ev-randevu-page{
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
}

body.ev-randevu-page > header{
  flex:0 0 auto !important;
}

body.ev-randevu-page > main{
  flex:1 0 auto !important;
}

body.ev-randevu-page > footer.ev-site-footer{
  flex:0 0 auto !important;
  margin-top:32px !important;
  margin-bottom:32px !important;
}

/* === FOOTER LOGO / CAGRI MERKEZI DIKEY HIZA === */
.ev-site-footer .evf-logo{
  align-self:center !important;
  transform:translateY(10px) !important;
}

.ev-site-footer .evf-call{
  align-self:center !important;
}

/* === FOOTER LOGO / CAGRI MERKEZI SON HIZA === */
@media(min-width:761px){
  .ev-site-footer .evf-call{
    transform:translateY(-7px) !important;
  }
}

@media(max-width:760px){
  .ev-site-footer .evf-call{
    transform:none !important;
  }
}
