.inner-page {
  min-height: 100vh;
  color: #1d1230;
  background: linear-gradient(180deg, #fff 0%, #fbf7ff 48%, #f4ebff 100%);
}

.inner-page .site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 84px;
  position: sticky;
  top: 12px;
  z-index: 20;
  padding: 0 18px;
  border: 1px solid rgba(143, 83, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 52px rgba(73, 28, 129, 0.1);
  backdrop-filter: blur(20px);
}

.inner-page .site-header {
  transform: none;
}

.page-main {
  overflow: hidden;
}

.page-wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero {
  position: relative;
  padding: 42px 0 78px;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -120px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 117, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(143, 83, 255, 0.1);
  border-radius: 42px;
  background:
    radial-gradient(circle at 6% 8%, rgba(178, 117, 255, 0.12), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 255, 0.9));
  box-shadow: 0 32px 90px rgba(74, 28, 132, 0.1);
}

.page-hero-grid::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -120px;
  bottom: -140px;
  border: 1px solid rgba(143, 83, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(143, 83, 255, 0.035), 0 0 0 76px rgba(143, 83, 255, 0.02);
  pointer-events: none;
}

.page-eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(143, 83, 255, 0.18);
  border-radius: 999px;
  color: #7439dc;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(105, 47, 176, 0.08);
}

.page-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.page-hero h1 span {
  color: #9859ff;
}

.page-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(43, 31, 64, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 600;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #713cf0, #a259ff);
  box-shadow: 0 16px 36px rgba(122, 69, 243, 0.24);
  font-size: 0.86rem;
  font-weight: 900;
}

.page-button.secondary {
  border: 1px solid rgba(143, 83, 255, 0.18);
  color: #5c2bb8;
  background: #fff;
  box-shadow: 0 12px 30px rgba(105, 47, 176, 0.08);
}

.page-hero-media {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px 34px 34px 86px;
  background: #eee3ff;
  box-shadow: 0 34px 80px rgba(74, 28, 132, 0.2);
  transform: rotate(1.4deg);
}

.page-hero-media img,
.page-hero-media video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.page-hero-media:hover img,
.page-hero-media:hover video {
  transform: scale(1.035);
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(37, 8, 77, 0.16));
}

.hero-media-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(48, 16, 86, 0.68);
  box-shadow: 0 16px 38px rgba(35, 7, 71, 0.18);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-media-badge.bottom {
  top: auto;
  right: 20px;
  bottom: 20px;
  left: auto;
  background: rgba(121, 66, 226, 0.76);
}

.page-hero-media.is-contain img {
  object-fit: contain;
  padding: 24px;
}

.services-page .page-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: clamp(44px, 5vw, 76px);
}

.services-page .page-hero h1 span {
  margin-left: 0.08em;
}

.services-page .page-hero-media {
  min-height: 0;
  aspect-ratio: 1448 / 1024;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(143, 83, 255, 0.16);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.96), transparent 15rem),
    linear-gradient(145deg, #eee2ff, #d9c3fb);
  box-shadow:
    0 30px 75px rgba(74, 28, 132, 0.18),
    0 0 0 10px rgba(255, 255, 255, 0.58);
  transform: none;
}

.services-page .page-hero-media img {
  width: 100%;
  height: 100%;
  position: relative;
  inset: auto;
  display: block;
  object-fit: contain;
  border-radius: 26px;
}

