/* Services — cards & detail pages */

/* === List page hero === */
.svc-page-hero {
  position: relative;
  padding: clamp(2.5rem, 8vw, 4rem) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.svc-page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
}

.svc-page-hero__glow {
  position: absolute;
  width: 50vw;
  max-width: 420px;
  height: 50vw;
  max-height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 99, 235, 0.35);
}

/* === Enhanced service cards === */
.service-card {
  padding: 1.65rem 1.5rem 1.75rem;
  position: relative;
  text-align: center;
  align-items: center;
  border: 1px solid var(--border);
  isolation: isolate;
}

article.service-card--partial {
  cursor: default;
}

a.service-card--link {
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, rgba(56, 189, 248, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

a.service-card--link:hover::before,
a.service-card--link:focus-visible::before {
  opacity: 1;
}

.service-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.service-card__badge {
  position: static;
  display: inline-block;
  margin: 0 auto 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(56, 189, 248, 0.12));
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  position: relative;
  z-index: 1;
}

.service-card__title,
.service-card__tagline,
.service-card__price {
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card__title-link:hover {
  color: #7dd3fc;
}

.service-card__tagline {
  font-size: 0.82rem;
  color: #7dd3fc;
  margin: 0 0 0.5rem;
  font-weight: 600;
  line-height: 1.45;
}

.service-card__desc {
  text-align: justify;
  hyphens: auto;
  width: 100%;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.service-card h3,
.service-card p,
.service-card ul,
.service-card .service-card__price,
.service-card .btn {
  position: relative;
  z-index: 1;
}

.service-card__go {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-primary);
  font-size: 1rem;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  z-index: 1;
}

a.service-card--link:hover .service-card__go {
  opacity: 1;
  transform: translate(2px, -2px);
  background: rgba(56, 189, 248, 0.22);
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  width: 100%;
  text-align: justify;
}

.service-card__features li {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: justify;
}

.service-card__features li i {
  margin-right: 0.25rem;
}

.service-card__price {
  font-size: 1.3rem;
  margin-bottom: 0.5rem !important;
  width: 100%;
}

/* === Detail hero === */
.svc-hero {
  position: relative;
  padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 0%, #000 15%, transparent 70%);
}

.svc-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.svc-hero__glow--1 {
  width: 45vw;
  max-width: 400px;
  height: 45vw;
  max-height: 400px;
  background: rgba(37, 99, 235, 0.4);
  top: -25%;
  right: -5%;
}

.svc-hero__glow--2 {
  width: 35vw;
  max-width: 320px;
  height: 35vw;
  max-height: 320px;
  background: rgba(124, 58, 237, 0.28);
  bottom: -20%;
  left: -8%;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-hero__title {
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.svc-hero__tagline {
  color: #e2e8f0;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.5;
}

.svc-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-meta-chip--price {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.svc-meta-chip__sub {
  font-weight: 500;
  opacity: 0.85;
}

.svc-hero__visual {
  position: relative;
  padding: 1.5rem;
}

.svc-hero__orb {
  width: clamp(7rem, 18vw, 9.5rem);
  height: clamp(7rem, 18vw, 9.5rem);
  margin: 0 auto 1.25rem;
  border-radius: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.35), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.25);
}

.svc-hero__highlights {
  max-width: 20rem;
  margin: 0 auto;
}

.svc-hero__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-subtle);
}

.svc-hero__highlights li:last-child {
  border-bottom: 0;
}

.svc-hero__highlights i {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.breadcrumb--dark {
  --bs-breadcrumb-divider-color: var(--text-muted);
}

.breadcrumb--dark .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb--dark .breadcrumb-item a:hover {
  color: var(--brand-primary);
}

.breadcrumb--dark .breadcrumb-item.active {
  color: #e2e8f0;
}

/* === Detail body === */
.svc-body {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.svc-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .svc-layout {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }

  .svc-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.svc-block {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.svc-block__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.svc-block__n {
  font-size: 0.75rem;
  font-weight: 800;
  color: #7dd3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.svc-prose {
  padding: 1.5rem 1.65rem;
}

.svc-prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.svc-prose p:last-child {
  margin-bottom: 0;
}

.svc-highlight-card {
  padding: 1.15rem 1.25rem;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}

.svc-highlight-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.svc-highlight-card__i {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-highlight-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.svc-deliverables {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .svc-deliverables {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.svc-deliverables__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-primary);
}

.svc-timeline__item {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.35rem 0.25rem;
  position: relative;
}

.svc-timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.25rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--brand-primary), transparent);
  opacity: 0.35;
}

.svc-timeline__dot {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.svc-faq__item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.svc-faq .accordion-button {
  background: transparent;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.svc-faq .accordion-button:not(.collapsed) {
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
}

.svc-faq .accordion-body {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Sidebar */
.svc-side-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.svc-side-card--price {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.9));
}

.svc-side-card--accent {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.2);
}

.svc-side-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-side-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.svc-side-card__price span {
  font-size: 1rem;
  font-weight: 600;
}

.svc-side-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.svc-side-card__title i {
  color: var(--brand-primary);
}

.svc-checklist {
  list-style: none;
  padding: 0;
}

.svc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.svc-checklist i {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.svc-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.svc-tech-chip {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 2rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-mini-perks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0;
  color: var(--text-muted);
}

.svc-mini-perks i {
  color: var(--brand-primary);
}

/* List page extras */
.svc-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.svc-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 2rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.svc-trust-pill i {
  color: var(--brand-primary);
}

.svc-related {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--border-subtle);
}

.svc-related__title {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-service .site-main,
.page-services .site-main {
  background: transparent;
}
