/* Footer alignment, luxury customer marks, and shared responsive guards. */

html { overflow-x: clip; }
.main img,
.rsb-section img {
  max-width: 100%;
}

/* Contact rows: icon box and text share one center line. */
.rsb-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rsb-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #b8cce0;
}
.rsb-footer-contact li i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}
.rsb-footer-contact li > span,
.rsb-footer-contact li > a {
  display: block;
  min-height: 28px;
  padding-top: 4px;
  line-height: 1.55;
}
.rsb-footer-contact li > a.rsb-eimg {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  min-height: 28px;
}
.rsb-footer-contact .ltr-text {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

/* Link dots sit on the same line as the label. */
.rsb-footer-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.rsb-footer-list li a::before {
  flex: 0 0 5px;
  margin: 0;
}

/* One column so service names stay inside the column and do not run into the next. */
.rsb-footer-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rsb-footer-services .rsb-footer-list {
  flex: none;
  min-width: 0;
  width: 100%;
}
.rsb-footer-col { min-width: 0; }
.rsb-footer-list li a {
  max-width: 100%;
  white-space: normal;
}

/* Bottom bar: logos, rights, designer each keep their own space. */
.rsb-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  padding: 18px 0;
}
.rsb-footer-logos { flex: 0 1 auto; }
.rsb-footer-copy {
  flex: 1 1 16rem;
  margin: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.8;
}
.rsb-footer-design {
  flex: 0 1 auto;
  margin: 0;
  justify-self: auto;
  white-space: normal;
  text-align: center;
}

/* Customer marks: larger, sharper, even tiles. */
.rsb-customers-final .rsb-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.rsb-customer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.rsb-customer-grid a {
  height: auto;
  aspect-ratio: 5 / 3.4;
  min-height: 108px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff, #f3f6fa 72%);
  border: 1px solid rgba(16, 42, 74, .08);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 42, 74, .06), inset 0 1px 0 #fff;
  overflow: hidden;
}
.rsb-customer-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, .35);
  box-shadow: 0 18px 36px rgba(16, 42, 74, .12);
}
.rsb-customer-grid img {
  width: 82%;
  max-width: 82%;
  max-height: 72%;
  height: auto;
  object-fit: contain;
  filter: none;
}
[data-theme="dark"] .rsb-customer-grid a {
  background: linear-gradient(180deg, #1c2433, #141b27);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
[data-theme="dark"] .rsb-customer-grid img,
[data-theme="dark"] .rsb-customer-grid a:hover img {
  filter: none;
}

@media (max-width: 1100px) {
  .rsb-customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rsb-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .rsb-footer-col { padding-right: 0; }
  .rsb-footer-bottom-inner { flex-direction: column; }
  .rsb-footer-logos { justify-content: center; }
}
@media (max-width: 640px) {
  .rsb-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rsb-customer-grid a { min-height: 92px; padding: 12px 10px; border-radius: 16px; }
  .rsb-section-head h2 { font-size: 1.55rem; }
  .rsb-redesign, .container { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rsb-customer-grid a { transition: none; }
}
