:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --container: min(1180px, calc(100% - 32px));
}

/* Runtime category page normalization after SEO integration */
.runtime-category-page .category-page {
  --runtime-gap: clamp(28px, 4vw, 48px);
}

.runtime-category-page .category-page .category-section {
  padding: 0 0 var(--runtime-gap);
}

.runtime-category-page .category-page .category-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.runtime-category-page .category-page .category-hero {
  padding: 22px 0 30px;
}

.runtime-category-page .category-page .category-hero__inner {
  align-items: center;
  gap: 28px;
}

.runtime-category-page .category-page .category-hero__content {
  max-width: 760px;
}

.runtime-category-page .category-page .category-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 16ch;
}

.runtime-category-page .category-page .category-hero__text {
  max-width: 62ch;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
}

.runtime-category-page .category-page .category-hero__price {
  margin-bottom: 18px;
}

.runtime-category-page .category-page .category-hero__media img {
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.runtime-category-page .category-page .category-section-head {
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.runtime-category-page .category-page .category-section-head h2,
.runtime-category-page .category-page .category-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.runtime-category-page .category-page .category-section-head--stacked {
  align-items: start;
}

.runtime-category-page .category-page .category-section-text {
  max-width: 68ch;
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.runtime-category-page .category-page .category-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.runtime-category-page .category-page .category-service-card.services-popular-card > img {
  height: 184px;
  min-height: 184px;
  max-height: 184px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__body {
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card h3 {
  min-height: 64px;
  margin-bottom: 2px;
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.runtime-category-page .category-page .category-service-card.services-popular-card ul {
  display: grid;
  gap: 8px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__bottom {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card strong {
  margin: 0;
  font-size: 19px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .services-popular-card__actions {
  margin-top: auto;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .services-popular-card__link {
  min-height: 46px;
}

.runtime-category-page .category-page .category-page-calc {
  padding: 6px 0 calc(var(--runtime-gap) - 4px);
}

.runtime-category-page .category-page .category-included {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}

.runtime-category-page .category-page .category-included__lead {
  margin: 14px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.runtime-category-page .category-page .category-included__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.runtime-category-page .category-page .category-include-card {
  min-height: 152px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-include-card__index {
  display: inline-flex;
  margin-bottom: 14px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.runtime-category-page .category-page .category-include-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.runtime-category-page .category-page .category-include-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.runtime-category-page .category-page .category-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.runtime-category-page .category-page .category-process article {
  min-height: 220px;
  padding: 20px 18px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-process article::after {
  display: none;
}

.runtime-category-page .category-page .category-process span {
  margin-bottom: 22px;
}

.runtime-category-page .category-page .category-process h3 {
  min-height: 48px;
  margin-bottom: 10px;
}

.runtime-category-page .category-page .category-price-table {
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-price-table__head,
.runtime-category-page .category-page .category-price-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(170px, 220px);
  gap: 14px;
  align-items: center;
}

.runtime-category-page .category-page .category-price-table__head {
  padding: 16px 20px;
  background: #eff6ff;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.runtime-category-page .category-page .category-price-table__body {
  padding: 6px 0;
}

.runtime-category-page .category-page .category-price-row {
  padding: 14px 20px;
}

.runtime-category-page .category-page .category-price-row + .category-price-row {
  border-top: 1px solid #e2e8f0;
}

.runtime-category-page .category-page .category-price-row__num {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.runtime-category-page .category-page .category-price-row strong {
  font-size: 16px;
  line-height: 1.45;
}

.runtime-category-page .category-page .category-price-row span:last-child {
  justify-self: end;
  color: #ea580c;
  font-size: 16px;
  font-weight: 900;
  text-align: right;
}

.runtime-category-page .category-page .category-price-foot {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.runtime-category-page .category-page .category-price-factors {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #475569;
}

.runtime-category-page .category-page .category-seo--trust {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.runtime-category-page .category-page .category-seo__content p {
  color: #334155;
  line-height: 1.68;
}

.runtime-category-page .category-page .category-seo__list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.runtime-category-page .category-page .category-seo__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.runtime-category-page .category-page .category-seo__aside img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.runtime-category-page .category-page .category-seo__aside-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: #0f172a;
  color: #e2e8f0;
}

.runtime-category-page .category-page .category-seo__aside-card strong {
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
}

.runtime-category-page .category-page .category-tasks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.runtime-category-page .category-page .category-task-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-task-card__eyebrow {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-category-page .category-page .category-task-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}

.runtime-category-page .category-page .category-task-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.58;
}

.runtime-category-page .category-page .category-task-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.runtime-category-page .category-page .category-task-card__meta span {
  color: #64748b;
  font-weight: 700;
}

.runtime-category-page .category-page .category-task-card__meta a {
  color: #0f172a;
  font-weight: 800;
}

.runtime-category-page .category-page .category-faq {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.runtime-category-page .category-page .category-faq details {
  padding: 18px 20px;
  border-radius: 18px;
}

.runtime-category-page .category-page .category-faq summary {
  font-size: 17px;
  line-height: 1.4;
}

.runtime-category-page .category-page .category-faq p {
  max-width: 80ch;
  padding-top: 12px;
  color: #475569;
  line-height: 1.68;
}

.runtime-category-page .category-page .category-related--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.runtime-category-page .category-page .category-related-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-related-card__eyebrow {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-category-page .category-page .category-related-card strong {
  font-size: 20px;
  line-height: 1.22;
}

.runtime-category-page .category-page .category-related-card__meta {
  color: #64748b;
  line-height: 1.55;
}

.runtime-category-page .category-page .category-related-card__cta {
  margin-top: auto;
  color: #1d4ed8;
  font-weight: 800;
}

.runtime-category-page .category-page .category-final {
  align-items: stretch;
}

.runtime-category-page .category-page .category-final__content {
  max-width: 560px;
}

@media (max-width: 1180px) {
  .runtime-category-page .category-page .category-services-grid,
  .runtime-category-page .category-page .category-related--cards,
  .runtime-category-page .category-page .category-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .runtime-category-page .category-page .category-tasks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .runtime-category-page .category-page .category-included,
  .runtime-category-page .category-page .category-seo--trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .runtime-category-page .category-page .category-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .runtime-category-page .category-page .category-hero {
    padding-top: 16px;
  }

  .runtime-category-page .category-page .category-section-head {
    align-items: start;
  }

  .runtime-category-page .category-page .category-services-grid,
  .runtime-category-page .category-page .category-included__items,
  .runtime-category-page .category-page .category-tasks,
  .runtime-category-page .category-page .category-related--cards,
  .runtime-category-page .category-page .category-process {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-service-card.services-popular-card > img {
    height: 204px;
    min-height: 204px;
    max-height: 204px;
  }

  .runtime-category-page .category-page .category-price-table__head {
    display: none;
  }

  .runtime-category-page .category-page .category-price-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .runtime-category-page .category-page .category-price-row span:last-child {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .runtime-category-page .category-page .category-task-card__meta {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 430px) {
  .runtime-category-page .category-page .category-container {
    width: min(100% - 24px, 1180px);
  }

  .runtime-category-page .category-page .category-hero h1 {
    max-width: none;
    font-size: clamp(30px, 9vw, 38px);
  }

  .runtime-category-page .category-page .category-hero__actions {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-service-card.services-popular-card > img {
    height: 204px;
    min-height: 204px;
    max-height: 204px;
  }

  .runtime-category-page .category-page .category-service-card.services-popular-card h3 {
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .runtime-category-page .category-page .category-service-card.services-popular-card .services-popular-card__actions {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-faq details,
  .runtime-category-page .category-page .category-include-card,
  .runtime-category-page .category-page .category-task-card,
  .runtime-category-page .category-page .category-related-card {
    padding: 16px;
  }
}

/* Runtime category page premium override */
.runtime-category-page .category-page {
  --runtime-gap: clamp(28px, 3.6vw, 44px);
}

.runtime-category-page .category-page .category-container {
  width: min(1228px, calc(100% - 44px));
}

.runtime-category-page .category-page .category-section {
  padding-bottom: var(--runtime-gap);
}

.runtime-category-page .category-page .category-hero {
  padding: 18px 0 22px;
}

.runtime-category-page .category-page .category-hero__inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
}

.runtime-category-page .category-page .category-hero__content {
  max-width: 100%;
  align-self: center;
}

.runtime-category-page .category-page .category-hero h1 {
  max-width: 17ch;
  margin-bottom: 12px;
  font-size: clamp(30px, 3.15vw, 44px);
  line-height: 1.05;
}

.runtime-category-page .category-page .category-hero__text {
  max-width: 64ch;
  margin-bottom: 14px;
}

.runtime-category-page .category-page .category-hero__price {
  margin-bottom: 16px;
}

.runtime-category-page .category-page .category-hero__media img {
  aspect-ratio: 1.24 / 1;
}

.runtime-category-page .category-page .category-section-head {
  margin-bottom: 16px;
}

.runtime-category-page .category-page .category-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card {
  min-height: 100%;
}

.runtime-category-page .category-page .category-service-card.services-popular-card > img {
  height: 214px;
  min-height: 214px;
  max-height: 214px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 290px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card h3 {
  min-height: 72px;
  margin-bottom: 0;
}

.runtime-category-page .category-page .category-service-card.services-popular-card ul {
  min-height: 66px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__bottom {
  margin-top: auto;
  gap: 12px;
  padding-top: 14px;
}

.runtime-category-page .category-page .category-service-card.services-popular-card strong {
  font-size: 20px;
}

.runtime-category-page .category-page .category-page-calc {
  padding: 4px 0 calc(var(--runtime-gap) - 2px);
}

.runtime-category-page .category-page .category-included__items {
  counter-reset: category-include-card;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.runtime-category-page .category-page .category-include-card {
  position: relative;
  counter-increment: category-include-card;
  min-height: 188px;
  padding: 20px;
  border-color: #d7e2ef;
  overflow: hidden;
}

.runtime-category-page .category-page .category-include-card__icon {
  display: none;
}

.runtime-category-page .category-page .category-include-card::before {
  content: counter(category-include-card, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(249, 115, 22, 0.12);
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.runtime-category-page .category-page .category-include-card strong {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 10px;
}

.runtime-category-page .category-page .category-include-card p {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.runtime-category-page .category-page .category-process {
  counter-reset: category-process-card;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.runtime-category-page .category-page .category-process article {
  position: relative;
  counter-increment: category-process-card;
  min-height: 206px;
  overflow: hidden;
}

.runtime-category-page .category-page .category-process article::before {
  content: counter(category-process-card, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(249, 115, 22, 0.12);
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.runtime-category-page .category-page .category-process article > * {
  position: relative;
  z-index: 1;
}

.runtime-category-page .category-page .category-process span {
  display: none;
}

.runtime-category-page .category-page .category-price-table {
  border-radius: 22px;
}

.runtime-category-page .category-page .category-price-table__head,
.runtime-category-page .category-page .category-price-row {
  grid-template-columns: 54px minmax(0, 1fr) minmax(180px, 220px) 26px;
}

.runtime-category-page .category-page .category-price-row {
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.runtime-category-page .category-page .category-price-row:hover {
  transform: translateX(3px);
  background: #fff7ed;
}

.runtime-category-page .category-page .category-price-row:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.32);
  outline-offset: -3px;
  background: #fff7ed;
}

.runtime-category-page .category-page .category-price-row__value {
  justify-self: end;
  color: #0f172a;
  font-weight: 900;
  text-align: right;
}

.runtime-category-page .category-page .category-price-row:hover .category-price-row__value {
  color: #ea580c;
}

.runtime-category-page .category-page .category-price-row__arrow {
  justify-self: end;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 900;
}

.runtime-category-page .category-page .category-price-row:hover .category-price-row__arrow {
  color: #ea580c;
}

.runtime-category-page .category-page .category-price-foot {
  margin-top: 10px;
}

.runtime-category-page .category-page .category-seo--trust {
  margin-top: -2px;
}

.runtime-category-page .category-page .category-tasks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.runtime-category-page .category-page .category-task-card {
  min-height: 228px;
}

.runtime-category-page .category-page .category-task-card__meta {
  align-items: flex-start;
}

.runtime-category-page .category-page .category-task-card__meta span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
}

.runtime-category-page .category-page .category-faq {
  max-width: 100%;
  gap: 10px;
}

.runtime-category-page .category-page .category-faq details {
  border: 1px solid #dbe4f0;
}

.runtime-category-page .category-page .category-related--cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.runtime-category-page .category-page .category-related-card {
  min-height: 220px;
}

.runtime-category-page .category-page .category-related-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.runtime-category-page .category-page .category-related-card__cta::after {
  content: "→";
  font-size: 16px;
}

@media (max-width: 1180px) {
  .runtime-category-page .category-page .category-hero__inner,
  .runtime-category-page .category-page .category-services-grid,
  .runtime-category-page .category-page .category-included__items,
  .runtime-category-page .category-page .category-process,
  .runtime-category-page .category-page .category-tasks,
  .runtime-category-page .category-page .category-related--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .runtime-category-page .category-page .category-price-table__head,
  .runtime-category-page .category-page .category-price-row {
    grid-template-columns: 48px minmax(0, 1fr) minmax(156px, 188px) 22px;
  }
}

@media (max-width: 820px) {
  .runtime-category-page .category-page .category-container {
    width: min(100% - 28px, 1228px);
  }

  .runtime-category-page .category-page .category-hero__inner,
  .runtime-category-page .category-page .category-services-grid,
  .runtime-category-page .category-page .category-included__items,
  .runtime-category-page .category-page .category-process,
  .runtime-category-page .category-page .category-tasks,
  .runtime-category-page .category-page .category-related--cards {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-hero h1 {
    max-width: none;
  }
}

@media (max-width: 430px) {
  .runtime-category-page .category-page .category-container {
    width: min(100% - 24px, 1228px);
  }

  .runtime-category-page .category-page .category-price-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .runtime-category-page .category-page .category-price-row__value,
  .runtime-category-page .category-page .category-price-row__arrow {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .runtime-category-page .category-page .category-price-row__arrow {
    display: none;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin-inline: auto; }
.services-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}
.services-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.services-main .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.services-main .logo i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--accent-2);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 5px;
}
.top-nav a {
  font-size: 13px;
  color: #334155;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.top-nav a:hover { color: #fff; background: #f97316; }
.services-main { padding: 26px 0 44px; }
.breadcrumbs { margin-bottom: 14px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #94a3b8;
}
.breadcrumbs a:hover { color: var(--accent-2); }
.page-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
}
.page-subtitle { margin: 0 0 20px; color: var(--muted); max-width: 760px; }
.services-main .catalog {
  display: grid;
  gap: 12px;
}
.services-main .catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.services-main .catalog-tabs button {
  border: 1px solid #d1d9e6;
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.services-main .catalog-tabs button:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
}
.services-main .catalog-tabs button.is-active {
  border-color: #f97316;
  background: #f97316;
  color: #fff;
}
.services-main .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.services-main .service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}
.services-main .service-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.services-main .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.services-main .service-card:hover .service-card__image img { transform: scale(1.04); }
.services-main .service-card__body { padding: 12px; display: grid; gap: 8px; }
.services-main .service-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}
.services-main .service-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}
.services-main .price { color: var(--accent-2); font-weight: 800; }
.services-main .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
}
.services-main .btn:hover { background: var(--accent-2); }
.services-main .service-card--compact .service-card__body {
  min-height: 172px;
  align-content: start;
}
.services-main .service-card--compact .btn {
  margin-top: auto;
}
.services-main .hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.services-main .hero-card__img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.services-main .hero-card__content {
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 10px;
}
.services-main .back { margin-top: 20px; display: inline-flex; color: var(--accent-2); font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 3px solid #fb923c; outline-offset: 2px; }

@media (max-width: 980px) {
  .services-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-main .hero-card { grid-template-columns: 1fr; }
  .services-main .hero-card__img img { min-height: 220px; }
}
@media (max-width: 680px) {
  .services-header__inner { min-height: 60px; }
  .top-nav { gap: 10px; }
  .top-nav a { font-size: 13px; }
  .services-main .grid { grid-template-columns: 1fr; }
  .services-main .catalog-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }
  .page-title { font-size: clamp(26px, 8vw, 34px); }
}

.service-page-grid {
  display: grid;
  gap: 16px;
}

.service-desc {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.service-desc h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.service-desc p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.service-calc {
  background: #0f172a;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  color: #ffffff;
}

.service-calc__head h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
}

.service-calc__head p {
  margin: 0;
  color: #cbd5e1;
}

.service-calc__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px;
}

.service-calc__form {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.service-calc__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.service-calc__field span {
  font-size: 12px;
  color: #cbd5e1;
}

.service-calc__field input,
.service-calc__field select {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b1224;
  color: #ffffff;
  padding: 10px 11px;
  font-size: 14px;
}
.service-calc__field {
  position: relative;
  z-index: 2;
}
.service-calc__field select {
  appearance: auto;
  -webkit-appearance: menulist;
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-calc__field select option {
  white-space: nowrap;
}

.service-calc__check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dbeafe;
  font-size: 13px;
}

.service-calc__result {
  order: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.service-calc__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.service-calc__run {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #f97316;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.service-calc__run:hover {
  background: #ea580c;
}

.service-calc__result p {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
}

.service-calc__result h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 38px);
  color: #fb923c;
}

.service-calc__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.service-calc__meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

.service-calc__meta strong {
  color: #ffffff;
}

.service-calc__lead {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.service-calc__lead h3 {
  margin: 0;
  font-size: 18px;
}

.service-calc__lead p {
  margin: 0;
  color: #cbd5e1;
}

.service-calc__lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-calc__lead-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.service-calc__lead-form input,
.service-calc__lead-form textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b1224;
  color: #ffffff;
  padding: 10px 11px;
  font-size: 13px;
}

.service-calc__lead-form textarea {
  min-height: 90px;
  resize: vertical;
}

.service-calc__lead-form .full {
  grid-column: 1 / -1;
}

.service-calc__lead-form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.service-calc__lead-form button:hover {
  background: #1d4ed8;
}

.service-section {
  display: grid;
  gap: 10px;
}

.service-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.service-section__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
}

.service-section__head p {
  margin: 0;
  color: #64748b;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-mini {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.review-mini__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-mini__head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.review-mini__head h3 {
  margin: 0;
  font-size: 14px;
}

.review-mini__head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.review-mini__text {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.service-footer {
  margin-top: 32px;
  background: #0f172a;
  color: #e2e8f0;
  border-top: 1px solid #1e293b;
}

.service-footer__grid {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.service-footer h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.service-footer p,
.service-footer a {
  margin: 5px 0;
  font-size: 13px;
  color: #dbe2ef;
}

.service-footer a:hover {
  color: #fb923c;
}

.service-footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 10px 0;
  font-size: 12px;
  color: #94a3b8;
}

@media (max-width: 980px) {
  .service-calc__grid {
    grid-template-columns: 1fr;
  }
  .service-calc__form,
  .service-calc__result {
    order: initial;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .service-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .service-calc__form {
    grid-template-columns: 1fr;
  }
  .service-calc__lead-form {
    grid-template-columns: 1fr;
  }
}

.category-about {
  margin: 16px 0 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.category-about h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}
.category-about p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}
.category-about__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.category-about__chip {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}
.category-about ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 6px;
}
@media (max-width: 900px) {
  .category-about__grid { grid-template-columns: 1fr; }
}

.services-catalog-page,
.service-page-grid--category {
  display: grid;
  gap: 24px;
}

.services-catalog-hero,
.service-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(4, 15, 38, 0.92) 0%, rgba(7, 24, 54, 0.88) 48%, rgba(9, 30, 63, 0.78) 100%),
    url("/sourse/home-generated/hero-premium-house.jpg") center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.22);
}

.services-catalog-hero__content,
.service-category-hero__content,
.service-category-hero__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: start;
}

.services-catalog-hero__eyebrow,
.service-category-hero__eyebrow,
.service-block__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f97316;
}

.services-catalog-hero h1,
.service-category-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  color: #ffffff;
}

.services-catalog-hero h2,
.service-category-hero h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  color: #ffffff;
}

.services-catalog-hero p,
.service-category-hero p,
.service-category-hero__panel p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.7;
}

.services-catalog-hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.services-catalog-hero__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.services-catalog-hero__benefits i {
  color: #fb923c;
}

.services-catalog-hero__actions,
.services-catalog-cta__actions,
.service-category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-btn--accent {
  background: #f97316;
}

.service-btn--accent:hover {
  background: #ea580c;
}

.service-btn--dark {
  background: #0f172a;
}

.service-btn--dark:hover {
  background: #1e293b;
}

.service-btn--neutral {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d7e0ea;
}

.service-btn--neutral:hover {
  background: #f8fafc;
  color: #0f172a;
}

.services-catalog-hero__panel,
.service-category-hero__panel {
  padding: 22px;
  border-radius: 22px;
  background: rgba(9, 21, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.services-catalog-hero__panel h2,
.service-category-hero__panel h2,
.service-category-hero__panel li,
.service-category-hero__panel span {
  color: #ffffff;
}

.services-catalog-hero__points,
.service-category-hero__panel-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.service-category-hero__panel-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
}

.service-category-hero__panel-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  font-size: 13px;
  color: #dbeafe;
}

.services-catalog-section,
.service-category-benefits,
.service-category-info,
.service-category-process,
.service-related--categories,
.service-faq--category,
.service-prices--category,
.service-text--category {
  display: grid;
  gap: 16px;
}

.services-catalog-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.services-catalog-section__link {
  color: #29384c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.services-catalog-section__link:hover {
  color: #f97316;
}

.services-catalog-section__head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
}

.services-catalog-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.services-catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-catalog-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d7e0ea;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.services-catalog-tabs button:hover,
.services-catalog-tabs button.is-active {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff;
}

.services-catalog-category-card,
.services-catalog-service-card,
.services-catalog-choice-card,
.services-workflow-card,
.service-category-benefit-card,
.service-category-info-card,
.service-category-step-card,
.service-related-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

.services-catalog-category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.services-catalog-category-card__visual,
.services-catalog-service-card__visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #e2e8f0;
}

.services-catalog-category-card__visual {
  min-height: 100%;
}

.services-catalog-service-card__visual {
  aspect-ratio: 16 / 10;
  margin-bottom: 2px;
}

.services-catalog-category-card__visual img,
.services-catalog-service-card__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.services-catalog-category-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 16px;
  background: rgba(4, 15, 38, 0.82);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.services-catalog-category-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.services-catalog-category-card__body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.services-catalog-category-card__head h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.services-catalog-category-card__head p,
.services-catalog-category-card__meta,
.services-catalog-service-card__unit,
.service-related-category-card p,
.service-category-step-card p,
.service-category-benefit-card p,
.service-category-info-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.services-catalog-category-card__price,
.service-category-hero__price,
.service-related-category-card__price {
  margin: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  color: #1d4ed8;
}

.services-catalog-category-card__meta {
  font-size: 13px;
  font-weight: 700;
}

.services-catalog-category-card__list,
.service-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #334155;
}

.services-catalog-popular,
.service-category-process__grid,
.service-related-categories-grid,
.service-category-benefits,
.service-category-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-catalog-popular {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.services-catalog-service-card,
.services-catalog-choice-card,
.services-workflow-card,
.service-category-benefit-card,
.service-category-info-card,
.service-category-step-card,
.service-related-category-card {
  display: grid;
  gap: 12px;
}

.services-catalog-service-card__body {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.services-catalog-choice-card,
.services-workflow-card,
.service-category-benefit-card,
.service-category-info-card,
.service-category-step-card,
.service-related-category-card {
  padding: 20px;
}

.services-catalog-service-card__category {
  margin: 0;
  display: inline-flex;
  align-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea580c;
}

.services-catalog-service-card h3,
.services-catalog-choice-card h3,
.services-workflow-card h3,
.service-category-benefit-card h3,
.service-category-info-card h3,
.service-category-step-card h3,
.service-related-category-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.services-catalog-service-card__price {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1d4ed8;
}

.services-catalog-service-card__excerpt {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.services-catalog-choice-card__icon,
.service-category-benefit-card__icon,
.service-category-info-card__icon,
.service-related-category-card__icon,
.services-workflow-card span,
.service-category-step-card__number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}

.services-workflow-card span,
.service-category-step-card__number {
  font-size: 16px;
}

.service-category-step-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-catalog-cta,
.service-final-cta--category {
  padding: 26px;
  border-radius: 28px;
  background: #0f172a;
  color: #ffffff;
}

.services-catalog-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}

.services-catalog-cta h2,
.service-final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 38px);
}

.services-catalog-cta p,
.service-final-cta p {
  margin: 0;
  color: #cbd5e1;
}

.services-catalog-cta__list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #e2e8f0;
}

.services-catalog-cta__form {
  display: grid;
  gap: 12px;
}

.services-catalog-cta__form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #cbd5e1;
}

.services-catalog-cta__form input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 12px 14px;
}

.services-catalog-cta__form input::placeholder {
  color: rgba(226, 232, 240, 0.56);
}

.services-catalog-cta__form .privacy-consent {
  margin-top: 2px;
}

.services-catalog-text-card {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.services-catalog-text-card__art {
  min-height: 170px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 80%, rgba(249,115,22,.18), transparent 22%),
    linear-gradient(135deg, rgba(37,99,235,.1), rgba(249,115,22,.08));
}

.services-catalog-text-card h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.services-catalog-text-card p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.75;
}

.services-catalog-faq,
.service-faq-list--category {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-faq-item {
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  padding: 16px 18px;
}

.service-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.service-faq-item p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.7;
}

.service-prices--category .table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.service-prices--category table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.service-prices--category th,
.service-prices--category td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.service-prices--category th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.service-prices--category td {
  font-size: 14px;
  color: #334155;
}

.service-prices--category td:last-child {
  font-weight: 800;
  color: #1d4ed8;
}

.service-final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}

.final-cta__form {
  display: grid;
  gap: 12px;
}

.final-cta__form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #cbd5e1;
}

.final-cta__form input {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 12px 14px;
}

.final-cta__form button {
  border: 0;
}

@media (max-width: 1080px) {
  .services-catalog-hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-catalog-categories,
  .services-catalog-popular,
  .service-category-process__grid,
  .service-related-categories-grid,
  .service-category-benefits,
  .service-category-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .services-catalog-hero,
  .service-category-hero,
  .service-final-cta__grid,
  .services-catalog-cta,
  .services-catalog-text-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .services-catalog-categories,
  .services-catalog-popular,
  .service-category-process__grid,
  .service-related-categories-grid,
  .service-category-benefits,
  .service-category-info,
  .service-category-hero__panel-points,
  .services-catalog-faq,
  .service-faq-list--category,
  .services-catalog-hero__benefits {
    grid-template-columns: 1fr;
  }

  .services-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-catalog-cta,
  .services-catalog-category-card__head,
  .services-catalog-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .services-catalog-category-card {
    grid-template-columns: 1fr;
  }

  .services-catalog-hero,
  .service-category-hero,
  .services-catalog-cta,
  .service-final-cta--category,
  .services-catalog-text-card {
    padding: 20px;
  }

  .services-catalog-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 620px) {
  .services-workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* Catalog desktop hardening */
.services-main--catalog > .container.services-catalog-page {
  width: min(1240px, calc(100% - 40px));
  max-width: 1240px;
}

.services-main--catalog .services-catalog-page {
  gap: 32px;
}

.services-main--catalog .services-catalog-hero {
  grid-template-columns: minmax(0, 1.08fr) 420px;
  min-height: 560px;
  padding: 38px;
  align-items: center;
}

.services-main--catalog .services-catalog-hero__content {
  gap: 18px;
}

.services-main--catalog .services-catalog-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.8vw, 64px);
}

.services-main--catalog .services-catalog-hero p {
  max-width: 620px;
  font-size: 17px;
}

.services-main--catalog .services-catalog-hero__panel {
  align-self: stretch;
  align-content: center;
}

.services-main--catalog .services-catalog-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.services-main--catalog .services-catalog-category-card {
  grid-template-columns: 280px 1fr;
  min-height: 268px;
}

.services-main--catalog .services-catalog-category-card__visual {
  min-height: 268px;
  height: 100%;
  border-radius: 0;
}

.services-main--catalog .services-catalog-category-card__body {
  padding: 24px;
}

.services-main--catalog .services-catalog-category-card__head h2 {
  font-size: 28px;
}

.services-main--catalog .services-catalog-category-card__head p {
  font-size: 15px;
}

.services-main--catalog .services-catalog-category-card__list {
  gap: 10px;
  font-size: 14px;
}

.services-main--catalog .services-catalog-popular {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.services-main--catalog .services-catalog-service-card {
  overflow: hidden;
}

.services-main--catalog .services-catalog-service-card__visual {
  height: 156px;
  aspect-ratio: auto;
  border-radius: 0;
  margin-bottom: 0;
}

.services-main--catalog .services-catalog-service-card__body {
  padding: 18px;
}

.services-main--catalog .services-catalog-service-card h3 {
  font-size: 18px;
  min-height: 46px;
}

.services-main--catalog .services-catalog-service-card__excerpt,
.services-main--catalog .services-catalog-service-card__unit {
  font-size: 13px;
}

.services-main--catalog .services-catalog-service-card__price {
  font-size: 19px;
}

.services-main--catalog .services-catalog-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-main--catalog .services-catalog-choice-card h3,
.services-main--catalog .services-workflow-card h3 {
  font-size: 18px;
}

.services-main--catalog .services-workflow-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.services-main--catalog .services-catalog-cta {
  grid-template-columns: minmax(0, 1fr) 430px;
  padding: 32px;
}

.services-main--catalog .services-catalog-text-card {
  grid-template-columns: 1fr 280px;
  padding: 30px;
}

@media (max-width: 1160px) {
  .services-main--catalog > .container.services-catalog-page {
    width: min(1200px, calc(100% - 36px));
  }

  .services-main--catalog .services-catalog-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .services-main--catalog .services-catalog-popular {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-main--catalog .services-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-main--catalog .services-catalog-cta,
  .services-main--catalog .services-catalog-text-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .services-main--catalog .services-catalog-categories,
  .services-main--catalog .services-catalog-popular,
  .services-main--catalog .services-catalog-choices,
  .services-main--catalog .services-catalog-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-main--catalog .services-catalog-category-card {
    grid-template-columns: 1fr;
  }

  .services-main--catalog .services-catalog-category-card__visual {
    min-height: 220px;
  }

  .services-main--catalog .services-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-main--catalog > .container.services-catalog-page {
    width: calc(100% - 24px);
  }

  .services-main--catalog .services-catalog-categories,
  .services-main--catalog .services-catalog-popular,
  .services-main--catalog .services-catalog-choices,
  .services-main--catalog .services-catalog-faq,
  .services-main--catalog .services-workflow-grid {
    grid-template-columns: 1fr;
  }

  .services-main--catalog .services-catalog-hero,
  .services-main--catalog .services-catalog-cta,
  .services-main--catalog .services-catalog-text-card {
    padding: 22px;
  }
}

/* Services catalog rebuild — scoped to /services only */
.services-page--catalog {
  padding-bottom: 48px;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.04), transparent 34%),
    #f3f6fb;
}

.services-page--catalog .page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.services-page--catalog .hero {
  min-height: 620px;
}

.services-page--catalog .hero__inner {
  padding: 26px 0 64px;
}

.services-page--catalog .hero__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 420px);
  gap: 54px;
  align-items: stretch;
}

.services-page--catalog .hero__content {
  display: grid;
  align-content: center;
}

.services-page--catalog .hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 5vw, 70px);
}

