/**
 * Service page polish
 */

/* ============================================
   Rich Hero (service-only hero replacement)
   ============================================ */
.p-service-rich-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: 160px 0 80px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b1220 0%, #142133 50%, #1c2a3a 100%);
}

.p-service-rich-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-service-rich-hero__bg picture,
.p-service-rich-hero__bg .p-service-rich-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  transform: scale(1.05);
}

.p-service-rich-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 100% at 18% 24%, rgba(0, 122, 138, 0.3), transparent 60%),
    radial-gradient(70% 90% at 88% 76%, rgba(28, 42, 58, 0.6), transparent 65%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.78) 100%);
}

.p-service-rich-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: p-service-rich-hero-orb 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.p-service-rich-hero__orb--a {
  top: -8%;
  left: -6%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #007a8a 0%, transparent 70%);
  animation-duration: 22s;
}

.p-service-rich-hero__orb--b {
  bottom: -12%;
  right: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #006064 0%, transparent 70%);
  animation-duration: 19s;
  animation-delay: -6s;
}

.p-service-rich-hero__orb--c {
  top: 28%;
  right: 24%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(77, 208, 225, 0.7) 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -10s;
  opacity: 0.32;
}

@keyframes p-service-rich-hero-orb {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 25px, 0) scale(0.95); }
}

.p-service-rich-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding: 0 20px;
  text-align: left;
}

.p-service-rich-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #4dd0e1;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.p-service-rich-hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4dd0e1);
}

.p-service-rich-hero__title {
  font-size: clamp(3.2rem, 5.4vw, 5.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.p-service-rich-hero__title-line {
  display: block;
  background: linear-gradient(120deg, #ffffff 0%, #e3f4f7 60%, #4dd0e1 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-service-rich-hero__lead {
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 0 56px;
}

.p-service-rich-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0;
  padding: 28px 32px;
  list-style: none;
  border: 1px solid rgba(77, 208, 225, 0.22);
  border-radius: 20px;
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.p-service-rich-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.p-service-rich-hero__stat + .p-service-rich-hero__stat {
  position: relative;
  padding-left: 24px;
}

.p-service-rich-hero__stat + .p-service-rich-hero__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(77, 208, 225, 0.35), transparent);
}

.p-service-rich-hero__stat-value {
  font-size: clamp(3.6rem, 4.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.p-service-rich-hero__stat-unit {
  font-size: 0.55em;
  font-weight: 700;
  color: #4dd0e1;
  margin-left: 2px;
}

.p-service-rich-hero__stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .p-service-rich-hero {
    min-height: auto;
    padding: 120px 0 56px;
  }
  .p-service-rich-hero__lead {
    margin-bottom: 36px;
  }
  .p-service-rich-hero__stats {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 22px;
  }
  .p-service-rich-hero__stat + .p-service-rich-hero__stat {
    padding-left: 0;
    padding-top: 18px;
  }
  .p-service-rich-hero__stat + .p-service-rich-hero__stat::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 208, 225, 0.35), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-service-rich-hero__orb {
    animation: none;
  }
}

/* ============================================
   Roles marquee — あなたの業務に効くAI活用
   ============================================ */
.p-service-roles {
  position: relative;
  padding: 96px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 12% 8%, rgba(0, 122, 138, 0.16), transparent 60%),
    radial-gradient(70% 80% at 92% 92%, rgba(28, 42, 58, 0.5), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #142133 50%, #1c2a3a 100%);
  color: #fff;
  isolation: isolate;
}

.p-service-roles::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(77, 208, 225, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.p-service-roles__head {
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto 56px;
}

.p-service-roles__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #4dd0e1;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.p-service-roles__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4dd0e1);
}

.p-service-roles__title {
  font-size: clamp(2.8rem, 4.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #fff;
}

.p-service-roles__accent {
  background: linear-gradient(120deg, #4dd0e1 0%, #007a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 2px;
}

.p-service-roles__lead {
  font-size: 1.5rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0;
}

.p-service-roles__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.p-service-roles__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 12px 0 24px;
  animation: p-service-roles-marquee 60s linear infinite;
  will-change: transform;
}

.p-service-roles__marquee:hover .p-service-roles__track,
.p-service-roles__marquee:focus-within .p-service-roles__track {
  animation-play-state: paused;
}

@keyframes p-service-roles-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .p-service-roles__track {
    animation-duration: 240s;
  }
}

.p-service-role-card {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  text-align: left;
  outline: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.p-service-role-card:hover,
.p-service-role-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.p-service-role-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.6s ease;
}

.p-service-role-card:hover .p-service-role-card__bg {
  transform: scale(1.06);
}

.p-service-role-card__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.55) 100%);
}

