.services_page{
    background: #F5F5F5;
}

.sec_banner_serv{
    padding: 40px 20px 20px;
}
.div_banner_serv{
    background: url('/wp-content/themes/mobamovia/img/service-banner-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 25px;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.div_banner_serv h1{
    color: #fff;
    font-size: 88px;
    font-weight: 500;
}

.sec_content_serv{
    padding: 30px 20px 60px;
}
.div_content_serv{
    display: flex;
    gap: 40px;
}

@media (min-width: 961px) {
  :root { --serv-sticky-top:117px; } /* match your desired offset */


  .left_col_serv .sticky-wrapper{
    position: sticky;
    top: 30px;

    max-height: calc(100vh - 117px);
    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }
}


.service-list .accordion-css__list {
  gap:30px;
}

.left_col_serv{
    flex: 1;
}
.right_col_serv{
    flex: 2;
}


.left_col_serv .sticky-wrapper > div{
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 25px;
}
.left_col_serv .sticky-wrapper > div hr{
    height: 2px; 
    background-color: #000;
    border: none;
    margin: 30px 0;
}
.div_trouvez,
#service-anchors-accordion-mobile-inner li{
    background: #FFB8B8;
}

#service-anchors-accordion-mobile .accordion-css{
    padding-bottom:20px;
}

#service-anchors-accordion-mobile .accordion-css.accordion-section:last-child{
    padding-bottom: 0;
}

#service-anchors-accordion-mobile .accordion-css__item-bottom-content li {
    font-size: 16px;
    font-weight: 100;
    color:black;
    margin-left:0;
    padding: .375rem .6rem;
    margin-bottom:0;
}

#service-anchors-accordion-mobile .accordion-css__item-bottom-content .vous-chip,
#service-anchors-accordion-mobile .accordion-css__item-bottom-content ul li a {
    border:none;
    color:black;
    padding-left:0;
}

#service-anchors-accordion-mobile .accordion-css__item-bottom-content .vous-list {
    flex-direction: column;
    gap: 0;
}

.div_trouvez h2{
    font-size: 44px;
    margin-bottom: 30px;
    padding-left: 20px;
}
.div_vous{
    background: #fff;
}
.div_trouvez p, .div_vous p{
    color: #000;
    font-size: 22px;
    padding-left: 20px;
}


#service-list .service-item{
    width: calc(100% - 60px);
    background-color: #83DCFF;
    align-items: center;
    border-radius: 25px;
    padding: 30px;
}
.services_page .service-item__media{
    min-width: 350px;
}
.services_page .service-item__media img{
    margin: 0 auto;
}
.services_page .service-item__tags li{
    font-size: 18px;
}
.services_page .service-item__title{
    font-size: 44px;
    line-height: 1.4;
    margin: 20px 0;
}
.services_page .service-item__content{
    font-size: 22px;
    font-weight: 100;
}

.services_page .service-item__content p{
    font-weight: 100;
}

/* basic layout hooks */
.services_page .service-item{display:flex;gap:1.25rem;margin-bottom:3rem}
.services_page .service-item__media img{width: 100%; max-width:246px;height:auto;display:block}
.services_page .service-item__tags{
    display:flex;
    column-gap:1.5rem;
    flex-wrap:wrap;
    margin:.5rem 0 0;
    padding:0;
    list-style:none
}
.services_page .service-item__tags li{margin:0}

/* Steps timeline */
.service-steps { width: 100%; margin: 24px 0 8px; }
.service-steps__track {
  position: relative;
  display: flex;
  justify-content: space-between;   /* even spacing for nodes */
  align-items: center;
  padding: 18px 36px;               /* creates rounded ends for the blue pill */
  background: #A8E0FF;              /* tweak to your --moba_blue if you prefer */
  border-radius: 9999px;
}
.service-steps__node {
  position: relative;
  width: 84px; height: 84px;        /* circle size */
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.35) inset; /* subtle ring like your ref */
}
.service-steps__num {
  font-size: 28px; line-height: 1; font-weight: 500; color: #111;
}
.service-steps__labels {
  display: flex;
  justify-content: space-between;   /* labels align under each node */
  gap: 12px;
  margin-top: 12px;
}
.service-steps__label {
  width: 84px;                       /* match node width so labels align */
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 780px) {
  .service-steps__track { padding: 14px 24px; }
  .service-steps__node { width: 64px; height: 64px; }
  .service-steps__num { font-size: 22px; }
  .service-steps__label { width: 64px; font-size: 14px; }
}
@media (max-width: 520px) {
  .service-steps__track { padding: 10px 16px; }
  .service-steps__node { width: 52px; height: 52px; }
  .service-steps__num { font-size: 18px; }
  .service-steps__label { width: 52px; font-size: 13px; }
}

