/**
 * Service extra sections — open, type-led bands. No stacked cards.
 *
 * @package Innov8th
 */

.service-extra-sections {
  width: 100%;
  color: #fff;
  text-align: left;
  overflow: visible;
}

.service-extra {
  position: relative;
  padding: var(--section-padding-y) 0;
  overflow: visible;
}

.service-extra .custom-container {
  position: relative;
  z-index: 1;
}

.service-extra--band-gradient::before,
.service-extra--band-gradient::after,
.service-extra--band-gradient-violet::before,
.service-extra--band-gradient-violet::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
}

.service-extra--band-gradient::before {
  width: min(70vw, 42rem);
  height: min(70vw, 42rem);
  top: -36%;
  right: -16%;
  background: #ff00c8;
  opacity: 0.42;
}

.service-extra--band-gradient::after {
  width: min(58vw, 34rem);
  height: min(58vw, 34rem);
  bottom: -40%;
  left: -16%;
  background: #4e00ad;
  opacity: 0.46;
}

.service-extra--band-gradient-violet::before {
  width: min(70vw, 42rem);
  height: min(70vw, 42rem);
  top: -34%;
  left: -16%;
  background: #7b4dff;
  opacity: 0.44;
}

.service-extra--band-gradient-violet::after {
  width: min(58vw, 34rem);
  height: min(58vw, 34rem);
  bottom: -38%;
  right: -16%;
  background: #ff00c8;
  opacity: 0.28;
}

.service-extra--grid:not(.service-extra--band-gradient):not(.service-extra--band-gradient-violet)::before {
  content: "";
  position: absolute;
  width: min(62vw, 36rem);
  height: min(62vw, 36rem);
  left: -18%;
  bottom: -42%;
  border-radius: 50%;
  background: #4e00ad;
  opacity: 0.4;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.service-extra__inner {
  position: relative;
  z-index: 1;
}

.service-extra__head {
  max-width: min(42rem, 100%);
  margin-bottom: 2.5rem;
  text-align: left;
}

.service-extra__heading {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  text-align: left;
}

.service-extra--steps .service-extra__inner,
.service-extra--grid .service-extra__inner {
  display: grid;
  gap: 1.15rem;
}

.service-extra--steps .service-extra__top,
.service-extra--grid .service-extra__top {
  display: contents;
}

.service-extra--steps .service-extra__head,
.service-extra--grid .service-extra__head {
  margin-bottom: 0;
}

.service-extra__top-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.05rem;
  min-width: 0;
}

.service-extra__top-copy .service-extra__copy--lead {
  margin-bottom: 0;
  max-width: none;
}

.service-extra--steps .service-extra__steps,
.service-extra--grid .service-extra__grid {
  grid-column: 1 / -1;
}

.service-extra__cta {
  margin-top: 0;
}

.service-extra--media .service-extra__cta,
.service-extra--split .service-extra__cta {
  margin-top: 0.15rem;
}

@media (min-width: 900px) {
  .service-extra--steps .service-extra__inner,
  .service-extra--grid .service-extra__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    column-gap: 4.5rem;
    row-gap: 2.75rem;
    align-items: start;
  }

  .service-extra--steps .service-extra__head,
  .service-extra--grid .service-extra__head {
    max-width: none;
  }

  .service-extra--steps .service-extra__heading,
  .service-extra--grid .service-extra__heading {
    font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  }

  .service-extra--steps .service-extra__copy--lead,
  .service-extra--grid .service-extra__copy--lead {
    margin-bottom: 0;
    max-width: none;
  }
}

