/* SAVOV PRO — Premium service detail pages */

/* ── Hero ─────────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h, 72px) + 3rem) 0 4.5rem;
  overflow: hidden;
  background: #0a0a0a;
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.06);
}

.svc-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.62) 48%, rgba(6, 6, 6, 0.28) 100%),
    linear-gradient(to top, rgba(6, 6, 6, 0.88) 0%, transparent 50%);
}

.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.svc-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc-hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.svc-hero h1 span {
  color: var(--gold);
}

.svc-hero-lead {
  margin: 0 0 2.25rem;
  max-width: 460px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(244, 244, 245, 0.68);
}

.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ── Body layout ──────────────────────────────────────────── */
.svc-body {
  padding: 5.5rem 0 2rem;
}

.svc-section {
  margin-bottom: 5.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.svc-section.is-in {
  opacity: 1;
  transform: translateY(0);
}

.svc-section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.svc-section h2 .accent {
  color: var(--gold);
}

.svc-divider {
  width: 32px;
  height: 2px;
  margin: 0 0 1.85rem;
  background: var(--gold);
}

.svc-section > p,
.svc-prose p {
  margin: 0 0 1.15rem;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(244, 244, 245, 0.68);
}

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

.svc-outro {
  margin-top: 1.75rem;
}

/* ── Feature cards (sparse) ───────────────────────────────── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.svc-card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  transition: border-color 0.25s ease;
}

.svc-card:hover {
  border-top-color: rgba(201, 162, 39, 0.55);
  background: transparent;
  transform: none;
}

.svc-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.svc-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 244, 245, 0.58);
  max-width: none;
}

/* ── Clean lists ──────────────────────────────────────────── */
.svc-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  max-width: 560px;
}

.svc-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244, 244, 245, 0.68);
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.svc-list strong {
  color: rgba(244, 244, 245, 0.95);
  font-weight: 600;
}

/* ── Equipment cards ──────────────────────────────────────── */
.svc-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.svc-equip-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 240px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #121212;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.25rem;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.svc-equip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(6, 6, 6, 0.94) 0%,
    rgba(6, 6, 6, 0.45) 55%,
    rgba(6, 6, 6, 0.15) 100%
  );
  pointer-events: none;
}

.svc-equip-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.svc-equip-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.svc-equip-card p {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(244, 244, 245, 0.62);
  max-width: none;
}

/* ── Product gallery ──────────────────────────────────────── */
.svc-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.svc-product-item {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #121212;
  aspect-ratio: 1;
}

.svc-product-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.svc-product-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.svc-product-item:hover img {
  transform: scale(1.04);
}

.svc-gallery-more {
  display: flex;
  justify-content: center;
  margin: 2.25rem 0 0;
}

.svc-gallery-more .btn {
  min-width: 15rem;
  padding: 0.78rem 1.7rem;
  border-color: var(--gold);
  color: var(--text);
}

/* ── Process steps ────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
  max-width: 520px;
  border-left: 1px solid rgba(201, 162, 39, 0.22);
  padding-left: 1.5rem;
}

.process-step {
  position: relative;
  padding: 0 0 1.6rem;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-num {
  position: absolute;
  left: -1.5rem;
  top: 0.4rem;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #0a0a0a;
}

.process-step h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 244, 245, 0.58);
  max-width: none;
}

/* ── CTA band ─────────────────────────────────────────────── */
.svc-cta {
  margin: 0.5rem 0 4.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  background: transparent;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.svc-cta.is-in {
  opacity: 1;
  transform: translateY(0);
}

.svc-cta h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: #fff;
}

.svc-cta p {
  margin: 0 auto 1.85rem;
  max-width: 400px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(244, 244, 245, 0.55);
}

.svc-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@media (max-width: 800px) {
  .svc-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .svc-hero {
    min-height: 62vh;
    padding-bottom: 3.25rem;
  }

  .svc-body {
    padding-top: 3.75rem;
  }

  .svc-section {
    margin-bottom: 3.75rem;
  }

  .svc-media-grid,
  .svc-product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-equip-card {
    min-height: 180px;
  }

  .svc-cta {
    padding: 2.75rem 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-section,
  .svc-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .svc-equip-card,
  .svc-card,
  .svc-product-item img {
    transition: none;
  }
}
