/* BERMOR independent services component / Preview V5.
   Source CSS is an independent rewrite. Reference: final visual behavior of V251.
   Self-contained: no legacy selectors or changes to approved site sections. */
#bmServices251 {
  --bm-muted:#D0D6D6;
  --bm-active:#4A7272;
  --bm-frame:#86B9B2;
  --bm-paper:rgba(208,214,214,.78);
  position:relative;
  isolation:isolate;
  z-index:2;
  box-sizing:border-box;
  display:block;
  width:100%;
  min-height:0;
  padding:0 0 44px;
  margin:0;
  visibility:hidden;
  color:var(--bm-muted);
  background:transparent;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
  direction:ltr;
}
#bmServices251.bm-is-positioned {visibility:visible}
#bmServices251, #bmServices251 * {box-sizing:border-box}
#bmServices251 .bm-services-inner {width:min(1120px,calc(100% - 40px));margin-inline:auto}
#bmServices251 .bm-services-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"graphic identity" "additional ads";
  column-gap:70px;
  row-gap:90px;
  align-items:center;
  width:min(910px,100%);
  margin-inline:auto;
  direction:ltr;
}
#bmServices251 .bm-service[data-kind="identity"]{grid-area:identity}
#bmServices251 .bm-service[data-kind="graphic"]{grid-area:graphic}
#bmServices251 .bm-service[data-kind="ads"]{grid-area:ads}
#bmServices251 .bm-service[data-kind="additional"]{grid-area:additional}
#bmServices251 .bm-service {
  width:100%;min-width:0;min-height:84px;
  display:flex;align-items:center;
  padding:0;margin:0;border:0;outline:0;
  background:transparent;
  font:inherit;color:var(--bm-muted);text-align:left;
  cursor: url('../../../assets/ui/cursors/cursor-hover.svg') 3 2, auto;
  transition:color .2s ease,opacity .2s ease;
}
#bmServices251 .bm-service--right {flex-direction:row-reverse;justify-content:flex-start;gap:18px;direction:ltr}
#bmServices251 .bm-service--left {flex-direction:row;justify-content:flex-start;gap:18px;direction:ltr}
#bmServices251 .bm-service-square {
  display:block;flex:0 0 58px;width:58px;height:58px;
  background:var(--bm-muted);border:2px solid var(--bm-frame);
  border-radius:11px;box-shadow:0 0 0 7px #fff;
  transition:background-color .2s ease;
}
#bmServices251 .bm-service-label {
  display:block;min-width:0;flex:0 1 280px;max-width:280px;
  white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;
  color:inherit;font:700 clamp(22px,1.95vw,33px)/1.13 Tahoma,"Segoe UI",Arial,sans-serif;
  letter-spacing:-.02em;
  transition:color .2s ease;
}
#bmServices251 .bm-service--right .bm-service-label{text-align:right}
#bmServices251 .bm-service--left .bm-service-label{text-align:left}
#bmServices251 .bm-service[data-kind="graphic"] .bm-service-label{flex:1 1 auto;max-width:none}
#bmServices251:lang(fr) .bm-service-label{text-transform:capitalize}
#bmServices251:lang(fr) .bm-service[data-kind="identity"] .bm-service-label{flex-basis:220px;max-width:220px}
#bmServices251 .bm-service:hover,
#bmServices251 .bm-service:focus-visible,
#bmServices251 .bm-service[aria-expanded="true"] {color:var(--bm-active)}
#bmServices251 .bm-service:hover .bm-service-square,
#bmServices251 .bm-service:focus-visible .bm-service-square,
#bmServices251 .bm-service[aria-expanded="true"] .bm-service-square {background:var(--bm-active)}
#bmServices251 .bm-service:focus-visible {outline:2px solid var(--bm-frame);outline-offset:6px;border-radius:6px}
/* V251 final behavior: inactive headings dim to 55%, but NEVER blur or disable clicks. */
#bmServices251.bm-panel-open .bm-service:not([aria-expanded="true"]) {opacity:.55;filter:none;pointer-events:auto}
#bmServices251 .bm-services-panel {
  width:min(960px,100%);
  margin:24px auto 0;
  direction:rtl;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