.services-page--catalog .hero__lead {
  max-width: 640px;
  font-size: 18px;
}

.services-page--catalog .hero-card {
  min-height: 100%;
  padding: 28px 28px 30px;
  display: grid;
  align-content: center;
  gap: 18px;
  background: rgba(10, 21, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(2, 8, 23, 0.22);
  backdrop-filter: blur(14px);
}

.services-page--catalog .hero-card h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.08;
}

.services-page--catalog .hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.services-page--catalog .hero-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.services-page--catalog .hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.14);
}

.services-page--catalog .section {
  padding: 34px 0 0;
}

.services-page--catalog .section--soft {
  padding-top: 22px;
}

.services-page--catalog .section--last {
  padding-bottom: 10px;
}

.services-page--catalog .section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.services-page--catalog .section-head h2,
.services-page--catalog .section > .page-shell > h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.services-page--catalog .section-link {
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.services-page--catalog .category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.services-page--catalog .category-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 290px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
}

.services-page--catalog .category-card__media,
.services-page--catalog .service-card__media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.services-page--catalog .category-card__media::after,
.services-page--catalog .service-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 19, 34, 0.58) 100%);
}

.services-page--catalog .category-card__num,
.services-page--catalog .service-card__pill {
  position: absolute;
  z-index: 1;
}

.services-page--catalog .category-card__num {
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.services-page--catalog .service-card__pill {
  left: 14px;
  top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 19, 34, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.services-page--catalog .category-card__body,
.services-page--catalog .service-card__body {
  display: grid;
  align-content: start;
}

.services-page--catalog .category-card__body {
  padding: 26px 24px;
  gap: 14px;
}

.services-page--catalog .category-card__top,
.services-page--catalog .service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.services-page--catalog .category-card__eyebrow,
.services-page--catalog .category-card__count,
.services-page--catalog .service-card__eyebrow,
.services-page--catalog .service-card__desc,
.services-page--catalog .service-card__meta {
  margin: 0;
}

.services-page--catalog .category-card__eyebrow,
.services-page--catalog .service-card__eyebrow {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-page--catalog .category-card__count,
.services-page--catalog .service-card__meta span:not(.price) {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.services-page--catalog .category-card h3,
.services-page--catalog .service-card h3 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.services-page--catalog .category-card h3 {
  font-size: 30px;
  line-height: 1.08;
}

.services-page--catalog .service-card h3 {
  font-size: 20px;
  line-height: 1.2;
}

.services-page--catalog .category-card__lead,
.services-page--catalog .service-card__desc {
  color: #475569;
  line-height: 1.6;
}

.services-page--catalog .category-card__lead {
  font-size: 15px;
}

.services-page--catalog .service-card__desc {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.services-page--catalog .category-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.services-page--catalog .category-card__list li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.services-page--catalog .category-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f97316;
}

.services-page--catalog .card-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.services-page--catalog .card-bottom span {
  color: #64748b;
  font-size: 13px;
}

.services-page--catalog .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.services-page--catalog .tabs button {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.services-page--catalog .tabs button:hover,
.services-page--catalog .tabs button.is-active {
  border-color: #f97316;
  background: #f97316;
  color: #fff;
}

.services-page--catalog .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.services-page--catalog .service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.services-page--catalog .service-card__media {
  min-height: 164px;
}

.services-page--catalog .service-card__body {
  gap: 12px;
  padding: 18px 18px 20px;
}

.services-page--catalog .service-card .price {
  color: #ea580c;
  font-size: 18px;
  font-weight: 900;
}

.services-page--catalog .choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-page--catalog .choice-card,
.services-page--catalog .steps article {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.services-page--catalog .choice-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.services-page--catalog .choice-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 22px;
}

.services-page--catalog .choice-card h3,
.services-page--catalog .steps h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.services-page--catalog .choice-card p,
.services-page--catalog .steps p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.services-page--catalog .choice-card a {
  margin-top: auto;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
}

.services-page--catalog .steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.services-page--catalog .steps article {
  padding: 20px 18px;
  display: grid;
  gap: 10px;
}

.services-page--catalog .steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 15px;
  font-weight: 900;
}

.services-page--catalog .cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 28px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 30%),
    linear-gradient(135deg, #071322 0%, #0f2740 100%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

.services-page--catalog .cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
}

.services-page--catalog .cta-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.services-page--catalog .cta-panel li {
  position: relative;
  padding-left: 18px;
}

.services-page--catalog .cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f97316;
}

.services-page--catalog .cta-panel form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.services-page--catalog .cta-panel input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 15px;
}

.services-page--catalog .cta-panel input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.services-page--catalog .cta-panel button {
  border: 0;
  min-height: 50px;
  border-radius: 14px;
  background: #f97316;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.services-page--catalog .seo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.services-page--catalog .seo-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.services-page--catalog .seo-card p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.7;
}

.services-page--catalog .seo-card__art {
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 28%, rgba(249, 115, 22, 0.32), transparent 0 18%, transparent 28%),
    radial-gradient(circle at 75% 70%, rgba(37, 99, 235, 0.24), transparent 0 12%, transparent 24%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(37, 99, 235, 0.12) 100%);
}

.services-page--catalog .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.services-page--catalog .faq-grid details {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
  padding: 18px 20px;
}

.services-page--catalog .faq-grid summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.services-page--catalog .faq-grid summary::-webkit-details-marker {
  display: none;
}

.services-page--catalog .faq-grid p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.6;
}

.services-page--catalog .media {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(140deg, #0f2740 0%, #10253b 100%);
}

.services-page--catalog .media--rough {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(135deg, #0f2740 0%, #1d4ed8 100%);
}

.services-page--catalog .media--repair {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 44%),
    linear-gradient(135deg, #102c48 0%, #0f766e 100%);
}

.services-page--catalog .media--light {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #334155 0%, #64748b 100%);
}

.services-page--catalog .media--finish {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #1f2937 0%, #9333ea 100%);
}

.services-page--catalog .media--facade {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(135deg, #78350f 0%, #f97316 100%);
}

.services-page--catalog .media--facade-2 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #1e293b 0%, #475569 100%);
}

.services-page--catalog .btn--dark {
  background: #0f2740;
  border: 1px solid rgba(15, 39, 64, 0.08);
  color: #fff;
}

.services-page--catalog .btn--dark:hover {
  background: #16314f;
}

@media (max-width: 1160px) {
  .services-page--catalog .page-shell {
    width: min(1240px, calc(100% - 34px));
  }

  .services-page--catalog .hero {
    min-height: auto;
  }

  .services-page--catalog .hero__grid,
  .services-page--catalog .cta-panel,
  .services-page--catalog .seo-card {
    grid-template-columns: 1fr;
  }

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

  .services-page--catalog .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-page--catalog .category-grid,
  .services-page--catalog .choice-grid,
  .services-page--catalog .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .category-card {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .category-card__media {
    min-height: 220px;
  }

  .services-page--catalog .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page--catalog .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-page--catalog .page-shell {
    width: calc(100% - 24px);
  }

  .services-page--catalog .hero__inner {
    padding: 20px 0 28px;
  }

  .services-page--catalog .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .services-page--catalog .hero-benefits,
  .services-page--catalog .service-grid,
  .services-page--catalog .steps,
  .services-page--catalog .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .hero-card,
  .services-page--catalog .cta-panel,
  .services-page--catalog .seo-card,
  .services-page--catalog .category-card__body,
  .services-page--catalog .choice-card,
  .services-page--catalog .steps article {
    padding: 20px;
  }

  .services-page--catalog .tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .services-page--catalog .tabs button {
    white-space: nowrap;
  }
}

/* Reference template final layer for /services. Keep it last to avoid legacy catalog rules. */
.services-page--catalog {
  --navy: #071322;
  --navy-2: #0e1f34;
  --blue: #2563eb;
  --orange: #f97316;
  --orange-2: #ea580c;
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dce6f2;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  background: var(--bg);
  color: var(--text);
}

body > .site-header.site-header--new {
  position: fixed !important;
  top: 0 !important;
  z-index: 10050 !important;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
}

body > .site-header.site-header--new .header-main {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
}

body > .site-header.site-header--new .header-nav--new {
  min-width: 0;
}

body > .site-header.site-header--new .header-menu,
body > .site-header.site-header--new .header-nav--new ul {
  gap: 10px;
}

body > .site-header.site-header--new .header-nav--new .nav-link,
body > .site-header.site-header--new .header-nav--new .services-nav__trigger {
  padding-inline: 10px;
}

body > .site-header.site-header--new .header-contact--new {
  gap: 14px;
  margin-left: 12px;
  padding-left: 12px;
  white-space: nowrap;
}

body > .site-header.site-header--new .header-contact__phone {
  white-space: nowrap;
}

.services-page--catalog {
  position: relative;
  z-index: 0;
  padding-top: 82px;
}

#services-lead-form {
  scroll-margin-top: 110px;
}

.services-page--catalog .page-shell {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
}

.services-page--catalog .hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 19, 34, 0.98), rgba(7, 19, 34, 0.82) 50%, rgba(7, 19, 34, 0.38)),
    radial-gradient(circle at 75% 40%, rgba(249, 115, 22, 0.14), transparent 28%),
    linear-gradient(135deg, #071322 0%, #0d2338 48%, #122d48 100%);
}

.services-page--catalog .hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, rgba(7, 19, 34, 0.95), rgba(7, 19, 34, 0.4)),
    radial-gradient(circle at 74% 36%, rgba(255, 255, 255, 0.22), transparent 0 10%, transparent 16%),
    linear-gradient(140deg, transparent 0 46%, rgba(255, 255, 255, 0.1) 47% 48%, transparent 49%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 120px);
}

.services-page--catalog .hero__inner {
  position: relative;
  z-index: 1;
  padding: 22px 0 42px;
}

.services-page--catalog .breadcrumbs {
  display: flex;
  gap: 8px;
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.services-page--catalog .breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.services-page--catalog .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.services-page--catalog .hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.services-page--catalog .hero__lead {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.services-page--catalog .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.services-page--catalog .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.services-page--catalog .btn--orange {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.26);
}

.services-page--catalog .btn--dark {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.services-page--catalog .hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.services-page--catalog .hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.services-page--catalog .hero-benefit span {
  color: var(--orange);
  font-size: 20px;
}

.services-page--catalog .hero-benefit strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.services-page--catalog .hero-card {
  display: block;
  min-height: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(7, 19, 34, 0.82);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.services-page--catalog .hero-card h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
}

.services-page--catalog .hero-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-page--catalog .hero-card li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.services-page--catalog .hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  display: grid;
  width: 18px;
  height: 18px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.services-page--catalog .section {
  padding: 38px 0;
}

.services-page--catalog .section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(243, 246, 251, 0));
}

.services-page--catalog .section--last {
  padding-bottom: 52px;
}

.services-page--catalog .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.services-page--catalog .section h2,
.services-page--catalog .section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

.services-page--catalog .section-link {
  color: #29384c;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.services-page--catalog .section-link:hover {
  color: var(--orange);
}

.services-page--catalog .media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #d7dee9, #f5f7fb);
}

.services-page--catalog .media::before,
.services-page--catalog .media::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  background: #0f172a;
  opacity: 0.8;
}

.services-page--catalog .media::before {
  left: 12%;
  bottom: 18%;
  width: 38%;
  height: 42%;
}

.services-page--catalog .media::after {
  right: 18%;
  top: 20%;
  width: 24%;
  height: 34%;
  background: var(--orange);
}

.services-page--catalog .media--rough { background: linear-gradient(140deg, #c3c8ce, #f2f4f7); }
.services-page--catalog .media--repair { background: linear-gradient(140deg, #d8d0c8, #ffffff); }
.services-page--catalog .media--light { background: linear-gradient(140deg, #f7f6f1, #dce5ee); }
.services-page--catalog .media--finish { background: linear-gradient(140deg, #e7edf5, #ffffff); }
.services-page--catalog .media--facade { background: linear-gradient(140deg, #b7c2cd, #f7d26f); }
.services-page--catalog .media--facade-2 { background: linear-gradient(140deg, #7d95ad, #f2b443); }

.services-page--catalog .category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.services-page--catalog .category-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 258px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.services-page--catalog .category-card__media {
  min-height: 258px;
}

.services-page--catalog .category-card__media--photo::before,
.services-page--catalog .category-card__media--photo::after {
  display: none;
}

.services-page--catalog .category-card__media--photo img {
  width: 100%;
  height: 100%;
  min-height: 258px;
  object-fit: cover;
  display: block;
}

.services-page--catalog .category-card:hover {
  transform: translateY(-3px);
  border-color: #cbd8ea;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.services-page--catalog .category-card__num {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.services-page--catalog .category-card__body {
  display: block;
  padding: 20px;
}

.services-page--catalog .category-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
}

.services-page--catalog .category-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.services-page--catalog .category-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.services-page--catalog .category-card li {
  position: relative;
  padding-left: 15px;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.services-page--catalog .category-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.services-page--catalog .category-card__more {
  color: var(--blue);
  font-weight: 800;
}

.services-page--catalog .card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.services-page--catalog .card-bottom strong {
  color: var(--orange);
  font-size: 18px;
}

.services-page--catalog .card-bottom a,
.services-page--catalog .service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.services-page--catalog .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.services-page--catalog .tabs button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.services-page--catalog .tabs button.is-active {
  color: #fff;
  background: var(--orange);
}

.services-page--catalog .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-page--catalog .service-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.services-page--catalog .service-card__media {
  position: relative;
  min-height: 154px;
}

.services-page--catalog .service-card__media::before {
  display: none;
}

.services-page--catalog .service-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.services-page--catalog .benefit-icon {
  width: 38px;
  height: 38px;
}

.services-page--catalog .choice-icon {
  width: 48px;
  height: 48px;
}

.services-page--catalog .step-icon {
  width: 40px;
  height: 40px;
}

.services-page--catalog .hero-benefit span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.services-page--catalog .choice-card span {
  padding: 8px;
}

.services-page--catalog .step-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-page--catalog .steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  flex-shrink: 0;
}

.services-page--catalog .service-card__media img {
  width: 100%;
  height: 154px;
  object-fit: cover;
  display: block;
}

.services-page--catalog .service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 34, 0.12), rgba(7, 19, 34, 0.48));
}

.services-page--catalog .service-card:hover {
  transform: translateY(-3px);
  border-color: #cbd8ea;
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.services-page--catalog .service-card__pill {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  background: rgba(7, 19, 34, 0.82);
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}

.services-page--catalog .service-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.services-page--catalog .service-card__body > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.services-page--catalog .service-card h3 {
  margin: 0;
  min-height: 42px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

.services-page--catalog .service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.services-page--catalog .service-card strong {
  color: var(--orange);
  font-size: 16px;
}

.services-page--catalog .choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.services-page--catalog .choice-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.services-page--catalog .choice-card:hover {
  transform: translateY(-2px);
  border-color: #cbd8ea;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.1);
}

.services-page--catalog .choice-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  color: var(--blue);
  background: #eff6ff;
}

.services-page--catalog .choice-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}

.services-page--catalog .choice-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.services-page--catalog .choice-card a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.services-page--catalog .steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.services-page--catalog .steps article {
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  min-height: 156px;
}

.services-page--catalog .steps span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.services-page--catalog .steps h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}

.services-page--catalog .steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.services-page--catalog .cta-panel {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 19, 34, 0.98), rgba(15, 31, 51, 0.96)),
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.18), transparent 22%);
  box-shadow: 0 28px 70px rgba(7, 19, 34, 0.16);
}

.services-page--catalog .cta-panel h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.13;
}

.services-page--catalog .cta-panel ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.services-page--catalog .cta-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.86);
}

