@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --sbs-primary: #ff8a2c;
  --sbs-secondary: #e54aa8;
  --sbs-tertiary: #8f5ea8;
  --sbs-accent: #f8c51b;
  --sbs-dot-neutral: #bfc3cc;
  --sbs-dot-mauve: #a178a8;
  --sbs-dark: #2f3238;
  --sbs-dark-2: #4a4f58;
  --sbs-text: #2f3238;
  --sbs-muted: #646d7b;
  --sbs-bg: #faf8fc;
  --sbs-card: #ffffff;
  --sbs-border: #e7e2ec;
  --sbs-gradient-main: linear-gradient(95deg, var(--sbs-tertiary) 0%, var(--sbs-secondary) 35%, var(--sbs-primary) 72%, var(--sbs-accent) 100%);
  --sbs-gradient-duo: linear-gradient(100deg, var(--sbs-secondary), var(--sbs-primary));
  --sbs-gradient-dark: linear-gradient(120deg, #2b2f36 0%, #3a3e47 72%, #4b505b 100%);
}

html {
  scroll-behavior: smooth;
}

body.sbs-site {
  margin: 0;
  background: var(--sbs-bg);
  color: var(--sbs-text);
  font-family: "Manrope", "Roboto", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.sbs-site h1,
body.sbs-site h2,
body.sbs-site h3,
body.sbs-site h4,
body.sbs-site h5,
body.sbs-site h6 {
  font-family: "Space Grotesk", "Montserrat", sans-serif;
  color: var(--sbs-dark);
  letter-spacing: -0.02em;
}

body.sbs-site a {
  color: inherit;
  text-decoration: none;
}

body.sbs-site img {
  max-width: 100%;
}

body.sbs-site ::selection {
  background: rgba(229, 74, 168, 0.2);
  color: var(--sbs-dark);
}

.sbs-skip-link {
  position: fixed;
  top: -48px;
  left: 12px;
  z-index: 9999;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--sbs-gradient-duo);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(47, 50, 56, 0.24);
  transition: top 0.2s ease;
}

.sbs-skip-link:focus {
  top: 12px;
}

html[lang="ar"] body.sbs-site {
  font-family: "Noto Sans Arabic", "Manrope", sans-serif;
}

html[lang="ar"] body.sbs-site h1,
html[lang="ar"] body.sbs-site h2,
html[lang="ar"] body.sbs-site h3,
html[lang="ar"] body.sbs-site h4,
html[lang="ar"] body.sbs-site h5,
html[lang="ar"] body.sbs-site h6 {
  font-family: "Noto Sans Arabic", "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.sbs-topbar {
  background: var(--sbs-gradient-dark);
  color: #e7e8ec;
  font-size: 14px;
  padding: 10px 0;
}

.sbs-topbar .topbar-left {
  display: flex;
  align-items: center;
}

.sbs-topbar .topbar-link {
  color: #ececf1;
}

.sbs-topbar .topbar-link:hover,
.sbs-topbar .topbar-link:focus {
  color: #ffffff;
}

.sbs-topbar .topbar-right a {
  margin-left: 18px;
  color: #ececf1;
}

.sbs-topbar .topbar-right a:hover {
  color: #ffffff;
}

.sbs-main-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(47, 50, 56, 0.09);
}

.sbs-main-nav .navbar-brand img {
  height: 52px;
  width: auto;
}

.sbs-main-nav .nav-link {
  font-weight: 700;
  color: var(--sbs-dark);
  padding: 14px 16px;
  position: relative;
}

.sbs-main-nav .nav-link:hover,
.sbs-main-nav .nav-link.active {
  color: var(--sbs-secondary);
}

.sbs-main-nav .nav-link.active::after,
.sbs-main-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 8px;
  width: calc(100% - 32px);
  height: 3px;
  border-radius: 10px;
  background: var(--sbs-gradient-duo);
}

.sbs-lang-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sbs-lang-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--sbs-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sbs-lang-switcher {
  height: 38px;
  min-width: 82px;
  border-radius: 999px;
  border: 1px solid #ddd7e8;
  background: #ffffff;
  color: var(--sbs-dark);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0 32px 0 14px;
  cursor: pointer;
  outline: none;
}

.sbs-lang-switcher:focus {
  border-color: var(--sbs-secondary);
  box-shadow: 0 0 0 0.18rem rgba(229, 74, 168, 0.2);
}

.sbs-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sbs-btn:hover {
  transform: translateY(-2px);
}

.sbs-btn-primary {
  background: var(--sbs-gradient-main);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(229, 74, 168, 0.35);
}

