/*
 * LEH - Services Page Styles
 * Styles for services listing and service detail pages
 */

/* ===========================================
   SERVICES INDEX - HERO
   =========================================== */

/* Clear fixed navbar (header is h-16 sm:h-20 = 64px / 80px) */
.services-page-header {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
  padding-top: 5.5rem; /* space below fixed nav */
}

@media (min-width: 640px) {
  .services-page-header {
    padding-top: 6rem;
  }
}

.services-header-background::before,
.services-header-background::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.services-header-background::before {
  width: 24rem;
  height: 24rem;
  background: var(--color-primary-500, #00387F);
  top: 0;
  right: 0;
}

.services-header-background::after {
  width: 16rem;
  height: 16rem;
  background: var(--color-primary-400, #0ea5e9);
  bottom: 0;
  left: 0;
}

[dir="rtl"] .services-header-background::before {
  right: auto;
  left: 0;
}

[dir="rtl"] .services-header-background::after {
  left: auto;
  right: 0;
}

.services-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.services-breadcrumb-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-breadcrumb-link:hover {
  color: #ffffff;
}

.services-breadcrumb-separator {
  color: #64748b;
}

.services-page-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.services-page-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.6;
}

/* ===========================================
   SERVICES LISTING - MAIN (with living background)
   =========================================== */

.services-cards-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Living background: gradient base + dot texture + soft orbs with gentle motion */
.services-cards-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #f0f5fc 0%, #f1f5f9 30%, #ffffff 55%, #fef8f2 85%, #fef5ee 100%);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 56, 127, 0.06) 1.5px, transparent 0),
    linear-gradient(160deg, #f0f5fc 0%, #f1f5f9 30%, #ffffff 55%, #fef8f2 85%, #fef5ee 100%);
  background-size: 28px 28px, 100% 100%;
  background-position: 0 0, 0 0;
  pointer-events: none;
}

.services-cards-bg::before,
.services-cards-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: services-orb-float 18s ease-in-out infinite;
}

.services-cards-bg::before {
  width: min(85vw, 560px);
  height: min(85vw, 560px);
  background: rgba(0, 56, 127, 0.11);
  top: -18%;
  left: -12%;
  animation-delay: 0s;
}

.services-cards-bg::after {
  width: min(70vw, 480px);
  height: min(70vw, 480px);
  background: rgba(238, 124, 1, 0.1);
  bottom: -22%;
  right: -8%;
  animation-delay: -6s;
}

@keyframes services-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(3%, 2%) scale(1.05); opacity: 1; }
}

[dir="rtl"] .services-cards-bg::before {
  left: auto;
  right: -12%;
}

[dir="rtl"] .services-cards-bg::after {
  right: auto;
  left: -8%;
}

.services-page-main {
  padding: 0;
}

.services-cards-section .container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .services-cards-section .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .services-cards-section .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    gap: 1.75rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===========================================
   SERVICE CARD - Best practices, theme Blue #00387F + Orange #EE7C01
   =========================================== */

.service-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.2s ease;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 6px 20px rgba(0, 56, 127, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00387F 0%, #EE7C01 100%);
  z-index: 1;
}

[dir="rtl"] .service-card::before {
  background: linear-gradient(90deg, #EE7C01 0%, #00387F 100%);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 56, 127, 0.12);
  border-color: rgba(0, 56, 127, 0.2);
}

.service-card:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px #EE7C01,
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 56, 127, 0.12);
}