/* Timeline with node+label aligned as a single unit */
.service-steps {
  /* tweak sizes via vars */
  --node: 84px;
  --pad-x: 36px;
  --track-h: 44px;

  position: relative;
  margin: 24px 0 8px;
  padding: calc(var(--track-h) / 2) var(--pad-x) 0;
  padding-left: 0;
}

/* Blue pill track behind nodes */
.service-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: var(--pad-x);
  top: calc(var(--track-h) / 2 - 8px);
  height: 100px;
  background: var(--moba_blue, #A8E0FF);
  border-radius: 9999px;
  z-index: 0;
}

.service-steps__list {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;  /* evenly spaced items */
  align-items: flex-start;
  padding-left: 10px;
    padding-right: 10px;
}

.service-steps__item {
  width: var(--node);              /* keeps label centered under node */
  text-align: center;
}

.service-steps__node {
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.35) inset; /* soft inner ring */
}

.service-steps__num {
  font-size: 44px;
  line-height: 1;
  font-weight: 100;
  color: #111;
}

.service-steps__label {
  font-size: 16px;
  line-height: 1.3;
    margin-top: 30px;
}

/* Responsive sizing */
@media (max-width: 780px) {
  .service-steps { --node: 64px; --pad-x: 24px; --track-h: 36px; }
  .service-steps__num { font-size: 22px; }
  .service-steps__label { font-size: 14px; }
}
@media (max-width: 520px) {
  .service-steps { --node: 52px; --pad-x: 16px; --track-h: 28px; }
  .service-steps__num { font-size: 18px; }
  .service-steps__label { font-size: 13px; }
}

/* Base arrows hidden on desktop/tablet */
.service-steps__nav { display: none; }

/* MOBILE carousel: one card per view + arrows */
@media (max-width: 640px) {
  .service-steps { --node: 64px; --pad-x: 16px; --track-h: 0; padding: 0 var(--pad-x); }
  .service-steps::before { display: none; }

  .service-steps__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }
  .service-steps__item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 24px 0 12px;
    text-align: center;
  }
  .service-steps__list::-webkit-scrollbar { display: none; }

  /* Arrows row */
  .service-steps__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 4px;
    padding: 0 6px;
  }
  .service-steps__btn {
    width: 40px; height: 40px;
    border: 2px solid #1D1D1B;
    border-radius: 50%;
    background: transparent;
    display: grid; place-items: center;
  }
  .service-steps__btn[disabled] { opacity: .35; pointer-events: none; }
}

.service-list .accordion-css__item-bottom-content li {
    font-weight:100;
    line-height:2.5;
}

.service-list  .accordion-css__item {
    border-radius: 25px;
}

.services_page .service-item {
    margin-bottom: 30px;
}   

.services_page .accordion-section {
    padding-bottom:120px;
}

.services_page .accordion-css__item-top {
    height:100px;
}

.services_page .accordion-css__item-top {
    padding-left:3em;
}

.services_page .accordion-css__item-bottom-content {
    padding-left:3em;
}

/* .div_trouvez ul, .div_vous ul{} */
.div_trouvez ul li, .div_vous ul li{
    padding-bottom: 10px;
}
.div_trouvez ul li a, .div_vous ul li a{
    color: #000;
    display: inline-block;
    font-size: 22px;
    padding: 8px 20px;
    border-radius: 40px;
    transition: all 0.5s;
}
.div_trouvez ul li a.active, .div_trouvez ul li a:hover,
.div_vous ul li a.active, .div_vous ul li a:hover{
    background: #EA5B0C;
}
.div_trouvez ul li a.active, .div_vous ul li a.active{
    color: #fff;   
}


.service-list li {
    line-height:1.5;
}

/*=== Services Accordion ===*/
.accordion_title h2{
    font-size: 44px;

}
.accordion_title img{
    transition: all 0.5s;
}

.panel_list{
    margin-bottom: 20px;
}
.div_panel p{
    font-size: 22px;
}
.panel_list li{
    position: relative;
    font-size: 22px;
    padding: 15px 20px 15px 40px;
    border-bottom: 2px solid #000;
}
.panel_list li:before{
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}
.div_panel .panel_list + p{
    font-size: 16px;
}

.services_page .accordion-css__item-icon,
.services_page .accordion-css__item-icon-svg {
    width: 6em;
    height: 6em;
}