.service-extra__copy,
.service-extra__copy p,
.service-extra__copy li {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.service-extra__copy p {
  margin: 0 0 1.1rem;
}

.service-extra__copy > *:last-child {
  margin-bottom: 0;
}

.service-extra__copy ul,
.service-extra__copy ol {
  margin: 0 0 1.1rem 1.15em;
  padding: 0;
}

.service-extra__copy--lead {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.service-extra__copy img {
  max-width: 100%;
  height: auto;
}

.service-extra__cta .cta.button {
  display: inline-flex;
}

/* Split — headline left, copy as a quiet column */
@media (min-width: 900px) {
  .service-extra--split .service-extra__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3rem 6rem;
    align-items: start;
  }

  .service-extra--split .service-extra__head {
    margin-bottom: 0;
    max-width: none;
  }

  .service-extra--split .service-extra__heading {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  }
}

.service-extra__split-body {
  max-width: 36rem;
}

.service-extra__lines {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.service-extra__lines li {
  padding: 1.15rem 0 1.2rem 1.15rem;
  border-left: 1px solid rgba(255, 0, 200, 0.35);
}

.service-extra__lines li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-extra__lines strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "ibr", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.service-extra__lines span {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Image + text — PNG sits in open space */
.service-extra__media-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "figure heading"
    "figure copy"
    "figure cta";
  column-gap: 4.5rem;
  row-gap: 1.15rem;
  align-items: start;
}

.service-extra--media-flip .service-extra__media-row {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "heading figure"
    "copy figure"
    "cta figure";
}

.service-extra__media-copy {
  display: contents;
}

.service-extra__figure {
  grid-area: figure;
  margin: 0;
  background: transparent;
}

.service-extra__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 30rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.35));
}

.service-extra--media .service-extra__head {
  grid-area: heading;
  max-width: none;
  margin-bottom: 0;
}

.service-extra--media .service-extra__copy {
  grid-area: copy;
  max-width: 32rem;
}

.service-extra--media .service-extra__copy > *:last-child {
  margin-bottom: 0;
}

.service-extra--media .service-extra__cta {
  grid-area: cta;
  margin-top: 0;
  position: static;
  justify-self: start;
}

/* Process — numbered discs on a rail */
.service-extra__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1.75rem;
  position: relative;
}

.service-extra__steps::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color, #ff00c8), #7b4dff 75%, transparent);
  opacity: 0.85;
  pointer-events: none;
}

.service-extra__step {
  position: relative;
  padding-top: 3.35rem;
}

.service-extra__step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin: 0;
  border-radius: 50%;
  font-family: "ibr", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: #14081c;
  border: 1px solid rgba(255, 0, 200, 0.7);
  box-shadow: 0 0 0 6px rgba(255, 0, 200, 0.12);
  z-index: 1;
}

.service-extra__step-title {
  margin: 0 0 0.6rem;
  font-family: "ibr", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
}

.service-extra__step p {
  margin: 0;
  max-width: 18rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Deliverables — two-by-two panels */
.service-extra__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.35rem;
  counter-reset: extra-tile;
}

.service-extra__tile {
  counter-increment: extra-tile;
  position: relative;
  padding: 1.45rem 1.5rem 1.5rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-extra__tile::before {
  content: counter(extra-tile, decimal-leading-zero);
  display: block;
  margin-bottom: 0.85rem;
  font-family: "ibr", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--primary-color, #ff00c8);
}

.service-extra__tile-title {
  margin: 0 0 0.55rem;
  font-family: "ibr", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
}

.service-extra__tile p {
  margin: 0;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Platforms — poster type, not pills */
.service-extra--chips .service-extra__head {
  margin-bottom: 1.15rem;
}

.service-extra__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.05rem;
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.service-extra__intro .service-extra__copy--lead {
  margin-bottom: 0;
  max-width: none;
}

.service-extra__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0;
}

.service-extra__chips li {
  font-family: "ibr", sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.service-extra__chips li:not(:last-child)::after {
  content: "/";
  margin: 0 0.85rem 0 0.75rem;
  font-weight: 400;
  color: var(--primary-color, #ff00c8);
  opacity: 0.75;
}

@media (max-width: 1100px) {
  .service-extra__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }

  .service-extra__steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .service-extra__media-row,
  .service-extra--media-flip .service-extra__media-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "figure"
      "heading"
      "copy"
      "cta";
    column-gap: 0;
    row-gap: 1.15rem;
  }

  .service-extra__figure img {
    max-height: 18rem;
  }

  .service-extra__head {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .service-extra {
    padding: 3.25rem 0;
  }

  .service-extra__heading {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .service-extra--steps .service-extra__inner,
  .service-extra--grid .service-extra__inner {
    gap: 1.15rem 0;
  }

  .service-extra__steps,
  .service-extra__grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .service-extra__step {
    padding-top: 3.1rem;
  }

  .service-extra__chips li {
    font-size: 1.35rem;
  }

  .service-extra__chips li:not(:last-child)::after {
    margin: 0 0.6rem 0 0.5rem;
  }
}
