.palekh-seo .palekh-service-hero__stage {
  background: radial-gradient(ellipse at 79% 53%, #1d2131, transparent 63%), #090806;
}

.palekh-seo .palekh-service-hero__copy {
  width: min(56%, 51rem);
}

.palekh-seo .palekh-service-hero h1 {
  max-width: none;
  font-size: clamp(2.85rem, 5.75vw, 6.1rem);
  text-wrap: balance;
}

.palekh-seo .palekh-service-hero__art {
  width: 62%;
  mask-image: linear-gradient(90deg, transparent 5%, #000 28%, #000 95%, transparent);
}

.palekh-seo .palekh-service-hero__lead {
  max-width: 29rem;
}

.palekh-seo .palekh-service-jump {
  background: #151317;
}

.palekh-service-section--benefits > h2,
.palekh-service-section--timeline > h2 {
  max-width: none;
  text-align: center;
}

.palekh-service-section--benefits .card {
  padding-top: 0.6rem;
  background: radial-gradient(ellipse at 50% 13%, #1c2334, transparent 67%), #120e0a;
}

.palekh-service-section--benefits .card::before {
  width: 100%;
  height: clamp(6rem, 10vw, 8.6rem);
  margin-bottom: 0.65rem;
  background: center / contain no-repeat var(--seo-benefit-art);
  mix-blend-mode: screen;
  mask-image: linear-gradient(#000 82%, transparent);
  content: "";
}

.palekh-service-section--benefits .card:nth-child(1) {
  --seo-benefit-art: url("../images/palekh/seo.webp");
}

.palekh-service-section--benefits .card:nth-child(2) {
  --seo-benefit-art: url("../images/palekh/planning-compass.webp");
}

.palekh-service-section--benefits .card:nth-child(3) {
  --seo-benefit-art: url("../images/palekh/growth.webp");
}

.palekh-service-section--readiness > ul,
.palekh-service-section--scope .palekh-service-scope-item:last-child:nth-child(odd) > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.55rem;
}

.palekh-service-section--diagnostics .card,
.palekh-service-section--audit .card {
  background: linear-gradient(138deg, #1b1b23, #110e0b 78%);
}

.palekh-service-scope-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.palekh-service-scope-item {
  min-width: 0;
  padding: clamp(1rem, 2.35vw, 1.75rem);
  background: linear-gradient(140deg, #23190e, #100d0b 76%);
  border: 1px solid var(--palekh-line);
  border-radius: 0.95rem;
}

.palekh-service-scope-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.palekh-service-scope-item h3 {
  color: var(--palekh-ivory);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.palekh-service-scope-item p {
  max-width: 72ch;
  margin-bottom: 0.75rem;
}

.palekh-service-scope-item ul {
  gap: 0.35rem;
  padding-block: 0.55rem;
  border-block: 1px solid var(--palekh-line-soft);
}

.palekh-service-scope-item > :last-child {
  margin-bottom: 0;
}

.palekh-service-section--timeline > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding: 0;
  counter-reset: seo-stage;
}

.palekh-service-section--timeline li {
  min-width: 0;
  padding: 1rem 1.15rem 1rem 3.55rem;
  background: radial-gradient(ellipse at 1% 10%, #2b211a, #161317 84%);
  border: 1px solid var(--palekh-line-soft);
  border-radius: 0.8rem;
  list-style: none;
  counter-increment: seo-stage;
}

.palekh-service-section--timeline li::before {
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-content: center;
  color: var(--palekh-ivory);
  background: radial-gradient(circle at top, #92281c, #601811 80%);
  border: 1px solid var(--palekh-gold);
  border-radius: 50%;
  font: 600 1.2rem/1 var(--palekh-serif);
  transform: none;
  content: counter(seo-stage);
  content: counter(seo-stage) / "";
}

.palekh-service-section--timeline li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.palekh-service-section--timeline li strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--palekh-ivory);
  font: 600 clamp(1.4rem, 2.2vw, 1.9rem)/1.06 var(--palekh-serif);
}

.palekh-service-section--timeline blockquote {
  padding: 0.8rem 1.05rem;
  color: var(--palekh-ivory);
  background: #1b140e;
  border-color: var(--palekh-line);
}

.palekh-service-section--timeline blockquote p {
  margin: 0;
}

.palekh-service-section--audit {
  display: flow-root;
}

.palekh-service-section--audit > .grid {
  clear: both;
}

.palekh-service-section--audit > figure {
  float: right;
  width: 51%;
  margin: 0 0 1rem clamp(1.3rem, 3.5vw, 3rem);
}

.palekh-service-section--audit > figure img {
  width: 100%;
  height: auto;
  border-color: var(--palekh-line);
  border-radius: 0.85rem;
  filter: sepia(0.65) saturate(0.88);
}

.palekh-service-section--audit figcaption {
  margin-top: 0.45rem;
  color: var(--palekh-text);
  text-align: left;
}

.palekh-service-section--metrics {
  padding-inline: clamp(1rem, 3.25vw, 2.7rem);
  margin-bottom: 1rem;
  background: radial-gradient(ellipse at 78% 0, #1c2536, transparent 80%), #11100e;
  border: 1px solid var(--palekh-line);
  border-radius: 1rem;
}

.palekh-service-section--metrics > ul {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.palekh-service-section--metrics li {
  padding: 1rem 0.9rem;
  background: #131116;
  border: 1px solid var(--palekh-line-soft);
  border-top-color: var(--palekh-line);
  border-radius: 0.65rem;
}

.palekh-service-section--metrics li::before {
  content: none;
}

.palekh-service-section--metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--palekh-gold);
  font: 600 clamp(1.5rem, 2.2vw, 1.85rem)/1.09 var(--palekh-serif);
}

.palekh-service-section--formats .grid {
  margin-bottom: 1.2rem;
}

.palekh-service-section--limits {
  padding-inline: clamp(1rem, 3.25vw, 2.7rem);
  margin-bottom: 1rem;
  background: radial-gradient(ellipse at 4% 45%, #271a11, transparent 68%), #100e0b;
  border: 1px solid var(--palekh-line-soft);
  border-radius: 1rem;
}

@media (max-width: 1050px) {
  .palekh-seo .palekh-service-hero h1 {
    font-size: clamp(2.4rem, 5.85vw, 4.8rem);
  }

  .palekh-service-section--metrics > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .palekh-service-section--audit > figure {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .palekh-seo .palekh-service-hero__copy,
  .palekh-seo .palekh-service-hero__art {
    width: 100%;
  }

  .palekh-seo .palekh-service-hero__art {
    height: clamp(11rem, 52vw, 21rem);
    mask-image: linear-gradient(180deg, transparent, #000 13%, #000 85%, transparent);
  }

  .palekh-seo .palekh-service-hero h1 {
    font-size: clamp(2.4rem, 8.05vw, 4.1rem);
    text-wrap: balance;
  }

  .palekh-service-scope-items,
  .palekh-service-section--timeline > ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 530px) {
  .palekh-service-section--readiness > ul,
  .palekh-service-section--scope .palekh-service-scope-item:last-child:nth-child(odd) > ul,
  .palekh-service-section--metrics > ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
