/* v2.6.5 — Acil arama popup mobil iyileştirme */
.front-call-popup[hidden] { display: none !important; }
.front-call-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.front-call-popup.is-open {
  opacity: 1;
  visibility: visible;
}
.front-call-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 43, .56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.front-call-popup__dialog {
  position: relative;
  width: min(100%, 500px);
  padding: 34px 32px 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233,196,106,.14), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  box-shadow: 0 24px 70px rgba(9, 29, 36, .22);
  text-align: center;
  transform: translateY(18px) scale(.98);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.front-call-popup.is-open .front-call-popup__dialog {
  transform: translateY(0) scale(1);
}
.front-call-popup__dialog::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--bfy-secondary), var(--bfy-accent), var(--bfy-coral));
}
.front-call-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(42,157,143,.24);
  border-radius: 50%;
  background: rgba(248,245,238,.92);
  color: var(--bfy-primary);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.front-call-popup__close:hover {
  background: #fff;
  border-color: rgba(42,157,143,.42);
  transform: rotate(4deg);
}
.front-call-popup__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--bfy-secondary), #37b5a7);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 26px rgba(42,157,143,.22);
}
.front-call-popup__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--bfy-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.front-call-popup__dialog h2 {
  margin: 0 0 12px;
  color: var(--bfy-primary);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
}
.front-call-popup__dialog p {
  max-width: 410px;
  margin: 0 auto 20px;
  color: rgba(38,70,83,.78);
  font-size: 16px;
  line-height: 1.65;
}
.front-call-popup__phone {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'label icon' 'phone icon';
  align-items: center;
  gap: 2px 16px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bfy-coral), #f08a65);
  color: #fff !important;
  text-align: left;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(231,111,81,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.front-call-popup__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(231,111,81,.28);
}
.front-call-popup__phone-label {
  grid-area: label;
  font-size: 14px;
  font-weight: 700;
  opacity: .94;
}
.front-call-popup__phone strong {
  grid-area: phone;
  color: #fff;
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 800;
  line-height: 1.12;
}
.front-call-popup__phone i {
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 18px;
}
.front-call-popup__later {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: rgba(38,70,83,.62);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
body.front-call-popup-open {
  overflow: hidden;
}
@media (max-width: 575px) {
  .front-call-popup {
    align-items: end;
    padding: 14px 8px calc(78px + env(safe-area-inset-bottom));
  }
  .front-call-popup__dialog {
    width: 100%;
    margin-bottom: 10px;
    padding: 28px 18px 16px;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(9,29,36,.24);
  }
  .front-call-popup__dialog::before {
    height: 3px;
  }
  .front-call-popup__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .front-call-popup__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 18px;
    font-size: 26px;
  }
  .front-call-popup__eyebrow {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .front-call-popup__dialog h2 {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 10px;
  }
  .front-call-popup__dialog p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .front-call-popup__phone {
    padding: 14px 14px;
    border-radius: 15px;
    gap: 2px 12px;
  }
  .front-call-popup__phone-label {
    font-size: 13px;
  }
  .front-call-popup__phone strong {
    font-size: 16px;
  }
  .front-call-popup__phone i {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .front-call-popup__later {
    margin-top: 10px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .front-call-popup,
  .front-call-popup__dialog,
  .front-call-popup__phone,
  .front-call-popup__close { transition: none !important; }
}