.sbs-btn-outline {
  border: 2px solid rgba(47, 50, 56, 0.24);
  color: var(--sbs-dark);
}

.sbs-btn-outline:hover {
  border-color: var(--sbs-secondary);
  color: var(--sbs-secondary);
}

body.sbs-site a:focus-visible,
body.sbs-site button:focus-visible,
body.sbs-site input:focus-visible,
body.sbs-site textarea:focus-visible,
body.sbs-site select:focus-visible {
  outline: 3px solid rgba(229, 74, 168, 0.35);
  outline-offset: 2px;
}

.section-space {
  padding: 86px 0;
}

.section-space-sm {
  padding: 56px 0;
}

.section-label {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
  background: rgba(229, 74, 168, 0.12);
  color: var(--sbs-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--sbs-muted);
  max-width: 740px;
}

.hero {
  position: relative;
  padding: 110px 0 84px;
  background:
    radial-gradient(circle at 9% 12%, rgba(143, 94, 168, 0.24), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(255, 138, 44, 0.2), transparent 34%),
    radial-gradient(circle at 76% 78%, rgba(248, 197, 27, 0.16), transparent 36%),
    linear-gradient(160deg, #fffaf3 0%, #f8f4fb 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -160px;
  top: -210px;
  background: linear-gradient(135deg, rgba(143, 94, 168, 0.2), rgba(229, 74, 168, 0.24), rgba(255, 138, 44, 0.18));
  filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  margin-bottom: 14px;
}

.hero p {
  color: var(--sbs-muted);
  font-size: 1.08rem;
  max-width: 720px;
}

.hero-metrics {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(47, 50, 56, 0.1);
}

.metric-card h3 {
  margin: 0;
  font-size: 1.6rem;
}

.metric-card p {
  margin: 0;
  font-size: 0.95rem;
}

.feature-strip {
  padding: 18px 0;
  background: #ffffff;
  border-top: 1px solid var(--sbs-border);
  border-bottom: 1px solid var(--sbs-border);
}

.feature-strip p {
  margin: 0;
  color: var(--sbs-dark-2);
  font-weight: 700;
}

.feature-strip i {
  color: var(--sbs-tertiary);
  margin-right: 10px;
}

.sbs-card {
  background: var(--sbs-card);
  border-radius: 18px;
  border: 1px solid var(--sbs-border);
  padding: 28px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(47, 50, 56, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sbs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sbs-gradient-main);
  opacity: 0.75;
}

.sbs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(47, 50, 56, 0.14);
}

.sbs-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 14px;
  font-size: 1.2rem;
  background: var(--sbs-gradient-duo);
}

.sbs-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.sbs-card p,
.sbs-card li {
  color: #555f6f;
}

.sbs-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.process-line {
  position: relative;
  margin-top: 20px;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--sbs-border);
  border-radius: 14px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 24px rgba(47, 50, 56, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(47, 50, 56, 0.11);
}

.process-step .step-index {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  background: var(--sbs-gradient-duo);
}

.page-hero {
  padding: 84px 0 62px;
  background:
    radial-gradient(circle at 20% 10%, rgba(229, 74, 168, 0.2), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(255, 138, 44, 0.16), transparent 35%),
    linear-gradient(160deg, #fff9f2 0%, #f8f4fb 100%);
  border-bottom: 1px solid #ece4ef;
}

.page-hero h1 {
  margin-bottom: 8px;
}

.breadcrumb-sbs {
  color: #6d7380;
  font-weight: 700;
  font-size: 0.92rem;
}

.breadcrumb-sbs a {
  color: #535b69;
}

.badge-mini {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143, 94, 168, 0.12);
  color: var(--sbs-tertiary);
  font-size: 12px;
  font-weight: 700;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  color: #555f6f;
}

.list-check li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--sbs-primary);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.offer-card {
  border: 1px solid var(--sbs-border);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(47, 50, 56, 0.11);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(47, 50, 56, 0.14);
}

.offer-card .head {
  padding: 22px;
  background: var(--sbs-gradient-dark);
  color: #f8fafc;
}

.offer-card.highlight .head {
  background: var(--sbs-gradient-main);
}

.offer-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.offer-card .body > .sbs-btn {
  margin-top: auto !important;
}

.offer-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 8px 0 2px;
}

.industry-grid .sbs-card {
  min-height: 240px;
}

