:root {
  --sp-ink: #111827;
  --sp-text: #1f2937;
  --sp-muted: #6b7280;
  --sp-soft: #f4f6f8;
  --sp-panel: #ffffff;
  --sp-line: #e4e7ec;
  --sp-red: #ef0011;
  --sp-red-dark: #c9000e;
  --sp-night: #0b1220;
  --sp-night-2: #111b2b;
  --sp-night-3: #1f2937;
  --sp-teal: #0f766e;
  --sp-blue: #2563eb;
  --sp-radius: 8px;
  --sp-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
  --sp-shadow-soft: 0 8px 22px rgba(17, 24, 39, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sp-text);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

body.sp-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sp-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.sp-narrow {
  width: min(820px, calc(100% - 32px));
}

.sp-section {
  padding: 72px 0;
}

.sp-section--muted {
  background: var(--sp-soft);
}

.sp-page-breadcrumbs {
  padding-top: 28px;
}

.sp-page-content > .wp-block-group.sp-section:first-child {
  margin-top: 0;
}

.sp-page-content > h2,
.sp-page-content > h3,
.sp-page-content > p,
.sp-page-content > ul,
.sp-page-content > ol,
.sp-page-content > .wp-block-heading,
.sp-page-content > .wp-block-list,
.sp-page-content > .wp-block-buttons,
.sp-page-content > .wp-block-columns,
.sp-page-content > .wp-block-shortcode {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.sp-page-content > p,
.sp-page-content > ul,
.sp-page-content > ol {
  max-width: 820px;
}

.sp-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.sp-site-header__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.sp-logo__star {
  color: var(--sp-red);
}

.sp-logo__print {
  color: #fff;
}

.sp-header-panel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sp-main-nav {
  flex: 1;
  position: relative;
}

.sp-menu,
.sp-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sp-menu a,
.sp-footer-menu a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.sp-menu a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.sp-menu a:hover,
.sp-footer-menu a:hover,
.sp-footer-contacts a:hover {
  color: var(--sp-red);
}

.sp-megamenu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  z-index: 120;
  display: none;
  width: min(980px, calc(100vw - 32px));
  color: #e5e7eb;
}

.sp-megamenu::before {
  content: "";
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
}

.sp-megamenu-open .sp-megamenu,
.sp-megamenu:focus-within {
  display: block;
}

.sp-megamenu__inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #111827;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.sp-megamenu__tabs {
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.sp-megamenu__tab,
.sp-megamenu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.sp-megamenu__tab:hover,
.sp-megamenu__tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sp-megamenu__all {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ff737a;
}

.sp-megamenu__count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.sp-megamenu__panels {
  padding: 12px;
}

.sp-megamenu__panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.sp-megamenu__panel.is-active {
  display: grid;
}

.sp-megamenu__panel a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.sp-megamenu__panel a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-header-phone {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--sp-radius);
  background: transparent;
}

.sp-menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.sp-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--sp-red);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.2);
  font-weight: 800;
  text-decoration: none;
}

.sp-button:hover,
.wp-block-button__link:hover {
  background: var(--sp-red-dark);
}

.sp-button--small {
  min-height: 38px;
  padding: 8px 16px;
}

.sp-archive-hero,
.sp-page-content > .wp-block-group.sp-hero:first-child,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child {
  color: #fff;
  background:
    radial-gradient(circle at 82% 35%, rgba(239, 0, 17, 0.16), transparent 28%),
    linear-gradient(135deg, var(--sp-night), var(--sp-night-2));
}

.sp-term-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.sp-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.sp-service-hero__media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--sp-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(239, 0, 17, 0.18);
}

.sp-service-hero__image,
.sp-service-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sp-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.sp-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.sp-button--ghost:hover {
  border-color: rgba(239, 0, 17, 0.65);
  color: #fff;
  background: rgba(239, 0, 17, 0.08);
}

.sp-service-layout {
  width: min(920px, calc(100% - 32px));
}

.sp-term-hero__media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--sp-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(239, 0, 17, 0.18);
}

