/* Services listing + detail */
.services-hero-meta {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
}

.services-page {
  padding-top: 2.25rem;
}

.services-filter-block {
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.services-filter-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim, #64748b);
}

.services-category-bar {
  gap: 0.65rem;
}

.services-page .course-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}

.services-page .category-pill.active .course-cat-count {
  background: rgba(0, 174, 239, 0.22);
  color: #e0f2fe;
}

.services-category-block {
  margin: 0 0 2.75rem;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.services-category-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}

.service-card {
  --svc-c1: #00aeef;
  --svc-c2: #0284c7;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 16, 28, 0.9);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--svc-c1) 45%, rgba(148, 163, 184, 0.2));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.service-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1.25rem 1rem 1rem;
  background:
    radial-gradient(520px 140px at 15% 0%, color-mix(in srgb, var(--svc-c1) 38%, transparent), transparent 60%),
    radial-gradient(420px 120px at 90% 20%, color-mix(in srgb, var(--svc-c2) 28%, transparent), transparent 55%),
    linear-gradient(160deg, rgba(8, 12, 22, 0.95), rgba(15, 23, 42, 0.8));
}

.service-card-icon-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease;
}

.service-card:hover .service-card-icon-img {
  transform: scale(1.06) translateY(-2px);
}

.service-card-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.service-card-badge {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(2, 8, 20, 0.55);
  border: 1px solid rgba(125, 211, 252, 0.35);
  backdrop-filter: blur(8px);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1rem 1.15rem 1.15rem;
}

.service-card-cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--svc-c1) 75%, #94a3b8);
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f8fafc;
}

.service-card-desc {
  margin: 0;
  flex: 1;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.service-card-cta {
  font-size: 0.82rem;
  font-weight: 800;
  color: #38bdf8;
}

.service-card:hover .service-card-cta {
  color: #7dd3fc;
}

.services-bottom-cta {
  margin-top: 1rem;
  padding: 1.75rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(700px 160px at 10% 0%, rgba(0, 174, 239, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
  text-align: center;
}

.services-bottom-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.services-bottom-cta p {
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  color: var(--text-muted, #94a3b8);
}

.services-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Detail page */
.service-show-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: center;
  margin: 0 0 1.35rem;
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--svc-c1, #00aeef) 30%, rgba(148, 163, 184, 0.16));
  background:
    radial-gradient(700px 160px at 0% -20%, color-mix(in srgb, var(--svc-c1, #00aeef) 28%, transparent), transparent 55%),
    linear-gradient(155deg, rgba(8, 12, 22, 0.95), rgba(15, 23, 42, 0.75));
}

.service-show-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.service-show-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}

.service-show-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
}

.service-show-chip--accent {
  color: #e0f2fe;
  border-color: rgba(0, 174, 239, 0.4);
  background: rgba(0, 174, 239, 0.12);
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service-highlights-grid li {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-request-box {
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.service-request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0 1.25rem;
}

.service-request-btn {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.service-request-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.service-request-btn-email {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.service-request-btn-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.service-request-hint {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 0.92rem;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.service-related-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.service-related-card:hover {
  border-color: rgba(0, 174, 239, 0.45);
  background: rgba(0, 174, 239, 0.08);
}

.service-related-card img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.service-related-card strong {
  display: block;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.service-related-card span {
  font-size: 0.75rem;
  color: #64748b;
}

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

  .service-show-hero {
    grid-template-columns: 1fr;
  }
}