/* Wrapper for circular image – centered, proper spacing */
.service-card-image-wrap {
  padding-top: 1.5rem;
  padding-bottom: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Circle image */
.service-card-image--circle {
  position: relative;
  width: 7rem;
  height: 7rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #e6f0f9 0%, #f1f5f9 100%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 56, 127, 0.15);
}

@media (min-width: 640px) {
  .service-card-image--circle {
    width: 8rem;
    height: 8rem;
    border-width: 4px;
    box-shadow: 0 6px 24px rgba(0, 56, 127, 0.18);
  }
}

.service-card-image--circle .service-card-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  background: linear-gradient(135deg, #00387F 0%, #002d66 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 56, 127, 0.2);
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.28s ease, box-shadow 0.28s ease;
  margin-bottom: 1.25rem;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, #EE7C01 0%, #d96a01 100%);
  box-shadow: 0 4px 14px rgba(238, 124, 1, 0.35);
}

.service-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.service-card:has(.service-card-image-wrap) .service-card-body {
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .service-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
  }
  .service-card:has(.service-card-image-wrap) .service-card-body {
    padding-top: 1.25rem;
  }
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-card:hover .service-card-title {
  color: #00387F;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 1.25rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #EE7C01;
  margin-top: auto;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  width: fit-content;
}

.service-card:hover .service-card-cta {
  color: #00387F;
  border-bottom-color: #00387F;
}

.service-card-cta svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

[dir="rtl"] .service-card-cta svg {
  transform: rotate(180deg);
}

.service-card:hover .service-card-cta svg {
  transform: translateX(4px);
}

[dir="rtl"] .service-card:hover .service-card-cta svg {
  transform: translateX(-4px) rotate(180deg);
}

/* ===========================================
   SERVICES INDEX - PROCESS SECTION
   =========================================== */

.services-process-section {
  padding: 3rem 0 4rem;
}

.services-process-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.services-process-subtitle {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.services-process-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .services-process-grid {
    gap: 2rem;
  }
}

.services-process-step {
  padding: 0 0.5rem;
}

.services-process-step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00387F;
}

.services-process-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.services-process-step p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.services-process-connector {
  background: #bfdbfe !important;
}

/* ===========================================
   SERVICES INDEX - CTA SECTION
   =========================================== */

.services-cta-section {
  background: linear-gradient(135deg, #00387F 0%, #002A60 100%);
  color: #ffffff;
  padding: 3rem 0 4rem;
}

.services-cta-title {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.services-cta-subtitle {
  opacity: 0.95;
  line-height: 1.6;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   SERVICE SHOW PAGE (Detail) - Theme + life + structure
   =========================================== */

/* ---- Hero (clear fixed navbar) ---- */
.service-show-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  min-height: 300px;
  padding-top: 5.5rem; /* space below fixed nav */
}

@media (min-width: 640px) {
  .service-show-hero {
    padding-top: 6rem;
    min-height: 340px;
  }
}

@media (min-width: 1024px) {
  .service-show-hero {
    min-height: 380px;
  }
}

.service-show-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #00387F 0%, #002d66 45%, #001a40 100%);
}

.service-show-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.service-show-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 56, 127, 0.4) 0%, rgba(0, 45, 102, 0.75) 50%, rgba(0, 26, 64, 0.95) 100%);
}

.service-show-hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.service-show-hero-orbs::before,
.service-show-hero-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.service-show-hero-orbs::before {
  width: min(70vw, 400px);
  height: min(70vw, 400px);
  background: rgba(0, 56, 127, 0.9);
  top: -15%;
  right: -10%;
}

.service-show-hero-orbs::after {
  width: min(50vw, 280px);
  height: min(50vw, 280px);
  background: rgba(238, 124, 1, 0.25);
  bottom: -10%;
  left: -5%;
}

[dir="rtl"] .service-show-hero-orbs::before {
  right: auto;
  left: -10%;
}

[dir="rtl"] .service-show-hero-orbs::after {
  left: auto;
  right: -5%;
}

.service-show-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.service-show-breadcrumb-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-show-breadcrumb-link:hover {
  color: #ffffff;
}

.service-show-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.5);
}

.service-show-breadcrumb-current {
  color: #ffffff;
  font-weight: 500;
}

.service-show-hero-icon {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  min-height: 4rem;
  background: linear-gradient(135deg, #00387F 0%, #002d66 100%);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 56, 127, 0.4);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.service-show-hero-icon:hover {
  background: linear-gradient(135deg, #EE7C01 0%, #d96a01 100%);
  box-shadow: 0 8px 28px rgba(238, 124, 1, 0.35);
}

.service-show-hero-icon-svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.service-show-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.service-show-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* ---- Service Media Section (main image + gallery) ---- */
.service-show-media {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  border-top: 1px solid rgba(0, 56, 127, 0.06);
  border-bottom: 1px solid rgba(0, 56, 127, 0.06);
}

.service-show-media-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-show-feature-wrap {
  margin-bottom: 0;
}

.service-show-feature-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 56, 127, 0.1), 0 0 0 1px rgba(0, 56, 127, 0.06);
  background: #f1f5f9;
}

