/* ==========================================================================
   Service Detail Page — /css/templates/service.css
   ========================================================================== */

/* -----------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.service-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 0;
}

.service-hero .container {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(59,247,209,0.15);
  border: 1px solid rgba(59,247,209,0.4);
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  align-self: flex-start;
}

.service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  margin-bottom: var(--space-5);
  max-width: 700px;
}

.service-hero p {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.88);
  line-height: var(--line-height-relaxed);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 600px;
  margin-bottom: var(--space-8);
}

.service-hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* -----------------------------------------------------------------------
   OVERVIEW SECTION (intro + what we do)
   --------------------------------------------------------------------- */
.service-overview {
  background: var(--color-bg);
}

.service-overview .container.row {
  align-items: center;
  gap: var(--space-16);
}

.service-overview-text {
  flex: 1 1 0;
  min-width: 280px;
}

.service-overview-text h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-5);
}

.service-overview-text p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
  font-size: var(--font-size-base);
}

.service-overview-image {
  flex: 1 1 0;
  min-width: 280px;
}

.service-overview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--img-radius);
  display: block;
  box-shadow: var(--shadow-lg);
}

/* -----------------------------------------------------------------------
   WHAT'S INCLUDED — dark section, icon grid
   --------------------------------------------------------------------- */
.service-included {
  background: var(--color-neutral-950);
  position: relative;
  overflow: hidden;
}

.service-included .blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

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

.service-included-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.service-included-header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.service-included-header p {
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

.service-included-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gutter);
  justify-content: center;
}

.service-included-grid > * {
  flex: 0 0 calc(33.333% - var(--grid-gutter) * 2 / 3);
}

.service-included-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  transition: all var(--duration-normal) var(--ease-default);
}

.service-included-card:hover {
  background: rgba(59,247,209,0.07);
  border-color: rgba(59,247,209,0.25);
  transform: translateY(-2px);
}

.service-included-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59,247,209,0.15);
  border: 1px solid rgba(59,247,209,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.service-included-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-bottom: var(--space-2);
}

.service-included-card p {
  color: rgba(255,255,255,0.65);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 768px) {
  .service-included-grid > * {
    flex: 0 0 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-included-grid > * {
    flex: 0 0 calc(50% - var(--grid-gutter) / 2);
  }
}

/* -----------------------------------------------------------------------
   PROCESS SECTION — numbered steps, light bg
   --------------------------------------------------------------------- */
.service-process {
  background: var(--color-bg-secondary);
}

.service-process-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.service-process-header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.service-process-header p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  max-width: 580px;
  margin: 0 auto;
}

.service-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 760px;
  margin: 0 auto;
}

.service-step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  background: var(--color-bg);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-default);
}

.service-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-step-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent);
  line-height: 1;
  min-width: 56px;
  flex-shrink: 0;
  opacity: 0.85;
}

.service-step-content h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-step-content p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-base);
}

/* -----------------------------------------------------------------------
   WHY CHOOSE — split layout, accent bg
   --------------------------------------------------------------------- */
.service-why {
  background: var(--color-neutral-900);
  position: relative;
  overflow: hidden;
}

.service-why .container.row {
  align-items: center;
  gap: var(--space-16);
}

.service-why-image {
  flex: 1 1 0;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.service-why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--img-radius);
  display: block;
  box-shadow: var(--shadow-xl);
}

.service-why-content {
  flex: 1 1 0;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.service-why-content h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-5);
}

.service-why-content p {
  color: rgba(255,255,255,0.75);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-base);
}

.service-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-why-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255,255,255,0.85);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.service-why-list li .check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* -----------------------------------------------------------------------
   FAQ SECTION — light bg, accordion
   --------------------------------------------------------------------- */
.service-faq {
  background: var(--color-bg);
}

.service-faq-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.service-faq-header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.service-faq-header p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
  max-width: 560px;
  margin: 0 auto;
}

.service-faq-body {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

/* -----------------------------------------------------------------------
   RELATED SERVICES — dark gradient
   --------------------------------------------------------------------- */
.service-related {
  background: linear-gradient(135deg, var(--color-neutral-950) 0%, var(--color-neutral-900) 100%);
}

.service-related-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.service-related-header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: var(--space-3);
}

.service-related-header p {
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
}

.service-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gutter);
  justify-content: center;
}

.service-related-grid > * {
  flex: 0 0 calc(33.333% - var(--grid-gutter) * 2 / 3);
}

.service-related-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  text-decoration: none;
  display: block;
  transition: all var(--duration-normal) var(--ease-default);
}

.service-related-card:hover {
  background: rgba(59,247,209,0.08);
  border-color: rgba(59,247,209,0.3);
  transform: translateY(-2px);
}

.service-related-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-bottom: var(--space-2);
}

.service-related-card p {
  color: rgba(255,255,255,0.6);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.service-related-card .related-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-4);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-default);
}

.service-related-card:hover .related-link {
  gap: var(--space-2);
}

@media (max-width: 768px) {
  .service-related-grid > * {
    flex: 0 0 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-related-grid > * {
    flex: 0 0 calc(50% - var(--grid-gutter) / 2);
  }
}

/* -----------------------------------------------------------------------
   CTA SECTION — bold black + accent
   --------------------------------------------------------------------- */
.service-cta {
  background: var(--color-neutral-950);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-cta .accent-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.service-cta .accent-blob-1 { top: -100px; left: -100px; }
.service-cta .accent-blob-2 { bottom: -100px; right: -100px; }

.service-cta .container {
  position: relative;
  z-index: 1;
  align-items: center;
}

.service-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: var(--font-weight-extrabold);
  color: #fff;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
  max-width: 700px;
  text-align: center;
}

.service-cta p {
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-lg);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: var(--line-height-relaxed);
}

.service-cta-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.service-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent);
  color: #000;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-default);
}

.service-cta-phone:hover {
  background: #1fd4b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,247,209,0.25);
}

.service-cta-contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: #fff;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--duration-normal) var(--ease-default);
}

.service-cta-contact:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}

/* -----------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
  .service-hero {
    min-height: 440px;
  }

  .service-overview .container.row,
  .service-why .container.row {
    flex-direction: column;
  }

  .service-why .container.row {
    flex-direction: column-reverse;
  }

  .service-overview-image img,
  .service-why-image img {
    height: 280px;
  }

  .service-step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .service-step-number {
    font-size: var(--font-size-3xl);
  }

  .service-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