.sbs-partners-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  /* border: 1px solid var(--sbs-border); */
  padding: 16px 0;
  /* background:
    radial-gradient(circle at 16% 10%, rgba(143, 94, 168, 0.11), transparent 32%),
    radial-gradient(circle at 84% 90%, rgba(255, 138, 44, 0.12), transparent 36%),
    #ffffff; */
}

.sbs-partners-marquee::before,
.sbs-partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.sbs-partners-marquee::before {
  left: 0;
  /* background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); */
}

.sbs-partners-marquee::after {
  right: 0;
  /* background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); */
}

.sbs-partners-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: sbsPartnerSlide 30s linear infinite;
}

.sbs-partners-marquee:hover .sbs-partners-track,
.sbs-partners-marquee:focus-within .sbs-partners-track {
  animation-play-state: paused;
}

.sbs-partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 244px;
  min-height: 94px;
  border-radius: 16px;
  border: 1px solid #ece5f2;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 50, 56, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sbs-partner-item:hover,
.sbs-partner-item:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(229, 74, 168, 0.45);
  box-shadow: 0 16px 28px rgba(47, 50, 56, 0.13);
}

.sbs-partner-item img {
  width: auto;
  height: auto;
  max-height: 54px;
  max-width: 196px;
}

.sbs-partner-item.is-clone {
  pointer-events: none;
}

.cta-band {
  background:
    radial-gradient(circle at 86% 20%, rgba(248, 197, 27, 0.22), transparent 34%),
    linear-gradient(120deg, #2b2f36 0%, #3a3e47 66%, #4b505b 100%);
  color: #ececf1;
  border-radius: 24px;
  padding: 42px;
}

.cta-band h2 {
  color: #ffffff;
}

.sbs-footer {
  margin-top: 72px;
  padding: 70px 0 20px;
  background:
    radial-gradient(circle at 8% 6%, rgba(143, 94, 168, 0.2), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(255, 138, 44, 0.16), transparent 28%),
    linear-gradient(130deg, #22262c 0%, #32363f 60%, #40454f 100%);
  color: #ebedf2;
}

.sbs-footer .footer-logo {
  width: 240px;
  margin-bottom: 16px;
}

.sbs-footer h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.sbs-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sbs-footer li {
  margin-bottom: 10px;
}

.sbs-footer a:hover {
  color: #ffffff;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: var(--sbs-gradient-main);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #cfd2da;
  font-size: 14px;
}

.contact-box {
  background: #ffffff;
  border: 1px solid var(--sbs-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(47, 50, 56, 0.12);
  height: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: 18px;
}

.contact-link {
  color: var(--sbs-dark);
  text-decoration: underline;
  text-decoration-color: rgba(47, 50, 56, 0.3);
  text-underline-offset: 3px;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--sbs-secondary);
  text-decoration-color: var(--sbs-secondary);
}

.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #ffffff;
  background: var(--sbs-gradient-duo);
}

.sbs-form .form-group label {
  font-weight: 700;
  color: var(--sbs-dark);
}

.sbs-form .form-control {
  border-radius: 12px;
  border: 1px solid #ddd7e8;
  min-height: 50px;
  color: var(--sbs-text);
  background: #fdfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sbs-form .form-control:focus {
  border-color: var(--sbs-secondary);
  box-shadow: 0 0 0 0.18rem rgba(229, 74, 168, 0.2);
  background: #ffffff;
}

#form-status.alert {
  border-radius: 12px;
  margin-bottom: 18px !important;
}

.field-error {
  min-height: 20px;
  margin-top: 6px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #c2364f;
  font-weight: 700;
}

.sbs-form .form-control.is-invalid {
  border-color: #d6455d;
  box-shadow: 0 0 0 0.16rem rgba(214, 69, 93, 0.2);
}

.sbs-form .form-control.is-valid {
  border-color: #1f9d67;
}

.sbs-form .form-control.is-valid:focus {
  box-shadow: 0 0 0 0.16rem rgba(31, 157, 103, 0.2);
}

#form-contact {
  scroll-margin-top: 108px;
}

.sbs-form-optional-toggle {
  margin: -4px 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sbs-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.sbs-form-optional-toggle:hover,
.sbs-form-optional-toggle:focus {
  color: var(--sbs-tertiary);
}

.form-trust-note {
  margin: 2px 0 16px;
  color: var(--sbs-muted);
  font-size: 0.9rem;
}

.sbs-form .sbs-btn[type="submit"] {
  min-width: 188px;
}

.sbs-form .sbs-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
  padding-right: 48px;
}

.sbs-form .sbs-btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  animation: sbsSpin 0.75s linear infinite;
}

.sbs-form textarea.form-control {
  min-height: 140px;
}