@media (min-width: 640px) {
  .service-show-feature-img-wrap {
    border-radius: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .service-show-feature-img-wrap {
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 56, 127, 0.12), 0 0 0 1px rgba(0, 56, 127, 0.06);
  }
}

.service-show-feature-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-show-feature-img-wrap:hover .service-show-feature-img {
  transform: scale(1.02);
}

/* Gallery inside media section */
.service-show-media .service-show-gallery {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 56, 127, 0.08);
}

.service-show-media .service-show-gallery-title {
  margin-bottom: 1rem;
}

.service-show-gallery-caption {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  padding: 0.5rem 0.5rem 0;
  line-height: 1.3;
  text-align: center;
}

@media (min-width: 640px) {
  .service-show-gallery-caption {
    font-size: 0.8125rem;
    padding-top: 0.625rem;
  }
}

/* ---- Main content area (living background) ---- */
.service-show-main-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.service-show-main-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #f0f5fc 0%, #f1f5f9 30%, #ffffff 55%, #fef8f2 85%, #fef5ee 100%);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 56, 127, 0.06) 1.5px, transparent 0),
    linear-gradient(160deg, #f0f5fc 0%, #f1f5f9 30%, #ffffff 55%, #fef8f2 85%, #fef5ee 100%);
  background-size: 28px 28px, 100% 100%;
  background-position: 0 0, 0 0;
  pointer-events: none;
}

.service-show-main-bg::before,
.service-show-main-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: services-orb-float 18s ease-in-out infinite;
}

.service-show-main-bg::before {
  width: min(85vw, 560px);
  height: min(85vw, 560px);
  background: rgba(0, 56, 127, 0.08);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.service-show-main-bg::after {
  width: min(70vw, 450px);
  height: min(70vw, 450px);
  background: rgba(238, 124, 1, 0.07);
  bottom: -18%;
  right: -8%;
  animation-delay: -6s;
}

[dir="rtl"] .service-show-main-bg::before {
  left: auto;
  right: -10%;
}

[dir="rtl"] .service-show-main-bg::after {
  right: auto;
  left: -8%;
}

.service-show-main .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .service-show-main .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .service-show-main .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.service-show-article {
  margin: 0;
}

/* Prose-style content */
.service-show-content.prose-show {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
}

.service-show-content.prose-show p {
  margin-bottom: 1.25rem;
}

.service-show-content.prose-show p:last-child {
  margin-bottom: 0;
}

.service-show-content.prose-show a {
  color: #00387F;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.service-show-content.prose-show a:hover {
  color: #EE7C01;
}

/* Gallery */
.service-show-gallery {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 56, 127, 0.08);
}

.service-show-gallery-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-show-gallery-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 4px;
  background: linear-gradient(90deg, #00387F 0%, #EE7C01 100%);
  border-radius: 2px;
}

[dir="rtl"] .service-show-gallery-title::after {
  left: auto;
  right: 0;
}

.service-show-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-show-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.service-show-gallery-item {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eef5 0%, #f1f5f9 100%);
  box-shadow: 0 2px 8px rgba(0, 56, 127, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-decoration: none;
  color: inherit;
}

.service-show-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 56, 127, 0.12);
}

.service-show-gallery-item-inner {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-show-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-show-gallery-item:hover img {
  transform: scale(1.06);
}

/* Sidebar */
.service-show-sidebar {
  position: relative;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .service-show-sidebar {
    margin-top: 0;
    position: sticky;
    top: 6rem;
    height: fit-content;
  }
}

.service-show-cta-card {
  position: relative;
  background: linear-gradient(135deg, #00387F 0%, #002d66 100%);
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 56, 127, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.service-show-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, #EE7C01 100%);
  z-index: 1;
}

[dir="rtl"] .service-show-cta-card::before {
  background: linear-gradient(90deg, #EE7C01 0%, rgba(255,255,255,0.3) 100%);
}

.service-show-cta-card:hover {
  box-shadow: 0 12px 32px rgba(0, 56, 127, 0.28);
}

@media (min-width: 640px) {
  .service-show-cta-card {
    padding: 2rem 1.75rem;
  }
}

.service-show-cta-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.service-show-cta-card-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}

.service-show-cta-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: #EE7C01;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.service-show-cta-card-btn:hover {
  background: #d96a01;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 124, 1, 0.4);
}

.service-show-contact-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 12px rgba(0, 56, 127, 0.06);
  transition: box-shadow 0.28s ease, border-color 0.2s ease;
}