.services-page--catalog .cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.services-page--catalog .cta-panel form {
  display: grid;
  gap: 12px;
}

.services-page--catalog .cta-panel input[type="text"],
.services-page--catalog .cta-panel input[type="tel"] {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  padding: 0 15px;
}

.services-page--catalog .cta-panel input[type="text"]::placeholder,
.services-page--catalog .cta-panel input[type="tel"]::placeholder,
.services-page--catalog .cta-panel textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

.services-page--catalog .cta-panel button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.24);
}

.services-page--catalog .cta-panel .form-privacy-consent {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 12px;
}

.services-page--catalog .cta-panel .form-privacy-consent__label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.4;
}

.services-page--catalog .cta-panel .form-privacy-consent__checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}

.services-page--catalog .cta-panel .form-privacy-consent a {
  color: #ffb14a;
}

.services-page--catalog .seo-card {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.services-page--catalog .seo-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
}

.services-page--catalog .seo-card p {
  color: #475569;
  line-height: 1.68;
}

.services-page--catalog .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.services-page--catalog .faq-grid details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.services-page--catalog .faq-grid summary {
  cursor: pointer;
  padding: 17px 19px;
  color: var(--text);
  font-weight: 900;
  list-style: none;
}

.services-page--catalog .faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

.services-page--catalog .faq-grid details[open] summary::after {
  content: "-";
}

.services-page--catalog .faq-grid p {
  margin: 0;
  padding: 0 19px 17px;
  color: var(--muted);
}

@media (max-width: 1120px) {
  body > .site-header.site-header--new {
    z-index: 10050 !important;
  }

  body > .site-header.site-header--new .header-main {
    gap: 16px;
  }

  body > .site-header.site-header--new .header-contact--new {
    gap: 10px;
    margin-left: 8px;
    padding-left: 8px;
  }

  .services-page--catalog .hero__grid,
  .services-page--catalog .cta-panel,
  .services-page--catalog .seo-card {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .hero-card {
    max-width: 640px;
  }

  .services-page--catalog .category-card {
    grid-template-columns: 220px 1fr;
  }

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

  .services-page--catalog .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .services-page--catalog .hero {
    min-height: auto;
  }

  .services-page--catalog .hero__inner {
    padding-bottom: 28px;
  }

  .services-page--catalog .hero h1 {
    font-size: 34px;
  }

  .services-page--catalog .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page--catalog .category-grid,
  .services-page--catalog .choice-grid,
  .services-page--catalog .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .category-card {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .category-card__media {
    min-height: 200px;
  }

  .services-page--catalog .category-card__media--photo img {
    min-height: 200px;
  }

  .services-page--catalog .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-page--catalog {
    padding-top: 72px;
  }

  .services-page--catalog .page-shell {
    width: min(100% - 22px, 1180px);
  }

  .services-page--catalog .section {
    padding: 28px 0;
  }

  .services-page--catalog .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .services-page--catalog .hero h1 {
    font-size: 30px;
  }

  .services-page--catalog .hero__lead {
    font-size: 15px;
  }

  .services-page--catalog .hero__actions {
    display: grid;
  }

  .services-page--catalog .btn {
    width: 100%;
  }

  .services-page--catalog .hero-benefits,
  .services-page--catalog .service-grid,
  .services-page--catalog .steps {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .service-card__media,
  .services-page--catalog .service-card__media img {
    min-height: 180px;
    height: 180px;
  }

  .services-page--catalog .hero-card,
  .services-page--catalog .cta-panel,
  .services-page--catalog .seo-card {
    padding: 20px;
  }

  .services-page--catalog .category-card__body,
  .services-page--catalog .service-card__body {
    padding: 18px;
  }
}

/* Final UX polish layer for /services */
.services-page--catalog .hero__actions .btn--orange {
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.22);
}

.services-page--catalog .hero__actions .btn--dark {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.services-page--catalog .service-card__media::after {
  background:
    linear-gradient(180deg, rgba(7, 19, 34, 0.04) 0%, rgba(7, 19, 34, 0.16) 48%, rgba(7, 19, 34, 0.42) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%);
}

.services-page--catalog .service-card__pill {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(12px);
  color: #0f172a;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.services-page--catalog .service-card a {
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.services-page--catalog .service-card a:hover {
  border-color: #cfd8e5;
  background: #f8fafc;
  transform: translateY(-1px);
}

.services-page--catalog .choice-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.services-page--catalog .choice-card:hover {
  transform: translateY(-3px);
  border-color: #d3deec;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}

.services-page--catalog .choice-card__eyebrow {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-page--catalog .choice-card span {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #edf4ff);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08), 0 12px 24px rgba(37, 99, 235, 0.08);
}

.services-page--catalog .choice-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.services-page--catalog .choice-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

.services-page--catalog .choice-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.services-page--catalog .step-card__top {
  margin-bottom: 18px;
}

.services-page--catalog .step-icon {
  width: 46px;
  height: 46px;
}

.services-page--catalog .steps {
  gap: 16px;
}

.services-page--catalog .steps article {
  position: relative;
  padding: 20px 18px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  min-height: 176px;
  overflow: hidden;
}

.services-page--catalog .steps span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: var(--blue);
  font-size: 14px;
}

.services-page--catalog .steps h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.24;
}

.services-page--catalog .steps p {
  font-size: 14px;
  line-height: 1.55;
}

.services-page--catalog .steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 41px;
  right: -11px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.24), rgba(148, 163, 184, 0.06));
}

@media (max-width: 1120px) {
  .services-page--catalog .steps article:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 880px) {
  .services-page--catalog .choice-card {
    padding: 20px;
  }

  .services-page--catalog .choice-card span {
    width: 58px;
    height: 58px;
  }

  .services-page--catalog .choice-card h3 {
    font-size: 18px;
  }

  .services-page--catalog .choice-card p,
  .services-page--catalog .steps p {
    font-size: 14px;
  }

  .services-page--catalog .steps article::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .services-page--catalog .choice-card span,
  .services-page--catalog .step-icon {
    width: 44px;
    height: 44px;
  }
}

/* Final compact fixes for /services only */
body > .site-header.site-header--new {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12000 !important;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  backdrop-filter: blur(12px);
}

body > .site-header.site-header--new .header-main {
  min-height: 70px;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
}

body > .site-header.site-header--new .header-nav--new {
  gap: 16px;
}

body > .site-header.site-header--new .header-nav--new .nav-link {
  padding-inline: 8px;
}

body > .site-header.site-header--new .header-contact--new {
  gap: 14px;
  margin-left: 10px;
  padding-left: 10px;
}

body > .site-header.site-header--new .header-contact__phone,
body > .site-header.site-header--new .header-contact--new .btn {
  white-space: nowrap;
}

.services-page--catalog {
  padding-top: 78px;
}

.services-page--catalog .hero {
  min-height: 560px;
}

.services-page--catalog .hero__inner {
  padding: 18px 0 46px;
}

.services-page--catalog .hero__grid {
  gap: 38px;
}

.services-page--catalog .hero h1 {
  font-size: clamp(40px, 4.6vw, 60px);
}

.services-page--catalog .hero__lead {
  font-size: 17px;
}

.services-page--catalog .hero-card {
  padding: 22px;
  gap: 14px;
}

.services-page--catalog .hero-card h2 {
  font-size: 24px;
}

.services-page--catalog .hero-card li {
  font-size: 14px;
}

.services-page--catalog .section {
  padding: 28px 0 0;
}

.services-page--catalog .section-head {
  margin-bottom: 18px;
}

.services-page--catalog .section-head h2,
.services-page--catalog .section > .page-shell > h2 {
  font-size: clamp(28px, 2.8vw, 38px);
}

.services-page--catalog .category-grid {
  gap: 20px;
}

.services-page--catalog .category-card {
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 260px;
  border-radius: 22px;
}

.services-page--catalog .category-card__media--photo img {
  min-height: 236px;
}

.services-page--catalog .category-card__body {
  padding: 20px;
  gap: 12px;
}

.services-page--catalog .category-card h3 {
  font-size: 24px;
}

.services-page--catalog .category-card p {
  font-size: 14px;
}

.services-page--catalog .category-card li {
  font-size: 13px;
}

.services-page--catalog .service-grid {
  gap: 16px;
}

.services-page--catalog .service-card {
  border-radius: 18px;
}

.services-page--catalog .service-card__media,
.services-page--catalog .service-card__media img {
  min-height: 146px;
  height: 146px;
}

.services-page--catalog .service-card__body {
  gap: 8px;
  padding: 13px;
}

.services-page--catalog .service-card h3 {
  min-height: 38px;
  font-size: 16px;
}

.services-page--catalog .service-card p {
  font-size: 12px;
}

.services-page--catalog .service-card strong {
  font-size: 15px;
}

.services-page--catalog .choice-grid {
  gap: 16px;
}

.services-page--catalog .choice-card {
  padding: 18px;
  border-radius: 18px;
}

.services-page--catalog .choice-card span {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
}

.services-page--catalog .choice-card h3 {
  font-size: 18px;
}

.services-page--catalog .choice-card p {
  margin-bottom: 14px;
  font-size: 14px;
}

.services-page--catalog .steps {
  gap: 14px;
}

.services-page--catalog .steps article {
  min-height: 154px;
  padding: 18px 16px;
  border-radius: 18px;
}

.services-page--catalog .steps h3 {
  font-size: 16px;
}

.services-page--catalog .steps p {
  font-size: 13px;
}

.services-page--catalog .cta-panel {
  gap: 22px;
  padding: 22px;
  border-radius: 22px;
}

.services-page--catalog .cta-panel h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.services-page--catalog .faq-grid {
  gap: 10px;
}

.services-page--catalog .faq-grid details {
  border-radius: 12px;
}

.services-page--catalog .faq-grid summary {
  padding: 14px 16px;
  font-size: 15px;
}

.services-page--catalog .faq-grid p {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  body > .site-header.site-header--new .header-main {
    min-height: 66px;
    gap: 14px;
  }

  body > .site-header.site-header--new .header-contact--new {
    gap: 10px;
    margin-left: 6px;
    padding-left: 6px;
  }

  .services-page--catalog {
    padding-top: 74px;
  }

  .services-page--catalog .hero {
    min-height: 520px;
  }
}

@media (max-width: 880px) {
  .services-page--catalog .category-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .services-page--catalog .category-card__media--photo img {
    min-height: 200px;
  }
}

@media (max-width: 620px) {
  .services-page--catalog {
    padding-top: 70px;
  }

  body > .site-header.site-header--new .header-main {
    min-height: 64px;
  }

  .services-page--catalog .hero {
    min-height: auto;
  }

  .services-page--catalog .hero__inner {
    padding: 14px 0 28px;
  }

  .services-page--catalog .section {
    padding: 24px 0 0;
  }

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

/* Reference alignment layer for /services */
.services-page--catalog {
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.035), transparent 30%),
    #eef3f9;
  padding-bottom: 42px;
}

body > .site-header.site-header--new {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body > .site-header.site-header--new .header-main {
  min-height: 68px;
  gap: 20px;
}

body > .site-header.site-header--new .header-nav--new {
  gap: 14px;
}

body > .site-header.site-header--new .header-nav--new .nav-link {
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
}

body > .site-header.site-header--new .header-contact--new {
  gap: 16px;
  margin-left: 12px;
  padding-left: 12px;
}

body > .site-header.site-header--new .header-contact__phone {
  font-size: 13px;
  font-weight: 800;
}

.services-page--catalog {
  padding-top: 76px;
}

.services-page--catalog .page-shell {
  width: min(1160px, calc(100% - 32px));
  max-width: 1160px;
}

.services-page--catalog .hero {
  min-height: 500px;
}

.services-page--catalog .hero__inner {
  padding: 14px 0 38px;
}

.services-page--catalog .hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 34px;
}

.services-page--catalog .hero h1 {
  max-width: 680px;
  font-size: clamp(40px, 4.3vw, 58px);
  line-height: 0.98;
}

.services-page--catalog .hero__lead {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
}

.services-page--catalog .hero__actions {
  gap: 12px;
  margin-top: 20px;
}

.services-page--catalog .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 13px;
}

.services-page--catalog .hero-benefits {
  gap: 10px;
  max-width: 700px;
  margin-top: 20px;
}

.services-page--catalog .hero-benefit {
  min-height: 46px;
  padding: 9px 10px;
  border-radius: 12px;
}

.services-page--catalog .benefit-icon {
  width: 30px;
  height: 30px;
}

.services-page--catalog .hero-benefit span {
  width: 30px;
  height: 30px;
}

.services-page--catalog .hero-benefit strong {
  font-size: 11px;
  line-height: 1.2;
}

.services-page--catalog .hero-card {
  max-width: 360px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  gap: 12px;
}

.services-page--catalog .hero-card h2 {
  margin-bottom: 2px;
  font-size: 18px;
  line-height: 1.15;
}

.services-page--catalog .hero-card ul {
  gap: 8px;
}

.services-page--catalog .hero-card li {
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.45;
}

.services-page--catalog .hero-card li::before {
  top: 6px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.services-page--catalog .section {
  padding: 24px 0 0;
}

.services-page--catalog .section--soft {
  padding-top: 18px;
}

.services-page--catalog .section-head {
  margin-bottom: 16px;
}

.services-page--catalog .section-head h2,
.services-page--catalog .section > .page-shell > h2 {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.08;
}

.services-page--catalog .section-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
}

.services-page--catalog .section-link {
  font-size: 12px;
}

.services-page--catalog .category-grid {
  gap: 18px;
}

.services-page--catalog .category-card {
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 212px;
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.services-page--catalog .category-card__media--photo img {
  min-height: 212px;
}

.services-page--catalog .category-card__num {
  left: 12px;
  top: 12px;
  bottom: auto;
  width: 30px;
  height: 24px;
  border-radius: 7px;
  font-size: 11px;
}

.services-page--catalog .category-card__body {
  padding: 16px;
  gap: 10px;
}

.services-page--catalog .category-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.15;
}

.services-page--catalog .category-card__lead,
.services-page--catalog .category-card p {
  font-size: 13px;
  line-height: 1.5;
}

.services-page--catalog .category-card__list {
  gap: 7px;
  margin-bottom: 14px;
}

.services-page--catalog .category-card li {
  font-size: 12px;
  line-height: 1.38;
}

.services-page--catalog .card-bottom {
  gap: 10px;
  padding-top: 0;
}

.services-page--catalog .card-bottom strong {
  font-size: 15px;
}

.services-page--catalog .card-bottom a {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11px;
}

.services-page--catalog .tabs {
  gap: 8px;
  margin-bottom: 18px;
}

.services-page--catalog .tabs button {
  padding: 8px 13px;
  font-size: 12px;
}

.services-page--catalog .service-grid {
  gap: 14px;
}

.services-page--catalog .service-card {
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.services-page--catalog .service-card__media,
.services-page--catalog .service-card__media img {
  min-height: 116px;
  height: 116px;
}

.services-page--catalog .service-card__pill {
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  font-size: 10px;
}

.services-page--catalog .service-card__body {
  gap: 8px;
  padding: 12px;
}

.services-page--catalog .service-card__body > span {
  font-size: 10px;
}

.services-page--catalog .service-card h3 {
  min-height: 34px;
  font-size: 14px;
  line-height: 1.22;
}

.services-page--catalog .service-card p {
  font-size: 11px;
  line-height: 1.45;
}

.services-page--catalog .service-card strong {
  font-size: 14px;
}

.services-page--catalog .service-card a {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11px;
}

.services-page--catalog .choice-grid {
  gap: 14px;
  margin-top: 16px;
}

.services-page--catalog .choice-card {
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.services-page--catalog .choice-card__eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
}

.services-page--catalog .choice-card span {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 14px;
}

.services-page--catalog .choice-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.services-page--catalog .choice-card p {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.services-page--catalog .choice-card a {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.services-page--catalog .steps {
  gap: 12px;
  margin-top: 16px;
}

.services-page--catalog .steps article {
  min-height: 126px;
  padding: 14px 12px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
}

.services-page--catalog .step-card__top {
  gap: 10px;
  margin-bottom: 12px;
}

.services-page--catalog .step-icon,
.services-page--catalog .choice-icon {
  width: 38px;
  height: 38px;
}

.services-page--catalog .steps span {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.services-page--catalog .steps h3 {
  margin-bottom: 6px;
  font-size: 14px;
}

.services-page--catalog .steps p {
  font-size: 11px;
  line-height: 1.45;
}

.services-page--catalog .steps article:not(:last-child)::after {
  top: 34px;
}

.services-page--catalog .cta-panel {
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.services-page--catalog .cta-panel h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
}

.services-page--catalog .cta-panel ul {
  margin-top: 14px;
  gap: 7px;
}

.services-page--catalog .cta-panel li {
  font-size: 13px;
}

.services-page--catalog .cta-panel input[type="text"],
.services-page--catalog .cta-panel input[type="tel"] {
  min-height: 42px;
  border-radius: 10px;
}

.services-page--catalog .cta-panel button {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
}

.services-page--catalog .seo-card {
  padding: 20px;
  border-radius: 16px;
}

.services-page--catalog .seo-card h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 30px);
}

.services-page--catalog .seo-card p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.62;
}

.services-page--catalog .faq-grid {
  gap: 10px 12px;
}

.services-page--catalog .faq-grid details {
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
  padding: 12px 14px;
}

.services-page--catalog .faq-grid summary {
  padding: 0;
  font-size: 14px;
}

.services-page--catalog .faq-grid p {
  margin-top: 10px;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .services-page--catalog .hero__grid,
  .services-page--catalog .cta-panel {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .hero-card {
    max-width: 520px;
  }

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

  .services-page--catalog .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .services-page--catalog {
    padding-top: 72px;
  }

  .services-page--catalog .hero {
    min-height: auto;
  }

  .services-page--catalog .hero__inner {
    padding: 14px 0 28px;
  }

  .services-page--catalog .hero h1 {
    font-size: 34px;
  }

  .services-page--catalog .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page--catalog .category-grid,
  .services-page--catalog .choice-grid,
  .services-page--catalog .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .category-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .services-page--catalog .category-card__media--photo img {
    min-height: 188px;
  }

  .services-page--catalog .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page--catalog .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-page--catalog .steps article::after {
    display: none;
  }
}

@media (max-width: 620px) {
  body > .site-header.site-header--new .header-main {
    min-height: 62px;
    gap: 12px;
  }

  .services-page--catalog {
    padding-top: 68px;
  }

  .services-page--catalog .page-shell {
    width: calc(100% - 24px);
  }

  .services-page--catalog .section {
    padding: 20px 0 0;
  }

  .services-page--catalog .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .services-page--catalog .hero h1 {
    font-size: 30px;
  }

  .services-page--catalog .hero__lead {
    font-size: 15px;
  }

  .services-page--catalog .hero__actions {
    display: grid;
  }

  .services-page--catalog .btn {
    width: 100%;
  }

  .services-page--catalog .hero-benefits,
  .services-page--catalog .service-grid,
  .services-page--catalog .steps,
  .services-page--catalog .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-page--catalog .service-card__media,
  .services-page--catalog .service-card__media img {
    min-height: 164px;
    height: 164px;
  }

  .services-page--catalog .hero-card,
  .services-page--catalog .cta-panel,
  .services-page--catalog .seo-card,
  .services-page--catalog .category-card__body,
  .services-page--catalog .choice-card,
  .services-page--catalog .steps article {
    padding: 16px;
  }
}

/* Match the public /about header layout on /services */
@media (min-width: 1181px) {
  body.services-catalog-page {
    padding-top: 0 !important;
  }

  body.services-catalog-page > .site-header.site-header--new {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 220 !important;
    box-shadow: 0 1px 0 rgba(226, 232, 240, 0.95);
  }

}

@media (max-width: 1180px) {
  body.services-catalog-page {
    padding-top: 76px !important;
  }
}

/* Runtime category/service pages rendered from services.clean.json */
body.runtime-services-page {
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.04), transparent 34%),
    #f3f6fb;
  padding-top: 0 !important;
}

body.runtime-services-page .services-main.services-main--runtime {
  padding: 28px 0 56px;
}

body.runtime-services-page .runtime-page {
  display: grid;
  gap: 24px;
}

body.runtime-services-page .runtime-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

body.runtime-services-page .runtime-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.runtime-category-page .category-about.runtime-card {
  margin: 0;
  padding: 24px;
  gap: 14px;
}

body.runtime-category-page .category-about.runtime-card .page-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
}

body.runtime-category-page .category-about.runtime-card > p:not(.service-category-hero__eyebrow) {
  max-width: 760px;
}

body.runtime-services-page .runtime-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.runtime-services-page .services-catalog-service-card.runtime-card {
  overflow: hidden;
}