.services_page .accordion-css__item-icon-svg path {
    stroke-width: 2px;
}

.services_page .accordion-css__item-bottom-content {
    padding-bottom:2.5em;
}

.vous-list{ 
    list-style:none; 
    padding:0; 
    margin:0; 
    display:flex; 
    gap:.5rem; 
    flex-direction: column;
}
.vous-list li{ 
    margin:0; 
}
.vous-chip{ 
    display:inline-block; 
    padding:.375rem .6rem; 
    border-radius:999px; 
    text-decoration:none; 
}

@media (max-width: 1280px) {
    .service-list .accordion-css__item-h3 {
        font-size: 34px;
    }
    #service-list .service-item{
        flex-direction: column;
    }

    #service-list .accordion-css {
        padding-left:0;
        padding-right:0;
    }

    .div_banner_serv{
        min-height: 450px;
    }

}

@media (max-width: 960px){
    .service-steps__node {
        width: 60px;
        height: 60px;
    }
    .service-steps::before {
        height: 80px;
    }

    .accordion-css__item--steps .accordion-css__item-bottom-content{
        padding-left: 24px;
    }

    .div_banner_serv{
        min-height: 350px;
        border-radius: 15px;
    }
}

@media (max-width: 640px) {
    .service-list .accordion-css {
        padding-left:0;
        padding-right: 0;
    }

    .service-list .accordion-css__item-h3 {
        font-size:20px!important;
    }

    .service-list li {
        line-height: 1;
    }

    .div_content_serv .accordion-css__item-icon,
    .div_content_serv .accordion-css__item-icon-svg {
        width: 3.5em;
        height: 3.5em;
    }

    .services_page .accordion-css__item-top {
        height:30px;
    }

    #service-anchors-accordion-mobile .accordion-css__item  {
        border-radius:25px;
    }

    .sec_content_serv {
        padding-top:0;
    }

    .div_content_serv {
        gap:20px;
    }

    .services_page .service-item__media{
        min-width: auto;
        padding-top: 10px;
        padding-bottom:10px;
    }
    .services_page .service-item__title{
        font-size: 28px;
        line-height: 1.2;
        margin: 30px 0;
    }
    .services_page .service-item__tags li{
        font-size: 14px;
    }
    .services_page .service-item__content{
        font-size: 16px;
    }

    .services_page .accordion-css__item-bottom-content,
    .services_page .accordion-css__item-top {
        padding-left:20px;
    }

    .service-list .accordion-css__item-bottom-content li {
        line-height:1.2;
    }

    .service-list .accordion-css__item-bottom-content {
        padding-bottom:10px;
    }
    .services_page .service-item__tags {
        column-gap: 1rem;
        row-gap: 0.2rem;
    }

    .service-steps__item {
        max-width:40%;
    }

    .service-steps__item:first-child {
        margin-left:50%;
    }

    .service-steps__item:last-child {
        margin-right: 50%;
    }

    .service-steps { --node: 90px; --pad-x: 16px; --track-h: 40px; padding: 0 var(--pad-x); }
    .service-steps::before { display: block; top: 30px; height: 100px; background: var(--moba_blue, #A8E0FF); border-radius:9999px; content:""; position:absolute; left:var(--pad-x); right:var(--pad-x); }
    .service-steps__list { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:0; padding-top:16px; }
    .service-steps__item { flex:0 0 100%; scroll-snap-align:center; text-align:center; }
    .service-steps__node { border-radius:50%; background:#fff; display:grid; place-items:center; margin:0 auto 18px; box-shadow:0 0 0 8px rgba(255,255,255,.35) inset; }
    .service-steps__label { position:absolute; } /* we show current in nav */
    .service-steps__nav { display:grid; grid-template-columns:40px 1fr 40px; align-items:center; gap:12px; margin:8px 0 0; padding:0 6px 6px; }
    .service-steps__btn { width:40px; height:40px; border:2px solid #1D1D1B; border-radius:50%; background:transparent; display:grid; place-items:center; }
    .service-steps__btn[disabled]{ opacity:.35; pointer-events:none; }
    .service-steps__current { text-align:center; font-size:16px; line-height:1.35; }

    .div_content_serv .accordion-css {
        padding-left: 0;
        padding-right: 0;
    }

    .service-steps__node {
        width: 100px;
        height: 100px;
    }

    .service-steps::before {
        display:none;
    }

    .accordion-css__item.accordion-css__item--steps .accordion-css__item-bottom-content{
        padding-left:0;
    }

    .services_page .service-item {
        margin-bottom:20px;
    }

    .vous-list li.is-active {
        background-color: var(--moba_orange);
        width: fit-content;
        border-radius: 25px;
        transition: background-color 0.5s;
    }

    .div_banner_serv {
        min-height: 200px;
    }
}

/* ===== SERVICE STEPS STRIP ===== */

.service-steps {
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
  --track-bg: var(--moba_blue, #A8E0FF);
  --node-size: 120px;   /* diameter of the white bubble */
  --node-font-size: 48px;
  --pill-radius: 9999px;
  --pill-padding-y: 20px;
  --pill-padding-x: 24px;
}

.service-steps__track {
  position: relative;
  background: var(--track-bg);
  border-radius: var(--pill-radius);
  padding: var(--pill-padding-y) var(--pill-padding-x);

  display: flex;
  align-items: center;
  gap: 24px;

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox hide scrollbar */
  touch-action: none; 
}
.service-steps__track::-webkit-scrollbar { display: none; } /* WebKit hide scrollbar */

/* Each numeric bubble */
.service-steps__bubble {
  flex: 0 0 auto;
  width: var(--node-size);
  height: var(--node-size);
  min-width: var(--node-size);
  min-height: var(--node-size);

  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;

  box-shadow: 0 0 0 8px rgba(255,255,255,0.35) inset;
  border: 2px solid transparent; /* becomes dark when "active" */
}

.service-steps__bubble-num {
  font-size: var(--node-font-size);
  font-weight: 400;
  line-height: 1;
  color: #000;
  font-family: inherit;
}

/* NAV ROW (arrows + active label) */
.service-steps__nav {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  column-gap: 16px;
}

.service-steps__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #1D1D1B;
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  color: #1D1D1B;
  cursor: pointer;
}
.service-steps__arrow[disabled] {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

.service-steps__current {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  min-height: 2.6em; /* reserve room so layout doesn't jump between short/long text */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #000;
}

/* hide our "database" of labels */
.service-steps__labels-store {
  display: none;
}

.nos_serv_title {
  display: block;
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
}


@media (max-width: 1280px){
    .div_trouvez h2{
        font-size: 32px;
        margin-bottom: 20px;
        padding-left: 10px;
    }
    .div_trouvez p, .div_vous p {
        font-size: 20px;
        padding-left: 10px;
    }
    .div_trouvez ul li a, .div_vous ul li a{
        font-size: 20px;
    }
    .div_content_serv{
        gap: 30px;
    }

    .div_banner_serv h1{
        font-size: 72px;
    }
}

@media (max-width: 960px){

    .div_banner_serv h1{
        font-size: 56px;
    }
    .div_trouvez h2{
        font-size: 28px;
        padding-left: 0px;
    }
    .div_trouvez p, .div_vous p {
        font-size: 16px;
        padding-left: 0px;
    }
    .div_trouvez ul li a, .div_vous ul li a{
        font-size: 18px;
    }
    .div_content_serv{
        gap: 20px;
    }
    .left_col_serv{
        flex: 1.5;
    }
    .left_col_serv .sticky-wrapper > div{
        padding: 20px 10px;
        border-radius: 15px;
    }
}

:root { --event-card-w: 65vw; }
@media screen and (max-width: 768px) {

}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .service-steps {
    --node-size: 90px;
    --node-font-size: 32px;
    --pill-padding-y: 16px;
    --pill-padding-x: 16px;
  }

  .service-steps__current {
    font-size: 16px;
  }
    .div_banner_serv h1{
        font-size: 36px;
    }

    .sec_banner_serv{
        padding: 30px 20px 20px;
    }
    .sec_content_serv{
        padding-top: 10px;
    }

    .left_col_serv .sticky-wrapper > div{
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    .div_trouvez p, .div_vous p{
        font-size: 18px;
    }

    .div_panel p, .panel_list li{
        font-size: 16px;
    }

    .div_panel .panel_list + p {
        font-size: 13px;
    }
    .div_trouvez ul li a, .div_vous ul li a {
        font-size: 16px;
    }

}

@media (min-width: 641px) {
  /* desktop/tablet tweaks if you want slightly bigger pill like in screenshot */
  .service-steps {
    --node-size: 110px;
    --node-font-size: 40px;
    --pill-padding-y: 18px;
    --pill-padding-x: 24px;
  }

  .service-steps__track {
    justify-content: flex-start;
  }
}

.service-steps__pad { flex: 0 0 auto; }