.services-hub {
  padding: clamp(2rem, 3vw, 3rem) 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #0f1115;
}

.services-hero {
  padding: clamp(2.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(255, 180, 70, 0.24), transparent 55%),
    radial-gradient(900px 450px at 85% 0%, rgba(199, 111, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f3f1fb 60%);
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 21, 0.08);
  box-shadow: 0 20px 40px rgba(75, 95, 149, 0.08);
  position: relative;
  overflow: hidden;
}

.services-hero::after {
  content: '';
  position: absolute;
  inset: 12% auto auto 40%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.services-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: #0b0f19;
  max-width: 12ch;
}

.services-lead {
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(15, 17, 21, 0.74);
  margin-bottom: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-badges span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.06);
  color: #0f1115;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.hero-stat {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 17, 21, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: #0b0f19;
  margin-bottom: 0.35rem;
}

.hero-stat span {
  display: block;
  color: #505562;
  line-height: 1.45;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-cta {
  background: #0b0f19;
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta.secondary {
  background: #fff;
  color: #0b0f19;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.services-trust,
.goal-section,
.featured-section,
.services-section,
.guide-section,
.services-faq {
  margin-top: 2.5rem;
}

.services-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item,
.goal-card,
.guide-card,
.featured-card,
.faq-card {
  border-radius: 1.35rem;
  border: 1px solid rgba(15, 17, 21, 0.08);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.06);
}

.trust-item {
  padding: 1.25rem;
}

.trust-item h2,
.goal-card h3,
.guide-card h3,
.featured-card h3,
.faq-card h3 {
  margin: 0 0 0.55rem;
  color: #0b0f19;
}

.trust-item h2 {
  font-size: 1.12rem;
}

.trust-item p,
.goal-card p,
.guide-card p,
.faq-card p,
.featured-card p {
  margin: 0;
  color: #3a3f4b;
  line-height: 1.6;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  margin-bottom: 0.25rem;
}

.section-heading p {
  margin: 0;
  color: #4a4f59;
  max-width: 70ch;
  line-height: 1.65;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.goal-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, #fbf9ff);
}

.goal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.goal-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.06);
  color: #0f1115;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.goal-links a:hover,
.goal-links a:focus-visible {
  background: rgba(215, 107, 255, 0.16);
  transform: translateY(-1px);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.featured-card {
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 244, 250, 0.92));
}

.featured-card p {
  margin-bottom: 1rem;
}

.services-search {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 2.5rem 0 1.5rem;
}

.services-search input {
  width: 100%;
  border: 1px solid rgba(15, 17, 21, 0.15);
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-search input:focus {
  border-color: #d76bff;
  box-shadow: 0 0 0 4px rgba(215, 107, 255, 0.12);
  outline: none;
}

.services-search__status {
  font-size: 0.95rem;
  color: #58606e;
  margin: 0;
  min-height: 1.5rem;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-button {
  border: 1px solid rgba(15, 17, 21, 0.15);
  background: transparent;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #0f1115;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip-button span {
  opacity: 0.72;
}

.chip-button.active,
.chip-button:hover,
.chip-button:focus-visible {
  background: #0f1115;
  color: #fff;
  border-color: transparent;
}

.services-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 17, 21, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(246, 167, 63, 0.25), rgba(215, 107, 255, 0.22));
  color: #0f1115;
  font-size: 1rem;
}

.service-card__meta {
  margin: 0.8rem 0 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #606371;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #0d1220;
}

.service-card__description {
  flex-grow: 1;
  margin: 0.6rem 0 1rem;
  color: #2f353f;
  line-height: 1.6;
}

.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.service-card__chips .chip {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.07);
}

.service-card__cta {
  align-self: flex-start;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(120deg, #f6a73f, #d76bff);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card__cta:hover,
.service-card__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(215, 107, 255, 0.2);
}

.guide-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, #fcfbff);
}

.services-cta {
  margin: 3rem 0 2rem;
  background: linear-gradient(135deg, #0f1c3c, #2b3a6f 65%);
  color: #fff;
  border-radius: 1.5rem;
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.section-services-cta h2 {
  color: var(--yellow-primary);
  margin: 0 0 1rem;
}

.services-cta p {
  max-width: 560px;
  margin: 0;
  line-height: 1.65;
}

.services-cta__button {
  background: #fff;
  color: #0f1115;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 17, 21, 0.2);
}

.faq-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.faq-card {
  padding: 1.1rem 1.2rem;
}

@media (max-width: 900px) {
  .services-trust,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .services-hub {
    padding-inline: 0.9rem;
  }

  .hero-badges,
  .hero-ctas {
    flex-direction: column;
  }

  .hero-cta,
  .services-cta__button {
    width: 100%;
    text-align: center;
  }

  .services-cta {
    flex-direction: column;
    text-align: left;
  }
}