.p-service-role-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.6;
}

.p-service-role-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  position: absolute;
  top: 22px;
  left: 22px;
  color: #fff;
}

.p-service-role-card__body {
  position: relative;
}

.p-service-role-card__jp {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.p-service-role-card__en {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-transform: uppercase;
}

/* Per-theme gradient backgrounds — unified teal/navy brand palette */
.p-service-role-card--cyan     .p-service-role-card__bg { background: linear-gradient(155deg, #007a8a 0%, #06334a 100%); }
.p-service-role-card--teal     .p-service-role-card__bg { background: linear-gradient(155deg, #0a8a96 0%, #0a2e3a 100%); }
.p-service-role-card--sky      .p-service-role-card__bg { background: linear-gradient(160deg, #15829c 0%, #0d2a3f 100%); }
.p-service-role-card--violet   .p-service-role-card__bg { background: linear-gradient(165deg, #2e6c8a 0%, #14233c 100%); }
.p-service-role-card--mint     .p-service-role-card__bg { background: linear-gradient(155deg, #0b8a82 0%, #0a2b32 100%); }
.p-service-role-card--navy     .p-service-role-card__bg { background: linear-gradient(170deg, #1c3a52 0%, #0b1220 100%); }
.p-service-role-card--magenta  .p-service-role-card__bg { background: linear-gradient(155deg, #2c6b85 0%, #1c2a3a 100%); }
.p-service-role-card--indigo   .p-service-role-card__bg { background: linear-gradient(165deg, #2a4d78 0%, #101e34 100%); }
.p-service-role-card--amber    .p-service-role-card__bg { background: linear-gradient(155deg, #1a7c8a 0%, #0c2e3a 100%); }
.p-service-role-card--forest   .p-service-role-card__bg { background: linear-gradient(160deg, #0d7a78 0%, #0a2630 100%); }
.p-service-role-card--graphite .p-service-role-card__bg { background: linear-gradient(170deg, #344b62 0%, #0b1424 100%); }
.p-service-role-card--rose     .p-service-role-card__bg { background: linear-gradient(155deg, #245e7a 0%, #142a3a 100%); }

@media (max-width: 768px) {
  .p-service-roles { padding: 72px 0 84px; }
  .p-service-roles__head { margin-bottom: 36px; }
  .p-service-role-card { width: 200px; height: 300px; padding: 18px; }
  .p-service-role-card__icon { width: 44px; height: 44px; top: 18px; left: 18px; }
  .p-service-role-card__icon svg { width: 28px; height: 28px; }
  .p-service-role-card__jp { font-size: 1.7rem; }
}

/* ============================================
   Detail card — media icon-area (image instead of SVG)
   ============================================ */
.p-service-detail__icon-area--media {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: linear-gradient(135deg, #142133 0%, #0b1220 100%);
  border-radius: 24px;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.p-service-detail__icon-area--media picture,
.p-service-detail__icon-area--media .p-service-detail__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.p-service-detail__icon-area--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 0%, rgba(11, 18, 32, 0.55) 100%);
  pointer-events: none;
}

.p-service-detail--coaching:hover .p-service-detail__media {
  transform: scale(1.04);
}

.p-service-detail__media-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b1220;
  background: linear-gradient(135deg, #4dd0e1, #007a8a);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 122, 138, 0.35);
}

.p-service-page {
  background:
    radial-gradient(circle at 8% 9%, rgba(0, 179, 201, 0.08), transparent 28%),
    radial-gradient(circle at 94% 24%, rgba(0, 122, 138, 0.08), transparent 26%),
    linear-gradient(180deg, #f6fbfd 0%, #f8fafc 42%, #f6f8fb 100%);
}

.p-service-page .p-sub-hero {
  min-height: 360px;
  background:
    linear-gradient(115deg, rgba(8, 99, 115, 0.9), rgba(12, 28, 46, 0.88)),
    radial-gradient(circle at 72% 18%, rgba(102, 232, 255, 0.28), transparent 34%);
  overflow: hidden;
}

.p-service-page .p-sub-hero::before {
  content: '';
  position: absolute;
  inset: 42px -8% auto;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.p-service-overview {
  position: relative;
  padding: 88px 0 28px;
}

.p-service-overview__header {
  max-width: 940px;
}

.p-service-overview__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-primary);
}

.p-service-overview__eyebrow::before {
  content: '';
  width: 42px;
  height: 2px;
  background: currentColor;
}

.p-service-overview__title {
  margin: 0;
  max-width: 880px;
  color: #0b1220;
  font-size: clamp(3.2rem, 4vw, 5.4rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.p-service-overview__title-line {
  display: inline;
}

.p-service-overview__lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(28, 42, 58, 0.78);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 2;
  text-wrap: pretty;
}

.p-service-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.p-service-nav__item {
  display: flex;
  gap: 14px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 16px 40px rgba(15, 70, 88, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0.6, 0, 1), background-color 0.25s cubic-bezier(0.2, 0.6, 0, 1);
}

.p-service-nav__item:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 22px 54px rgba(15, 70, 88, 0.14);
  transform: translateY(-3px);
}

.p-service-nav__item:active {
  transform: translateY(0) scale(0.96);
}

.p-service-nav__item--featured {
  color: #fff;
  background: linear-gradient(145deg, #008b9b, #006978);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 22px 54px rgba(0, 122, 138, 0.24);
}

.p-service-nav__item--featured:hover {
  background: linear-gradient(145deg, #0096a8, #006978);
}

.p-service-nav__num {
  flex: 0 0 auto;
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.p-service-nav__item--featured .p-service-nav__num {
  color: rgba(255, 255, 255, 0.72);
}

.p-service-nav__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.p-service-nav__label {
  width: fit-content;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.05rem;
  font-weight: 800;
}

.p-service-nav__title {
  color: #0b1220;
  font-size: 1.48rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.p-service-nav__item--featured .p-service-nav__title {
  color: #fff;
}

.p-service-nav__text {
  margin-top: 8px;
  color: rgba(45, 62, 80, 0.66);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.7;
}

.p-service-nav__item--featured .p-service-nav__text {
  color: rgba(255, 255, 255, 0.78);
}

.p-service-page .l-section {
  position: relative;
}

.p-service-page .l-section:not(.l-section--surface) {
  background: transparent;
}

.p-service-page .p-service-detail.c-card--glass,
.p-service-page .p-service-card.c-card--glass,
.p-service-page .p-service-note.c-card--glass,
.p-service-page .p-faq__item.c-card--glass,
.p-service-page .p-service-comparison-wrap.c-card--glass {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 18px 50px rgba(15, 70, 88, 0.08);
}

.p-service-page .p-service-detail.c-card--glass {
  overflow: hidden;
}

.p-service-page .p-service-detail.c-card--glass:hover,
.p-service-page .p-service-card.c-card--glass:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 24px 64px rgba(15, 70, 88, 0.14);
}

.p-service-page .p-service-detail__icon-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #142133 0%, #0b1220 100%);
}

.p-service-page .p-service-detail__icon-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(0, 122, 138, 0.22) 0%, rgba(11, 18, 32, 0.2) 50%, rgba(11, 18, 32, 0.62) 100%);
  pointer-events: none;
}

.p-service-page .p-service-detail__img-bg {
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.1) contrast(1.05);
  transition: transform 0.8s ease;
}

.p-service-page .p-service-detail:hover .p-service-detail__img-bg {
  transform: scale(1.06);
}

.p-service-page .p-service-detail__icon-circle {
  position: relative;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.p-service-page .p-service-detail__badge,
.p-service-page .p-service-card__label {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 138, 0.08);
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.p-service-page .p-service-detail__title,
.p-service-page .p-service-card__title,
.p-service-page .p-service-page__subheading,
.p-service-page .p-section-heading__en {
  color: #0b1220;
  text-wrap: balance;
}

.p-service-page .p-service-detail__title {
  font-size: clamp(3rem, 3.2vw, 4.6rem);
  line-height: 1.24;
}

.p-service-page .p-service-detail__lead,
.p-service-page .p-service-card__lead,
.p-service-page .p-service-card__text,
.p-service-page .p-service-note__text,
.p-service-page .p-faq__answer {
  color: rgba(28, 42, 58, 0.74);
  text-wrap: pretty;
}

.p-service-page .p-service-detail__highlights {
  gap: 12px;
}

.p-service-page .p-service-detail__highlight-item {
  min-height: 98px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(231, 247, 251, 0.9), rgba(255, 255, 255, 0.74));
  box-shadow: 0 12px 30px rgba(15, 70, 88, 0.08);
}

.p-service-page .p-service-detail__highlight-value,
.p-service-page .p-service-stat__value,
.p-service-page .p-service-effect__value,
.p-service-page .p-service-plan__price {
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.p-service-page .p-service-grid {
  align-items: stretch;
}

.p-service-page .p-service-card {
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0.6, 0, 1);
}

.p-service-page .p-service-card:hover {
  transform: translateY(-3px);
}

.p-service-page .p-service-card__list li {
  position: relative;
  padding-left: 20px;
}

.p-service-page .p-service-card__list li::before,
.p-service-page .p-service-plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 138, 0.1);
}

.p-service-page .p-service-steps {
  gap: 14px;
}

.p-service-page .p-service-step {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(15, 70, 88, 0.08);
}

.p-service-page .p-service-step__number {
  box-shadow: 0 14px 30px rgba(0, 122, 138, 0.18);
}

.p-service-page .p-service-stat {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(231, 247, 251, 0.72));
  box-shadow: 0 16px 40px rgba(15, 70, 88, 0.09);
}

.p-service-page .c-card--glass.p-service-card--featured {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #007a8a, #0b3140);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.p-service-page .c-card--glass.p-service-card--featured .p-service-plan__price,
.p-service-page .c-card--glass.p-service-card--featured .p-service-plan__name,
.p-service-page .c-card--glass.p-service-card--featured .p-service-card__title,
.p-service-page .c-card--glass.p-service-card--featured .p-service-card__lead {
  color: #fff;
}

.p-service-page .p-faq__question {
  color: #0b1220;
  text-wrap: balance;
}

@media screen and (max-width: 1024px) {
  .p-service-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-service-nav__item--featured {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .p-service-page .p-sub-hero {
    min-height: 280px;
  }

  .p-service-overview {
    padding: 64px 0 18px;
  }

  .p-service-overview__title {
    font-size: clamp(2.55rem, 7vw, 2.7rem);
    line-height: 1.34;
    letter-spacing: 0;
  }

  .p-service-overview__title-line {
    display: block;
  }

  .p-service-overview__lead {
    font-size: 1.42rem;
    line-height: 1.9;
  }

  .p-service-nav {
    grid-template-columns: 1fr;
  }

  .p-service-nav__item,
  .p-service-nav__item--featured {
    grid-column: auto;
    min-height: 118px;
  }

  .p-service-page .p-service-detail__title {
    font-size: clamp(2.6rem, 8vw, 3.4rem);
  }
}