.sp-term-hero__image,
.sp-term-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sp-term-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.sp-term-stats span {
  min-height: 82px;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 4px solid var(--sp-red);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.sp-term-stats strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.sp-kicker,
.sp-card__meta,
.sp-entry-meta {
  color: var(--sp-red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sp-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

h1,
h2,
h3 {
  color: var(--sp-ink);
  line-height: 1.12;
  letter-spacing: 0;
}

.sp-archive-hero h1,
.sp-archive-hero h2,
.sp-archive-hero h3,
.sp-page-content > .wp-block-group.sp-hero:first-child h1,
.sp-page-content > .wp-block-group.sp-hero:first-child h2,
.sp-page-content > .wp-block-group.sp-hero:first-child h3,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child h1,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child h2,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child h3 {
  color: #fff;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  font-size: clamp(21px, 2vw, 26px);
}

.sp-lead {
  max-width: 760px;
  color: #374151;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.sp-archive-hero .sp-lead,
.sp-page-content > .wp-block-group.sp-hero:first-child .sp-lead,
.sp-page-content > .wp-block-group.sp-hero:first-child p,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child .sp-lead,
.home .sp-entry-content > .wp-block-group.sp-hero:first-child p {
  color: rgba(255, 255, 255, 0.78);
}

.sp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-archive-hero .sp-breadcrumbs,
.sp-archive-hero .sp-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
}

.sp-breadcrumbs a {
  color: var(--sp-red);
  text-decoration: none;
}

.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sp-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--sp-panel);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, 0.25);
  box-shadow: var(--sp-shadow);
}

.sp-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sp-soft);
}

.sp-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), rgba(15, 118, 110, 0.14)),
    var(--sp-soft);
}

.sp-card__body {
  flex: 1;
  padding: 24px;
}

.sp-card__title {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.24;
}

.sp-card__title a,
.sp-card__link,
.sp-card .wp-block-post-excerpt__more-link {
  text-decoration: none;
}

.sp-card__link,
.sp-card .wp-block-post-excerpt__more-link {
  color: var(--sp-red);
  font-weight: 800;
}

.sp-card .wp-block-post-excerpt {
  margin: 0;
}

.sp-card .wp-block-post-excerpt__excerpt {
  margin-bottom: 14px;
}

.sp-card .wp-block-post-excerpt__more-text {
  margin: 0;
}

.sp-portfolio-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(239, 0, 17, 0.18), transparent 30%),
    linear-gradient(135deg, #111827, #0b1220 74%);
}

.sp-portfolio-section h2,
.sp-portfolio-section h3 {
  color: #fff;
}

.sp-portfolio-section p {
  color: rgba(255, 255, 255, 0.76);
}

.sp-portfolio-section .sp-kicker,
.sp-portfolio-section .sp-card__meta {
  color: #ff616a;
}

.sp-portfolio-section .sp-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-case-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.sp-case-card:hover {
  border-color: rgba(239, 0, 17, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.sp-case-card .sp-card__media {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.08);
}

.sp-case-card .sp-card__body {
  padding: 28px;
}

.sp-case-card .sp-card__title {
  font-size: clamp(24px, 2.4vw, 34px);
}

.sp-case-card .wp-block-post-excerpt__more-link {
  color: #ff616a;
}

.sp-blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 40px;
  align-items: end;
}

.sp-blog-hero__content {
  max-width: 720px;
}

.sp-blog-featured {
  overflow: hidden;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
  box-shadow: var(--sp-shadow-soft);
}

.sp-blog-featured__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sp-soft);
}

.sp-blog-featured__body {
  padding: 22px;
}

.sp-blog-featured h2 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.22;
}

.sp-blog-featured a {
  text-decoration: none;
}

.sp-category-card .sp-card__media {
  background: #f2f4f7;
}

.sp-service-list-section {
  background: #fff;
}

.sp-service-list-grid .sp-card {
  border-top: 4px solid var(--sp-red);
}

.sp-service-list-grid .sp-card__media {
  display: none;
}

.sp-service-list-grid .sp-card__body {
  padding: 28px;
}

.sp-service-list-grid .sp-card__title {
  margin-top: 0;
}

.sp-entry-header {
  margin-bottom: 36px;
}

.sp-article-header {
  max-width: 920px;
}

.sp-featured-image {
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
}

.sp-featured-image img {
  display: block;
  width: 100%;
}

.sp-entry-category {
  margin: 0 0 10px;
}

.sp-entry-category a {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(215, 25, 32, 0.24);
  border-radius: 999px;
  color: var(--sp-red);
  background: rgba(215, 25, 32, 0.06);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.sp-article-layout {
  width: min(1120px, calc(100% - 32px));
}

.sp-article-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 44px;
  align-items: start;
}

.sp-toc {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
}

.sp-toc h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.sp-toc ol {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sp-toc a {
  color: var(--sp-muted);
  font-size: 14px;
  text-decoration: none;
}

.sp-toc a:hover {
  color: var(--sp-red);
}

.sp-toc__level-3 {
  padding-left: 14px;
}

.sp-prose {
  color: var(--sp-text);
  font-size: 18px;
}

.sp-prose > *:first-child {
  margin-top: 0;
}

.sp-prose h2 {
  margin-top: 54px;
  margin-bottom: 16px;
}

.sp-prose h3 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.sp-prose p,
.sp-prose ul,
.sp-prose ol {
  margin-bottom: 20px;
}

.sp-prose li + li {
  margin-top: 8px;
}

.sp-prose blockquote,
.wp-block-quote {
  margin: 32px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--sp-red);
  border-radius: var(--sp-radius);
  background: var(--sp-soft);
}