.services-page .page-hero-media::after {
  inset: 12px;
  border-radius: 26px;
  background: linear-gradient(180deg, transparent 64%, rgba(42, 10, 84, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.services-page .page-hero-media:hover img {
  transform: none;
}

.services-page .hero-media-badge {
  top: 28px;
  left: 28px;
}

.services-page .hero-media-badge.bottom {
  top: auto;
  right: 28px;
  bottom: 28px;
  left: auto;
}

.about-page .page-hero-media,
.business-page .page-hero-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  transform: none;
}

.about-page .page-hero-media img,
.about-page .page-hero-media video,
.business-page .page-hero-media img {
  object-fit: cover;
  object-position: center;
}

.business-page .split-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px 34px 34px 72px;
  background: #eadcff;
  box-shadow:
    0 30px 72px rgba(73, 28, 129, 0.16),
    0 0 0 1px rgba(143, 83, 255, 0.1);
}

.business-page .split-media img {
  object-position: center;
  animation: providerSceneFloat 9s ease-in-out infinite alternate;
}

@keyframes providerSceneFloat {
  from {
    transform: scale(1.01) translate3d(-0.35%, 0, 0);
  }

  to {
    transform: scale(1.045) translate3d(0.5%, -0.35%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-media video,
  .business-page .split-media img {
    animation: none;
    transform: none;
  }
}

.page-section {
  padding: 84px 0;
}

.page-section.soft {
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, rgba(178, 117, 255, 0.1), transparent 24rem),
    rgba(143, 83, 255, 0.045);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 16px 0 0;
  color: rgba(43, 31, 64, 0.7);
  line-height: 1.65;
}

.service-detail-grid,
.feature-grid,
.business-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.detail-card {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(143, 83, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(76, 35, 130, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #7439dc, #bc82ff);
  opacity: 0;
  transition: opacity 220ms ease;
}

.detail-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143, 83, 255, 0.22);
  box-shadow: 0 30px 72px rgba(76, 35, 130, 0.14);
}

.detail-card:hover::before {
  opacity: 1;
}

.detail-card-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: #f5edff;
  box-shadow: inset 0 0 0 1px rgba(143, 83, 255, 0.08);
}

.detail-card-icon img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.detail-card h2,
.detail-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.detail-card p {
  margin: 12px 0 0;
  color: rgba(43, 31, 64, 0.7);
  font-size: 0.92rem;
  line-height: 1.62;
}

.detail-card a {
  display: inline-flex;
  margin-top: 20px;
  color: #7439dc;
  font-size: 0.82rem;
  font-weight: 900;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  padding: 30px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #32105c, #8242e5);
  box-shadow: 0 24px 56px rgba(76, 35, 130, 0.15);
  transition: transform 220ms ease;
}

.step-card:hover {
  transform: translateY(-6px);
}

.step-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.step-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.step-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.split-media {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 28px 28px 28px 70px;
  box-shadow: 0 30px 72px rgba(73, 28, 129, 0.16);
}

.split-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(43, 31, 64, 0.78);
  line-height: 1.55;
  font-weight: 700;
}

.check-list span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8f53ff;
  font-size: 0.72rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(143, 83, 255, 0.14);
  border-radius: 24px;
  background: rgba(143, 83, 255, 0.12);
}

.stats-strip article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
}

.stats-strip strong {
  display: block;
  color: #7439dc;
  font-size: 1.7rem;
}

.stats-strip span {
  display: block;
  margin-top: 7px;
  color: rgba(43, 31, 64, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.page-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #32105c, #9150f6);
  box-shadow: 0 28px 70px rgba(74, 28, 132, 0.18);
}

.page-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.page-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-footer {
  width: min(1240px, calc(100% - 48px));
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  color: rgba(43, 31, 64, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.page-footer a {
  color: #7439dc;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    min-height: 440px;
    transform: none;
  }

  .services-page .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .services-page .page-hero-media {
    width: min(720px, 100%);
    min-height: 0;
    margin: 0 auto;
  }

  .about-page .page-hero-media,
  .business-page .page-hero-media,
  .business-page .split-media {
    width: min(720px, 100%);
    min-height: 0;
    margin: 0 auto;
  }

  .service-detail-grid,
  .feature-grid,
  .business-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .inner-page .site-header,
  .page-wrap,
  .page-footer {
    width: min(100% - 28px, 1240px);
  }

  .inner-page .site-header {
    min-height: 68px;
    top: 8px;
    padding: 0 10px;
  }

  .page-hero {
    padding: 28px 0 62px;
  }

  .page-hero-grid {
    gap: 34px;
    padding: 26px 20px 20px;
    border-radius: 28px;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .page-hero-media,
  .split-media {
    min-height: 330px;
    border-radius: 24px;
  }

  .services-page .page-hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 8px;
    border-radius: 24px;
    box-shadow:
      0 22px 50px rgba(74, 28, 132, 0.16),
      0 0 0 6px rgba(255, 255, 255, 0.62);
  }

  .services-page .page-hero-media img,
  .services-page .page-hero-media::after {
    border-radius: 17px;
  }

  .services-page .page-hero-media::after {
    inset: 8px;
  }

  .services-page .hero-media-badge {
    top: 18px;
    left: 18px;
  }

  .services-page .hero-media-badge.bottom {
    top: auto;
    right: 18px;
    bottom: 18px;
  }

  .about-page .page-hero-media,
  .business-page .page-hero-media,
  .business-page .split-media {
    min-height: 0;
    border-radius: 24px;
  }

  .hero-media-badge {
    top: 14px;
    left: 14px;
  }

  .hero-media-badge.bottom {
    right: 14px;
    bottom: 14px;
  }

  .page-section {
    padding: 62px 0;
  }

  .service-detail-grid,
  .feature-grid,
  .business-type-grid,
  .steps-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .page-cta {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .page-cta .page-actions {
    margin-top: 0;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
