/* Services page — ported from services.html */

.page-hero {
  background-color: #341238;
  background-image: linear-gradient(160deg, #341238 0%, #de0a47 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/background_pattern.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
}

.breadcrumb-pill .sep {
  opacity: 0.5;
}

.service-anchor {
  scroll-margin-top: 88px;
}

.service-block {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(51, 20, 55, 0.18);
  transition: border-color 0.35s ease;
}

.service-block:hover {
  border-color: rgba(221, 28, 73, 0.28);
}

.service-block-img {
  position: relative;
  overflow: hidden;
}

.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.service-block:hover .service-block-img img {
  transform: scale(1.04);
}


.service-icon-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(221, 28, 73, 0.35);
}

.feat-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(245, 240, 246, 0.8);
  line-height: 1.5;
}

.feat-bullet::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--crimson);
  margin-top: 0.45rem;
}

.service-num {
  font-family: 'Helvena', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: rgba(221, 28, 73, 0.07);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  position: absolute;
}

.quick-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(245, 240, 246, 0.45);
  transition: color 0.2s, padding-left 0.2s;
  padding: 0.35rem 0;
  text-decoration: none;
}

.quick-nav-link::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width 0.2s, background 0.2s;
}

.quick-nav-link:hover,
.quick-nav-link.active {
  color: #dd1c49;
}

.quick-nav-link:hover::before,
.quick-nav-link.active::before {
  width: 32px;
  background: #dd1c49;
}

.mid-cta {
  background: var(--grad);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245, 240, 246, 0.8);
  background: rgba(221, 28, 73, 0.12);
  border: 1px solid rgba(221, 28, 73, 0.22);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.chip:hover {
  background: rgba(221, 28, 73, 0.22);
  border-color: rgba(221, 28, 73, 0.4);
}

.web-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dd1c49;
  border: 1px solid rgba(221, 28, 73, 0.3);
  border-radius: 9999px;
  padding: 0.35rem 0.9rem;
  background: rgba(221, 28, 73, 0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.web-sub-link:hover {
  background: rgba(221, 28, 73, 0.14);
  border-color: rgba(221, 28, 73, 0.5);
  transform: translateX(2px);
}

.layout-img-right .service-block-img {
  order: 1;
}

.layout-img-right .service-block-content {
  order: 0;
}

@media (min-width: 1024px) {
  .layout-img-left .service-block-img {
    order: 0;
  }

  .layout-img-left .service-block-content {
    order: 1;
  }

  .layout-img-right .service-block-img {
    order: 1;
  }

  .layout-img-right .service-block-content {
    order: 0;
  }
}

.jump-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: rgba(51, 20, 55, 0.22);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
}

.jump-card:hover {
  border-color: rgba(221, 28, 73, 0.4);
  background: rgba(221, 28, 73, 0.08);
  transform: translateY(-3px);
}

.jump-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  display: block;
}

.jump-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245, 240, 246, 0.8);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
