
.svc-listing {
  background: var(--svc-soft);
  padding: clamp(64px, 9vw, 120px) 0;
}
.svc-section-head-text{
  display: inline-block;
  padding: 4px 10px;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #27b9d5;
  border-radius: 16px;
  background: rgba(255,255,255,.35);
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}
.svc-section-title{
  font-family: "Geist", "Inter", sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
}

/* Tighter gap between the listing title and its sub-line
   (services/base.css sets 14px for every section header). */

.svc-listing .svc-section-title{
  margin-bottom: 6px;
}

/* ---------- Filters ---------- */

.svc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  margin-bottom: 40px;
}

.svc-filter {
  padding: 9px 18px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;

  color: var(--svc-muted);
  background: #ffffff;

  /* The category filters are anchors, which pick up the
     global link underline — chips should not have one. */
  text-decoration: none;

  border: 1px solid var(--svc-line);
  border-radius: 24px;

  cursor: pointer;

  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.svc-filter:hover {
  border-color: var(--svc-blue);
  color: var(--svc-blue);
}

.svc-filter.is-active {
  color: #ffffff;
  background: var(--svc-blue);
  border-color: var(--svc-blue);
}

/* ---------- Service cards (featured style) ---------- */

.svc-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.svc-service {
  display: flex;
  flex-direction: column;

  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(90, 80, 200, 0.14);

  grid-column: span 2;

  padding: 14px 20px 16px;
}

.svc-service.is-hidden {
  display: none;
}

/* Image header — mirrors .featured-card image strip */

.svc-service::before {
  content: "";
  display: block;
  height: 150px;
  margin: -14px -20px 14px;

  background-size: cover;
  background-position: center;
}

.svc-list .svc-service:nth-child(1)::before  { background-image: url("../../assets/services/list/200.webp"); }
.svc-list .svc-service:nth-child(2)::before  { background-image: url("../../assets/services/list/201.webp"); }
.svc-list .svc-service:nth-child(3)::before  { background-image: url("../../assets/services/list/202.webp"); }
.svc-list .svc-service:nth-child(4)::before  { background-image: url("../../assets/services/list/203.webp"); }
.svc-list .svc-service:nth-child(5)::before  { background-image: url("../../assets/services/list/204.webp"); }
.svc-list .svc-service:nth-child(6)::before  { background-image: url("../../assets/services/list/205.webp"); }
.svc-list .svc-service:nth-child(7)::before  { background-image: url("../../assets/services/list/206.webp"); }
.svc-list .svc-service:nth-child(8)::before  { background-image: url("../../assets/services/list/207.webp"); }
.svc-list .svc-service:nth-child(9)::before  { background-image: url("../../assets/services/list/208.webp"); }
.svc-list .svc-service:nth-child(10)::before { background-image: url("../../assets/services/list/209.webp"); }
.svc-list .svc-service:nth-child(11)::before { background-image: url("../../assets/services/list/210.webp"); }
.svc-list .svc-service:nth-child(12)::before { background-image: url("../../assets/services/list/211.webp"); }
.svc-list .svc-service:nth-child(13)::before { background-image: url("../../assets/services/list/212.webp"); }
.svc-list .svc-service:nth-child(14)::before { background-image: url("../../assets/services/list/213.webp"); }

/* Tag — mirrors .featured-tag */

.svc-service-tag {
  align-self: flex-start;

  background: #1b1464;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;

  padding: 1px 8px;
  border-radius: 4px;
}

.svc-service h3 {
  margin: 10px 0 8px;

  font-family: "Geist", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;

  color: #17173a;
}

.svc-service p {
  margin: 0 0 12px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.55;

  color: #57576a;

  flex: 1;
}

/* Link — mirrors .featured-more (underline animation) */

.svc-service .svc-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: auto;
  padding-top: 10px;

  align-self: flex-start;

  color: #1b1464;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;

  text-decoration: none;

  transition: color 0.3s ease;
}

.svc-service .svc-link span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.svc-service .svc-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.svc-service .svc-link:hover {
  color: #2a3fe0;
}

.svc-service .svc-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.svc-service .svc-link:hover span {
  transform: translate(4px, -4px);
}

/* ---------- See more toggle ---------- */

.svc-list-more {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.svc-list-more.is-hidden {
  display: none;
}

.svc-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;

  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;

  color: var(--svc-blue);
  background: #ffffff;
  border: 1px solid var(--svc-line);
  border-radius: 999px;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-more-btn:hover {
  transform: translateY(-2px);
  border-color: var(--svc-blue);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.svc-more-btn .svc-more-arrow {
  display: inline-block;
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.svc-more-btn.is-expanded .svc-more-arrow {
  transform: rotate(180deg);
}


/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .svc-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-service {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .svc-list {
    grid-template-columns: 1fr;
  }

  .svc-service {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-service .svc-link::after,
  .svc-service .svc-link span {
    transition: none;
  }
}