.service-show-contact-card:hover {
  box-shadow: 0 6px 20px rgba(0, 56, 127, 0.08);
  border-color: rgba(0, 56, 127, 0.12);
}

@media (min-width: 640px) {
  .service-show-contact-card {
    padding: 2rem 1.75rem;
  }
}

.service-show-contact-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.service-show-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-show-contact-list li {
  margin: 0;
}

.service-show-contact-list li + li {
  margin-top: 0.75rem;
}

.service-show-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.service-show-contact-link:hover {
  color: #00387F;
}

.service-show-contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  background: linear-gradient(135deg, rgba(0, 56, 127, 0.08) 0%, rgba(0, 56, 127, 0.04) 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00387F;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-show-contact-link:hover .service-show-contact-icon {
  background: rgba(0, 56, 127, 0.12);
  color: #EE7C01;
}

.service-show-contact-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Related section reuses .services-cards-section + .services-cards-bg */
.service-show-related {
  padding: 0;
}

.service-show-related-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0;
}

/* ===========================================
   SERVICE DETAIL - MODERN REDESIGN (svc-*)
   =========================================== */

/* ---- Hero ---- */
.svc-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 5.5rem;
  overflow: hidden;
  color: #fff;
  /* Soft, smooth bottom curve (not sharp) – gentle wave with many points */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 91%,
    95% 90.2%,
    90% 91.2%,
    85% 90%,
    80% 91%,
    75% 90.3%,
    70% 90.9%,
    65% 90.1%,
    60% 91%,
    55% 90.2%,
    50% 90.8%,
    45% 90.1%,
    40% 90.9%,
    35% 90.2%,
    30% 91%,
    25% 90.3%,
    20% 90.8%,
    15% 90.1%,
    10% 90.9%,
    5% 90.2%,
    0 91%
  );
}

@media (min-width: 640px) {
  .svc-hero {
    min-height: 75vh;
    padding-top: 6rem;
  }
}

@media (min-width: 1024px) {
  .svc-hero {
    min-height: 85vh;
  }
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #00387F 0%, #002550 50%, #001a3d 100%);
}

.svc-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,26,61,0.5) 50%, rgba(0,26,61,0.92) 100%);
}

.svc-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,56,127,0.85) 0%, rgba(0,37,80,0.9) 100%);
  z-index: 1;
}

.svc-hero-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.svc-hero-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.svc-hero-inner {
  position: relative;
  z-index: 10;
  /* Space above the small glass cut so it never overlaps the text */
  padding-bottom: 4rem;
}

.svc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8125rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mobile: extra padding so scrollbar doesn’t overlap text */
@media (max-width: 767px) {
  .svc-breadcrumb {
    padding-right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
  }
  [dir="rtl"] .svc-breadcrumb {
    padding-right: 1rem;
    padding-left: max(1.5rem, env(safe-area-inset-left, 1.5rem));
  }
}

