body.page-service {
  background: var(--bg-light);
}

.page-service .site-header {
  background: linear-gradient(180deg, rgba(2, 11, 24, 0.42), rgba(2, 11, 24, 0));
}

.page-service .site-header::after {
  opacity: 1;
}

.service-hero {
  position: relative;
  overflow: clip;
  min-height: 830px;
  padding-top: 126px;
  background:
    radial-gradient(860px 620px at 18% 42%, rgba(198, 160, 14, 0.12), transparent 64%),
    radial-gradient(720px 480px at 84% 22%, rgba(140, 176, 225, 0.14), transparent 70%),
    linear-gradient(90deg, #020b18 0%, #041327 42%, #081d36 100%);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 500px at var(--mx, 80%) var(--my, 22%), rgba(255, 255, 255, 0.12), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.service-hero-backdrop,
.service-hero-circuit,
.service-hero-lightbar,
.service-hero-sparks {
  position: absolute;
  pointer-events: none;
}

.service-hero-backdrop {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 24, 0.96) 0%, rgba(2, 11, 24, 0.88) 36%, rgba(2, 11, 24, 0.42) 68%, rgba(2, 11, 24, 0.12) 100%),
    radial-gradient(720px 360px at 82% 26%, rgba(255, 255, 255, 0.06), transparent 72%);
}

.service-hero-lightbar {
  top: 28px;
  right: 4%;
  width: min(60vw, 980px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(248, 252, 255, 0.92), rgba(255, 255, 255, 0));
  filter: blur(6px);
  opacity: 0.82;
}

.service-hero-circuit {
  inset: 18px auto 0 0;
  width: min(54vw, 860px);
  height: 650px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.92;
  mix-blend-mode: screen;
  animation: circuitFloat 11s ease-in-out infinite;
}

.service-hero-sparks {
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(224, 186, 46, 0.84) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 28%, rgba(224, 186, 46, 0.72) 0 5px, transparent 6px),
    radial-gradient(circle at 15% 47%, rgba(224, 186, 46, 0.56) 0 4px, transparent 5px),
    radial-gradient(circle at 23% 62%, rgba(224, 186, 46, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 72%, rgba(224, 186, 46, 0.3) 0 4px, transparent 5px);
  opacity: 0.88;
}

.service-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: 42px;
  min-height: calc(830px - 126px);
  padding: 78px 0 98px;
}

.service-hero-copy {
  max-width: 740px;
  color: #fff;
}

