/* Global presentation fixes layered on top of the exported global design. */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Calm, purposeful motion for section entrances and interactive cards. */
[data-sb-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sb-delay, 0ms);
  will-change: opacity, transform;
}

[data-sb-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-sb-card] {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

[data-sb-card]:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0, 28, 93, 0.09);
}

main img {
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

main [data-sb-card]:hover img {
  transform: scale(1.025);
}

.sb-solutions-wrap::after {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 30;
  width: calc(100% + 32px);
  height: 18px;
  content: "";
}

.sb-solutions-dropdown {
  z-index: 40;
}

.sb-map-card {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(145deg, #f8fbff 0%, #edf4fd 54%, #e6eef9 100%) !important;
  border-color: rgba(0, 28, 93, 0.1) !important;
  box-shadow: 0 24px 70px rgba(0, 28, 93, 0.1);
}

.sb-map-art img {
  opacity: 0.96;
  filter: drop-shadow(0 24px 26px rgba(0, 28, 93, 0.18));
}

.sb-map-point {
  z-index: 2;
}

.sb-map-dot {
  position: relative;
  width: 10px !important;
  height: 10px !important;
  box-shadow: 0 0 0 5px rgba(255, 60, 2, 0.15) !important;
}

.sb-map-dot::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 60, 2, 0.5);
  border-radius: 9999px;
  content: "";
  animation: sb-map-pulse 2.8s ease-out infinite;
}

.sb-map-label {
  bottom: -27px !important;
  min-width: max-content;
  padding: 4px 9px !important;
  color: #001c5d;
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(0, 28, 93, 0.1) !important;
  box-shadow: 0 6px 18px rgba(0, 28, 93, 0.12);
  font-size: 10px !important;
  line-height: 1.2;
}

@keyframes sb-map-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.65);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-sb-reveal],
  [data-sb-card],
  main img,
  .sb-map-dot::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .text-left {
  text-align: right !important;
}

html[dir="rtl"] .ml-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

footer {
  margin-top: 0 !important;
}

footer > div {
  padding-top: 3.25rem !important;
  padding-bottom: 2.75rem !important;
}

footer .text-white\/40 {
  color: rgba(255, 255, 255, 0.64) !important;
}

footer .text-white\/60 {
  color: rgba(255, 255, 255, 0.78) !important;
}

footer .text-white\/70 {
  color: rgba(255, 255, 255, 0.86) !important;
}

footer img {
  width: auto;
  max-width: 190px;
}

html[dir="rtl"] footer a[href^="tel:"] {
  direction: rtl;
  justify-content: flex-start;
}

.sb-phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.text-\[40px\].font-bold.tracking-tighter {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.sb-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sb-footer-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  footer > div {
    padding-top: 2.5rem !important;
    padding-bottom: 2.25rem !important;
  }

  footer img {
    max-width: 165px;
  }
}