.sp-prose table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 16px;
}

.sp-prose th,
.sp-prose td,
.wp-block-table th,
.wp-block-table td {
  padding: 12px 14px;
  border: 1px solid var(--sp-line);
  text-align: left;
}

.wp-block-image img,
.wp-block-media-text__media img {
  border-radius: var(--sp-radius);
}

.wp-block-details {
  margin: 14px 0;
  padding: 18px 20px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
}

.wp-block-details summary {
  color: var(--sp-ink);
  cursor: pointer;
  font-weight: 800;
}

.sp-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sp-tag-row a {
  padding: 8px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sp-ink);
  font-weight: 700;
  text-decoration: none;
}

.sp-tag-row a:hover {
  border-color: rgba(215, 25, 32, 0.35);
  color: var(--sp-red);
}

.sp-tag-row a.is-active {
  border-color: var(--sp-red);
  color: #fff;
  background: var(--sp-red);
}

.sp-section-heading {
  margin-bottom: 24px;
}

.sp-section-heading h2 {
  max-width: 760px;
  margin: 0;
}

.sp-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.sp-section-heading--split p {
  max-width: 660px;
}

.sp-article-backlink {
  margin-top: 36px;
}

.sp-article-backlink a {
  color: var(--sp-red);
  font-weight: 800;
  text-decoration: none;
}

.sp-pagination {
  margin-top: 34px;
}

.sp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-pagination .page-numbers {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  color: var(--sp-ink);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.sp-pagination .page-numbers.current,
.sp-pagination a.page-numbers:hover {
  border-color: var(--sp-red);
  color: #fff;
  background: var(--sp-red);
}

.sp-related {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--sp-line);
}

.sp-related .sp-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-global-block {
  margin: 56px 0;
}

.sp-global-block > .wp-block-group {
  margin: 0;
}

.sp-archive-support {
  padding-top: 0;
}

.sp-archive-support .sp-global-block:first-child {
  margin-top: 0;
}

.sp-archive-support .sp-global-block:last-child {
  margin-bottom: 0;
}

.sp-feature-grid,
.sp-step-grid {
  gap: 18px;
}

.sp-feature-grid > .wp-block-column,
.sp-step-grid > .wp-block-column {
  padding: 24px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: #fff;
}

.sp-feature-grid h3,
.sp-step-grid h3 {
  margin-top: 0;
  font-size: 21px;
}

.wp-block-post-template.sp-card-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wp-block-post-template.sp-card-grid .wp-block-post {
  min-width: 0;
  margin: 0;
}

.wp-block-post-template .sp-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-quality-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.sp-quality-grid {
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.sp-quality-grid h2,
.sp-trust-section h2 {
  max-width: 760px;
  margin-top: 0;
}

.sp-quality-grid p {
  max-width: 690px;
}

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

.sp-check-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--sp-radius);
  background: #fff;
  box-shadow: var(--sp-shadow-soft);
  color: var(--sp-ink);
  font-weight: 750;
}

.sp-check-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sp-red);
  box-shadow: 0 0 0 5px rgba(215, 25, 32, 0.12);
}

.sp-trust-section {
  padding-top: 84px;
  padding-bottom: 92px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.06), transparent 34%),
    #f6f8fb;
}

.sp-trust-grid {
  gap: 18px;
  margin-top: 30px;
}

.sp-trust-grid > .wp-block-column {
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--sp-radius);
  background: #fff;
  box-shadow: var(--sp-shadow-soft);
}

.sp-trust-grid h3 {
  margin: 0 0 10px;
  color: var(--sp-red);
  font-size: 20px;
}

.sp-trust-grid p {
  margin: 0;
  color: var(--sp-muted);
}

.sp-hero,
.sp-panel,
.sp-cta-band {
  border-radius: var(--sp-radius);
}

.sp-hero {
  padding: clamp(64px, 12vw, 150px) clamp(24px, 6vw, 96px);
  background: var(--sp-night);
}

.home .sp-entry-content > .wp-block-group.sp-hero:first-child {
  display: grid;
  min-height: calc(100vh - 56px);
  align-content: center;
  border-radius: 0;
}

.home .sp-entry-content > .wp-block-group.sp-hero:first-child > * {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 620px;
}

.home .sp-entry-content > .wp-block-group.sp-hero:first-child h1 {
  max-width: 650px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.18;
}

.home .sp-entry-content > .wp-block-group.sp-hero:first-child .wp-block-buttons {
  margin-top: 28px;
}

.home .sp-entry-content > .wp-block-group.sp-hero:first-child p {
  max-width: 560px;
}