@media (min-width: 640px) {
  .svc-breadcrumb {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .svc-breadcrumb {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.svc-breadcrumb-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-breadcrumb-link:hover {
  color: #fff;
}

.svc-breadcrumb-sep {
  color: rgba(255,255,255,0.45);
}

.svc-breadcrumb-current {
  color: #fff;
  font-weight: 500;
}

.svc-hero-content {
  max-width: 42rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mobile: extra padding so scrollbar doesn’t overlap title/description */
@media (max-width: 767px) {
  .svc-hero-content {
    padding-right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
  }
  [dir="rtl"] .svc-hero-content {
    padding-right: 1rem;
    padding-left: max(1.5rem, env(safe-area-inset-left, 1.5rem));
  }
}

@media (min-width: 640px) {
  .svc-hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .svc-hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.svc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.svc-hero-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EE7C01;
}

.svc-hero-badge-icon svg {
  width: 100%;
  height: 100%;
}

/* Force white title/desc so they fit the dark hero (override any global h1/p color) */
.svc-hero .svc-hero-title,
.svc-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem 0;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25), 0 0 1px rgba(0,0,0,0.2);
}

.svc-hero .svc-hero-desc,
.svc-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  margin: 0;
}

.svc-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.svc-hero-scroll-line {
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
  animation: svc-scroll-pulse 2s ease-in-out infinite;
}

@keyframes svc-scroll-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Liquid glass strip at bottom – frosted blue tint, no white */
.svc-hero-cut {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  pointer-events: none;
  z-index: 5;
  /* Liquid glass: blue-tinted frosted, blends with hero */
  background: linear-gradient(
    180deg,
    rgba(0, 56, 127, 0.12) 0%,
    rgba(0, 37, 80, 0.2) 50%,
    rgba(0, 26, 64, 0.28) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -1px 0 rgba(0, 26, 64, 0.2);
}

@media (min-width: 640px) {
  .svc-hero-cut {
    height: 3rem;
    background: linear-gradient(
      180deg,
      rgba(0, 56, 127, 0.1) 0%,
      rgba(0, 37, 80, 0.18) 50%,
      rgba(0, 26, 64, 0.26) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ---- Media (feature + gallery) ---- */
.svc-media {
  background: #0f172a;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .svc-media {
    padding: 5rem 0 6rem;
  }
}

.svc-media-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .svc-media-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .svc-media-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.svc-feature {
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .svc-feature {
    margin-bottom: 4rem;
  }
}

.svc-feature-inner {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}

@media (min-width: 1024px) {
  .svc-feature-inner {
    border-radius: 1.5rem;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  }
}

.svc-feature-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-feature-inner:hover .svc-feature-img {
  transform: scale(1.03);
}

.svc-feature-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: inherit;
  pointer-events: none;
}

.svc-gallery-head {
  margin-bottom: 1.5rem;
}

.svc-gallery-title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.svc-gallery-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .svc-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .svc-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.svc-gallery-item {
  position: relative;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #1e293b;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

.svc-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (min-width: 640px) {
  .svc-gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .svc-gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.svc-gallery-item-inner {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.svc-gallery-item--large .svc-gallery-item-inner {
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 220px;
}

.svc-gallery-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.svc-gallery-item:hover .svc-gallery-item-inner img {
  transform: scale(1.08);
}

.svc-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,56,127,0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.svc-gallery-item:hover .svc-gallery-item-overlay {
  opacity: 1;
}

.svc-gallery-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
}

.svc-gallery-caption {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.75rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-gallery-item:hover .svc-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Main content + sidebar ---- */
.svc-main {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .svc-main {
    padding: 5rem 0 6rem;
  }
}

.svc-main-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 35%, #ffffff 60%, #fef8f2 90%);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 56, 127, 0.05) 1.5px, transparent 0),
    linear-gradient(160deg, #f8fafc 0%, #f1f5f9 35%, #ffffff 60%, #fef8f2 90%);
  background-size: 24px 24px, 100% 100%;
  pointer-events: none;
}

.svc-main-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .svc-main-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .svc-main-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.svc-main-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .svc-main-grid {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
  }
}

.svc-article-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 56, 127, 0.08), 0 0 0 1px rgba(0, 56, 127, 0.06);
}

@media (min-width: 640px) {
  .svc-article-card {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .svc-article-card {
    padding: 3rem 2.5rem;
    border-radius: 1.75rem;
  }
}

.svc-article-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #00387F 0%, #EE7C01 100%) 1;
}

[dir="rtl"] .svc-article-heading {
  border-image: linear-gradient(90deg, #EE7C01 0%, #00387F 100%) 1;
}

.svc-prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #334155;
}

.svc-prose p {
  margin-bottom: 1.25rem;
}

.svc-prose p:last-child {
  margin-bottom: 0;
}

.svc-prose a {
  color: #00387F;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.svc-prose a:hover {
  color: #EE7C01;
}

/* Sidebar */
.svc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .svc-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.svc-cta-card {
  position: relative;
  background: linear-gradient(145deg, #00387F 0%, #002d66 50%, #001a40 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 56, 127, 0.3), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(0, 56, 127, 0.35);
}

.svc-cta-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(238,124,1,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.svc-cta-title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.svc-cta-desc {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}

.svc-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #EE7C01 0%, #d96a01 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 124, 1, 0.45);
}

.svc-cta-btn-arrow {
  width: 1.25rem;
  height: 1.25rem;
}

[dir="rtl"] .svc-cta-btn-arrow {
  transform: rotate(180deg);
}

.svc-contact-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px rgba(0, 56, 127, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.2s ease;
}

.svc-contact-card:hover {
  box-shadow: 0 8px 28px rgba(0, 56, 127, 0.1);
  border-color: rgba(0, 56, 127, 0.12);
}

.svc-contact-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.svc-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-contact-list li {
  margin: 0;
}

.svc-contact-list li + li {
  margin-top: 0.75rem;
}

.svc-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.svc-contact-link:hover {
  color: #00387F;
}

.svc-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  background: linear-gradient(135deg, rgba(0, 56, 127, 0.08) 0%, rgba(0, 56, 127, 0.04) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00387F;
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-contact-link:hover .svc-contact-icon {
  background: rgba(0, 56, 127, 0.12);
  color: #EE7C01;
}

.svc-contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---- Related ---- */
.svc-related {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .svc-related {
    padding: 5rem 0 6rem;
  }
}

.svc-related-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #f0f5fc 0%, #f8fafc 50%, #fef8f2 100%);
  pointer-events: none;
}

.svc-related-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .svc-related-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .svc-related-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.svc-related-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.svc-related-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.svc-related-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00387F;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.svc-related-all:hover {
  color: #EE7C01;
  gap: 0.75rem;
}

.svc-related-all svg {
  width: 1.25rem;
  height: 1.25rem;
}

[dir="rtl"] .svc-related-all svg {
  transform: rotate(180deg);
}

.svc-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .svc-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .svc-related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===========================================
   SERVICE DETAIL PAGE (legacy / aliases)
   =========================================== */

.service-detail {
  padding: 2rem 0 4rem;
}

/* Service Hero */
.service-hero {
  position: relative;
  margin-bottom: 3rem;
}

.service-hero-image {
  aspect-ratio: 21/9;
  background: var(--color-neutral-100);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.service-hero-content {
  color: #ffffff;
}

.service-hero-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

.service-hero-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.service-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.service-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
}

/* Service Content Layout */
.service-content-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Main Content */
.service-main-content {
  min-width: 0;
}

.service-description {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-neutral-700);
  margin-bottom: 2rem;
}

.service-features {
  margin-bottom: 3rem;
}

.service-features-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 1.5rem;
}

.service-features-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-neutral-50);
  border-radius: var(--radius-xl);
}

