.service-page-main {
  background:
    radial-gradient(circle at top left, rgba(40, 154, 2, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(251, 136, 21, 0.08), transparent 25%),
    var(--bg-page);
}

/* =========================
   HERO
========================= */

.service-hero-1 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-1.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-2 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-2.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-3 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-3.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-4 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-4.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-5 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-5.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-6 {
  position: relative;
  min-height: 100vh;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(12, 16, 22, 0.68), rgba(12, 16, 22, 0.72)),
    url("../assets/service-6.jpeg") center/cover no-repeat;
  overflow: hidden;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(251, 136, 21, 0.18), transparent 22%),
    radial-gradient(circle at 85% 25%, rgba(40, 154, 2, 0.16), transparent 24%);
  pointer-events: none;
}

.service-hero-container,
.service-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.76);
}

.service-breadcrumb a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.service-breadcrumb strong {
  color: #ffffff;
}

.service-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.service-hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: 1.04;
  color: white;
  max-width: 760px;
  margin-bottom: 22px;
}

.service-hero-description {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-hero-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(12, 16, 22, 0.16);
}

.service-mini-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #fdf1e5;
  color: var(--color-accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-mini-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-hero-card h2 {
  font-size: 1.6rem;
  color: var(--color-dark-800);
  margin-bottom: 18px;
}

.service-hero-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.service-hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-dark-700);
  font-weight: 700;
  line-height: 1.6;
}

.service-hero-card li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================
   INTRO
========================= */

.service-intro,
.service-gallery,
.service-process,
.service-cta {
  padding: 90px 20px;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.service-intro-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  color: var(--color-dark-800);
}

.service-intro-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-intro-points {
  display: grid;
  gap: 18px;
}

.service-point-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 16px;
  border: 1px solid rgba(17, 23, 30, 0.06);
  box-shadow: 0 14px 30px rgba(12, 16, 22, 0.06);
}

.service-point-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-primary-100);
  color: var(--color-primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-point-icon svg {
  width: 24px;
  height: 24px;
}

.service-point-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-dark-800);
}

.service-point-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================
   GALLERY
========================= */

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: stretch;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 560px;
  min-height: 560px;
  max-height: 560px;
  border: none;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 16, 22, 0.08);
  cursor: pointer;
  padding: 0;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 16px;
  height: 560px;
}

.gallery-thumb {
  position: relative;
  border: 2px solid transparent;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(12, 16, 22, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  transform: translateY(-2px);
  border-color: var(--color-accent-500);
  box-shadow: 0 14px 30px rgba(12, 16, 22, 0.1);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-thumb-more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 22, 0.58);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

/* =========================
   FULLSCREEN GALLERY VIEWER
========================= */

.gallery-viewer {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-viewer.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-viewer-content {
  width: min(96vw, 1200px);
  height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-viewer-content img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-viewer-close,
.gallery-viewer-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-viewer-close:hover,
.gallery-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.gallery-viewer-close {
  top: 22px;
  right: 22px;
}

.gallery-viewer-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-viewer-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-viewer-prev:hover,
.gallery-viewer-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.gallery-viewer-close svg,
.gallery-viewer-nav svg {
  width: 24px;
  height: 24px;
}

#mainGalleryMedia {
  width: 100%;
  height: 100%;
}

#mainGalleryMedia img,
#mainGalleryMedia video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-viewer-content img,
.gallery-viewer-content video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-thumb-video::before {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(12, 16, 22, 0.28);
  z-index: 2;
  pointer-events: none;
}

/* =========================
   RESPONSIVE GALLERY
========================= */

@media (max-width: 1100px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: none;
    height: auto;
  }

  .gallery-thumb {
    min-height: 110px;
  }
}

@media (max-width: 640px) {
  .gallery-main {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    border-radius: 20px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb {
    min-height: 90px;
    border-radius: 16px;
  }

  .gallery-viewer {
    padding: 12px;
  }

  .gallery-viewer-content {
    width: 100%;
    height: min(82vh, 560px);
  }

  .gallery-viewer-close,
  .gallery-viewer-nav {
    width: 44px;
    height: 44px;
  }

  .gallery-viewer-prev {
    left: 10px;
  }

  .gallery-viewer-next {
    right: 10px;
  }

  .gallery-viewer-close {
    top: 12px;
    right: 12px;
  }
}

/* =========================
   PROCESS
========================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 24px;
  border: 1px solid rgba(17, 23, 30, 0.06);
  box-shadow: 0 14px 30px rgba(12, 16, 22, 0.05);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-weight: 800;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--color-dark-800);
}

.process-card p {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =========================
   CTA
========================= */

.service-cta-card {
  background:
    linear-gradient(135deg, rgba(40, 154, 2, 0.96), rgba(28, 108, 1, 0.96));
  color: white;
  border-radius: 28px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 44px rgba(12, 16, 22, 0.14);
}

.service-cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: white;
  max-width: 720px;
}

.service-cta-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

.service-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .service-hero-content,
  .service-intro-grid,
  .gallery-layout,
  .process-grid,
  .service-cta-card {
    grid-template-columns: 1fr;
  }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-thumb img {
    height: 110px;
  }

  .service-cta-card {
    display: grid;
  }
}

@media (max-width: 900px) {
  .service-hero {
    padding: 120px 18px 70px;
    min-height: auto;
  }

  .service-intro,
  .service-gallery,
  .service-process,
  .service-cta {
    padding: 75px 18px;
  }

  .gallery-main {
    min-height: 420px;
  }
}

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

  .service-intro,
  .service-gallery,
  .service-process,
  .service-cta {
    padding: 70px 16px;
  }

  .service-breadcrumb {
    font-size: 0.88rem;
    gap: 6px;
  }

  .service-hero-text h1 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .service-hero-description,
  .service-intro-text p,
  .process-card p,
  .service-cta-card p {
    font-size: 0.96rem;
  }

  .service-hero-card,
  .process-card,
  .service-point-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .gallery-main {
    min-height: 260px;
    border-radius: 20px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb img {
    height: 90px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-cta-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .service-cta-actions,
  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-hero-actions a,
  .service-cta-actions a {
    width: 100%;
  }
}