/* BFK Core 3.0.5: contact composition and footer reading order.
   Scoped to BFK blocks; does not change unrelated Elementor widgets. */
body.bfk-canvas-page .bfk-contact,
body.bfk-shell-enabled .bfk-contact {
  padding-block:clamp(60px,6vw,92px) clamp(58px,5vw,76px) !important;
  overflow:clip !important;
}
.bfk-contact .bfk-contact__intro {
  direction:rtl;
  text-align:right;
  max-width:820px;
  margin:0 0 clamp(24px,3vw,40px) auto;
}
.bfk-contact .bfk-contact__intro h2 {
  margin:12px 0 10px !important;
  max-width:840px !important;
  color:#f6f9ff !important;
  font-size:clamp(30px,3.25vw,48px) !important;
  line-height:1.35 !important;
  text-align:right !important;
  letter-spacing:-.025em !important;
}
.bfk-contact .bfk-contact__intro p {
  max-width:720px !important;
  margin:0 !important;
  color:#b6c7db !important;
  font-size:clamp(13px,1.05vw,15px) !important;
  line-height:1.95 !important;
  text-align:right !important;
}
body.bfk-canvas-page .bfk-contact .bfk-contact__layout,
body.bfk-shell-enabled .bfk-contact .bfk-contact__layout {
  display:grid !important;
  direction:rtl !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.06fr) !important;
  align-items:start !important;
  gap:clamp(18px,2.8vw,38px) !important;
}
.bfk-contact .bfk-contact__copy {
  position:static !important;
  inset:auto !important;
  min-width:0;
  display:grid;
  gap:15px;
  align-content:start;
}
body.bfk-canvas-page .bfk-contact .bfk-media--contact,
body.bfk-shell-enabled .bfk-contact .bfk-media--contact {
  width:100% !important;
  height:auto !important;
  max-height:230px !important;
  min-height:0 !important;
  aspect-ratio:16 / 7 !important;
  margin:0 !important;
  border-radius:18px !important;
  overflow:hidden !important;
}
.bfk-contact .bfk-media--contact img {
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 44% !important;
}
.bfk-contact .bfk-contact__types {
  display:flex;
  flex-wrap:wrap;
  margin:0 !important;
  gap:7px !important;
  justify-content:flex-start !important;
}
.bfk-contact .bfk-contact__types span {
  font-size:10px !important;
  padding:7px 11px !important;
  line-height:1.4;
}
.bfk-contact .bfk-contact-info {
  margin:0 !important;
  padding:clamp(17px,2vw,25px) !important;
  border-radius:18px !important;
}
.bfk-contact .bfk-contact-info h3 {
  margin:0 0 8px !important;
  font-size:18px !important;
}
.bfk-contact .bfk-contact-info__item {
  padding:10px 0 !important;
  gap:10px !important;
}
.bfk-contact .bfk-contact-info__item :is(a,span:not(.bfk-contact-info__icon)) {
  line-height:1.65 !important;
}
.bfk-contact .bfk-form {
  min-width:0;
  width:100%;
  display:grid;
  align-content:start;
  gap:13px !important;
  padding:clamp(19px,2.5vw,31px) !important;
  border-radius:22px !important;
  background:linear-gradient(145deg,#0b2037,#0a1b30) !important;
}
.bfk-contact .bfk-form__field label {
  display:block;
  color:#c5d6ec !important;
  font-size:12px !important;
  font-weight:600 !important;
}
.bfk-contact .bfk-form :is(input:not([type="hidden"]),select,textarea) {
  background:#152c44 !important;
  border:1px solid #38516b !important;
  border-radius:11px !important;
  color:#f7fbff !important;
  font-size:14px !important;
  box-shadow:none !important;
}
.bfk-contact .bfk-form :is(input:not([type="hidden"]),select,textarea):focus {
  border-color:#299cff !important;
  outline:2px solid rgba(10,132,255,.28) !important;
  outline-offset:1px;
}
.bfk-contact .bfk-form textarea {
  min-height:120px !important;
  max-height:320px;
  resize:vertical;
}
.bfk-contact .bfk-form__footer {
  display:flex !important;
  direction:rtl !important;
  justify-content:flex-start !important;
  align-items:center !important;
  margin-top:3px !important;
  min-height:52px;
}
body .bfk-contact .bfk-form__footer .bfk-btn.bfk-btn--primary,
body .bfk-contact .bfk-form__footer button[type="submit"] {
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  min-width:142px !important;
  min-height:50px !important;
  padding:12px 22px !important;
  border:1px solid #168eff !important;
  border-radius:13px !important;
  background:#0a84ff !important;
  background-image:none !important;
  color:#ffffff !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  box-shadow:0 10px 23px rgba(0,132,255,.21) !important;
  font-size:14px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  cursor:pointer !important;
}
.bfk-contact .bfk-form__footer button[type="submit"] :is(span,b) {
  color:#fff !important;
  opacity:1 !important;
  font-size:inherit !important;
  visibility:visible !important;
}
body .bfk-contact .bfk-form__footer button[type="submit"]:is(:hover,:focus-visible) {
  background:#006cdd !important;
  border-color:#53b4ff !important;
  color:#fff !important;
  box-shadow:0 12px 30px rgba(0,132,255,.3) !important;
}
body .bfk-contact .bfk-form__footer button[type="submit"]:disabled {
  opacity:.62 !important;
  cursor:wait !important;
}
/* HTML places the statement before the logo. Force its actual reading order
   without the old margin-inline:auto rule that pushed it to the left. */
body .bfk-footer .bfk-footer__hero,
body.bfk-canvas-page .bfk-footer .bfk-footer__hero {
  display:flex !important;
  flex-direction:row !important;
  direction:rtl !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:clamp(20px,5vw,80px) !important;
}
body .bfk-footer .bfk-footer__hero h2,
body.bfk-canvas-page .bfk-footer .bfk-footer__hero h2 {
  order:0 !important;
  margin:0 !important;
  margin-inline:0 !important;
  flex:0 1 auto !important;
  max-width:min(710px,75%) !important;
  direction:rtl !important;
  text-align:right !important;
  font-size:clamp(27px,3.5vw,50px) !important;
  line-height:1.45 !important;
}
body .bfk-footer .bfk-footer__hero .bfk-logo,
body.bfk-canvas-page .bfk-footer .bfk-footer__hero .bfk-logo {
  order:1 !important;
  margin:0 !important;
  margin-inline:0 !important;
  flex:0 0 auto !important;
  justify-self:end !important;
}
.bfk-footer .bfk-footer__grid,
.bfk-footer .bfk-footer__bottom {direction:rtl !important;text-align:right !important;}
.bfk-footer .bfk-footer__bottom>span:last-child {direction:ltr !important;text-align:left !important;unicode-bidi:isolate;}
@media(max-width:900px) {
  body.bfk-canvas-page .bfk-contact .bfk-contact__layout,
  body.bfk-shell-enabled .bfk-contact .bfk-contact__layout {grid-template-columns:1fr !important;gap:24px !important;}
  .bfk-contact .bfk-form{order:0;}
  .bfk-contact .bfk-contact__copy{order:1;}
}
@media(max-width:640px) {
  body.bfk-canvas-page .bfk-contact,
  body.bfk-shell-enabled .bfk-contact {padding-block:52px 56px !important;}
  .bfk-contact .bfk-contact__intro{margin-bottom:20px;}
  body .bfk-contact .bfk-media--contact {aspect-ratio:16 / 8 !important;max-height:190px !important;}
  .bfk-contact .bfk-form__row{grid-template-columns:1fr !important;}
  .bfk-contact .bfk-form__footer .bfk-btn{width:100% !important;}
  body .bfk-footer .bfk-footer__hero,
  body.bfk-canvas-page .bfk-footer .bfk-footer__hero {flex-direction:column !important;align-items:flex-start !important;gap:20px !important;}
  body .bfk-footer .bfk-footer__hero h2,
  body.bfk-canvas-page .bfk-footer .bfk-footer__hero h2 {order:0 !important;max-width:100% !important;}
  body .bfk-footer .bfk-footer__hero .bfk-logo,
  body.bfk-canvas-page .bfk-footer .bfk-footer__hero .bfk-logo {order:1 !important;}
}