.map-box {
  min-height: 320px;
  border-radius: 16px;
  border: 1px solid var(--sbs-border);
  background:
    linear-gradient(130deg, rgba(229, 74, 168, 0.09), rgba(255, 138, 44, 0.11)),
    url("../img/banner/map2.webp") center/cover no-repeat;
}

.sbs-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sbs-border);
  box-shadow: 0 18px 34px rgba(47, 50, 56, 0.16);
  background: #ffffff;
}

.sbs-photo {
  width: 100%;
  height: auto;
  display: block;
}

.sbs-photo-caption {
  margin: 0;
  padding: 10px 14px;
  background: #ffffff;
  color: #666f7d;
  font-size: 0.85rem;
  border-top: 1px solid #e5e7eb;
}

.sbs-mobile-cta {
  display: none;
}

.mobile-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}

.mobile-cta-call {
  color: var(--sbs-dark);
  background: #ffffff;
}

.mobile-cta-request {
  color: #ffffff;
  background: var(--sbs-gradient-main);
}

.mobile-cta-link:hover {
  color: inherit;
}

/* Legacy iTsource palette alignment (for reused template blocks) */
body .site-tag,
body .section-title .site-tag {
  color: var(--sbs-secondary);
}

body .quote-btn-2 a,
body .it-btn a,
body .it-btn-2 a,
body .more-btn a {
  background: var(--sbs-gradient-duo) !important;
  color: #ffffff !important;
}

body .it-header-area .main-navigation li a:hover,
body .it-header-area .main-navigation li a:focus,
body .it-header-area .main-navigation .dropdown:hover > a,
body .main-navigation .dropdown-menu li a:hover {
  color: var(--sbs-secondary) !important;
}

body .background_overlay {
  background-color: rgba(47, 50, 56, 0.55);
}

.reveal-up {
  animation: revealUp 0.8s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

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

html[dir="rtl"] .sbs-topbar .topbar-right a {
  margin-left: 0;
  margin-right: 18px;
}

html[dir="rtl"] .sbs-skip-link {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .sbs-main-nav .nav-link.active::after,
html[dir="rtl"] .sbs-main-nav .nav-link:hover::after {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .sbs-lang-control {
  margin-left: 0 !important;
  margin-right: 1rem;
}

html[dir="rtl"] .sbs-lang-switcher {
  padding: 0 14px 0 32px;
}

html[dir="rtl"] .list-check li {
  padding-left: 0;
  padding-right: 28px;
}

html[dir="rtl"] .list-check li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .contact-item i {
  margin-right: 0;
  margin-left: 12px;
}

html[dir="rtl"] .sbs-form .sbs-btn.is-loading {
  padding-right: 24px;
  padding-left: 48px;
}

html[dir="rtl"] .sbs-form .sbs-btn.is-loading::after {
  right: auto;
  left: 18px;
}

html[dir="rtl"] .mobile-cta-link i {
  transform: scaleX(-1);
}

html[dir="rtl"] .feature-strip i {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .social-links a {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .sbs-partners-track {
  animation-direction: reverse;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sbsSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sbsPartnerSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .sbs-topbar {
    display: none;
  }

  .sbs-main-nav .navbar-brand img {
    height: 44px;
  }

  .sbs-topbar .topbar-left {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .sbs-partner-item {
    flex-basis: 206px;
    min-height: 82px;
  }

  .sbs-partner-item img {
    max-width: 158px;
    max-height: 46px;
  }

  .cta-band {
    padding: 28px;
  }

  #form-contact {
    scroll-margin-top: 90px;
  }

  .map-box {
    min-height: 260px;
  }

  .sbs-page-contact {
    padding-bottom: 74px;
  }

  .sbs-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #ddd7e8;
    box-shadow: 0 -8px 24px rgba(47, 50, 56, 0.16);
    background: #ffffff;
  }

  .mobile-cta-link {
    min-height: 56px;
    padding: 0 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 70px 0;
  }

  .page-hero {
    padding: 72px 0 48px;
  }

  .sbs-partners-marquee::before,
  .sbs-partners-marquee::after {
    width: 38px;
  }

  .sbs-partners-track {
    gap: 12px;
    animation-duration: 24s;
  }

  .sbs-main-nav .nav-link.active::after,
  .sbs-main-nav .nav-link:hover::after {
    display: none;
  }

  .sbs-footer {
    margin-top: 56px;
    padding-top: 56px;
  }

  .map-box {
    min-height: 220px;
  }

  .sbs-form .sbs-btn[type="submit"] {
    width: 100%;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}