body.runtime-services-page .services-catalog-service-card__visual {
  margin-bottom: 0;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

body.runtime-services-page .services-catalog-service-card__body .btn {
  justify-content: center;
}

body.runtime-services-page .runtime-cta {
  align-items: center;
}

body.runtime-services-page .runtime-cta .services-catalog-cta__actions {
  justify-content: flex-start;
  align-items: center;
}

body.runtime-service-page .runtime-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

body.runtime-service-page .runtime-service-hero__media {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
  min-height: 100%;
}

body.runtime-service-page .runtime-service-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
}

body.runtime-service-page .runtime-service-hero__summary {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 14px;
}

body.runtime-service-page .runtime-service-hero__summary .page-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

body.runtime-service-page .runtime-service-hero__summary .page-subtitle {
  margin: 0;
}

body.runtime-service-page .runtime-service-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.runtime-service-page .runtime-service-meta__item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.runtime-service-page .runtime-service-meta__item span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

body.runtime-service-page .runtime-service-meta__item strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.4;
}

body.runtime-service-page .runtime-service-copy {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

body.runtime-service-page .runtime-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.runtime-service-page .service-desc.runtime-card {
  padding: 20px;
}

body.runtime-service-page .runtime-related .service-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1160px) {
  body.runtime-services-page .runtime-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.runtime-service-page .runtime-service-hero,
  body.runtime-services-page .runtime-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.runtime-services-page .runtime-service-grid,
  body.runtime-service-page .runtime-detail-grid {
    grid-template-columns: 1fr;
  }

  body.runtime-service-page .runtime-service-meta {
    grid-template-columns: 1fr;
  }

  body.runtime-services-page .services-catalog-cta,
  body.runtime-service-page .runtime-service-hero__summary {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  body.runtime-services-page .services-main.services-main--runtime {
    padding: 22px 0 40px;
  }

  body.runtime-services-page .runtime-page {
    gap: 18px;
  }

  body.runtime-services-page .runtime-service-grid {
    grid-template-columns: 1fr;
  }

  body.runtime-service-page .runtime-service-hero__media img {
    min-height: 260px;
  }
}

/* === SERVICES HUB REDESIGN: approved dark hero variant === */

.services-hub {
  --services-navy: #071525;
  --services-navy-2: #0b1f34;
  --services-blue: #1d4ed8;
  --services-orange: #f97316;
  --services-orange-dark: #ea580c;
  --services-text: #0f172a;
  --services-muted: #64748b;
  --services-border: rgba(15, 23, 42, 0.1);
  --services-soft: #f1f5f9;
  --services-card: #ffffff;
  --services-radius-lg: 24px;
  --services-radius-md: 18px;
  --services-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --services-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);

  color: var(--services-text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34rem),
    linear-gradient(180deg, #eef4fb 0%, #f8fafc 22%, #ffffff 100%);
  font-family: inherit;
  overflow-x: clip;
}

.services-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.services-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.services-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #06111f;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.services-trust-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.services-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.98) 0%, rgba(6, 17, 31, 0.88) 43%, rgba(6, 17, 31, 0.58) 72%, rgba(6, 17, 31, 0.84) 100%),
    url("/images/services/items/chistovaya-otdelka/okleyka-oboyami.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.services-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(249, 115, 22, 0.15), transparent 24rem),
    radial-gradient(circle at 78% 32%, rgba(59, 130, 246, 0.16), transparent 26rem);
}

.services-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
  gap: 64px;
  padding: 64px 0 58px;
}

.services-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.services-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.services-eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.services-hero__title {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 850;
  color: #fff;
}

.services-hero__text {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.services-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.services-btn:hover {
  transform: translateY(-2px);
}

.services-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--services-orange), var(--services-orange-dark));
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.services-btn--secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.services-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.services-calc-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--services-text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 26px;
}

.services-calc-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.services-calc-card__label {
  margin: 0 0 7px;
  color: var(--services-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-calc-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.services-calc-card__head > span {
  color: var(--services-muted);
  font-weight: 800;
  font-size: 14px;
}

.services-calc-card__text {
  margin: 12px 0 18px;
  color: var(--services-muted);
  font-size: 14px;
  line-height: 1.5;
}

.services-calc-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.services-calc-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--services-orange);
}

.services-calc-card__step {
  margin: 14px 0 10px;
  color: var(--services-text);
  font-size: 13px;
  font-weight: 800;
}

.services-calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.services-calc-option {
  min-height: 88px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--services-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.services-calc-option svg {
  width: 25px;
  height: 25px;
  color: var(--services-orange);
}

.services-calc-option.is-active,
.services-calc-option:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: #fff7ed;
  transform: translateY(-1px);
}

.services-calc-card__button {
  margin-top: 16px;
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--services-orange), var(--services-orange-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.services-calc-card__button svg {
  width: 18px;
  height: 18px;
}

.services-calc-card__note {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.services-trust-strip {
  background: #071525;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.services-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.services-trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.services-trust-item svg {
  width: 32px;
  height: 32px;
  color: #dbeafe;
  flex: 0 0 auto;
}

.services-trust-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  color: #fff;
}

.services-trust-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

.services-section {
  padding: 54px 0 0;
}

.services-section--first {
  padding-top: 44px;
}

.services-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.services-section-kicker {
  margin: 0 0 6px;
  color: var(--services-orange);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-section-head h2,
.services-block-title {
  margin: 0;
  color: var(--services-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 850;
}

.services-section-head a {
  color: var(--services-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

.services-category-card {
  overflow: hidden;
  border: 1px solid var(--services-border);
  border-radius: var(--services-radius-md);
  background: var(--services-card);
  box-shadow: var(--services-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.services-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: var(--services-shadow);
}

.services-category-card__image {
  position: relative;
  height: 154px;
  overflow: hidden;
  background: #dbe4ee;
}

.services-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-category-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.32));
}

.services-category-card__image > span {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  min-width: 34px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--services-text);
  font-size: 12px;
  font-weight: 850;
}

.services-category-card__icon {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: -24px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--services-orange);
  color: #fff;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.services-category-card__icon svg {
  width: 25px;
  height: 25px;
}

.services-category-card__body {
  padding: 34px 20px 20px;
}

.services-category-card__body h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--services-text);
}

.services-category-card__body ul,
.services-popular-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-category-card__body li,
.services-popular-card li {
  position: relative;
  padding-left: 15px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.services-category-card__body li + li,
.services-popular-card li + li {
  margin-top: 5px;
}

.services-category-card__body li::before,
.services-popular-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--services-orange);
}

.services-category-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.services-category-card__bottom strong,
.services-popular-card strong {
  color: var(--services-orange);
  font-size: 15px;
  font-weight: 900;
}

.services-category-card__bottom a {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #dbe3ef;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--services-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 22px;
}

.services-tabs button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.services-tabs button.is-active {
  border-color: var(--services-orange);
  background: var(--services-orange);
  color: #fff;
}

.services-popular-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.services-popular-card {
  overflow: hidden;
  border: 1px solid var(--services-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.services-popular-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--services-shadow-soft);
}

.services-popular-card img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.services-popular-card > div {
  padding: 16px;
}

.services-popular-card h3 {
  margin: 0 0 10px;
  min-height: 42px;
  color: var(--services-text);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.services-popular-card strong {
  display: block;
  margin-top: 14px;
}

.services-popular-card a {
  margin-top: 14px;
  min-height: 38px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--services-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.services-block-title {
  margin-bottom: 24px;
}

.services-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.services-process article {
  position: relative;
  min-height: 156px;
  padding: 20px 16px;
  border: 1px solid var(--services-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.services-process article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 48px;
  color: var(--services-orange);
  font-weight: 900;
  font-size: 22px;
  z-index: 2;
}

.services-process span {
  color: var(--services-orange);
  font-size: 13px;
  font-weight: 900;
}

.services-process svg {
  width: 34px;
  height: 34px;
  color: var(--services-blue);
  display: block;
  margin: 10px 0 14px;
}

.services-process h3 {
  margin: 0 0 7px;
  font-size: 15px;
  color: var(--services-text);
}

.services-process p {
  margin: 0;
  color: var(--services-muted);
  font-size: 12px;
  line-height: 1.45;
}

.services-lead {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.98), rgba(6, 17, 31, 0.9)),
    url("/images/services/items/ventiliruemyy-fasad/montazh-ventfasada.webp") center / cover no-repeat;
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 42px;
  padding: 36px;
}

.services-lead__content p {
  margin: 0 0 8px;
  color: var(--services-orange);
  font-weight: 900;
  font-size: 13px;
}

.services-lead__content h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.services-lead__content > span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.services-lead__content ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.services-lead__content li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.services-lead__content li::before {
  content: "✓";
  color: var(--services-orange);
  font-weight: 900;
  margin-right: 8px;
}

.services-lead__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: center;
}

.services-lead__form label {
  display: block;
}

.services-lead__form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.services-lead__form input,
.services-lead__form select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 15px;
  font: inherit;
  font-size: 14px;
}

.services-lead__form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.services-lead__form select {
  color: rgba(255, 255, 255, 0.72);
}

.services-lead__form option {
  color: #0f172a;
}

.services-lead__form button {
  grid-column: 1 / -1;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--services-orange), var(--services-orange-dark));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.24);
}

.services-lead__form p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.services-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
  border: 1px solid var(--services-border);
  border-radius: 24px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.services-info h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.services-info p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.services-info p + p {
  margin-top: 12px;
}

.services-info img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.services-info__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.services-info__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--services-text);
  font-size: 14px;
  font-weight: 800;
}

.services-info__benefits svg {
  width: 18px;
  height: 18px;
  color: var(--services-orange);
}

.services-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.services-faq details {
  border: 1px solid var(--services-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.services-faq summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--services-text);
  font-size: 14px;
  font-weight: 850;
  list-style: none;
}

.services-faq summary::-webkit-details-marker {
  display: none;
}

.services-faq summary::after {
  content: "+";
  color: var(--services-blue);
  font-size: 20px;
  font-weight: 700;
}

.services-faq details[open] summary::after {
  content: "−";
}

.services-faq p {
  margin: -4px 18px 18px;
  color: var(--services-muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .services-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-calc-card {
    max-width: 560px;
  }

  .services-trust-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .services-popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-process {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-process article:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 760px) {
  .services-container {
    width: min(100% - 28px, 1180px);
  }

  .services-hero,
  .services-trust-strip {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .services-hero,
  .services-hero__inner {
    min-height: auto;
  }

  .services-hero__inner {
    padding: 38px 0 34px;
  }

  .services-breadcrumbs {
    margin-bottom: 22px;
  }

  .services-hero__title {
    font-size: 34px;
    letter-spacing: -0.045em;
  }

  .services-hero__text {
    font-size: 15px;
  }

  .services-hero__actions {
    display: grid;
  }

  .services-btn {
    width: 100%;
  }

  .services-calc-card {
    padding: 20px;
    border-radius: 20px;
  }

  .services-calc-options {
    grid-template-columns: 1fr;
  }

  .services-trust-strip__grid,
  .services-category-grid,
  .services-popular-grid,
  .services-process,
  .services-faq,
  .services-info {
    grid-template-columns: 1fr;
  }

  .services-trust-item {
    min-height: 74px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .services-section {
    padding-top: 38px;
  }

  .services-section-head {
    display: grid;
    align-items: start;
  }

  .services-category-card__image {
    height: 180px;
  }

  .services-popular-card img {
    height: 180px;
  }

  .services-lead {
    padding: 24px;
    border-radius: 20px;
  }

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

  .services-info {
    padding: 22px;
  }

  .services-info img {
    height: 210px;
  }
}

.services-hub .services-category-card__image {
  isolation: isolate;
}

.services-hub .services-category-card__icon {
  left: auto;
  right: 16px;
  bottom: auto;
  top: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.24);
}

.services-hub .services-category-card__body {
  padding-top: 22px;
}

.services-hub .services-tabs {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.services-hub .services-tabs::-webkit-scrollbar {
  display: none;
}

.services-hub .services-tabs button {
  flex: 0 0 auto;
}

.services-hub .services-popular-card[hidden] {
  display: none;
}

.services-hub .services-lead__form > label {
  display: block;
}

.services-hub .services-lead__form > label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.services-hub .services-lead__form > label > input:not([type="checkbox"]),
.services-hub .services-lead__form > label > select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 15px;
  font: inherit;
  font-size: 14px;
}

.services-hub .services-lead__form > label > input:not([type="checkbox"])::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.services-hub .services-lead__form > label > select {
  color: rgba(255, 255, 255, 0.72);
}

.services-hub .services-lead__form .form-privacy-consent {
  grid-column: 1 / -1;
  margin: 4px 0 2px;
}

.services-hub .services-lead__form .form-privacy-consent__label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.45;
}

.services-hub .services-lead__form .form-privacy-consent__checkbox {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--services-orange);
  flex: 0 0 auto;
}

.services-hub .services-lead__form .form-privacy-consent__text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  color: inherit;
}

.services-hub .services-lead__form .form-privacy-consent__label a {
  color: #fff;
}

.services-hub .services-lead__form .form-privacy-consent__error {
  margin-top: 6px;
  color: #fecaca;
  font-size: 12px;
}

@media (max-width: 760px) {
  .services-hub {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .services-hub .services-hero__inner {
    gap: 24px;
    padding: 30px 0 28px;
  }

  .services-hub .services-hero__actions {
    gap: 12px;
  }

  .services-hub .services-hero__title {
    font-size: 30px;
    line-height: 1.02;
  }

  .services-hub .services-calc-card {
    padding: 18px;
  }

  .services-hub .services-calc-card h2 {
    font-size: 22px;
  }

  .services-hub .services-calc-card__text {
    margin-bottom: 14px;
  }

  .services-hub .services-category-card__icon {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .services-hub .services-tabs {
    margin-right: -4px;
  }

  .services-hub .services-section-head h2,
  .services-hub .services-block-title {
    font-size: 30px;
  }

  .services-hub .services-popular-card h3 {
    min-height: 0;
    font-size: 15px;
  }
}

/* === SERVICES WORKFLOW PREMIUM BLOCK === */

.services-workflow-section {
  padding-top: 58px;
  padding-bottom: 8px;
  overflow: hidden;
}

.services-workflow-head {
  margin-bottom: 34px;
}

.services-workflow-head h2 {
  margin: 0;
  color: #06132b;
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.services-workflow-head p {
  margin: 16px 0 0;
  color: #64748b;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.35;
}

.services-workflow-groups {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 28px;
  margin-bottom: 22px;
}

.services-workflow-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  color: #071a3a;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.services-workflow-group::before,
.services-workflow-group::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.82));
}

.services-workflow-group::before {
  left: 0;
  right: calc(50% + 130px);
}

.services-workflow-group::after {
  left: calc(50% + 130px);
  right: 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.82), rgba(37, 99, 235, 0));
}

.services-workflow-group img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.services-workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
}

.services-workflow-card {
  position: relative;
  min-height: 250px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.04), transparent 14rem), #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-workflow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.services-workflow-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 3;
  transform: translateY(-50%);
  color: #f97316;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.services-workflow-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.services-workflow-card__icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 28px 0 24px;
}

.services-workflow-card h3 {
  margin: 0;
  color: #071a3a;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.services-workflow-card p {
  margin: 16px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.services-workflow-card--cta {
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.24);
  background: radial-gradient(circle at 92% 18%, rgba(59, 130, 246, 0.28), transparent 11rem), radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.18), transparent 11rem), linear-gradient(145deg, #06132b, #0b2a5b);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.24);
}

.services-workflow-card--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 10px);
  opacity: 0.45;
  pointer-events: none;
}

.services-workflow-card--cta > * {
  position: relative;
  z-index: 1;
}

.services-workflow-card--cta .services-workflow-card__icon {
  filter: drop-shadow(0 12px 20px rgba(249, 115, 22, 0.28));
}

.services-workflow-card--cta h3 {
  color: #ffffff;
}

.services-workflow-card--cta p {
  color: rgba(255, 255, 255, 0.78);
}

.services-workflow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-workflow-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(249, 115, 22, 0.34);
}

.services-workflow-cta img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

@media (max-width: 1180px) {
  .services-workflow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-workflow-card:not(:last-child)::after {
    display: none;
  }

  .services-workflow-groups {
    display: none;
  }
}

@media (max-width: 820px) {
  .services-workflow-section {
    padding-top: 42px;
  }

  .services-workflow-head {
    margin-bottom: 24px;
  }

  .services-workflow-head h2 {
    font-size: 36px;
    letter-spacing: -0.045em;
  }

  .services-workflow-head p {
    font-size: 16px;
  }

  .services-workflow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-workflow-card {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 20px;
  }

.services-workflow-card__icon {
  width: 46px;
  height: 46px;
  margin: 22px 0 18px;
}

  .services-workflow-card h3 {
    font-size: 20px;
  }

  .services-workflow-card p {
    font-size: 14px;
  }

  .services-workflow-card--cta {
    padding-bottom: 24px;
  }
}

/* === SERVICES WORKFLOW / CTA READABILITY FIXES === */

.services-workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-workflow-card {
  min-height: 220px;
  padding: 24px 20px 22px;
}

.services-workflow-card:not(:last-child)::after {
  display: none;
}

.services-workflow-card__icon {
  margin: 22px 0 18px;
}

.services-workflow-card h3 {
  font-size: 20px;
}

.services-workflow-card p {
  font-size: 14px;
  line-height: 1.5;
}

.services-workflow-card--cta {
  grid-column: span 2;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.services-workflow-card--cta .services-workflow-cta {
  margin-top: auto;
}

.services-hub .services-lead__form .form-privacy-consent {
  grid-column: 1 / -1;
  margin: 6px 0 2px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.services-hub .services-lead__form .form-privacy-consent__label {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.services-hub .services-lead__form .form-privacy-consent__text {
  color: rgba(255, 255, 255, 0.88);
}

.services-hub .services-lead__form .form-privacy-consent__label a {
  color: #dbeafe;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.services-hub .services-lead__form p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .services-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-workflow-card--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .services-workflow-grid {
    grid-template-columns: 1fr;
  }

  .services-workflow-card {
    min-height: auto;
  }

  .services-workflow-card--cta {
    grid-column: auto;
  }
}

/* === SERVICES WORKFLOW DESKTOP REFERENCE RESTORE === */

.services-workflow-section .services-container {
  width: min(1760px, calc(100% - 80px));
  max-width: 1760px;
}

.services-workflow-groups {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 20px;
  margin-bottom: 18px;
}

.services-workflow-head {
  margin-bottom: 28px;
}

.services-workflow-head h2 {
  font-size: clamp(42px, 4vw, 58px);
}

.services-workflow-grid {
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.services-workflow-card {
  min-height: 304px;
  padding: 24px 20px 22px;
}

.services-workflow-card__icon {
  width: 52px;
  height: 52px;
  margin: 24px 0 22px;
}

.services-workflow-card h3 {
  font-size: 20px;
  line-height: 1.15;
}

.services-workflow-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
}

.services-workflow-card:not(:last-child)::after {
  display: block;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
}

.services-workflow-card--cta {
  grid-column: auto;
  min-height: 304px;
  display: block;
  padding: 24px 20px 22px;
}

.services-workflow-card--cta .services-workflow-cta {
  width: auto;
  min-width: 0;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 14px;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .services-workflow-section .services-container {
    width: min(1560px, calc(100% - 48px));
    max-width: 1560px;
  }

  .services-workflow-grid {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
    gap: 16px;
  }

  .services-workflow-card {
    min-height: 286px;
    padding: 24px 18px 22px;
  }

  .services-workflow-card__icon {
    width: 52px;
    height: 52px;
    margin: 22px 0 18px;
  }

  .services-workflow-card h3 {
    font-size: 19px;
  }

  .services-workflow-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .services-workflow-card--cta .services-workflow-cta {
    font-size: 12px;
    padding: 0 12px;
  }
}

@media (max-width: 1180px) {
  .services-workflow-section .services-container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
  }

  .services-workflow-groups {
    display: none;
  }

  .services-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .services-workflow-card:not(:last-child)::after {
    display: none;
  }

  .services-workflow-card {
    min-height: 230px;
  }

  .services-workflow-card--cta {
    grid-column: 1 / -1;
    min-height: 230px;
  }
}

@media (max-width: 820px) {
  .services-workflow-section .services-container {
    width: min(100% - 28px, 1180px);
  }

  .services-workflow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-workflow-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .services-workflow-card--cta {
    grid-column: auto;
  }
}

/* === SERVICES HUB STABILIZATION PASS === */

body.services-catalog-page {
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
}

.services-hub {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

body.services-catalog-page .services-hub {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.services-catalog-page .services-hero,
body.services-catalog-page .services-trust-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.services-hub [hidden] {
  display: none !important;
}

.services-calc-mini {
  margin-top: 0;
}

.services-calc-fields {
  display: grid;
  gap: 10px;
}

.services-calc-fields label:not(.services-calc-consent) span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.services-calc-fields input[type="text"],
.services-calc-fields input[type="tel"] {
  width: 100%;
  height: 48px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: var(--services-text);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.services-calc-fields input[type="text"]:focus,
.services-calc-fields input[type="tel"]:focus {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.services-calc-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.services-calc-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--services-orange);
}

.services-calc-consent a {
  color: var(--services-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.services-calc-option strong {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #fff7ed;
  color: var(--services-orange);
  font-size: 13px;
  font-weight: 900;
}

.services-calc-actions {
  display: grid;
}

.services-hub .services-popular-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.services-hub .services-popular-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.services-hub .services-popular-card > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.services-hub .services-popular-card strong {
  margin-top: auto;
  padding-top: 14px;
}

.services-hub .services-popular-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.services-hub .services-popular-card__link {
  min-height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.services-hub .services-popular-card__link:hover {
  transform: translateY(-2px);
}

.services-hub .services-popular-card__link--detail {
  border: 1px solid #dbe3ef;
  color: var(--services-text);
  background: #fff;
}

.services-hub .services-popular-card__link--calc {
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--services-orange), var(--services-orange-dark));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.services-hub .services-popular-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.services-hub .services-popular-more__button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--services-blue);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.services-hub .services-popular-more__button[hidden] {
  display: none;
}

.services-hub .services-lead__form .form-privacy-consent__label {
  color: rgba(255, 255, 255, 0.92);
}

.services-hub .services-lead__form .form-privacy-consent__text {
  color: rgba(255, 255, 255, 0.92);
}

.services-hub .services-lead__form p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1180px) {
  .services-hub .services-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-hub .services-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-hub {
    padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }

  .services-hub .services-hero {
    overflow: hidden;
  }

  .services-hub .services-hero__inner {
    width: min(100% - 28px, 1180px);
    padding: 28px 0 26px;
  }

  .services-hub .services-hero__actions {
    grid-template-columns: 1fr;
  }

  .services-hub .services-calc-card {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px;
  }

  .services-hub .services-calc-card__head {
    align-items: flex-start;
  }

  .services-hub .services-tabs {
    flex-wrap: nowrap;
    width: calc(100% + 4px);
    margin-right: -4px;
    padding-bottom: 8px;
  }

  .services-hub .services-tabs button {
    white-space: nowrap;
  }

  .services-hub .services-popular-grid {
    grid-template-columns: 1fr;
  }

  .services-hub .services-popular-card img {
    height: 192px;
  }

  .services-hub .services-popular-card__actions {
    grid-template-columns: 1fr;
  }

  .services-hub .services-lead {
    padding-bottom: 28px;
  }
}

/* Keep the premium workflow inside the services canvas. */
body.services-catalog-page .services-workflow-section .services-container {
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
}

body.services-catalog-page .services-workflow-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

body.services-catalog-page .services-workflow-groups {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}

body.services-catalog-page .services-workflow-group {
  min-height: 32px;
  font-size: 18px;
}

body.services-catalog-page .services-workflow-card {
  min-height: 214px;
  align-content: start;
  padding: 22px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 20px 20px, rgba(249, 115, 22, 0.12), transparent 7rem);
}

body.services-catalog-page .services-workflow-card__icon,
body.services-catalog-page .services-workflow-card--cta,
body.services-catalog-page .services-workflow-cta {
  display: none !important;
}

body.services-catalog-page .services-workflow-card__num {
  margin-bottom: 30px;
}

body.services-catalog-page .services-workflow-card h3 {
  font-size: 19px;
}

body.services-catalog-page .services-workflow-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
}

body.services-catalog-page .services-workflow-card:not(:last-child)::after {
  right: -18px;
  top: 50%;
}

/* === SERVICES UX POLISH: home calculator and final contact === */

body.services-catalog-page .services-container {
  width: min(1280px, calc(100% - 40px));
}

body.services-catalog-page .services-hero {
  min-height: 620px;
}

body.services-catalog-page .services-hero__inner {
  min-height: 620px;
  grid-template-columns: minmax(0, 780px);
  justify-content: start;
}

body.services-catalog-page .services-hero__content {
  max-width: 780px;
}

body.services-catalog-page .services-hero__title {
  max-width: 780px;
}

body.services-catalog-page .services-calc-card {
  display: none;
}

.services-home-calc {
  padding: 58px 0 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-home-calc .container,
.services-final-contact .services-container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.services-home-calc.quick-calc--new {
  margin: 0;
}

.services-home-calc .quick-calc__grid--new {
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
}

.services-home-calc .tabs--new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-home-calc .tabs--new button {
  flex: 0 0 auto;
}

.services-home-calc .quick-calc__result--new {
  border-radius: 20px;
}

.services-home-calc .quick-calc__result--new .btn--full {
  text-decoration: none;
}

.services-final-contact {
  padding: 50px 0 58px;
  background: #f1f5f9;
}

.services-final-contact .portfolio-lead__card {
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
}

.services-final-contact .portfolio-lead__media img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.services-final-contact .portfolio-lead__form .services-final-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.services-final-contact .portfolio-lead__form .services-final-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--services-orange);
}

