.service-offer-page {
  /* Full-bleed bands, with every band's content locked to one centered column. */
  --shell-max: 1320px;
  --shell-gutter: clamp(1.25rem, 5vw, 4rem);
  --shell-pad: max(var(--shell-gutter), calc((100% - var(--shell-max)) / 2));
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.service-offer-page > .panel,
.service-offer-page > .fit-grid {
  width: 100%;
  max-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
}

.service-offer-page > .panel + .panel,
.service-offer-page > .fit-grid + .panel,
.service-offer-page > .panel + .fit-grid {
  border-top: none;
}

.service-offer-page > .panel::before {
  display: none;
}

.service-offer-page .addons,
.service-offer-page .faq,
.service-offer-page .terms {
  padding: clamp(2rem, 4vw, 3.5rem) var(--shell-pad);
}

.service-offer-page .section-head {
  max-width: 760px;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.service-offer-page .section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
}

.service-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.5fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.1rem, 2.2vw, 1.75rem) var(--shell-pad);
  text-align: left;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background:
    radial-gradient(circle at 82% 15%, rgba(45, 139, 255, 0.25), transparent 31%),
    radial-gradient(circle at 16% 100%, rgba(15, 123, 255, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(13, 27, 48, 0.98), rgba(6, 10, 17, 0.99));
}

.service-hero::after {
  content: "";
  position: absolute;
  right: max(clamp(2rem, 7vw, 7rem), calc((100% - var(--shell-max)) / 2));
  top: clamp(0.75rem, 2vw, 1.5rem);
  width: clamp(90px, 14vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(112, 181, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(75, 157, 255, 0.025),
    0 0 0 46px rgba(75, 157, 255, 0.018);
  pointer-events: none;
}

.service-hero-copy,
.service-proof {
  position: relative;
  z-index: 1;
}

.service-offer-page .service-hero h1 {
  max-width: 720px;
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.service-hero .subtext {
  max-width: 640px;
  margin: 0;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-actions .card-cta,
.hero-secondary {
  min-height: 42px;
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 12px;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 174, 238, 0.3);
  color: #d8eaff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.hero-secondary:hover {
  border-color: rgba(120, 184, 255, 0.65);
  background: rgba(49, 133, 230, 0.1);
}

.service-proof {
  display: grid;
  gap: 0.45rem;
}

.service-proof div {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(100, 161, 230, 0.24);
  border-radius: 12px;
  background: rgba(8, 16, 28, 0.68);
  backdrop-filter: blur(8px);
}

.service-proof strong,
.service-proof span {
  display: block;
}

.service-proof strong {
  color: #ecf5ff;
  font-size: 0.88rem;
}

.service-proof span {
  margin-top: 0.2rem;
  color: #94a9c3;
  font-size: 0.72rem;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 1320px;
}

.overview-layout .subtext {
  max-width: 760px;
  margin: 0;
}

.overview-layout .subtext + .subtext {
  margin-top: 1rem;
}

.overview-outcome {
  padding: 1.25rem;
  border-left: 2px solid #4199fa;
  border-radius: 0 14px 14px 0;
  background: rgba(35, 111, 202, 0.08);
}

.overview-outcome span,
.overview-outcome strong {
  display: block;
}

.overview-outcome span {
  margin-bottom: 0.55rem;
  color: #6eb5ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.overview-outcome strong {
  color: #e6effb;
  font-size: 1rem;
  line-height: 1.55;
}

.service-offer-page .plans-grid {
  margin-top: 0;
  max-width: 1320px;
}

.service-offer-page .deliverables-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-offer-page .process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-offer-page .plans-grid > .plan-card {
  min-height: 0;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  gap: 0.85rem;
  box-shadow: 0 14px 30px rgba(2, 8, 18, 0.28);
}

.service-offer-page .plan-head {
  display: grid;
  /* Without these, the reserved min-height stretches the badge pill itself,
     so pills end up different heights depending on how the title wraps. */
  align-content: start;
  align-items: start;
  gap: 0.75rem;
  min-height: 104px;
  padding-bottom: 1rem;
}

.service-offer-page .plan-card h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-offer-page .best-for {
  margin: 0;
  color: #b4c1d3;
  font-size: 0.9rem;
  line-height: 1.68;
}

.service-offer-page .process-grid .plan-card {
  position: relative;
  overflow: visible;
}

.service-offer-page .process-grid .plan-head {
  min-height: 112px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  max-width: none;
}

.fit-grid .terms {
  height: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
}

.fit-grid .terms:first-child {
  border-right: 1px solid var(--line);
}

.fit-grid .terms:last-child {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 119, 92, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    var(--surface);
}

.fit-grid .terms::before {
  display: none;
}

.service-offer-page .terms ul {
  gap: 0.7rem;
  max-width: 640px;
}

.service-offer-page .terms li {
  color: #bdc9d9;
  line-height: 1.6;
}

.service-offer-page .terms li::marker {
  color: #5caaff;
}

.terms-policy .policy-highlight {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(71, 151, 245, 0.3);
  border-radius: 12px;
  color: #cbd9ea;
  line-height: 1.6;
  background: rgba(38, 118, 211, 0.08);
  max-width: 980px;
}

.terms-policy .terms-block {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(102, 133, 170, 0.2);
  max-width: 980px;
}

.terms-policy .terms-block h3 {
  margin: 0;
  color: #edf5ff;
  font-size: 1.02rem;
}

.terms-policy .terms-block ul {
  margin-top: 0.75rem;
}

.service-offer-page .faq-list {
  max-width: 980px;
}

.service-cta {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.25rem) var(--shell-pad);
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(42, 137, 255, 0.25), transparent 42%),
    linear-gradient(145deg, rgba(13, 31, 55, 0.98), rgba(6, 10, 17, 0.99));
}

.service-cta .card-cta {
  width: min(100%, 320px);
  margin: 1.25rem auto 0;
}

/* Each half is 50% wide, so half the shell equals (100% - shell-max / 2). */
@media (min-width: 821px) {
  .fit-grid .terms:first-child {
    padding-left: max(var(--shell-gutter), calc(100% - (var(--shell-max) / 2)));
  }

  .fit-grid .terms:last-child {
    padding-right: max(var(--shell-gutter), calc(100% - (var(--shell-max) / 2)));
  }
}

@media (max-width: 1050px) {
  .service-offer-page .deliverables-grid,
  .service-offer-page .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-hero,
  .overview-layout,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 0;
    align-items: start;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 1.5rem);
  }

  .service-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fit-grid .terms:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .service-offer-page .addons,
  .service-offer-page .faq,
  .service-offer-page .terms,
  .service-hero,
  .service-cta {
    padding: 1.35rem 1rem;
  }

  .service-offer-page .deliverables-grid,
  .service-offer-page .process-grid,
  .service-proof {
    grid-template-columns: 1fr;
  }

  .service-offer-page .service-hero h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .service-offer-page .plan-head,
  .service-offer-page .process-grid .plan-head {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-offer-page .plan-card,
  .hero-secondary {
    transition: none;
  }
}
