/* ============================================
   SERVICE PAGE STYLES
   Shared across all individual service pages
   ============================================ */

/* --- Service Hero --- */
.service-hero {
  position: relative;
  padding: 130px 0 40px;
  overflow: hidden;
  background: var(--black);
}

@media (max-width: 768px) {
  .service-hero {
    padding: 120px 0 30px;
  }
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 40%,
    rgba(232, 80, 28, 0.15) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 80% 60%,
    rgba(232, 80, 28, 0.08) 0%,
    transparent 40%
  );
  z-index: 0;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
  transition: color 0.3s;
}

.service-back:hover {
  color: var(--orange-primary);
}

.service-hero-content {
  max-width: 700px;
}

.service-hero-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  color: rgba(232, 80, 28, 0.12);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.service-hero-tagline {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--gray-400);
  max-width: 540px;
  line-height: 1.7;
}

/* --- Service Details --- */
.service-details {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--black);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

/* Main Content */
.service-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-main h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-main p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Checklist */
.service-checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin-top: var(--space-sm);
}

.service-checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.service-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(232, 80, 28, 0.15);
  border: 1.5px solid var(--orange-primary);
}

.service-checklist li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--orange-primary);
  border-bottom: 2px solid var(--orange-primary);
  transform: rotate(-45deg);
}

/* Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 100px;
}

.service-cta-card {
  background: var(--gray-950);
  border: 1px solid rgba(232, 80, 28, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.service-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.service-cta-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.service-cta-card .btn-primary {
  width: 100%;
  justify-content: center;
}

.service-meta-card {
  background: var(--gray-950);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.service-meta-card h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.service-meta-card h4:not(:first-child) {
  margin-top: var(--space-md);
}

.service-meta-card p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.other-service-card {
  background: var(--black);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  transition: all 0.4s var(--ease-dramatic);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.other-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-dramatic);
}

.other-service-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(232, 80, 28, 0.3);
  transform: translateY(-8px);
}

.other-service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.other-service-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.other-service-card .learn-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-smooth);
}

.other-service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.other-services-grid .other-service-card:nth-child(n+4) {
  display: none !important;
}

/* --- Service Testimonial --- */
.service-testimonial {
  padding: var(--space-2xl) 0 10px 0;
  background: linear-gradient(to bottom, var(--black), var(--gray-950));
  position: relative;
}

.testimonial-box {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-box::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: var(--font-accent);
  font-size: 8rem;
  color: rgba(232, 80, 28, 0.1);
  line-height: 1;
}

.testimonial-stars {
  color: var(--orange-primary);
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  gap: 4px;
}

.testimonial-quote {
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.testimonial-user h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.testimonial-user span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .service-hero {
    padding: 130px 0 40px;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding: 110px 0 25px;
  }

  .service-hero-number {
    font-size: 3.5rem;
    margin-bottom: -10px;
  }

  .other-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-service-link {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
