/* Before/after reveal: same pattern as Swift Built (swiftbuiltweb.com .ba-slider).
   Vertical divider + handle slide left/right; before layer is width: var(--pos).
   Carousel arrows/dots switch the three photo pairs. */

.ba-slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #212121;
  user-select: none;
  touch-action: none;
  container-type: inline-size;
}
.ba-layer { position: absolute; inset: 0; }
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  width: var(--pos);
  overflow: hidden;
}
.ba-slider img {
  width: 100cqi;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 44px;
  transform: translateX(-50%);
  cursor: ew-resize;
  background: transparent;
  border: 0;
  padding: 0;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 32, 43, 0.25);
}
.ba-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f46e00;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(21, 32, 43, 0.28);
}
.ba-handle:focus { outline: none; }
.ba-handle:focus-visible::after {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f46e00;
}
.ba-chip {
  position: absolute;
  top: 0.7rem;
  z-index: 4;
  background: rgba(21, 32, 43, 0.78);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-chip-before { left: 0.7rem; }
.ba-chip-after { right: 0.7rem; }
@media (max-width: 640px) {
  .ba-chip { font-size: 0.65rem; padding: 0.2rem 0.45rem; }
}

/* One frame, three pairs. 16:9 crop (approved V3). */
.crm-ba-carousel {
  margin: 0;
  padding: 10px 0 8px;
}
.crm-ba-carousel .crm-ba-frame {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
.crm-ba-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #212121;
  touch-action: pan-y;
  aspect-ratio: 16 / 9;
}
.crm-ba-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .crm-ba-track { transition: none; }
}
.crm-ba-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.crm-ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #212121;
  color: #f3dcb0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.crm-ba-arrow svg { display: block; margin: 0 auto; }
.crm-ba-arrow:hover,
.crm-ba-arrow:focus { background: #f46e00; color: #fff; }
.crm-ba-arrow:focus-visible { outline: 3px solid #f46e00; outline-offset: 2px; }
.crm-ba-arrow:disabled { opacity: .35; cursor: default; background: #212121; color: #f3dcb0; }
.crm-ba-prev { left: 8px; }
.crm-ba-next { right: 8px; }

.crm-ba-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 16px 10px 4px;
  background: linear-gradient(180deg, transparent, rgba(17,17,17,.78));
  pointer-events: none;
}
.crm-ba-dot {
  pointer-events: auto;
  box-sizing: border-box;
  width: 36px;
  height: 28px;
  padding: 10px 13px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255,255,255,.55);
  background-clip: content-box;
  cursor: pointer;
}
.crm-ba-dot[aria-selected="true"] { background-color: #f46e00; }
.crm-ba-dot:focus-visible { outline: 2px solid #f46e00; outline-offset: 1px; }

/* Our Team */
.crm-team-page { padding: 8px 0 28px; }
.crm-team-page h1 { margin: 0 0 8px; text-align: center; }
.crm-team-lead {
  margin: 0 0 20px;
  text-align: center;
  font-size: 16px;
}
.crm-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .crm-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.crm-team-card {
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 12px;
  padding: 16px 16px 18px;
  box-shadow: 0 4px 16px rgba(21,32,43,.06);
  text-align: center;
}
.crm-team-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 0 14px;
}
.crm-team-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #212121;
}
.crm-team-role {
  margin: 0 0 8px;
  font-weight: 700;
  color: #333;
}
.crm-team-phone {
  margin: 0 0 14px;
  color: #333;
}
.crm-team-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.crm-team-actions .crm-btn { min-height: 44px; }