#bmServices251 .bm-services-panel[hidden],
#bmServices251 .bm-services-pricing[hidden],
#bmServices251 .bm-pricing-title[hidden] {display:none!important}
#bmServices251 .bm-services-panel.bm-visible {opacity:1;visibility:visible;pointer-events:auto;transform:none}
/* V251 green first submenu card, near-white text; 2-column selection pattern. */
#bmServices251 .bm-services-categories {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 12px;
  width:100%;
  padding:12px 14px;
  background:#4A7272;
  border-radius:16px;
  box-shadow:0 12px 26px rgba(13,48,53,.06);
}
#bmServices251 .bm-subcategory {
  display:block;min-width:0;width:100%;min-height:42px;
  padding:9px 12px;
  border:0;border-radius:11px;
  background:transparent;
  color:#FFFFFF;
  text-align:right;direction:rtl;
  font:600 clamp(13px,1.05vw,17px)/1.4 Tahoma,"Segoe UI",Arial,sans-serif;
  white-space:normal;overflow-wrap:normal;word-break:normal;
  cursor: url('../../../assets/ui/cursors/cursor-hover.svg') 3 2, auto;
  transition:background-color .18s ease,color .18s ease;
}
#bmServices251 .bm-subcategory:hover,
#bmServices251 .bm-subcategory:focus-visible,
#bmServices251 .bm-subcategory[aria-pressed="true"] {
  background:rgba(255,255,255,.10);
  color:#FFFFFF;
  outline:0;
}
/* V251 pricing is a separate light-gray card. Labels, tier headers and prices are teal. */
#bmServices251 .bm-services-pricing {
  width:100%;margin:14px 0 0;
  padding:16px 16px 18px;
  border-radius:16px;
  background:var(--bm-paper);
  color:var(--bm-active);
  box-shadow:0 14px 28px rgba(13,48,53,.05);
}
#bmServices251 .bm-pricing-title {
  margin:0 0 9px;
  text-align:right;
  font:700 clamp(16px,1.35vw,22px)/1.25 Tahoma,"Segoe UI",Arial,sans-serif;
  color:var(--bm-active);
}
#bmServices251 .bm-pricing-scroll {
  width:100%;overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:#4A7272 transparent;
}
#bmServices251 .bm-pricing-table {min-width:610px;direction:rtl}
#bmServices251 .bm-pricing-head,
#bmServices251 .bm-pricing-row {
  display:grid;
  grid-template-columns:minmax(225px,2.4fr) repeat(4,minmax(72px,.7fr));
  gap:8px;align-items:center;
  padding:9px 8px;
}
#bmServices251 .bm-pricing-head {
  padding-block:6px 7px;
  color:var(--bm-active);
  font:700 clamp(11px,.9vw,14px)/1.2 Tahoma,"Segoe UI",Arial,sans-serif;
}
#bmServices251 .bm-pricing-head span{text-align:center;white-space:nowrap}
#bmServices251 .bm-pricing-row+.bm-pricing-row {border-top:1px solid rgba(74,114,114,.20)}
#bmServices251 .bm-pricing-label {
  min-width:0;text-align:right;overflow-wrap:break-word;
  color:var(--bm-active);
  font:600 clamp(12px,1vw,16px)/1.4 Tahoma,"Segoe UI",Arial,sans-serif;
}
#bmServices251 .bm-pricing-price {
  color:var(--bm-active)!important;
  text-align:center;direction:ltr;white-space:nowrap;
  font:600 clamp(12px,1vw,16px)/1.2 Arial,Tahoma,sans-serif;
}
@media (max-width:960px) {
  #bmServices251 .bm-services-grid {column-gap:25px;row-gap:54px}
  #bmServices251 .bm-service--right,#bmServices251 .bm-service--left {gap:13px}
  #bmServices251 .bm-service-square {flex-basis:48px;width:48px;height:48px;border-radius:10px}
  #bmServices251 .bm-service-label {font-size:clamp(20px,3vw,29px);white-space:normal;max-width:min(280px,calc(100% - 64px))}
}
@media (max-width:640px) {
  #bmServices251 .bm-services-inner {width:min(420px,calc(100% - 32px))}
  #bmServices251 .bm-services-grid {
    grid-template-columns:1fr;
    grid-template-areas:"identity" "graphic" "ads" "additional";
    gap:14px;
  }
  #bmServices251 .bm-service,#bmServices251 .bm-service--right,#bmServices251 .bm-service--left {
    flex-direction:row-reverse;direction:ltr;justify-content:flex-start;min-height:65px;gap:14px;
  }
  #bmServices251 .bm-service-label {text-align:right!important;font-size:clamp(18px,5vw,24px);max-width:calc(100% - 60px)}
  #bmServices251 .bm-service-square {flex-basis:44px;width:44px;height:44px;border-radius:8px}
  #bmServices251 .bm-services-panel {width:100%;margin-top:18px}
  #bmServices251 .bm-services-categories {grid-template-columns:1fr;padding:10px;border-radius:16px}
  #bmServices251 .bm-services-pricing {padding:12px;border-radius:16px}
  #bmServices251 .bm-pricing-table {min-width:610px}
}
@media (prefers-reduced-motion:reduce) {
  #bmServices251 * {transition:none!important}
}