.service-kicker {
  margin: 0 0 18px;
  color: rgba(224, 186, 46, 0.95);
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.55rem, 3.95vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.service-hero-copy p {
  margin: 24px 0 0;
  max-width: 690px;
  font-size: clamp(1rem, 1.26vw, 1.18rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: -0.012em;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.service-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.service-hero-card {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.service-hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.service-hero-card--wide {
  aspect-ratio: 1.04;
}

.service-hero-card--portrait {
  max-width: 430px;
  aspect-ratio: 0.7;
}

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

.page-battery .service-hero-card img {
  object-position: 56% center;
}

.page-safety .service-hero-card img {
  object-position: center center;
}

.page-litigation .service-hero-card img {
  object-position: center top;
}

.service-hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 11, 24, 0.58);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.service-intro {
  padding: 96px 0 108px;
}

.service-intro-copy {
  max-width: 930px;
  margin: 28px auto 0;
  text-align: center;
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  line-height: 1.8;
  color: var(--text-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.detail-card {
  min-height: 230px;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.detail-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(198, 160, 14, 0.32);
  box-shadow: 0 18px 34px rgba(14, 20, 29, 0.08);
}

.detail-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(61, 84, 119, 0.08);
  color: #3d5477;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-card h3 {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.42;
  letter-spacing: -0.018em;
  color: var(--text);
}

.detail-card p {
  margin: 14px 0 0;
  font-size: 0.97rem;
  line-height: 1.76;
  color: var(--text-soft);
}

.service-band {
  position: relative;
  overflow: clip;
  padding: 88px 0 96px;
  color: #fff;
  background:
    radial-gradient(720px 420px at 82% 18%, rgba(140, 174, 221, 0.14), transparent 72%),
    linear-gradient(90deg, #020b18 0%, #041225 46%, #08192f 100%);
}

.service-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(2, 11, 24, 0), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.service-band-blur,
.service-band-circuit,
.service-band-glow {
  position: absolute;
  pointer-events: none;
}

.service-band-circuit {
  inset: 22px auto 0 0;
  width: min(48vw, 740px);
  height: 620px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.56;
  mix-blend-mode: screen;
  animation: circuitFloat 12s ease-in-out infinite;
}

.service-band-blur {
  inset: 0;
  background:
    radial-gradient(600px 340px at 15% 58%, rgba(224, 186, 46, 0.12), transparent 72%),
    radial-gradient(540px 360px at 84% 38%, rgba(255, 255, 255, 0.08), transparent 74%);
  filter: blur(8px);
}

.service-band-glow {
  right: -6%;
  bottom: -14%;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 191, 48, 0.16), rgba(236, 191, 48, 0.02) 56%, transparent 72%);
  filter: blur(18px);
}

.band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.band-copy {
  padding: 18px 0;
}

.band-copy h2 {
  margin: 0;
  font-size: clamp(2.05rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.band-copy p {
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.84);
}

.band-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.band-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.band-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 160, 14, 0.12);
}

.band-media {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  min-height: 360px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.24);
}

.band-media img,
.band-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.support-card {
  min-height: 290px;
  padding: 30px 30px 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.support-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(198, 160, 14, 0.32);
  box-shadow: 0 18px 34px rgba(14, 20, 29, 0.08);
}

.support-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 16px 0 0;
  font-size: 0.99rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.question-card {
  min-height: 182px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.question-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 160, 14, 0.32);
  box-shadow: 0 16px 28px rgba(14, 20, 29, 0.08);
}

.question-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.page-gallery-section {
  padding: 108px 0 120px;
}

.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.page-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #d9d8db;
  box-shadow: 0 16px 34px rgba(10, 16, 28, 0.08);
  aspect-ratio: 4 / 3;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

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

.page-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 36px rgba(10, 16, 28, 0.12);
}

.page-gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1400px) {
  .detail-grid,
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .service-hero {
    min-height: 0;
  }

  .service-hero-inner,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-inner {
    min-height: 0;
    padding-top: 70px;
  }

  .service-hero-visual {
    justify-content: flex-start;
  }

  .service-hero-card--portrait {
    max-width: 520px;
  }

  .detail-grid,
  .support-columns,
  .page-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .service-hero {
    padding-top: 100px;
  }

  .service-hero-lightbar,
  .service-hero-circuit {
    inset: 90px auto auto -10px;
    width: min(82vw, 520px);
    height: 420px;
    opacity: 0.72;
  }

  .service-hero-lightbar {
    inset: 24px 3% auto auto;
    width: min(72vw, 620px);
    height: 12px;
  }

  .service-hero-inner {
    gap: 28px;
    padding: 54px 0 72px;
  }

  .service-hero-copy h1 {
    max-width: 12ch;
  }

  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
  }

  .service-hero-card,
  .service-hero-card--portrait {
    max-width: none;
    width: 100%;
  }

  .service-intro,
  .page-gallery-section {
    padding: 80px 0 84px;
  }

  .service-band {
    padding: 74px 0 78px;
  }

  .detail-grid,
  .support-columns,
  .question-grid,
  .page-gallery-grid {
    grid-template-columns: 1fr;
  }

  .band-media {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .service-kicker {
    font-size: 0.84rem;
    letter-spacing: 0.16em;
  }

  .service-hero-copy p,
  .service-intro-copy,
  .detail-card p,
  .support-card p,
  .band-copy p,
  .question-card h3 {
    font-size: 0.97rem;
  }

  .detail-card,
  .support-card,
  .question-card {
    padding: 22px 18px 20px;
  }

  .service-hero-card,
  .band-media {
    border-radius: 24px;
  }
}