.sp-home-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(600px, calc(100% - 32px));
  margin: -575px 0 250px;
  margin-left: max(744px, calc(50vw + 24px));
  position: relative;
  z-index: 2;
}

.sp-home-stats > .wp-block-column {
  min-height: 128px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(51, 65, 85, 0.86);
  color: rgba(255, 255, 255, 0.78);
}

.sp-home-stats h3 {
  margin: 0 0 4px;
  color: #ff6068;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

.sp-home-stats p {
  margin: 0;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: transparent;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: var(--sp-red);
  background: rgba(239, 0, 17, 0.1);
}

.sp-panel {
  padding: 28px;
  border: 1px solid var(--sp-line);
  background: #fff;
  box-shadow: var(--sp-shadow-soft);
}

.sp-cta-band {
  padding: clamp(34px, 5vw, 56px);
  color: #fff;
  background: #18181b;
}

.sp-cta-band h2,
.sp-cta-band p {
  color: #fff;
}

.sp-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
  margin: 48px 0;
  padding: 34px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  background: var(--sp-soft);
}

.sp-form-section__intro h2 {
  margin-top: 0;
}

.sp-form-card {
  padding: 24px;
  border-radius: var(--sp-radius);
  background: #fff;
  box-shadow: var(--sp-shadow-soft);
}

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

.wpcf7 label {
  display: grid;
  gap: 6px;
  color: var(--sp-ink);
  font-weight: 700;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  color: var(--sp-ink);
  background: #fff;
  font: inherit;
}

.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  width: auto;
  min-width: 180px;
  border: 0;
  color: #fff;
  background: var(--sp-red);
  cursor: pointer;
  font-weight: 800;
}

.wpcf7-acceptance {
  display: block;
  margin: 12px 0;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-site-footer {
  padding: 64px 0 24px;
  color: #d1d5db;
  background: #05070d;
}

.sp-site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr;
  gap: 36px;
}

.sp-logo--footer,
.sp-site-footer a {
  color: #fff;
}

.sp-footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.sp-site-footer__brand p {
  max-width: 330px;
}

.sp-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.sp-footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.sp-footer-socials a:hover {
  background: var(--sp-red);
}

.sp-footer-menu,
.sp-footer-contacts {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-footer-menu a,
.sp-footer-contacts,
.sp-footer-contacts a {
  color: #d1d5db;
  text-decoration: none;
}

.sp-site-footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 960px) {
  .sp-service-hero,
  .sp-term-hero {
    grid-template-columns: 1fr;
  }

  .sp-menu-toggle {
    display: block;
  }

  .sp-header-panel {
    position: fixed;
    inset: 56px 0 auto 0;
    display: none;
    max-height: calc(100vh - 56px);
    overflow: auto;
    padding: 22px 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--sp-night);
    box-shadow: var(--sp-shadow);
  }

  .sp-menu-open .sp-header-panel {
    display: block;
  }

  .sp-menu,
  .sp-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sp-menu {
    gap: 0;
  }

  .sp-menu a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sp-header-actions {
    margin-top: 18px;
  }

  .sp-megamenu {
    position: static;
    display: block;
    width: 100%;
    margin-top: 14px;
  }

  .sp-megamenu__inner,
  .sp-megamenu__panel {
    grid-template-columns: 1fr;
  }

  .sp-megamenu__inner {
    border-radius: var(--sp-radius);
  }

  .sp-megamenu__tabs {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sp-megamenu__panel {
    max-height: 260px;
    overflow: auto;
  }

  .sp-card-grid,
  .sp-related .sp-card-grid,
  .sp-site-footer__grid,
  .sp-blog-hero,
  .sp-article-grid,
  .sp-form-section,
  .sp-form-grid,
  .sp-term-stats,
  .sp-home-stats,
  .sp-quality-grid,
  .sp-trust-grid,
  .sp-section-heading--split,
  .sp-portfolio-section .sp-card-grid {
    grid-template-columns: 1fr;
  }

  .sp-quality-section,
  .sp-trust-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .sp-home-stats {
    width: 100%;
    margin: 0 auto 0;
    margin-left: auto;
    padding: 24px 16px 48px;
    background: var(--sp-night);
  }

  .home .sp-entry-content > .wp-block-group.sp-hero:first-child {
    min-height: auto;
  }

  .home .sp-entry-content > .wp-block-group.sp-hero:first-child > * {
    margin-left: 0 !important;
  }

  .sp-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .sp-container,
  .sp-narrow,
  .sp-article-layout {
    width: min(100% - 24px, 1180px);
  }

  .sp-section {
    padding: 48px 0;
  }

  .sp-hero {
    padding: 64px 22px;
  }

  .home .sp-entry-content > .wp-block-group.sp-hero:first-child h1 {
    font-size: 34px;
  }
}
