/* BMA Services Slider — all selectors are scoped to .bma-services. */
.bma-services {
  --bma-orange: #f5773b;
  --bma-red: #ef4136;
  --bma-card: #f3f2f2;
  --bma-ink: #292b2f;
  --bma-muted: #85858e;
  --bma-line: rgba(41,43,47,.075);
  --bma-gap: clamp(16px, 1.7vw, 26px);
  width: 100%; max-width: 100%; color: var(--bma-ink);
  font-family: inherit; box-sizing: border-box;
}
.bma-services *, .bma-services *::before, .bma-services *::after { box-sizing: border-box; }
.bma-services__header {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(220px, .8fr) auto;
  align-items: end; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(28px, 3vw, 42px);
}
.bma-services__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 9px 15px;
  border-radius: 9px; background: #f5f4f3; color: var(--bma-orange); font-size: 13px;
  font-weight: 600; line-height: 1.2; box-shadow: 0 3px 5px rgba(0,0,0,.09), inset 0 1px 0 rgba(255,255,255,.85);
}
.bma-services__eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--bma-orange); }
.bma-services__heading { max-width: 650px; margin: 0 !important; color: var(--bma-ink) !important; font-family: inherit !important; font-size: clamp(34px, 4.1vw, 58px) !important; font-weight: 600 !important; letter-spacing: -.055em !important; line-height: 1.06 !important; }
.bma-services__lead { max-width: 390px; margin: 0 0 5px !important; color: var(--bma-muted); font-family: inherit; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.7; }
.bma-services__controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; white-space: nowrap; }
.bma-services__counter { display: inline-flex; align-items: baseline; gap: 5px; margin-right: 8px; color: #a2a2aa; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.bma-services__counter strong { color: var(--bma-ink); font-size: 16px; }
.bma-services__arrow { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #f5f4f3; color: #85858e; font-family: inherit; font-size: 25px; line-height: 1; box-shadow: 0 3px 5px rgba(0,0,0,.15), inset 0 1px 1px rgba(255,255,255,.95); cursor: pointer; transition: transform .2s ease, color .2s ease, background .2s ease, opacity .2s ease; }
.bma-services__arrow:hover { transform: translateY(-2px); color: var(--bma-red); background: #fff; }
.bma-services__arrow:focus-visible, .bma-services__viewport:focus-visible { outline: 2px solid var(--bma-orange); outline-offset: 4px; }
.bma-services__arrow:disabled { opacity: .35; cursor: default; transform: none; }
.bma-services__viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 10px 5px 20px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.bma-services__viewport::-webkit-scrollbar { display: none; }
.bma-services__track { display: flex; align-items: stretch; gap: var(--bma-gap); }
/* Three-card layout on wide screens, adapting to the available container width. */
.bma-services__slide { flex: 0 0 calc((100% - (var(--bma-gap) * 2)) / 3); min-width: 0; display: flex; scroll-snap-align: start; }
.bma-services__card {
  display: flex; flex-direction: column; width: 100%; min-height: 410px; padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid rgba(255,255,255,.82); border-radius: 38px; background: var(--bma-card);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.045), inset 0 4px 0 rgba(255,255,255,.68), 0 8px 18px rgba(0,0,0,.06), 0 3px 4px rgba(0,0,0,.075);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bma-services__card:hover { transform: translateY(-3px); box-shadow: inset 0 -7px 0 rgba(0,0,0,.035), inset 0 4px 0 rgba(255,255,255,.75), 0 13px 25px rgba(0,0,0,.085); }
.bma-services__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 70px; width: 70px; height: 70px; border-radius: 18px; background: linear-gradient(180deg, var(--bma-orange) 0%, var(--bma-red) 100%); color: #fff; font-size: 29px; font-weight: 500; box-shadow: 0 12px 24px rgba(239,65,54,.22), inset 0 1px 0 rgba(255,255,255,.2); }
.bma-services__icon-image { display: block; width: 38px; height: 38px; object-fit: contain; }
.bma-services__content { margin-top: auto; padding-top: 32px; }
.bma-services__title { margin: 0 0 15px !important; padding-bottom: 15px; border-bottom: 1px solid var(--bma-line); color: #17181b !important; font-family: inherit !important; font-size: clamp(21px, 1.8vw, 27px) !important; line-height: 1.2 !important; font-weight: 600 !important; letter-spacing: -.035em !important; }
.bma-services__title a { color: inherit !important; text-decoration: none !important; }
.bma-services__title a:hover { color: var(--bma-red) !important; }
.bma-services__description, .bma-services__description p { color: var(--bma-muted); font-family: inherit; font-size: 14px; line-height: 1.7; }
.bma-services__description p { margin: 0 0 8px; }
.bma-services__description > :last-child { margin-bottom: 0; }
.bma-services__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 26px; }
.bma-services__tag { display: inline-flex; align-items: center; min-height: 34px; max-width: 72%; padding: 7px 12px; border: 1px solid rgba(41,43,47,.12); border-radius: 30px; color: #34363a; font-size: 10px; font-weight: 700; letter-spacing: .045em; }
.bma-services__number { display: inline-flex; align-items: baseline; white-space: nowrap; font-size: clamp(34px, 3vw, 48px); line-height: .9; letter-spacing: -.065em; }
.bma-services__number strong { color: #a3a3ab; font-weight: 500; }
.bma-services__number span { color: #dedee1; font-weight: 500; }
.bma-services__progress { height: 3px; margin: 3px 5px 0; overflow: hidden; border-radius: 4px; background: rgba(41,43,47,.08); }
.bma-services__progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--bma-orange),var(--bma-red)); transition: width .25s ease; }
.bma-services-empty { padding: 18px 22px; border: 1px dashed #ddd; border-radius: 12px; color: #555; }
@media (max-width: 1100px) {
  .bma-services__header { grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr); }
  .bma-services__controls { grid-column: 1 / -1; justify-content: flex-start; }
  .bma-services__slide { flex-basis: calc((100% - var(--bma-gap)) / 2); }
  .bma-services__card { min-height: 390px; }
}
@media (max-width: 767px) {
  .bma-services__header { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-bottom: 20px; }
  .bma-services__eyebrow { margin-bottom: 15px; }
  .bma-services__heading { font-size: clamp(33px, 9vw, 45px) !important; }
  .bma-services__lead { max-width: 520px; font-size: 14px; }
  .bma-services__controls { grid-column: auto; justify-content: flex-start; margin-top: 4px; }
  .bma-services__arrow { width: 46px; height: 46px; }
  .bma-services__slide { flex-basis: min(88%, 390px); }
  .bma-services__card { min-height: 375px; border-radius: 30px; padding: 25px; }
  .bma-services__icon { flex-basis: 64px; width: 64px; height: 64px; border-radius: 16px; }
  .bma-services__content { padding-top: 27px; }
  .bma-services__title { font-size: 24px !important; }
  .bma-services__number { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bma-services__viewport { scroll-behavior: auto; }
  .bma-services__card, .bma-services__arrow, .bma-services__progress-fill { transition: none; }
}
