/**
 * SocioBolt Service Custom Post Type & Inner Pages Styles
 *
 * Professional multi-section landing page matching the SocioBolt home page standards.
 * Inherits and extends the comprehensive architecture defined in industry.css.
 */

@import url('industry.css');

/* ==========================================================================
   SERVICE SPECIFIC ENHANCEMENTS
   ========================================================================== */
.sb-single-service-page,
.sb-archive-service-page {
  /* Scope wrapper */
  position: relative;
}

/* Service & CPT Archive Card Grid */
.sb-archive-cpt-grid,
.sb-services-cpt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-top: var(--sb-space-8);
}

.sb-archive-cpt-card,
.sb-service-cpt-card {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  border-radius: var(--sb-radius-xl);
  border: 1px solid var(--sb-border);
  background: var(--sb-white);
  box-shadow: 0 4px 16px rgba(8, 21, 44, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sb-archive-cpt-card::before,
.sb-service-cpt-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sb-blue), var(--sb-cyan, #06B6D4));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sb-archive-cpt-card:hover,
.sb-service-cpt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 40px rgba(8, 21, 44, 0.09);
}

.sb-archive-cpt-card:hover::before,
.sb-service-cpt-card:hover::before {
  opacity: 1;
}

.sb-acc-header,
.sb-service-cpt-card .sb-icc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--sb-space-4);
}

.sb-acc-icon,
.sb-service-cpt-card .sb-icc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--sb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sb-archive-cpt-card:hover .sb-acc-icon,
.sb-service-cpt-card:hover .sb-icc-icon {
  transform: scale(1.06);
}

.sb-acc-icon svg,
.sb-service-cpt-card .sb-icc-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.sb-acc-badge,
.sb-service-cpt-card .sb-icc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sb-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}

.sb-acc-title,
.sb-service-cpt-card .sb-icc-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--sb-navy);
  margin-top: 0;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sb-acc-title a,
.sb-service-cpt-card .sb-icc-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--sb-transition-fast);
}

.sb-acc-title a:hover,
.sb-service-cpt-card .sb-icc-title a:hover {
  color: var(--sb-blue);
}

.sb-acc-full-title,
.sb-service-cpt-card .sb-icc-full-title {
  font-size: 0.85rem;
  color: var(--sb-muted);
  font-weight: 500;
  margin-top: 0;
  margin-bottom: var(--sb-space-4);
  line-height: 1.45;
}

.sb-acc-desc,
.sb-service-cpt-card .sb-icc-excerpt {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.68;
  margin-bottom: var(--sb-space-5);
  flex-grow: 1;
}

.sb-acc-features,
.sb-service-cpt-card .sb-icc-features {
  list-style: none;
  padding: 1.15rem 0 0 0;
  margin: 0 0 var(--sb-space-6) 0;
  border-top: 1px dashed rgba(203, 213, 225, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sb-acc-feature-item,
.sb-service-cpt-card .sb-icc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sb-navy);
  line-height: 1.45;
}

.sb-acc-feature-check,
.sb-service-cpt-card .sb-icc-feature-item svg {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--sb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sb-acc-feature-check svg {
  width: 11px !important;
  height: 11px !important;
}

.sb-acc-footer,
.sb-service-cpt-card .sb-icc-footer {
  margin-top: auto;
  padding-top: var(--sb-space-5);
  border-top: 1px solid var(--sb-border);
  display: flex;
  align-items: center;
}

.sb-acc-footer .sb-btn,
.sb-service-cpt-card .sb-icc-footer .sb-btn {
  width: 100%;
  justify-content: center;
}

.sb-service-cpt-card .sb-icc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--sb-blue);
  text-decoration: none;
  transition: all var(--sb-transition-fast);
}

.sb-service-cpt-card .sb-icc-link:hover {
  color: var(--sb-blue-hover);
  transform: translateX(4px);
}

.sb-service-cpt-card .sb-icc-link svg {
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 991px) {
  .sb-services-cpt-grid {
    grid-template-columns: 1fr;
  }
}

