.service-detail { padding: 64px 0; background: #fff; }
.service-detail .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.service-detail__title { font-weight: 900; font-size: clamp(28px, 2.8vw, 40px); margin: 0 0 18px; }
.service-detail__wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.service-detail__media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.service-detail__content { color: #475569; line-height: 1.7; }
.service-detail__content p { margin: 0 0 12px; }
.service-detail__price { display:flex; gap:10px; align-items:baseline; margin: 18px 0; }
.service-detail__price .price-prefix { color: var(--color5); font-weight: 800; }
.service-detail__price .price-new, .service-detail__price .price-main { font-weight: 900; font-size: 1.6rem; }
.service-detail__price .price-old { color:#94a3b8; }
.service-detail__cta { display:flex; gap:12px; margin-top: 10px; }
.service-detail__back { margin-top: 28px; }
@media (max-width: 900px){ .service-detail__wrap { grid-template-columns: 1fr; } }

/* ===== Service Detail (big card) ===== */
.service-hero {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(24,147,105,.10), transparent 60%),
    radial-gradient(1200px 600px at 90% 90%, rgba(29,110,147,.12), transparent 60%),
    linear-gradient(135deg, rgba(24,147,105,.06), rgba(29,110,147,.06));
  padding: 64px 0 84px;
}
.service-hero .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.service-breadcrumb {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color5, #1D6E93);
  text-decoration: none;
  font-weight: 700;
}
.service-breadcrumb:hover { text-decoration: underline; }

.service-card-lg {
  position: relative;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  padding: clamp(18px, 2vw, 26px);
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: clamp(16px, 2vw, 28px);
  isolation: isolate;
}

/* subtle animated conic glow */
.service-card-lg::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 20px;
  background: conic-gradient(from var(--_angle,0deg),
    var(--color1, #189369),
    var(--color5, #1D6E93),
    var(--color1, #189369));
  filter: blur(14px);
  opacity: .18;
  z-index: -1;
  animation: svcSpin 12s linear infinite;
}
@keyframes svcSpin { to { --_angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .service-card-lg::before { animation: none; }
}

.service-card-lg__media {
  position: relative;
  align-self: start;
}
.service-card-lg__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.service-card-lg__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  color: #0f172a;
  font-weight: 800;
  font-size: .8rem;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.service-card-lg__content { color: #475569; line-height: 1.75; }
.service-card-lg__title {
  margin: 4px 0 10px;
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 40px);
  color: #0f172a;
}

/* Rich text defaults inside description */
.service-card-lg__desc > * + * { margin-top: 12px; }
.service-card-lg__desc h2,
.service-card-lg__desc h3,
.service-card-lg__desc h4 { color: #0f172a; margin-top: 16px; }
.service-card-lg__desc ul { padding-left: 1.1rem; }
.service-card-lg__desc li { margin: 6px 0; }

/* Price block */
.service-card-lg__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-top: 16px;
}
.service-card-lg__price .price-prefix { color: var(--color5); font-weight: 800; }
.service-card-lg__price .price-main,
.service-card-lg__price .price-new {
  font-weight: 900;
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.8rem);
  color: var(--text-color-dark, #000);
}
.service-card-lg__price .price-old { color: #9aa1a8; }

/* CTAs */
.service-card-lg__cta { display: flex; gap: 12px; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 16px;
  border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; cursor: pointer;
}
.btn--primary { background: var(--color5, #1D6E93); color: #fff; }
.btn--primary:hover { background: #005fa3; }
.btn:not(.btn--primary) { border-color: var(--color5,#1D6E93); color: var(--color5,#1D6E93); background: transparent; }
.btn:not(.btn--primary):hover { background: var(--color5,#1D6E93); color: #fff; }

/* Responsive */
@media (max-width: 992px) {
  .service-card-lg { grid-template-columns: 1fr; }
  .service-card-lg__media img { aspect-ratio: 16 / 9; }
}


/* Make the service detail background fill the viewport */
.service-hero {
  /* keep your existing background gradients */
  /* fallback for older browsers */
  min-height: 100vh;

  /* modern, safe viewport units (iOS/Android chrome address bar) */
  min-height: 100svh;

  /* if supported, dynamic viewport height */
  /* (kept behind supports so older browsers ignore it) */
}
@supports (height: 100dvh) {
  .service-hero { min-height: 100dvh; }
}

/* Optional: ensure the inner container doesn’t collapse and stays nicely spaced */
.service-hero .container {
  min-height: inherit;              /* take the section’s min-height */
  display: grid;
  align-content: start;             /* keep breadcrumb + card toward the top */
  gap: 16px;
  /* if you prefer vertical centering instead, swap the two lines below: */
  /* align-content: center; */
  /* padding-block: clamp(48px, 4vw, 84px);  // add if you want extra breathing room */
}