.services-final-contact .portfolio-lead__form .services-final-consent a {
  color: var(--services-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.services-final-contact .portfolio-lead__form button {
  min-height: 48px;
}

body.services-catalog-page .services-workflow-head h2,
body.services-catalog-page .services-section-head h2,
body.services-catalog-page .services-block-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

body.services-catalog-page .services-workflow-head p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1400px) {
  body.services-catalog-page .services-workflow-section .services-container {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
  }

  body.services-catalog-page .services-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body.services-catalog-page .services-workflow-card {
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  body.services-catalog-page .services-workflow-section .services-container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
  }

  body.services-catalog-page .services-workflow-groups {
    display: none;
  }

  body.services-catalog-page .services-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.services-catalog-page .services-workflow-card:not(:last-child)::after {
    display: none;
  }

  .services-home-calc .quick-calc__grid--new {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.services-catalog-page .services-workflow-section .services-container {
    width: min(100% - 28px, 1180px);
  }

  body.services-catalog-page .services-workflow-grid {
    grid-template-columns: 1fr;
  }

  .services-home-calc {
    padding-top: 38px;
  }

  .services-home-calc .container,
  .services-final-contact .services-container {
    width: min(100% - 28px, 1180px);
  }

  .services-home-calc .quick-calc__grid--new {
    padding: 16px;
  }

  body.services-catalog-page .services-hero,
  body.services-catalog-page .services-hero__inner {
    min-height: auto;
  }

  .services-final-contact .portfolio-lead__media img {
    min-height: 260px;
  }
}

/* === SERVICES PAGE FINAL UX STABILIZATION === */

body.services-catalog-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body.services-catalog-page .services-hub {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

body.services-catalog-page .services-hero,
body.services-catalog-page .services-trust-strip {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.services-catalog-page .services-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
}

body.services-catalog-page .services-hero__inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 620px;
  grid-template-columns: minmax(0, 780px);
  justify-content: start;
  align-items: center;
  padding: 64px 0;
}

body.services-catalog-page .services-hero__content,
body.services-catalog-page .services-hero__title,
body.services-catalog-page .services-hero__text {
  max-width: 780px;
}

body.services-catalog-page .services-hero__bg {
  inset: 0;
}

body.services-catalog-page .services-category-card__image {
  height: 168px;
  background: #dbe4ee;
}

body.services-catalog-page .services-category-card__image img,
body.services-catalog-page .services-popular-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.services-catalog-page .services-category-card__icon {
  top: auto;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

body.services-catalog-page .services-category-card__body {
  padding-top: 20px;
}

body.services-catalog-page .services-popular-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

body.services-catalog-page .services-popular-card__actions a {
  margin-top: 0;
}

body.services-catalog-page .services-popular-card__link--calc {
  border-color: rgba(249, 115, 22, 0.38);
  background: #fff7ed;
  color: #ea580c;
}

body.services-catalog-page .services-popular-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

body.services-catalog-page .services-popular-more__button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.services-catalog-page .services-popular-more__button:hover {
  border-color: rgba(249, 115, 22, 0.35);
  color: #ea580c;
}

body.services-catalog-page .services-home-calc {
  padding: 56px 0 12px;
}

body.services-catalog-page .services-home-calc .container,
body.services-catalog-page .services-final-contact .services-container {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
}

body.services-catalog-page .services-home-calc .quick-calc__grid--new {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  padding: 24px;
}

body.services-catalog-page .services-home-calc .tabs--new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}

body.services-catalog-page .services-home-calc .tabs--new button {
  min-height: 38px;
  white-space: nowrap;
}

body.services-catalog-page .services-home-calc .quick-calc__result--new {
  align-self: stretch;
}

body.services-catalog-page .services-home-calc .quick-calc__result--new .btn--full {
  min-height: 54px;
}

body.services-catalog-page .services-workflow-section {
  padding-top: 52px;
}

body.services-catalog-page .services-workflow-section .services-container {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
}

body.services-catalog-page .services-workflow-head {
  margin-bottom: 24px;
}

body.services-catalog-page .services-workflow-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

body.services-catalog-page .services-workflow-head p {
  max-width: 680px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
}

body.services-catalog-page .services-workflow-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

body.services-catalog-page .services-workflow-group {
  min-height: 40px;
  justify-content: flex-start;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.8));
  font-size: 15px;
}

body.services-catalog-page .services-workflow-group::before,
body.services-catalog-page .services-workflow-group::after {
  display: none;
}

body.services-catalog-page .services-workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.services-catalog-page .services-workflow-card {
  min-height: 176px;
  padding: 22px 22px 20px;
  display: grid;
  align-content: start;
  gap: 12px;
}

body.services-catalog-page .services-workflow-card:not(:last-child)::after,
body.services-catalog-page .services-workflow-card__icon,
body.services-catalog-page .services-workflow-card--cta,
body.services-catalog-page .services-workflow-cta {
  display: none !important;
}

body.services-catalog-page .services-workflow-card__num {
  width: fit-content;
}

body.services-catalog-page .services-workflow-card h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.15;
}

body.services-catalog-page .services-workflow-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