.service-feature-icon {
  width: 2rem;
  height: 2rem;
  background: var(--color-primary-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-feature-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-primary-600);
}

.service-feature-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-700);
  font-weight: 500;
}

/* Service Gallery */
.service-gallery {
  margin-bottom: 3rem;
}

.service-gallery-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 1.5rem;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-gallery-item:hover img {
  transform: scale(1.05);
}

.service-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.service-gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

/* Service Info Card */
.service-info-card {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-info-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-neutral-100);
}

.service-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-info-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary-600);
  flex-shrink: 0;
}

.service-info-item span {
  font-size: var(--text-sm);
  color: var(--color-neutral-700);
}

/* Service CTA Card */
.service-cta-card {
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  color: #ffffff;
}

.service-cta-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-cta-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
}

.service-cta-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.service-cta-text {
  font-size: var(--text-sm);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #ffffff;
  color: var(--color-primary-600);
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.service-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Related Services */
.related-services {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-neutral-200);
}

.related-services-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 1.5rem;
}

/* Process Steps */
.service-process {
  margin-bottom: 3rem;
}

.service-process-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 1.5rem;
}

.process-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-neutral-50);
  border-radius: var(--radius-xl);
  position: relative;
}

.process-step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary-600);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-neutral-900);
  margin-bottom: 0.5rem;
}

.process-step-text {
  font-size: var(--text-sm);
  color: var(--color-neutral-600);
  margin: 0;
}

/* Arrow between steps */
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.75rem;
    right: -0.75rem;
    width: 1.5rem;
    height: 2px;
    background: var(--color-primary-300);
  }
  
  [dir="rtl"] .process-step:not(:last-child)::after {
    right: auto;
    left: -0.75rem;
  }
}

