/* Unified services list */
.as-hero--services .as-hero-card--services small{
  line-height:1.55;
}

.as-section--services{
  background:linear-gradient(180deg,#f8fbff 0,#fff 34%,#f6f8fc 100%);
}

.as-services-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:18px;
}

.as-services-head h2{
  margin:12px 0 0;
  color:#0f172a;
  font-size:clamp(1.7rem,3vw,2.5rem);
  line-height:1.08;
  letter-spacing:0;
}

.as-results-count{
  min-width:170px;
  border:1px solid #dbe8f7;
  border-radius:18px;
  background:#fff;
  padding:16px 18px;
  text-align:right;
  box-shadow:0 14px 38px rgba(15,23,42,.06);
}

.as-results-count strong{
  display:block;
  color:#0757d8;
  font-size:2rem;
  line-height:1;
}

.as-results-count span{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-weight:800;
}

.as-filter--services{
  grid-template-columns:minmax(220px,2fr) minmax(180px,1fr) auto auto;
  align-items:center;
}

.as-results-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  color:#475569;
  font-weight:850;
}

.as-results-bar a{
  color:#0757d8;
  font-weight:950;
  text-decoration:none;
  white-space:nowrap;
}

.as-chip-row--services a.is-active{
  background:linear-gradient(135deg,#0757d8,#0a66ff);
  color:#fff;
  box-shadow:0 12px 30px rgba(7,87,216,.18);
}

.as-chip-row--services a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  max-width:100%;
  line-height:1.2;
}

.as-chip-row--services a.is-active span{
  color:#0757d8;
}

.as-grid--services{
  align-items:stretch;
}

.as-card--service{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.as-card--service .as-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
}

.as-card--service h2{
  min-height:2.7em;
}

.as-card--service p{
  min-height:4.8em;
}

.as-placeholder--service{
  background:
    linear-gradient(135deg,rgba(7,87,216,.11),rgba(20,184,166,.11)),
    #f8fbff;
  color:#0757d8;
  letter-spacing:0;
}

.as-card--basdwebpro .as-placeholder--service{
  color:#0f766e;
}

.as-badge--source{
  left:14px;
  right:auto;
  background:#0f172a;
  color:#fff;
  font-size:.75rem;
}

.as-service-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:16px 0 18px;
}

.as-service-meta span{
  min-width:0;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#f8fafc;
  padding:10px 11px;
  color:#334155;
  font-size:.9rem;
  font-weight:900;
}

.as-card-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
}

.as-link--muted{
  color:#475569!important;
}

.as-pagination--pro{
  flex-wrap:wrap;
  gap:10px;
  padding:12px;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  border:1px solid #dbe8f7;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:0 22px 60px rgba(15,23,42,.08);
  backdrop-filter:blur(16px);
}

.as-page-arrow,
.as-page-numbers a,
.as-page-numbers span{
  min-width:42px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe8f7;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  padding:0 14px;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.as-page-arrow{
  width:50px;
  border-radius:16px;
  background:linear-gradient(135deg,#0757d8,#0b66f0);
  border-color:#0757d8;
  color:#fff;
  box-shadow:0 16px 34px rgba(7,87,216,.22);
}

.as-page-arrow svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.as-page-arrow:hover,
.as-page-numbers a:hover{
  transform:translateY(-1px);
}

.as-page-status{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  padding:0 14px;
  font-weight:900;
  white-space:nowrap;
}

.as-page-numbers{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.as-page-numbers .is-current{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  border-color:#0f172a;
  color:#fff;
}

.as-page-ellipsis{
  box-shadow:none!important;
  border-color:transparent!important;
  background:transparent!important;
}

@media(max-width:980px){
  .as-services-head{
    align-items:stretch;
    flex-direction:column;
  }

  .as-results-count{
    text-align:left;
  }

  .as-filter--services{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:640px){
  .as-filter--services,
  .as-service-meta{
    grid-template-columns:1fr;
  }

  .as-results-bar,
  .as-card-actions{
    align-items:flex-start;
    flex-direction:column;
  }

  .as-pagination--pro,
  .as-page-numbers{
    gap:8px;
  }

  .as-chip-row--services{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:6px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .as-chip-row--services a{
    flex:0 0 auto;
    max-width:82vw;
    scroll-snap-align:start;
  }

  .as-pagination--pro{
    width:100%;
    justify-content:center;
  }

  .as-page-status{
    order:3;
    width:100%;
    justify-content:center;
  }
}