body.services-catalog-page .services-final-contact {
  padding-bottom: 84px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

body.services-catalog-page .services-final-contact .portfolio-lead__media {
  min-height: 100%;
}

body.services-catalog-page .services-final-contact .portfolio-lead__content {
  padding: 28px 30px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form textarea {
  min-height: 92px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form small {
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  body.services-catalog-page .services-home-calc .quick-calc__grid--new {
    grid-template-columns: 1fr;
  }

  body.services-catalog-page .services-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.services-catalog-page .services-workflow-groups {
    display: none;
  }

  body.services-catalog-page .services-final-contact .portfolio-lead__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.services-catalog-page .services-hub {
    padding-bottom: 74px;
  }

  body.services-catalog-page .services-hero {
    min-height: auto;
  }

  body.services-catalog-page .services-hero__inner {
    width: min(100% - 28px, 1280px);
    min-height: auto;
    padding: 76px 0 42px;
  }

  body.services-catalog-page .services-hero__title {
    font-size: clamp(32px, 10vw, 42px);
  }

  body.services-catalog-page .services-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.services-catalog-page .services-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -14px;
    padding: 0 14px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.services-catalog-page .services-tabs::-webkit-scrollbar {
    display: none;
  }

  body.services-catalog-page .services-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.services-catalog-page .services-popular-card__actions {
    grid-template-columns: 1fr;
  }

  body.services-catalog-page .services-home-calc {
    padding-top: 38px;
  }

  body.services-catalog-page .services-home-calc .container,
  body.services-catalog-page .services-final-contact .services-container {
    width: min(100% - 28px, 1280px);
  }

  body.services-catalog-page .services-home-calc .quick-calc__grid--new {
    padding: 16px;
  }

  body.services-catalog-page .services-home-calc .tabs--new {
    flex-wrap: nowrap;
    margin-inline: -4px;
    padding: 0 4px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.services-catalog-page .services-home-calc .tabs--new::-webkit-scrollbar {
    display: none;
  }

  body.services-catalog-page .services-workflow-grid {
    grid-template-columns: 1fr;
  }

  body.services-catalog-page .services-workflow-card {
    min-height: auto;
  }

  body.services-catalog-page .services-final-contact {
    padding-bottom: 104px;
  }

  body.services-catalog-page .services-final-contact .portfolio-lead__content {
    padding: 22px;
  }
}

/* === SERVICES PAGE UX FIXES: cards, calc modal, workflow labels === */

body.services-catalog-page.services-calc-modal-open {
  overflow: hidden;
}

body.services-catalog-page .services-popular-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.services-catalog-page .services-popular-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.services-catalog-page .services-popular-card img {
  flex: 0 0 auto;
  height: 190px;
  min-height: 190px;
  max-height: 190px;
}

body.services-catalog-page .services-popular-card > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

body.services-catalog-page .services-popular-card h3 {
  min-height: 62px;
}

body.services-catalog-page .services-popular-card ul {
  min-height: 70px;
}

body.services-catalog-page .services-popular-card strong {
  margin-top: auto;
  padding-top: 14px;
}

body.services-catalog-page .services-workflow-groups {
  display: none !important;
}

body.services-catalog-page .services-workflow-section {
  padding-top: 48px;
}

body.services-catalog-page .services-workflow-head {
  margin-bottom: 22px;
}

body.services-catalog-page .services-workflow-card {
  min-height: 168px;
  border-radius: 20px;
}

body.services-catalog-page .services-calc-modal[hidden] {
  display: none;
}

body.services-catalog-page .services-calc-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

body.services-catalog-page .services-calc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(8px);
}

body.services-catalog-page .services-calc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.28);
  padding: 28px;
}

body.services-catalog-page .services-calc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.services-catalog-page .services-calc-modal__dialog h2 {
  margin: 0;
  max-width: 420px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

body.services-catalog-page .services-calc-modal__text {
  margin: 12px 0 20px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

body.services-catalog-page .services-calc-modal__form {
  display: grid;
  gap: 13px;
}

body.services-catalog-page .services-calc-modal__form label:not(.services-calc-modal__consent) {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

body.services-catalog-page .services-calc-modal__form input[type="text"],
body.services-catalog-page .services-calc-modal__form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 14px;
  font: inherit;
}

body.services-catalog-page .services-calc-modal__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

body.services-catalog-page .services-calc-modal__consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--services-orange);
}

body.services-catalog-page .services-calc-modal__consent a {
  color: var(--services-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.services-catalog-page .services-calc-modal__form [data-privacy-consent] {
  display: block;
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
}

body.services-catalog-page .services-calc-modal__form .form-privacy-consent__label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

body.services-catalog-page .services-calc-modal__form .form-privacy-consent__checkbox {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--services-orange);
}

body.services-catalog-page .services-calc-modal__form .form-privacy-consent__label a {
  color: var(--services-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__media img,
body.services-catalog-page .services-final-contact .services-final-contact__media img {
  min-height: 420px;
}

body.services-catalog-page .services-final-contact .services-final-contact__media {
  min-height: 100%;
  overflow: hidden;
}

body.services-catalog-page .services-final-contact .services-final-contact__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form {
  align-items: start;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form [data-privacy-consent] {
  grid-column: 1 / -1;
  margin: 0;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form [data-privacy-consent] .form-privacy-consent__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form [data-privacy-consent] .form-privacy-consent__checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
}

body.services-catalog-page .services-final-contact .portfolio-lead__form [data-privacy-consent] .form-privacy-consent__text {
  line-height: 1.45;
}

body.services-catalog-page .services-hero {
  min-height: 430px;
  display: grid;
  align-items: center;
}

body.services-catalog-page .services-hero__inner {
  min-height: 430px;
  padding-top: 28px;
  padding-bottom: 28px;
  align-items: center;
}

body.services-catalog-page .services-breadcrumbs {
  margin: 0 0 12px;
}

body.services-catalog-page .services-hero__content {
  gap: 10px;
}

body.services-catalog-page .services-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  body.services-catalog-page .services-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.services-catalog-page .services-hero__title {
  max-width: 640px;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body.services-catalog-page .services-hero__text {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

body.services-catalog-page .services-hero__actions {
  gap: 10px;
  margin-top: 10px;
}

body.services-catalog-page .services-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
}

body.services-catalog-page .services-trust-strip {
  margin-top: 0;
}

@media (min-width: 1181px) {
  body.services-catalog-page .services-hub {
    margin-top: -10px;
  }

  body.services-catalog-page .services-hero {
    margin-top: 0;
  }

  body.services-catalog-page .services-hero__inner {
    padding-top: 20px;
  }
}

@media (max-width: 760px) {
  body.services-catalog-page .services-hero {
    min-height: 0;
  }

  body.services-catalog-page .services-hero__inner {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  body.services-catalog-page .services-breadcrumbs {
    margin-bottom: 10px;
  }

  body.services-catalog-page .services-hero__title {
    font-size: 30px;
  }

  body.services-catalog-page .services-hero__text {
    font-size: 14px;
    line-height: 1.5;
  }

  body.services-catalog-page .services-hero__actions {
    margin-top: 8px;
  }
}

body.services-catalog-page .services-workflow-grid {
  counter-reset: services-workflow-card;
}

body.services-catalog-page .services-workflow-card {
  position: relative;
  counter-increment: services-workflow-card;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
}

body.services-catalog-page .services-workflow-card::before {
  content: counter(services-workflow-card, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(37, 99, 235, 0.12);
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  pointer-events: none;
}

body.services-catalog-page .services-workflow-card > * {
  position: relative;
  z-index: 1;
}

body.services-catalog-page .services-workflow-card__num {
  display: none !important;
}

@media (max-width: 760px) {
  body.services-catalog-page .services-popular-card img {
    height: 184px;
    min-height: 184px;
    max-height: 184px;
  }

  body.services-catalog-page .services-popular-card h3,
  body.services-catalog-page .services-popular-card ul {
    min-height: 0;
  }

  body.services-catalog-page .services-calc-modal {
    align-items: end;
    padding: 14px;
  }

  body.services-catalog-page .services-calc-modal__dialog {
    padding: 22px;
    border-radius: 20px;
  }

  body.services-catalog-page .services-final-contact .services-final-contact__media img {
    min-height: 260px;
  }
}

/* === SERVICE DETAIL PAGE TEMPLATE === */

.service-page {
  --service-navy: #071525;
  --service-navy-2: #0b1f34;
  --service-blue: #2563eb;
  --service-orange: #f97316;
  --service-orange-dark: #ea580c;
  --service-text: #0f172a;
  --service-muted: #64748b;
  --service-border: rgba(15, 23, 42, 0.1);
  --service-soft: #f3f7fc;
  --service-card: #ffffff;
  --service-radius-lg: 24px;
  --service-radius-md: 18px;
  --service-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --service-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
  color: var(--service-text);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34rem), linear-gradient(180deg, #f7fbff 0%, #ffffff 36%, #f8fafc 100%);
  overflow-x: clip;
}

.service-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.service-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.service-section {
  padding: 42px 0 0;
}

.service-section--compact {
  padding-top: 28px;
}

.service-section--soft {
  padding: 46px 0;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.86), rgba(248, 250, 252, 0.6));
}

.service-section--cta {
  padding-top: 34px;
}

.service-section--final {
  padding-bottom: 44px;
}

.service-section-kicker {
  margin: 0 0 8px;
  color: var(--service-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-section-title,
.service-section-head h2 {
  margin: 0;
  color: var(--service-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.service-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 20px;
}

.service-section-head a {
  color: var(--service-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.service-hero {
  padding: 32px 0 24px;
  background: #fff;
}

.service-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 34px;
  align-items: center;
}

.service-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 438px;
  background: #e2e8f0;
  box-shadow: var(--service-shadow);
}

.service-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 438px;
  object-fit: cover;
  display: block;
}

.service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 6, 23, 0.38));
}

.service-hero__media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  padding: 12px 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.service-hero__media-badge svg {
  width: 24px;
  height: 24px;
  color: var(--service-orange);
}

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

.service-hero__media-badge strong {
  font-size: 14px;
  color: var(--service-text);
}

.service-hero__media-badge span {
  margin-top: 2px;
  color: var(--service-muted);
  font-size: 12px;
}

.service-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #94a3b8;
  font-size: 13px;
}

.service-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.service-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.service-kickers span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--service-orange);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-hero__content h1 {
  max-width: 720px;
  margin: 0;
  color: var(--service-text);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.service-price-card {
  display: inline-grid;
  gap: 6px;
  margin: 20px 0 18px;
  border: 1px solid rgba(249, 115, 22, 0.26);
  border-radius: 16px;
  background: #fff7ed;
  padding: 16px 20px;
}

.service-price-card span {
  color: var(--service-orange);
  font-size: 12px;
  font-weight: 900;
}

.service-price-card strong {
  color: var(--service-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-hero__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.service-hero__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.service-hero__checks svg {
  width: 17px;
  height: 17px;
  color: var(--service-orange);
}

.service-hero__text {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.service-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.service-btn:hover {
  transform: translateY(-2px);
}

.service-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--service-orange), var(--service-orange-dark));
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.26);
}

.service-btn--light {
  color: var(--service-text);
  border: 1px solid var(--service-border);
  background: #fff;
}

.service-btn--dark {
  color: #fff;
  background: var(--service-navy);
}

.service-trust-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.service-trust-mini div {
  min-height: 82px;
  border: 1px solid var(--service-border);
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.service-trust-mini svg {
  width: 24px;
  height: 24px;
  color: var(--service-orange);
}

.service-trust-mini span {
  color: #334155;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
}

.service-info-grid,
.service-feature-row,
.service-process,
.service-projects,
.service-reviews,
.service-faq,
.service-related-grid {
  display: grid;
  gap: 18px;
}

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

.service-info-card,
.service-reviews article,
.service-related-card,
.service-faq details,
.service-process article,
.service-projects article {
  border: 1px solid var(--service-border);
  background: #fff;
  box-shadow: var(--service-shadow-soft);
}

.service-info-card {
  border-radius: 18px;
  padding: 22px;
}

.service-info-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: var(--service-orange);
  margin-bottom: 14px;
}

.service-info-card__icon svg {
  width: 23px;
  height: 23px;
}

.service-info-card h2 {
  margin: 0 0 12px;
  color: var(--service-text);
  font-size: 20px;
  line-height: 1.2;
}

.service-info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-info-card li {
  position: relative;
  padding-left: 15px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.service-info-card li + li {
  margin-top: 6px;
}

.service-info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--service-orange);
}

.service-description h2 {
  margin: 0 0 14px;
  color: var(--service-text);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.service-description p {
  max-width: 1060px;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.service-description p + p {
  margin-top: 12px;
}

.service-feature-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.service-feature-row span {
  min-height: 54px;
  border: 1px solid var(--service-border);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.service-feature-row svg {
  width: 20px;
  height: 20px;
  color: var(--service-blue);
}

.service-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 20px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--service-shadow);
}

.service-calculator__main h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.service-calculator__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-calculator__tabs button {
  min-height: 34px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.service-calculator__tabs button.is-active {
  border-color: var(--service-blue);
  background: var(--service-blue);
  color: #fff;
}

.service-calculator__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-calculator label span {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.service-calculator input,
.service-calculator select {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  color: var(--service-text);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.service-calculator__table {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.service-calculator__row {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr 0.8fr 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
  color: #334155;
  font-size: 13px;
}

.service-calculator__row + .service-calculator__row {
  border-top: 1px solid #e2e8f0;
}

.service-calculator__row--head {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.service-calculator__add {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #fff;
  color: var(--service-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.service-calculator__summary {
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  padding: 22px;
}

.service-calculator__summary > span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.service-calculator__summary > strong {
  display: block;
  margin-top: 8px;
  color: var(--service-blue);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-calculator__summary dl {
  margin: 18px 0;
}

.service-calculator__summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: #334155;
  font-size: 13px;
  border-bottom: 1px solid #e2e8f0;
}

.service-calculator__summary dt,
.service-calculator__summary dd {
  margin: 0;
}

.service-calculator__summary p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.service-calculator__summary a {
  min-height: 46px;
  border-radius: 11px;
  background: var(--service-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.service-process {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.service-process article {
  position: relative;
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 150px;
}

.service-process article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--service-orange);
  z-index: 2;
}

.service-process span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: var(--service-orange);
  font-size: 13px;
  font-weight: 900;
}

.service-process svg {
  width: 26px;
  height: 26px;
  margin: 12px 0 10px;
  color: var(--service-blue);
}

.service-process h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--service-text);
}

.service-process p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.service-dark-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 20px;
  background: radial-gradient(circle at 88% 10%, rgba(59, 130, 246, 0.22), transparent 18rem), linear-gradient(135deg, #071525, #0b1f34);
  color: #fff;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.service-dark-cta h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.service-dark-cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.service-dark-cta__items {
  display: grid;
  gap: 10px;
}

.service-dark-cta__items span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.service-dark-cta__items svg {
  width: 20px;
  height: 20px;
  color: var(--service-orange);
}

.service-dark-cta__actions {
  display: grid;
  gap: 10px;
}

.service-dark-cta__actions a {
  min-width: 190px;
  min-height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
}

.service-dark-cta__actions a:first-child {
  background: var(--service-orange);
  color: #fff;
}

.service-dark-cta__actions a:last-child {
  background: #fff;
  color: var(--service-text);
}

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

.service-projects article {
  overflow: hidden;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.service-projects img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.service-projects div {
  padding: 18px;
}

.service-projects h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-projects p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 13px;
}

.service-projects strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--service-text);
}

.service-projects a {
  color: var(--service-blue);
  font-weight: 900;
  text-decoration: none;
}

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

.service-reviews article {
  border-radius: 18px;
  padding: 20px;
}

.service-reviews article > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-reviews span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffedd5;
  color: var(--service-orange);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.service-reviews strong {
  color: var(--service-text);
}

.service-reviews em {
  margin-left: auto;
  color: var(--service-orange);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.service-reviews p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.service-faq {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-top: 18px;
}

.service-faq details {
  border-radius: 14px;
}

.service-faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--service-text);
  font-size: 14px;
  font-weight: 850;
  list-style: none;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: "+";
  color: var(--service-blue);
  font-size: 20px;
}

.service-faq details[open] summary::after {
  content: "−";
}

.service-faq p {
  margin: -2px 18px 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.service-related-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-related-card {
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: var(--service-text);
}

.service-related-card strong {
  font-size: 15px;
}

.service-related-card span {
  color: var(--service-orange);
  font-size: 13px;
  font-weight: 900;
}

.service-final-form {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 1.35fr;
  gap: 24px;
  align-items: center;
  border-radius: 22px;
  background: radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.25), transparent 22rem), linear-gradient(135deg, #071525, #0b1f34);
  color: #fff;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.service-final-form__image {
  overflow: hidden;
  border-radius: 16px;
  height: 210px;
}

.service-final-form__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-final-form__content p {
  display: inline-flex;
  margin: 0 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-final-form__content h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.service-final-form__content ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-final-form__content li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.service-final-form__content li::before {
  content: "✓";
  color: var(--service-orange);
  margin-right: 8px;
  font-weight: 900;
}

.service-final-form__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-final-form__form label:not(.service-consent) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.service-final-form__form input,
.service-final-form__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #fff;
  color: var(--service-text);
  padding: 0 13px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.service-final-form__form input {
  height: 44px;
}

.service-final-form__form textarea {
  min-height: 74px;
  padding-top: 12px;
  resize: vertical;
}

.service-final-form__full {
  grid-column: 1 / -1;
}

.service-consent {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.service-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.service-final-form__form button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: var(--service-orange);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .service-hero__inner,
  .service-calculator,
  .service-dark-cta,
  .service-final-form {
    grid-template-columns: 1fr;
  }

  .service-info-grid,
  .service-feature-row,
  .service-reviews {
    grid-template-columns: 1fr;
  }

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

  .service-process article::after {
    display: none;
  }

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

  .service-final-form__image {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .service-container {
    width: min(100% - 28px, 1180px);
  }

  .service-hero {
    padding-top: 22px;
  }

  .service-hero__media,
  .service-hero__media img {
    min-height: 300px;
  }

  .service-hero__content h1 {
    font-size: 34px;
    letter-spacing: -0.045em;
  }

  .service-hero__checks,
  .service-trust-mini,
  .service-calculator__form,
  .service-calculator__row,
  .service-process,
  .service-projects,
  .service-reviews,
  .service-faq,
  .service-related-grid,
  .service-final-form__form {
    grid-template-columns: 1fr;
  }

  .service-hero__actions {
    display: grid;
  }

  .service-btn {
    width: 100%;
  }

  .service-calculator__row {
    gap: 4px;
  }

  .service-calculator__row--head {
    display: none;
  }

  .service-calculator__row span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .service-projects article {
    grid-template-columns: 1fr;
  }

  .service-dark-cta,
  .service-calculator,
  .service-final-form {
    padding: 18px;
    border-radius: 18px;
  }

  .service-final-form {
    padding-bottom: 22px;
  }

  .service-final-form__image {
    height: 220px;
  }

  .service-final-form__content h2,
  .service-dark-cta h2 {
    font-size: 24px;
  }

  .service-page {
    padding-bottom: 74px;
  }
}

/* === SERVICE DETAIL PAGE TEMPLATE: reference alignment === */

.service-page .service-container {
  width: min(1240px, calc(100% - 48px));
}

.service-page .service-section {
  padding-top: 34px;
}

.service-page .service-section--compact {
  padding-top: 22px;
}

.service-page .service-section--soft {
  padding: 38px 0;
}

.service-page .service-hero {
  padding: 22px 0 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.07), transparent 32rem),
    #ffffff;
}

.service-page .service-hero__inner {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
}

.service-page .service-hero__media,
.service-page .service-hero__media img {
  min-height: 420px;
}

.service-page .service-breadcrumbs {
  margin-bottom: 14px;
}

.service-page .service-kickers {
  margin-bottom: 12px;
}

.service-page .service-hero__content h1 {
  max-width: 760px;
  font-size: clamp(36px, 3.7vw, 54px);
}

.service-page .service-price-card {
  margin: 17px 0 16px;
  padding: 14px 18px;
}

.service-page .service-price-card strong {
  font-size: clamp(26px, 2.8vw, 36px);
}

.service-page .service-hero__checks {
  gap: 8px 16px;
  margin-bottom: 16px;
}

.service-page .service-hero__text {
  font-size: 15px;
  line-height: 1.65;
}

.service-page .service-hero__actions {
  margin-top: 18px;
}

.service-page .service-btn {
  min-height: 46px;
  padding: 0 18px;
}

.service-page .service-trust-mini {
  gap: 10px;
  margin-top: 18px;
}

.service-page .service-trust-mini div {
  min-height: 72px;
  padding: 10px;
}

.service-page .service-info-card {
  padding: 18px 20px;
}

.service-page .service-info-card h2 {
  font-size: 18px;
}

.service-page .service-description h2,
.service-page .service-calculator__main h2,
.service-page .service-section-title,
.service-page .service-section-head h2 {
  font-size: clamp(26px, 2.7vw, 34px);
}

.service-page .service-description {
  padding-bottom: 18px;
}

.service-page .service-calculator {
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 18px;
  padding: 20px;
}

.service-page .service-calculator__form {
  gap: 10px;
}

.service-page .service-calculator__summary {
  padding: 20px;
}

.service-page .service-process {
  gap: 12px;
}

.service-page .service-process article {
  min-height: 138px;
  padding: 16px 14px;
}

.service-page .service-dark-cta {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr) auto;
  gap: 24px;
  padding: 24px;
}

.service-page .service-projects article {
  grid-template-columns: 210px 1fr;
}

.service-page .service-projects div,
.service-page .service-reviews article {
  padding: 16px;
}

.service-page .service-related-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.service-page .service-related-card {
  padding: 15px;
}

.service-page .service-final-form {
  grid-template-columns: 230px minmax(0, 0.95fr) minmax(420px, 1.25fr);
  gap: 22px;
  padding: 18px;
}

.service-page .service-final-form__content h2 {
  font-size: 26px;
}

.service-page .service-consent {
  align-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
}

.service-page .service-consent input {
  width: 18px;
  height: 18px;
  padding: 0;
}

@media (max-width: 1180px) {
  .service-page .service-hero__inner,
  .service-page .service-calculator,
  .service-page .service-dark-cta,
  .service-page .service-final-form {
    grid-template-columns: 1fr;
  }

  .service-page .service-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-page .service-projects article {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 760px) {
  .service-page .service-container {
    width: min(100% - 28px, 1240px);
  }

  .service-page .service-hero {
    padding-top: 16px;
  }

  .service-page .service-hero__media,
  .service-page .service-hero__media img {
    min-height: 280px;
  }

  .service-page .service-hero__content h1 {
    font-size: 32px;
  }

  .service-page .service-related-grid,
  .service-page .service-projects article {
    grid-template-columns: 1fr;
  }

  .service-page .service-section-head {
    display: grid;
    align-items: start;
  }
}

/* === SERVICE DETAIL MAIN CALCULATOR ADAPTER === */

.service-page .service-calculator-placeholder {
  display: none;
}

.service-page .service-page-calc {
  margin: 0;
  padding: 56px 0 42px;
  background:
    radial-gradient(circle at 16% 10%, rgba(37, 99, 235, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(248, 250, 252, 0.72));
}

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

.service-page .service-page-calc .quick-calc__head {
  margin-bottom: 16px;
}

.service-page .service-page-calc .quick-calc__head h2 {
  margin: 0 0 6px;
  color: var(--service-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.service-page .service-page-calc .quick-calc__head p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

.service-page .service-page-calc .quick-calc__grid--new {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background: linear-gradient(140deg, #f8fafc, #eef4ff 54%, #f8fafc);
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.service-page .service-page-calc .quick-calc__left--new {
  min-width: 0;
}

.service-page .service-page-calc .tabs--new {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.service-page .service-page-calc .tabs--new button {
  min-height: 34px;
  border: 1px solid #cbdaf0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.service-page .service-page-calc .tabs--new button.is-active {
  border-color: var(--service-orange);
  background: var(--service-orange);
  color: #fff;
}

.service-page .service-page-calc .quick-form--new {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-page .service-page-calc .field {
  display: grid;
  gap: 7px;
}

.service-page .service-page-calc .field span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.service-page .service-page-calc .field select,
.service-page .service-page-calc .field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbdaf0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.service-page .service-page-calc .quick-form__actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.service-page .service-page-calc .quick-form__actions .btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--service-orange);
  color: #fff;
  font-weight: 900;
}

.service-page .service-page-calc .quick-form__hint,
.service-page .service-page-calc .quick-calc__items-note {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.service-page .service-page-calc .quick-calc__items-wrap--left {
  margin-top: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.service-page .service-page-calc .quick-calc__items-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.service-page .service-page-calc .quick-calc__clear {
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.service-page .service-page-calc .quick-calc__items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-page .service-page-calc .quick-calc__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px dashed #cbdaf0;
  border-radius: 12px;
  background: #fff;
  padding: 9px 10px;
  color: #334155;
  font-size: 13px;
}

.service-page .service-page-calc .quick-calc__item--empty {
  color: #94a3b8;
}

.service-page .service-page-calc .quick-calc__item-right {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.service-page .service-page-calc .quick-calc__item-right button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--service-orange);
  cursor: pointer;
}

.service-page .service-page-calc .quick-calc__hints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.service-page .service-page-calc .quick-calc__hints article {
  min-height: 42px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #334155;
  font-size: 13px;
}

.service-page .service-page-calc .quick-calc__hints i {
  color: var(--service-blue);
}

.service-page .service-page-calc .quick-calc__result--new {
  border: 1px solid #d7e1ee;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.service-page .service-page-calc .quick-calc__result--new p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.service-page .service-page-calc .quick-calc__result--new h3 {
  margin: 10px 0 16px;
  color: #1d4ed8;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-page .service-page-calc .quick-calc__meta {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.service-page .service-page-calc .quick-calc__meta li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #64748b;
  font-size: 13px;
}

.service-page .service-page-calc .quick-calc__meta strong {
  max-width: 150px;
  color: #0f172a;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-page .service-page-calc .quick-calc__result--new small {
  display: block;
  margin: auto 0 14px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.service-page .service-page-calc .quick-calc__result--new .btn--accent {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .service-page .service-page-calc .quick-calc__grid--new {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .service-page .service-page-calc {
    padding: 30px 0;
  }

  .service-page .service-page-calc .container {
    width: min(100% - 28px, 1240px);
  }

  .service-page .service-page-calc .quick-calc__grid--new {
    padding: 16px;
    border-radius: 18px;
  }

  .service-page .service-page-calc .quick-form--new,
  .service-page .service-page-calc .quick-calc__hints {
    grid-template-columns: 1fr;
  }

  .service-page .service-page-calc .tabs--new {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .service-page .service-page-calc .tabs--new button {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }

  .service-page .service-page-calc .quick-calc__item {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-page .service-page-calc .quick-calc__meta li {
    display: grid;
  }

  .service-page .service-page-calc .quick-calc__meta strong {
    max-width: none;
    text-align: left;
  }
}

/* === SERVICE DETAIL HERO: reference composition === */

.service-page .service-hero {
  padding: 24px 0 24px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.94), #ffffff 42%, #f8fafc 100%);
}

.service-page .service-hero__shell {
  width: min(1240px, calc(100% - 56px));
  padding-top: 12px;
}

.service-page .service-hero__shell > .service-breadcrumbs {
  margin: 0 0 18px;
}

.service-page .service-hero__inner {
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.service-page .service-hero__media {
  min-height: 405px;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.service-page .service-hero__media img {
  min-height: 405px;
}

.service-page .service-hero__media-badge {
  left: 18px;
  bottom: 18px;
  min-width: 205px;
  border-radius: 10px;
  padding: 10px 12px;
}

.service-page .service-hero__media-badge svg {
  width: 22px;
  height: 22px;
}

.service-page .service-hero__media-badge strong {
  font-size: 13px;
}

.service-page .service-hero__media-badge span {
  font-size: 11px;
}

.service-page .service-hero__content {
  padding-top: 8px;
}

.service-page .service-kickers {
  gap: 7px;
  margin-bottom: 12px;
}

.service-page .service-kickers span {
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 7px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.service-page .service-hero__content h1 {
  max-width: 670px;
  font-size: clamp(30px, 2.75vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.service-page .service-hero__offer {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0 18px;
}

.service-page .service-price-card {
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border-radius: 13px;
}

.service-page .service-price-card span {
  font-size: 11px;
}

.service-page .service-price-card strong {
  font-size: clamp(27px, 2.45vw, 34px);
  white-space: nowrap;
}

.service-page .service-hero__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.service-page .service-hero__checks li {
  font-size: 13px;
  line-height: 1.25;
}

.service-page .service-hero__checks svg {
  width: 16px;
  height: 16px;
}

.service-page .service-hero__text {
  max-width: 610px;
  font-size: 14px;
  line-height: 1.55;
}

.service-page .service-hero__actions {
  gap: 12px;
  margin-top: 18px;
  flex-wrap: nowrap;
}

.service-page .service-btn {
  min-height: 43px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.service-page .service-trust-mini {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.service-page .service-trust-mini div {
  min-height: 64px;
  border-radius: 8px;
  padding: 10px 8px;
}

.service-page .service-trust-mini svg {
  width: 20px;
  height: 20px;
}

.service-page .service-trust-mini span {
  font-size: 11px;
}

@media (max-width: 980px) {
  .service-page .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-page .service-hero__offer {
    grid-template-columns: 1fr;
  }

  .service-page .service-hero__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .service-page .service-hero__shell {
    width: min(100% - 28px, 1120px);
  }

  .service-page .service-hero__media,
  .service-page .service-hero__media img {
    min-height: 300px;
  }

  .service-page .service-hero__content h1 {
    font-size: 32px;
  }

  .service-page .service-trust-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === SERVICE DETAIL UX POLISH === */

.service-page .service-info-card,
.service-page .service-projects article,
.service-page .service-reviews article,
.service-page .service-process article,
.service-page .service-faq details,
.service-page .service-related-card,
.service-page .service-final-form,
.service-page .service-dark-cta,
.service-page .service-page-calc .quick-calc__grid--new {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.service-page .service-info-card:hover,
.service-page .service-projects article:hover,
.service-page .service-reviews article:hover,
.service-page .service-process article:hover,
.service-page .service-faq details:hover,
.service-page .service-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.service-page .service-process article:hover span,
.service-page .service-info-card:hover .service-info-card__icon {
  background: var(--service-orange);
  color: #fff;
}

.service-page .service-process article:hover svg {
  color: var(--service-orange);
}

.service-page .service-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-page .service-related-card {
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  gap: 0;
  background: #fff;
}

.service-page .service-related-card__image {
  display: block;
  position: relative;
  height: 150px;
  overflow: hidden;
  color: inherit;
}

.service-page .service-related-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.18));
}

.service-page .service-related-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.service-page .service-related-card:hover .service-related-card__image img {
  transform: scale(1.04);
}

.service-page .service-related-card__body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.service-page .service-related-card__category {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.service-page .service-related-card strong {
  color: var(--service-text);
  font-size: 16px;
  line-height: 1.25;
}

.service-page .service-related-card__price {
  color: var(--service-orange);
  font-size: 14px;
  font-weight: 900;
}

.service-page .service-related-card__more {
  margin-top: 4px;
  min-height: 38px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--service-text);
  font-size: 13px;
  font-weight: 900;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.service-page .service-related-card:hover .service-related-card__more {
  border-color: var(--service-orange);
  background: #fff7ed;
  color: var(--service-orange);
}

.service-page .service-section--related .service-section-kicker {
  color: var(--service-orange);
}

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

@media (max-width: 760px) {
  .service-page .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-page .service-related-card__image {
    height: 190px;
  }
}

/* === SERVICE DETAIL FINAL POLISH === */

.service-page .service-hero__offer {
  grid-template-columns: minmax(178px, 0.68fr) minmax(270px, 1fr);
}

.service-page .service-price-card {
  padding: 13px 16px;
}

.service-page .service-price-card strong {
  font-size: clamp(24px, 2.1vw, 30px);
  letter-spacing: -0.035em;
}

.service-page .service-process {
  position: relative;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.1), transparent 22rem),
    linear-gradient(135deg, #f8fbff, #ffffff);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.service-page .service-process::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.34), rgba(249, 115, 22, 0.42), rgba(37, 99, 235, 0));
}

.service-page .service-process article {
  overflow: hidden;
  min-height: 178px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  padding: 18px 14px 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.service-page .service-process article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #f97316);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-page .service-process article:hover::before {
  opacity: 1;
}

.service-page .service-process article:not(:last-child)::after {
  display: none;
}

.service-page .service-process span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  background: #fff7ed;
  color: var(--service-orange);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.18);
}

.service-page .service-process svg {
  width: 28px;
  height: 28px;
  margin: 14px 0 12px;
}

.service-page .service-process h3 {
  font-size: 15px;
  line-height: 1.18;
}

.service-page .service-process p {
  font-size: 12px;
  line-height: 1.5;
}

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

.service-page .service-page-calc,
.service-page .service-page-calc .container,
.service-page .service-page-calc .quick-calc__grid--new,
.service-page .service-page-calc .quick-calc__left--new {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

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

  .service-page .service-process::before {
    display: none;
  }

  .service-page .service-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .service-page .service-price-card strong {
    white-space: normal;
  }

  .service-page .service-process {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 20px;
  }

  .service-page .service-process article {
    min-height: auto;
  }

  .service-page .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-page .service-page-calc .container {
    width: min(100% - 24px, 1240px);
    overflow: hidden;
  }

  .service-page .service-page-calc .quick-calc__grid--new {
    overflow: hidden;
  }

  .service-page .service-page-calc .tabs--new {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .service-page .service-page-calc .tabs--new::-webkit-scrollbar {
    display: none;
  }

  .service-page .service-page-calc .tabs--new button {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }
}

/* === RUNTIME SERVICE MOBILE STABILITY === */
.runtime-service-page,
.runtime-service-page .service-page {
  max-width: 100%;
  overflow-x: clip;
}

.runtime-service-page .site-footer {
  margin-top: 0;
}

.service-page .service-hero__actions,
.service-page .service-hero__actions .service-btn,
.service-page .service-page-calc,
.service-page .service-page-calc *,
.service-page .service-final-form,
.service-page .service-final-form * {
  box-sizing: border-box;
}

.service-page .service-page-calc .quick-form--new,
.service-page .service-page-calc .quick-calc__grid--new,
.service-page .service-page-calc .quick-calc__result--new,
.service-page .service-page-calc .quick-calc__items-wrap {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .runtime-service-page {
    overflow-x: hidden;
  }

  .runtime-service-page .service-page {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .runtime-service-page .service-mobile-bar {
    display: grid;
  }

  .runtime-service-page .service-mobile-bar a {
    min-height: 46px;
    font-size: 10.5px;
    line-height: 1.15;
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }

  .service-page .service-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .service-page .service-hero__actions .service-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 14px;
    white-space: normal;
  }

  .service-page .service-page-calc .quick-calc__grid--new {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .service-page .service-page-calc .tabs--new {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .service-page .service-page-calc .tabs--new button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .service-page .service-page-calc .field,
  .service-page .service-page-calc .field select,
  .service-page .service-page-calc .field input,
  .service-page .service-page-calc .quick-form__actions,
  .service-page .service-page-calc .quick-form__actions .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-page .service-page-calc .quick-calc__item {
    min-width: 0;
  }

  .service-page .service-page-calc .quick-calc__item-right {
    width: 100%;
    justify-content: space-between;
  }

  .service-page .service-page-calc .quick-calc__meta li {
    min-width: 0;
  }

  .service-page .service-page-calc .quick-calc__result--new .btn--accent {
    width: 100%;
    max-width: 100%;
  }

  .service-page .service-final-form {
    max-width: 100%;
    overflow: hidden;
  }

  .service-page .service-hero__media,
  .service-page .service-hero__media img {
    min-height: 250px !important;
  }

  .service-page .service-hero__content h1 {
    font-size: 32px;
    line-height: 1.04;
  }

  .service-page .service-price-card {
    padding: 12px 14px;
  }

  .service-page .service-hero__text {
    font-size: 14px;
    line-height: 1.55;
  }

  .service-page .service-trust-mini {
    margin-top: 14px;
    gap: 8px;
  }

  .service-page .service-trust-mini div {
    min-height: 56px;
    padding: 8px 6px;
  }

  .service-page .service-trust-mini span {
    font-size: 10px;
    line-height: 1.2;
  }
}

/* === SERVICES / SERVICE MOBILE OVERFLOW STABILIZATION === */
@media (max-width: 980px) {
  body.services-catalog-page,
  body.runtime-services-page,
  body.runtime-service-page {
    overflow-x: hidden;
  }
}

@media (max-width: 760px) {
  .services-hub,
  .service-page {
    overflow-x: clip;
  }

  .services-hub {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .service-page {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .service-page .service-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-page .service-hero__actions .service-btn,
  .service-page .service-btn--primary,
  .service-page .service-btn--light,
  .service-page .service-btn--dark {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    padding-inline: 14px !important;
  }

  .service-page .service-calculator,
  .service-page .service-page-calc,
  .service-page .service-page-calc .quick-calc__grid--new {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .service-page .service-calculator__tabs,
  .service-page .service-page-calc .tabs--new {
    max-width: 100% !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
  }

  .service-page .service-calculator__tabs button,
  .service-page .service-page-calc .tabs--new button {
    flex: 0 1 auto !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .service-page .service-calculator {
    grid-template-columns: 1fr !important;
  }

  .service-page .service-calculator__main,
  .service-page .service-calculator__summary,
  .service-page .service-calculator__table {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-page .service-calculator__form {
    grid-template-columns: 1fr !important;
  }

  .service-page .service-calculator__summary {
    order: 2;
  }

  .service-page .service-calculator__row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  .service-page .service-calculator__row--head {
    display: none !important;
  }

  .service-page .service-calculator__row span {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .service-page .service-calculator input,
  .service-page .service-calculator select,
  .service-page .service-calculator button,
  .service-page .service-page-calc input,
  .service-page .service-page-calc select,
  .service-page .service-page-calc button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Keep services pages on the same header geometry as the global public header. */
body.services-catalog-page > .site-header.site-header--new .header-main,
body.runtime-services-page > .site-header.site-header--new .header-main,
body.runtime-service-page > .site-header.site-header--new .header-main {
  width: min(1280px, calc(100% - 36px)) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 1240px) {
  body.services-catalog-page > .site-header.site-header--new .header-main,
  body.runtime-services-page > .site-header.site-header--new .header-main,
  body.runtime-service-page > .site-header.site-header--new .header-main {
    width: min(100% - 32px, 1280px) !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: 72px !important;
  }
}

/* === SERVICES CSS STABILIZATION: /services, service detail, mobile overflow === */
@media (max-width: 760px) {
  body.services-catalog-page .services-hub {
    overflow-x: clip;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body.services-catalog-page .services-home-calc,
  body.services-catalog-page .services-home-calc .container,
  body.services-catalog-page .services-home-calc .quick-calc__grid--new,
  body.services-catalog-page .services-home-calc .quick-calc__left--new,
  body.services-catalog-page .services-home-calc .quick-calc__result--new {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.services-catalog-page .services-home-calc .quick-calc__grid--new {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.services-catalog-page .services-home-calc .tabs--new {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.services-catalog-page .services-home-calc .tabs--new button {
    flex: 0 1 auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  body.services-catalog-page .services-home-calc .quick-form--new,
  body.services-catalog-page .services-home-calc .quick-calc__hints,
  body.services-catalog-page .services-home-calc .quick-calc__meta {
    grid-template-columns: 1fr !important;
  }

  body.services-catalog-page .services-home-calc input,
  body.services-catalog-page .services-home-calc select,
  body.services-catalog-page .services-home-calc button,
  body.services-catalog-page .services-home-calc .btn,
  body.services-catalog-page .services-home-calc .btn--full {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.services-catalog-page .services-popular-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.services-catalog-page .services-popular-card {
    min-height: 0 !important;
  }

  body.services-catalog-page .services-popular-card img {
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
  }

  body.services-catalog-page .services-popular-card > div,
  body.services-catalog-page .services-popular-card h3,
  body.services-catalog-page .services-popular-card ul,
  body.services-catalog-page .services-popular-card strong {
    min-height: 0 !important;
  }

  body.services-catalog-page .services-popular-card__actions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.services-catalog-page .services-popular-card__actions a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-page {
    overflow-x: clip;
    padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .service-page .service-hero,
  .service-page .service-hero__inner,
  .service-page .service-hero__media,
  .service-page .service-hero__content,
  .service-page .service-final-form,
  .service-page .service-projects,
  .service-page .service-related-grid {
    max-width: 100%;
  }

  .service-page .service-page-calc .quick-form__actions .btn,
  .service-page .service-calculator__add {
    border-color: transparent !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22) !important;
  }

  .service-page .service-page-calc .quick-form__actions .btn:hover,
  .service-page .service-calculator__add:hover {
    background: #1d4ed8 !important;
  }
}

/* === SERVICE DETAIL HERO POLISH: breadcrumbs, top spacing, compact mobile CTA === */
.service-page .service-hero {
  padding-top: 68px;
}

.service-page .service-breadcrumbs {
  display: flex !important;
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  color: #64748b;
}

.service-page .service-breadcrumbs a,
.service-page .service-breadcrumbs span {
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .service-page,
  .service-page .service-container,
  .service-page .service-hero__shell,
  .service-page .service-hero__inner,
  .service-page .service-hero__inner > *,
  .service-page .service-hero__media,
  .service-page .service-hero__content,
  .service-page .service-hero__offer,
  .service-page .service-hero__checks,
  .service-page .service-hero__text,
  .service-page .service-trust-mini {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .service-page {
    width: 100%;
    overflow-x: hidden !important;
  }

  .service-page .service-container,
  .service-page .service-hero__shell {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-page .service-hero {
    padding-top: 82px !important;
  }

  .service-page .service-hero__shell {
    padding-top: 0;
  }

  .service-page .service-breadcrumbs {
    margin: 0 0 14px !important;
    gap: 5px 7px;
  }

  .service-page .service-breadcrumbs a,
  .service-page .service-breadcrumbs span {
    font-size: 11px;
    line-height: 1.35;
  }

  .service-page .service-hero__inner,
  .service-page .service-hero__offer {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .service-page .service-hero__content h1 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
  }

  .service-page .service-hero__actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    align-items: stretch;
  }

  .service-page .service-hero__actions .service-btn,
  .service-page .service-btn--primary,
  .service-page .service-btn--light,
  .service-page .service-btn--dark {
    min-height: 46px !important;
    padding: 10px 12px !important;
    border-radius: 11px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }

  .service-page .service-trust-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* === CATEGORY PAGE TEMPLATE === */

.category-page {
  --cat-navy: #071525;
  --cat-navy-2: #0b1f34;
  --cat-orange: #f97316;
  --cat-orange-dark: #ea580c;
  --cat-blue: #2563eb;
  --cat-blue-dark: #1d4ed8;
  --cat-text: #0f172a;
  --cat-muted: #64748b;
  --cat-border: rgba(15, 23, 42, 0.1);
  --cat-soft: #f4f8fd;
  --cat-card: #ffffff;
  --cat-radius-lg: 24px;
  --cat-radius-md: 18px;
  --cat-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --cat-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
  color: var(--cat-text);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 34%, #f8fafc 100%);
  overflow-x: clip;
}

.category-page,
.category-page * {
  box-sizing: border-box;
}

.category-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.category-section {
  padding: 48px 0 0;
}

.category-section--calc {
  padding: 52px 0;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.category-section--final {
  padding-bottom: 54px;
}

.category-hero {
  padding: 36px 0 24px;
  background: #ffffff;
}

.category-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 42px;
  align-items: center;
}

.category-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #94a3b8;
  font-size: 13px;
}

.category-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.category-kicker,
.category-section-kicker {
  margin: 0 0 9px;
  color: var(--cat-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--cat-text);
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.category-hero__text {
  max-width: 650px;
  margin: 20px 0 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.category-hero__price {
  display: inline-grid;
  gap: 6px;
  margin-top: 26px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 16px;
  background: #fff7ed;
  padding: 16px 20px;
}

.category-hero__price span {
  color: var(--cat-orange);
  font-size: 12px;
  font-weight: 900;
}

.category-hero__price strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.category-btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-btn:hover {
  transform: translateY(-2px);
}

.category-btn--primary {
  background: linear-gradient(135deg, var(--cat-orange), var(--cat-orange-dark));
  color: #fff;
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.25);
}

.category-btn--light {
  border: 1px solid var(--cat-border);
  background: #fff;
  color: var(--cat-text);
}

.category-hero__media {
  overflow: hidden;
  border-radius: 22px;
  background: #e2e8f0;
  box-shadow: var(--cat-shadow);
}

.category-hero__media img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}

.category-trust {
  background: var(--cat-navy);
  color: #fff;
}

.category-trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.category-trust__item {
  min-height: 86px;
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-trust__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.category-trust__item img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.category-trust__item strong,
.category-trust__item span {
  display: block;
}

.category-trust__item strong {
  font-size: 15px;
}

.category-trust__item span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.category-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.category-section-head h2,
.category-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.category-section-head a {
  color: var(--cat-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.category-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-service-card {
  overflow: hidden;
  border: 1px solid var(--cat-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--cat-shadow-soft);
}

.category-service-card img {
  width: 100%;
  height: 170px;
  display: block;
  object-fit: cover;
}

.category-service-card__body {
  padding: 18px;
}

.category-service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.category-service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-service-card li {
  position: relative;
  padding-left: 14px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.category-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--cat-orange);
}

.category-service-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.category-service-card strong {
  color: var(--cat-orange);
  font-weight: 950;
}

.category-service-card a {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: var(--cat-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.category-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--cat-shadow);
}

.category-calc__main {
  min-width: 0;
}

.category-calc__main h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.category-calc__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-calc__tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.category-calc__tabs button.is-active {
  border-color: var(--cat-orange);
  background: var(--cat-orange);
  color: #fff;
}

.category-calc__form {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 12px;
}

.category-calc__form label span {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.category-calc input,
.category-calc select {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  color: var(--cat-text);
}

.category-calc__add {
  grid-column: 1 / -1;
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: var(--cat-blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.category-calc__note {
  margin-top: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  padding: 12px;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}

.category-calc__summary {
  min-width: 0;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #f8fbff;
  padding: 22px;
}

.category-calc__summary > span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.category-calc__summary > strong {
  display: block;
  margin-top: 10px;
  color: var(--cat-blue);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.category-calc__summary dl {
  margin: 18px 0;
}

.category-calc__summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
}

.category-calc__summary dt,
.category-calc__summary dd {
  margin: 0;
}

.category-calc__summary dd {
  text-align: right;
}

.category-calc__summary p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.category-calc__summary a {
  min-height: 46px;
  border-radius: 11px;
  background: var(--cat-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
}

.category-included {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.category-included h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.category-included p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

.category-included__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.category-included__items div {
  min-height: 116px;
  border: 1px solid var(--cat-border);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.category-included__items img {
  width: 30px;
  height: 30px;
}

.category-included__items span {
  font-size: 13px;
  font-weight: 850;
}

.category-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.category-process article {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--cat-border);
  border-radius: 16px;
  background: #fff;
  padding: 18px 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.category-process article:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cat-orange);
}

.category-process span {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: var(--cat-orange);
  font-size: 12px;
  font-weight: 900;
}

.category-process img {
  width: 26px;
  height: 26px;
  margin: 12px 0 10px;
}

.category-process h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.category-process p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.category-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.category-price-card {
  border: 1px solid var(--cat-border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.category-price-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cat-text);
  font-size: 15px;
}

.category-price-card span {
  color: var(--cat-orange);
  font-weight: 950;
}

.category-price-note {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 13px;
}

.category-seo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  border: 1px solid var(--cat-border);
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--cat-shadow-soft);
}

.category-seo h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.category-seo p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.category-seo p + p {
  margin-top: 10px;
}

.category-seo ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.category-seo li {
  color: var(--cat-text);
  font-size: 14px;
  font-weight: 850;
}

.category-seo li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--cat-orange);
}

.category-seo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

.category-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-project-card {
  overflow: hidden;
  border: 1px solid var(--cat-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--cat-shadow-soft);
}

.category-project-card img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.category-project-card div {
  padding: 16px;
}

.category-project-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.2;
}

.category-project-card p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 13px;
}

.category-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-top: 18px;
}

.category-faq details {
  border: 1px solid var(--cat-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.category-faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--cat-text);
  font-size: 14px;
  font-weight: 850;
  list-style: none;
}

.category-faq summary::-webkit-details-marker {
  display: none;
}

.category-faq summary::after {
  content: "+";
  color: var(--cat-blue);
  font-size: 20px;
}

.category-faq details[open] summary::after {
  content: "-";
}

.category-faq p {
  margin: -2px 18px 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.category-related {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-related-card {
  border: 1px solid var(--cat-border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  color: var(--cat-text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.category-related-card strong {
  display: block;
  margin-bottom: 6px;
}

.category-related-card span {
  color: var(--cat-orange);
  font-size: 13px;
  font-weight: 900;
}

.category-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25fr;
  gap: 34px;
  align-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(37, 99, 235, 0.24), transparent 24rem),
    linear-gradient(135deg, #071525, #0b1f34);
  color: #fff;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.category-final__content p {
  display: inline-flex;
  margin: 0 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-final h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.category-final ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.category-final li {
  color: rgba(255, 255, 255, 0.82);
}

.category-final li::before {
  content: "✓";
  color: var(--cat-orange);
  margin-right: 8px;
}

.category-final__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-final__form input,
.category-final__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--cat-text);
  padding: 0 13px;
  font: inherit;
  font-size: 14px;
}

.category-final__form input {
  height: 44px;
}

.category-final__form textarea,
.category-final__form label,
.category-final__form button {
  grid-column: 1 / -1;
}

.category-final__form textarea {
  min-height: 78px;
  padding-top: 12px;
  resize: vertical;
}

.category-final__form label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.category-final__form label input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.category-final__form button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: var(--cat-orange);
  color: #fff;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .category-hero__inner,
  .category-calc,
  .category-included,
  .category-seo,
  .category-final {
    grid-template-columns: 1fr;
  }

  .category-services-grid,
  .category-price-grid,
  .category-projects {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-process {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-process article::after {
    display: none;
  }

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

@media (max-width: 760px) {
  .category-container {
    width: min(100% - 28px, 1180px);
  }

  .category-page {
    padding-bottom: 96px;
    overflow-x: hidden;
  }

  .category-section {
    padding-top: 36px;
  }

  .category-hero {
    padding-top: 24px;
  }

  .category-hero h1 {
    font-size: 34px;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .category-hero__text {
    font-size: 15px;
    line-height: 1.55;
  }

  .category-hero__media img {
    height: 260px;
  }

  .category-hero__actions {
    display: grid;
  }

  .category-btn {
    width: 100%;
    max-width: 100%;
  }

  .category-trust__grid,
  .category-services-grid,
  .category-included__items,
  .category-calc__form,
  .category-process,
  .category-price-grid,
  .category-seo ul,
  .category-projects,
  .category-faq,
  .category-related,
  .category-final__form {
    grid-template-columns: 1fr;
  }

  .category-trust__item {
    min-height: 72px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
  }

  .category-section-head {
    display: grid;
    align-items: start;
  }

  .category-service-card__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .category-service-card a {
    width: 100%;
  }

  .category-calc {
    padding: 18px;
    max-width: 100%;
    overflow: hidden;
  }

  .category-calc__main h2,
  .category-seo h2,
  .category-included h2 {
    font-size: 25px;
  }

  .category-calc__tabs {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .category-calc__tabs button {
    max-width: 100%;
    white-space: normal;
  }

  .category-calc input,
  .category-calc select,
  .category-calc button {
    max-width: 100%;
  }

  .category-calc__summary {
    width: 100%;
    max-width: 100%;
  }

  .category-calc__summary dl div {
    display: grid;
    gap: 3px;
  }

  .category-calc__summary dd {
    text-align: left;
  }

  .category-service-card img,
  .category-project-card img {
    height: 190px;
  }

  .category-seo {
    padding: 20px;
  }

  .category-seo img {
    height: 220px;
  }

  .category-final {
    padding: 22px;
  }

  .category-final h2 {
    font-size: 25px;
  }
}

/* === CATEGORY PAGE REFERENCE POLISH === */

.category-page {
  background:
    radial-gradient(circle at 78% 5%, rgba(37, 99, 235, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 28%, #f8fafc 100%);
}

.category-hero {
  padding: 30px 0 20px;
}

.category-hero__inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
}

.category-breadcrumbs {
  margin-bottom: 18px;
}

.category-hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.8vw, 66px);
}

.category-hero__text {
  max-width: 620px;
  margin-top: 16px;
  font-size: 16px;
}

.category-hero__price {
  margin-top: 22px;
  padding: 14px 18px;
}

.category-hero__price strong {
  font-size: 28px;
}

.category-hero__actions {
  margin-top: 20px;
}

.category-hero__media {
  position: relative;
  min-height: 330px;
  border-radius: 24px;
}

.category-hero__media img {
  height: 330px;
}

.category-hero__badge {
  position: absolute;
  right: 18px;
  top: 50%;
  width: min(240px, calc(100% - 36px));
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.category-hero__badge div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
}

.category-hero__badge img {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.category-hero__badge span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.category-hero__badge strong {
  color: var(--cat-text);
  font-size: 12px;
  font-weight: 950;
}

.category-trust {
  margin: 0 auto;
}

.category-trust__grid {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #071525, #0b1f34);
  box-shadow: 0 18px 40px rgba(7, 21, 37, 0.18);
}

.category-services-grid {
  grid-template-columns: repeat(auto-fit, minmax(162px, 1fr));
  gap: 16px;
}

.category-service-card,
.category-price-card,
.category-included__items div,
.category-process article,
.category-project-card,
.category-related-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-service-card:hover,
.category-price-card:hover,
.category-included__items div:hover,
.category-process article:hover,
.category-project-card:hover,
.category-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.category-service-card__image {
  display: block;
  overflow: hidden;
}

.category-service-card img,
.category-project-card img {
  transition: transform 0.22s ease;
}

.category-service-card:hover img,
.category-project-card:hover img {
  transform: scale(1.035);
}

.category-service-card img {
  height: 132px;
}

.category-service-card__body {
  padding: 14px;
}

.category-service-card h3 {
  min-height: 42px;
  font-size: 14px;
}

.category-service-card li {
  font-size: 11px;
}

.category-service-card__bottom {
  gap: 8px;
}

.category-service-card strong {
  font-size: 12px;
}

.category-service-card a:not(.category-service-card__image) {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
}

.category-section--calc {
  padding: 42px 0 36px;
  background: transparent;
}

.category-calc {
  grid-template-columns: minmax(0, 1fr) 330px;
  border-color: #dbeafe;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 22px;
}

.category-calc__main h2 {
  font-size: 26px;
}

.category-calc__tabs {
  gap: 7px;
}

.category-calc__tabs button {
  min-height: 34px;
  border-color: #dbe3ef;
  background: #fff;
  font-size: 12px;
}

.category-calc__tabs button.is-active {
  border-color: var(--cat-orange);
  background: var(--cat-orange);
}

.category-calc__form {
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
}

.category-calc__add,
.category-calc__summary a {
  background: linear-gradient(135deg, var(--cat-blue), var(--cat-blue-dark));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-calc__add:hover,
.category-calc__summary a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.category-calc__summary {
  background: #ffffff;
}

.category-included__items {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-included__items div {
  min-height: 112px;
  padding: 14px;
}

.category-process article {
  min-height: 138px;
}

.category-price-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-projects {
  grid-template-columns: repeat(5, 1fr);
}

.category-project-card img {
  height: 150px;
}

.category-project-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cat-blue);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.category-seo {
  background:
    radial-gradient(circle at 6% 12%, rgba(249, 115, 22, 0.08), transparent 20rem),
    #ffffff;
}

.category-final {
  overflow: hidden;
  position: relative;
}

.category-final__form button {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-final__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.24);
}

@media (max-width: 1180px) {
  .category-hero__inner,
  .category-calc,
  .category-seo,
  .category-final {
    grid-template-columns: 1fr;
  }

  .category-included {
    grid-template-columns: 1fr;
  }

  .category-included__items,
  .category-projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .category-container {
    width: min(100% - 28px, 1180px);
  }

  .category-hero {
    padding: 18px 0 16px;
  }

  .category-hero__inner {
    gap: 18px;
  }

  .category-breadcrumbs {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .category-kicker,
  .category-section-kicker {
    font-size: 10px;
  }

  .category-hero h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.04;
  }

  .category-hero__text {
    margin-top: 12px;
    font-size: 14px;
  }

  .category-hero__price {
    width: 100%;
    margin-top: 16px;
    padding: 13px 14px;
  }

  .category-hero__price strong {
    font-size: 24px;
  }

  .category-hero__actions {
    gap: 9px;
    margin-top: 14px;
  }

  .category-btn {
    min-height: 44px;
    border-radius: 11px;
    font-size: 12px;
  }

  .category-hero__media {
    min-height: 212px;
    border-radius: 18px;
  }

  .category-hero__media img {
    height: 212px;
  }

  .category-hero__badge {
    position: static;
    width: 100%;
    transform: none;
    border-radius: 14px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
  }

  .category-trust__grid {
    border-radius: 14px;
  }

  .category-trust__item {
    padding: 14px;
  }

  .category-section {
    padding-top: 32px;
  }

  .category-section-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .category-section-head h2,
  .category-title {
    font-size: 26px;
  }

  .category-services-grid,
  .category-included__items,
  .category-process,
  .category-price-grid,
  .category-projects {
    grid-template-columns: 1fr;
  }

  .category-service-card img,
  .category-project-card img {
    height: 176px;
  }

  .category-service-card h3 {
    min-height: auto;
    font-size: 17px;
  }

  .category-service-card li {
    font-size: 12px;
  }

  .category-service-card strong {
    font-size: 13px;
  }

  .category-calc {
    padding: 16px;
    border-radius: 18px;
  }

  .category-calc__main h2 {
    font-size: 24px;
  }

  .category-calc__tabs button {
    flex: 0 1 auto;
    white-space: normal;
  }

  .category-calc__form {
    grid-template-columns: 1fr;
  }

  .category-calc__add,
  .category-calc__summary a {
    min-height: 46px;
  }

  .category-included__items div,
  .category-process article {
    min-height: auto;
  }

  .category-seo,
  .category-final {
    border-radius: 18px;
    padding: 18px;
  }

  .category-seo img {
    height: 190px;
  }

  .category-final__form {
    grid-template-columns: 1fr;
  }
}

/* === CATEGORY PAGE PREMIUM FINAL PASS === */

.category-page {
  --cat-section-gap: 68px;
}

.category-page .category-container {
  width: min(1240px, calc(100% - 48px));
}

.category-page .category-section {
  padding-top: var(--cat-section-gap);
}

.category-page .category-section--calc {
  padding: 60px 0;
}

.category-page .category-hero {
  padding: 68px 0 34px;
}

.category-page .category-hero__inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
}

.category-page .category-hero__content {
  padding-top: 12px;
}

.category-page .category-hero h1 {
  max-width: 700px;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.065em;
}

.category-page .category-hero__text {
  max-width: 620px;
}

.category-page .category-hero__media img {
  height: 390px;
}

.category-page .category-hero__badge {
  right: 22px;
  width: 245px;
}

.category-page .category-services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.category-page .category-service-card {
  border-radius: 22px;
}

.category-page .category-service-card img {
  height: 192px;
}

.category-page .category-service-card__body {
  padding: 19px;
}

.category-page .category-service-card h3 {
  min-height: 48px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.18;
}

.category-page .category-service-card__excerpt {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.category-page .category-service-card li {
  font-size: 12.5px;
}

.category-page .category-service-card__bottom {
  gap: 12px;
}

.category-page .category-service-card strong {
  font-size: 14px;
}

.category-page .category-service-card a:not(.category-service-card__image) {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12.5px;
}

.category-page .category-calc {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 26px;
}

.category-page .category-calc__main h2 {
  font-size: 32px;
}

.category-page .category-calc__tabs {
  gap: 8px;
}

.category-page .category-calc__tabs button {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

.category-page .category-calc__form {
  grid-template-columns: 1.18fr 0.9fr 0.9fr;
}

.category-page .category-included {
  grid-template-columns: 0.82fr minmax(0, 1.28fr);
  gap: 44px;
}

.category-page .category-included__lead {
  margin-top: 12px;
}

.category-page .category-included__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-page .category-included__items div {
  min-height: 132px;
  padding: 18px;
}

.category-page .category-included__items span {
  font-size: 14px;
  line-height: 1.25;
}

.category-page .category-process {
  gap: 18px;
}

.category-page .category-process article {
  min-height: 166px;
  padding: 20px 16px;
  border-radius: 18px;
}

.category-page .category-price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-page .category-price-card {
  min-height: 116px;
  padding: 20px;
}

.category-page .category-price-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.category-page .category-price-card span {
  font-size: 18px;
}

.category-page .category-projects {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-page .category-project-card {
  border-radius: 22px;
}

.category-page .category-project-card img {
  height: 210px;
}

.category-page .category-project-card div {
  padding: 18px;
}

.category-page .category-project-card h3 {
  font-size: 18px;
}

.category-page .category-faq {
  gap: 14px 20px;
}

.category-page .category-final {
  padding: 34px;
}

@media (max-width: 1180px) {
  .category-page .category-hero__inner,
  .category-page .category-calc,
  .category-page .category-included,
  .category-page .category-seo,
  .category-page .category-final {
    grid-template-columns: 1fr;
  }

  .category-page .category-services-grid,
  .category-page .category-price-grid,
  .category-page .category-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-page .category-included__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-page .category-hero__badge {
    right: 18px;
  }
}

@media (max-width: 820px) {
  .category-page {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .category-page .category-container {
    width: min(100% - 28px, 1240px);
  }

  .category-page .category-section {
    padding-top: 42px;
  }

  .category-page .category-section--calc {
    padding: 42px 0;
  }

  .category-page .category-hero {
    padding: 64px 0 20px;
  }

  .category-page .category-hero__inner {
    gap: 20px;
  }

  .category-page .category-hero__content {
    padding-top: 8px;
  }

  .category-page .category-hero h1 {
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: 1.05;
  }

  .category-page .category-hero__media img {
    height: 240px;
  }

  .category-page .category-hero__badge {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 10px;
  }

  .category-page .category-services-grid,
  .category-page .category-projects,
  .category-page .category-price-grid,
  .category-page .category-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-page .category-service-card img,
  .category-page .category-project-card img {
    height: 208px;
  }

  .category-page .category-service-card h3 {
    min-height: auto;
  }

  .category-page .category-calc {
    padding: 18px;
  }

  .category-page .category-calc__main h2 {
    font-size: 25px;
  }

  .category-page .category-calc__tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .category-page .category-calc__tabs button {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }

  .category-page .category-calc__form {
    grid-template-columns: 1fr;
  }

  .category-page .category-calc input,
  .category-page .category-calc select,
  .category-page .category-calc button {
    max-width: 100%;
    box-sizing: border-box;
  }

  .category-page .category-calc__summary {
    width: 100%;
    max-width: 100%;
  }

  .category-page .category-included__items {
    grid-template-columns: 1fr;
  }

  .category-page .category-included__items div,
  .category-page .category-process article {
    min-height: auto;
  }

  .category-page .category-seo ul,
  .category-page .category-faq,
  .category-page .category-related,
  .category-page .category-final__form {
    grid-template-columns: 1fr;
  }

  .category-page .category-final {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .category-page .category-services-grid,
  .category-page .category-projects,
  .category-page .category-price-grid,
  .category-page .category-process {
    grid-template-columns: 1fr;
  }
}

/* === CATEGORY HERO + REAL QUICK CALC ALIGNMENT === */

.category-page .category-breadcrumbs {
  display: flex !important;
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

.category-page .category-breadcrumbs a {
  color: #64748b;
}

.category-page .category-breadcrumbs--hero {
  margin-bottom: 18px !important;
}

.category-page .category-hero__crumbs {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.category-page .category-hero__crumbs a {
  color: #64748b;
  text-decoration: none;
}

.category-page .category-hero__crumbs a:hover {
  color: var(--cat-blue);
}

.category-page .category-hero__media {
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.category-page .category-hero__media img {
  border-radius: 22px;
}

.category-page .category-hero__badge {
  display: none !important;
}

.category-page .category-page-calc {
  margin: 0;
  padding: 60px 0 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.08), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

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

.category-page .category-page-calc .quick-calc__head {
  margin-bottom: 18px;
}

.category-page .category-page-calc .quick-calc__head h2 {
  margin: 0 0 8px;
  color: var(--cat-text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.category-page .category-page-calc .quick-calc__head p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.category-page .category-page-calc .quick-calc__grid--new {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 24px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
}

.category-page .category-page-calc .quick-calc__left--new,
.category-page .category-page-calc .quick-calc__result--new {
  min-width: 0;
}

.category-page .category-page-calc .tabs--new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  overflow: visible;
}

.category-page .category-page-calc .tabs--new button {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
}

.category-page .category-page-calc .quick-form--new {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-page .category-page-calc .field {
  display: grid;
  gap: 7px;
}

.category-page .category-page-calc .field select,
.category-page .category-page-calc .field input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
}

.category-page .category-page-calc .quick-form__actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.category-page .category-page-calc .quick-form__actions .btn,
.category-page .category-page-calc .quick-calc__result--new .btn--full {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: linear-gradient(135deg, var(--cat-blue), var(--cat-blue-dark)) !important;
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.category-page .category-page-calc .quick-calc__items-wrap--left {
  margin-top: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.category-page .category-page-calc .quick-calc__hints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.category-page .category-page-calc .quick-calc__hints article {
  min-height: 44px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.category-page .category-page-calc .quick-calc__hints i {
  color: var(--cat-blue);
}

.category-page .category-page-calc .quick-calc__result--new {
  border: 1px solid #d7e1ee;
  border-radius: 20px;
  background: #ffffff;
  padding: 22px;
}

.category-page .category-service-card {
  padding: 0 !important;
  overflow: hidden;
}

.category-page .category-service-card__image {
  display: block;
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0;
}

.category-page .category-service-card__image img,
.category-page .category-service-card img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  border-radius: 0;
  object-fit: cover;
}

/* Category cards intentionally reuse the /services popular-card model. */
.category-page .category-services-grid {
  align-items: stretch;
}

.category-page .category-service-card.services-popular-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
  padding: 0 !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-page .category-service-card.services-popular-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.category-page .category-service-card.services-popular-card > img {
  display: block;
  width: 100%;
  height: 190px;
  min-height: 190px;
  max-height: 190px;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  background: #e2e8f0;
  transition: transform 0.22s ease;
}

.category-page .category-service-card.services-popular-card:hover > img {
  transform: scale(1.035);
}

.category-page .category-service-card.services-popular-card .category-service-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.category-page .category-service-card.services-popular-card h3 {
  min-height: 64px;
  margin: 0 0 14px;
  color: var(--cat-text);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 900;
}

.category-page .category-service-card.services-popular-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-page .category-service-card.services-popular-card li {
  position: relative;
  padding-left: 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.category-page .category-service-card.services-popular-card li + li {
  margin-top: 7px;
}

.category-page .category-service-card.services-popular-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--cat-orange);
}

.category-page .category-service-card.services-popular-card .category-service-card__bottom {
  display: block;
  margin-top: auto;
  padding-top: 28px;
}

.category-page .category-service-card.services-popular-card strong {
  display: block;
  margin: 0 0 14px;
  color: var(--cat-orange);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.category-page .category-service-card.services-popular-card .services-popular-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.category-page .category-service-card.services-popular-card .services-popular-card__link {
  min-height: 42px;
  margin: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.category-page .category-service-card.services-popular-card .services-popular-card__link:hover {
  transform: translateY(-2px);
}

.category-page .category-service-card.services-popular-card .services-popular-card__link--detail {
  border: 1px solid #dbe3ef;
  background: #fff;
  color: var(--cat-text);
}

.category-page .category-service-card.services-popular-card .services-popular-card__link--calc {
  border: 1px solid rgba(249, 115, 22, 0.38);
  background: #fff7ed;
  color: #ea580c;
}

@media (max-width: 1180px) {
  .category-page .category-hero__inner,
  .category-page .category-page-calc .quick-calc__grid--new {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .category-page .category-breadcrumbs {
    margin-bottom: 12px !important;
    gap: 5px 7px;
    font-size: 11px;
  }

  .category-page .category-hero__crumbs {
    margin-bottom: 12px;
    gap: 5px 7px;
    font-size: 11px;
  }

  .category-page .category-page-calc {
    padding: 42px 0 30px;
  }

  .category-page .category-page-calc .container {
    width: min(100% - 28px, 1280px);
  }

  .category-page .category-page-calc .quick-calc__grid--new {
    padding: 16px;
    border-radius: 18px;
  }

  .category-page .category-page-calc .quick-form--new,
  .category-page .category-page-calc .quick-calc__hints {
    grid-template-columns: 1fr;
  }

  .category-page .category-page-calc input,
  .category-page .category-page-calc select,
  .category-page .category-page-calc button,
  .category-page .category-page-calc .btn {
    max-width: 100%;
    box-sizing: border-box;
  }

  .category-page .category-page-calc .quick-calc__meta li {
    display: grid;
    gap: 4px;
  }

  .category-page .category-page-calc .quick-calc__meta strong {
    max-width: none;
    text-align: left;
  }

  .category-page .category-service-card.services-popular-card > img {
    height: 188px;
    min-height: 188px;
    max-height: 188px;
  }

  .category-page .category-service-card.services-popular-card h3 {
    min-height: 0;
    font-size: 18px;
  }

  .category-page .category-service-card.services-popular-card .services-popular-card__actions {
    gap: 8px;
  }

  .category-page .category-service-card.services-popular-card .services-popular-card__link {
    min-height: 42px;
    font-size: 13px;
  }
}

/* Runtime category hero refresh after SEO integration */
.runtime-category-page .category-anchor {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden;
}

.runtime-category-page .category-page .category-hero {
  padding: clamp(18px, 2.5vw, 28px) 0 clamp(12px, 1.9vw, 18px);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.1), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 58%);
}

.runtime-category-page .category-page .category-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
}

.runtime-category-page .category-page .category-hero__media {
  position: relative;
  order: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e5e7eb;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.runtime-category-page .category-page .category-hero__media img {
  display: block;
  width: 100%;
  min-height: 320px;
  max-height: 372px;
  object-fit: cover;
}

.runtime-category-page .category-page .category-hero__content {
  order: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
}

.runtime-category-page .category-page .category-hero__crumbs {
  margin-bottom: 0;
}

.runtime-category-page .category-page .category-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.runtime-category-page .category-page .category-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 12px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.9);
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.runtime-category-page .category-page .category-hero h1 {
  max-width: 14.5ch;
  margin: 0;
  color: #0f172a;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 0.98;
  font-weight: 900;
}

.runtime-category-page .category-page .category-hero__price-card {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(100%, 262px);
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.runtime-category-page .category-page .category-hero__price-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.runtime-category-page .category-page .category-hero__price-card strong {
  color: #0f172a;
  font-size: clamp(22px, 1.95vw, 28px);
  line-height: 1.06;
  font-weight: 900;
}

.runtime-category-page .category-page .category-hero__checks {
  display: grid;
  gap: 7px;
  width: 100%;
  max-width: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runtime-category-page .category-page .category-hero__checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.runtime-category-page .category-page .category-hero__checks li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 1px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.runtime-category-page .category-page .category-hero__text {
  max-width: 52ch;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.52;
}

.runtime-category-page .category-page .category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.runtime-category-page .category-page .category-btn {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.runtime-category-page .category-page .category-btn:hover {
  transform: translateY(-2px);
}

.runtime-category-page .category-page .category-btn--primary {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.22);
}

.runtime-category-page .category-page .category-btn--light {
  border: 1px solid #d6deea;
  background: #fff;
  color: #0f172a;
}

.runtime-category-page .category-page .category-btn--dark {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.runtime-category-page .category-page .category-hero__mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.runtime-category-page .category-page .category-hero__mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.runtime-category-page .category-page .category-hero__mini-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
}

.runtime-category-page .category-page .category-hero__mini-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #ea580c;
}

.runtime-category-page .category-page .category-hero__mini-card strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .runtime-category-page .category-page .category-hero__inner {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-hero__content {
    order: 1;
  }

  .runtime-category-page .category-page .category-hero__media {
    order: 2;
  }

  .runtime-category-page .category-page .category-hero__mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .runtime-category-page .category-page .category-hero h1 {
    max-width: 16ch;
  }
}

@media (max-width: 820px) {
  .runtime-category-page .category-page .category-hero {
    padding: 18px 0 14px;
  }

  .runtime-category-page .category-page .category-hero__media {
    border-radius: 24px;
  }

  .runtime-category-page .category-page .category-hero__media img {
    min-height: 220px;
    max-height: 280px;
  }

  .runtime-category-page .category-page .category-hero h1 {
    max-width: none;
    font-size: clamp(30px, 7.6vw, 36px);
    line-height: 1.04;
  }

  .runtime-category-page .category-page .category-hero__actions {
    flex-direction: column;
  }

  .runtime-category-page .category-page .category-btn {
    width: 100%;
    justify-content: center;
  }

  .runtime-category-page .category-page .category-hero__mini-grid {
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .runtime-category-page .category-page .category-hero__badges {
    gap: 8px;
  }

  .runtime-category-page .category-page .category-hero__badge {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .runtime-category-page .category-page .category-hero__price-card {
    width: 100%;
    min-width: 0;
    padding: 14px 14px 16px;
    border-radius: 18px;
  }

  .runtime-category-page .category-page .category-hero__mini-grid {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .category-page .category-hero__mini-card {
    min-height: 70px;
    padding: 13px 14px;
    border-radius: 18px;
  }
}

/* Runtime category hero matched to service hero structure */
.runtime-category-page .runtime-category-hero {
  padding: 68px 0 18px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.94), #ffffff 42%, #f8fafc 100%);
  margin-bottom: 14px;
}

.runtime-category-page .runtime-category-hero .service-hero__shell {
  width: min(1240px, calc(100% - 56px));
  padding-top: 12px;
}

.runtime-category-page .runtime-category-hero .service-breadcrumbs {
  display: flex;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #64748b;
  font-size: 13px;
}

.runtime-category-page .runtime-category-hero .service-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.runtime-category-page .runtime-category-hero .service-breadcrumbs span {
  color: #94a3b8;
}

.runtime-category-page .runtime-category-hero .service-breadcrumbs a:hover {
  color: #ea580c;
}

.runtime-category-page .runtime-category-hero .service-hero__inner {
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.runtime-category-page .runtime-category-hero .service-hero__media {
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.runtime-category-page .runtime-category-hero .service-hero__media img {
  display: block;
  width: 100%;
  min-height: 360px;
  max-height: 360px;
  object-fit: cover;
}

.runtime-category-page .runtime-category-hero .service-hero__media-badge {
  left: 18px;
  bottom: 18px;
  min-width: 205px;
  border-radius: 10px;
  padding: 10px 12px;
}

.runtime-category-page .runtime-category-hero .service-hero__media-badge svg {
  width: 22px;
  height: 22px;
}

.runtime-category-page .runtime-category-hero .service-hero__media-badge strong {
  font-size: 13px;
}

.runtime-category-page .runtime-category-hero .service-hero__media-badge span {
  font-size: 11px;
}

.runtime-category-page .runtime-category-hero .service-hero__content {
  padding-top: 8px;
}

.runtime-category-page .runtime-category-hero .service-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.runtime-category-page .runtime-category-hero .service-kickers span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 7px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-category-page .runtime-category-hero .service-hero__content h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(32px, 2.9vw, 42px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
  color: #0f172a;
}

.runtime-category-page .runtime-category-hero .service-hero__offer {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 16px 0 14px;
}

.runtime-category-page .runtime-category-hero .service-price-card {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.runtime-category-page .runtime-category-hero .service-price-card span {
  display: block;
  font-size: 11px;
  color: #ea580c;
  font-weight: 800;
  text-transform: uppercase;
}

.runtime-category-page .runtime-category-hero .service-price-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.04;
  white-space: nowrap;
  color: #0f172a;
}

.runtime-category-page .runtime-category-hero .service-hero__checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runtime-category-page .runtime-category-hero .service-hero__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.runtime-category-page .runtime-category-hero .service-hero__checks svg {
  width: 16px;
  height: 16px;
  color: #f97316;
  flex: 0 0 16px;
}

.runtime-category-page .runtime-category-hero .service-hero__text {
  max-width: 610px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.runtime-category-page .runtime-category-hero .service-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 18px;
}

.runtime-category-page .runtime-category-hero .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.runtime-category-page .runtime-category-hero .service-btn:hover {
  transform: translateY(-2px);
}

.runtime-category-page .runtime-category-hero .service-btn--primary {
  color: #fff !important;
  border: 0 !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.26) !important;
}

.runtime-category-page .runtime-category-hero .service-btn--light {
  color: #0f172a !important;
  border: 1px solid #d7e0ea !important;
  background: #fff !important;
}

.runtime-category-page .runtime-category-hero .service-btn--dark {
  color: #fff !important;
  border: 0 !important;
  background: #0f172a !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16) !important;
}

.runtime-category-page .runtime-category-hero .service-trust-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.runtime-category-page .runtime-category-hero .service-trust-mini div {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 10px 8px;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.runtime-category-page .runtime-category-hero .service-price-card,
.runtime-category-page .runtime-category-hero .service-trust-mini div,
.runtime-category-page .runtime-category-hero .service-hero__media-badge {
  color: #0f172a;
}

.runtime-category-page .runtime-category-hero .service-trust-mini svg {
  width: 20px;
  height: 20px;
  color: #f97316;
}

.runtime-category-page .runtime-category-hero .service-trust-mini span {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.runtime-category-page .runtime-category-hero .service-hero__media-badge svg,
.runtime-category-page .runtime-category-hero .service-hero__checks svg,
.runtime-category-page .runtime-category-hero .service-trust-mini svg {
  display: block;
  fill: none;
  stroke: currentColor;
}

.runtime-category-page .category-page > .category-section:first-of-type {
  padding-top: 34px;
}

@media (max-width: 980px) {
  .runtime-category-page .runtime-category-hero .service-hero__inner,
  .runtime-category-page .runtime-category-hero .service-hero__offer {
    grid-template-columns: 1fr;
  }

  .runtime-category-page .runtime-category-hero .service-hero__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .runtime-category-page .runtime-category-hero .service-hero__shell {
    width: min(100% - 28px, 1120px);
  }

  .runtime-category-page .runtime-category-hero .service-hero__media,
  .runtime-category-page .runtime-category-hero .service-hero__media img {
    min-height: 260px;
    max-height: 260px;
  }

  .runtime-category-page .runtime-category-hero .service-hero__content h1 {
    font-size: clamp(30px, 7vw, 36px);
  }

  .runtime-category-page .runtime-category-hero .service-trust-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .runtime-category-page .runtime-category-hero {
    padding-top: 64px;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .runtime-category-page .runtime-category-hero .service-breadcrumbs {
    margin-bottom: 12px;
  }

  .runtime-category-page .runtime-category-hero .service-hero__actions {
    flex-direction: column;
  }

  .runtime-category-page .runtime-category-hero .service-btn {
    width: 100%;
    justify-content: center;
  }

  .runtime-category-page .runtime-category-hero .service-hero__media-badge {
    left: 14px;
    right: 14px;
    min-width: 0;
  }

  .runtime-category-page .category-page > .category-section:first-of-type {
    padding-top: 24px;
  }
}

@media (min-width: 1181px) {
  body.runtime-services-page.runtime-category-page .category-page .category-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card {
    min-height: auto !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card > img {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__body {
    padding: 14px 14px 12px !important;
    gap: 8px !important;
    min-height: 0 !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card h3 {
    min-height: 64px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    margin: 0 0 8px !important;
    font-size: 15.5px !important;
    line-height: 1.1 !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card ul {
    min-height: 0 !important;
    margin: 0 0 4px !important;
    gap: 6px !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card li {
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card .category-service-card__bottom {
    margin-top: 0 !important;
    gap: 10px !important;
    padding-top: 8px !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card strong {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card .services-popular-card__actions {
    gap: 8px !important;
  }

  body.runtime-services-page.runtime-category-page .category-page .category-service-card.services-popular-card .services-popular-card__link {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
}

/* Service detail process numbering: large translucent background numbers */
.service-page .service-process {
  counter-reset: service-process-step;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  padding: 16px;
}

.service-page .service-process article {
  counter-increment: service-process-step;
  min-height: 172px;
  padding: 18px 16px 16px;
  overflow: visible;
}

.service-page .service-process article::before {
  content: none;
}

.service-page .service-process article::after {
  content: counter(service-process-step, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 18px;
  width: 68px;
  height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  color: rgba(37, 99, 235, 0.12);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 0;
}

.service-page .service-process article:nth-child(5)::after {
  top: 19px;
}

.service-page .service-process article:not(:last-child)::after {
  display: block;
}

.service-page .service-process article > * {
  position: relative;
  z-index: 1;
}

.service-page .service-process span {
  display: none !important;
}

.service-page .service-process::before {
  display: none;
}

.service-page .service-process svg {
  width: 26px;
  height: 26px;
  margin: 6px 0 12px;
}

.service-page .service-process h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.2;
}

.service-page .service-process p {
  margin: 0;
  font-size: 12px;
  line-height: 1.52;
}
