:root {
    --sp-red: #e3010f;
    --sp-red-dark: #b8000b;
    --sp-ink: #2d2e33;
    --sp-muted: #6c6d74;
    --sp-soft: #f2f2f2;
    --sp-line: #dedede;
    --sp-white: #fff;
    --sp-container: 1320px;
    --sp-radius: 5px;
    --sp-shadow: 0 18px 50px rgb(30 31 36 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--sp-muted);
    background: var(--sp-white);
    font: 400 16px/26px "PT Serif", Georgia, serif;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--sp-ink); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--sp-red); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 {
    margin: 0 0 .65em;
    color: var(--sp-ink);
    font-family: "IBM Plex Sans", "PT Sans", Arial, sans-serif;
    line-height: 1.14;
}
h1 { color: var(--sp-red); font-size: clamp(2.35rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
p, ul, ol { margin: 0 0 1.25rem; }
.sp-container { width: min(calc(100% - 40px), var(--sp-container)); margin-inline: auto; }
.visually-hidden, .sp-skip:not(:focus) {
    position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
    margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important; border: 0 !important;
}
.sp-skip:focus { position: fixed; inset: 10px auto auto 10px; z-index: 10000; padding: 10px 14px; background: #fff; }

.sp-header {
    position: sticky; top: 0; z-index: 1000; background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid rgb(0 0 0 / 7%); backdrop-filter: blur(12px);
}
.sp-header__inner { position: relative; width: calc(100% - 20px); min-height: 79px; display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 35px; }
.sp-brand { display: inline-flex; align-items: center; }
.sp-mobile-contact { display: none; }
.sp-logo { width: 140px; height: 55px; object-fit: contain; }
.sp-navigation ul { list-style: none; margin: 0; padding: 0; }
.sp-navigation > ul, .sp-navigation .mod-menu { display: flex; align-items: center; justify-content: flex-start; gap: 15px; }
.sp-navigation li { position: relative; }
.sp-navigation a, .sp-navigation .separator {
    display: block; padding: 14px 0; color: var(--sp-ink); font: 400 14px/22.75px "PT Sans", Arial, sans-serif; letter-spacing: 1.3px; text-decoration: none; white-space: nowrap;
}
.sp-navigation .active > a, .sp-navigation a:hover { color: var(--sp-red); }
.sp-navigation > .mod-menu > li > ul {
    display: grid; position: fixed; top: 79px; left: 50%; width: calc(100vw - 40px); max-width: 1180px;
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; max-height: calc(100vh - 110px);
    padding: 36px 0 42px; overflow: auto; background: #fff; border: 1px solid rgb(0 0 0 / 6%);
    border-radius: 0 0 12px 12px; box-shadow: 0 12px 35px rgb(0 0 0 / 12%);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(15px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.sp-navigation > .mod-menu > li:hover > ul,
.sp-navigation > .mod-menu > li:focus-within > ul,
.sp-navigation > .mod-menu > li.is-mega-open > ul {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.sp-navigation > .mod-menu > li:first-child > a { display: flex; align-items: center; color: var(--sp-red); font-weight: 600; }
.sp-navigation > .mod-menu > li:first-child > a::after {
    content: ""; width: 7px; height: 7px; margin: -4px 0 0 9px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.sp-navigation > .mod-menu > li > ul::before {
    content: ""; position: absolute; top: -9px; left: 145px; width: 18px; height: 18px;
    background: #fff; border-top: 1px solid rgb(0 0 0 / 6%); border-left: 1px solid rgb(0 0 0 / 6%); transform: rotate(45deg);
}
.sp-navigation > .mod-menu > li > ul > li { min-height: 330px; padding: 0 20px; border-right: 1px solid #e6e6e6; }
.sp-navigation > .mod-menu > li > ul > li:last-child { border-right: 0; }
.sp-navigation > .mod-menu > li > ul > li > .separator {
    display: flex; min-height: 58px; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0 0 18px;
    color: #111; border-bottom: 1px solid #e3e3e3; font-size: 14px; font-weight: 800; line-height: 1.25;
    letter-spacing: .04em; text-transform: uppercase; white-space: normal;
}
.sp-navigation .sp-mega-heading span { min-width: 0; white-space: normal; }
.sp-navigation > .mod-menu > li > ul > li > ul { display: grid; position: static; gap: 0; padding: 0; }
.sp-navigation .sp-mega-heading img { width: 32px; height: 32px; min-width: 32px; object-fit: contain; }
.sp-navigation .sp-mega-link {
    display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 3px 0 !important;
    color: #444; font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: 0; white-space: normal;
}
.sp-navigation .sp-mega-link img { width: 35px; height: 35px; min-width: 35px; object-fit: contain; }
.sp-navigation .sp-mega-link span { flex: 1; }
.sp-navigation .sp-mega-link::after { content: "›"; margin-left: auto; color: #999; font-size: 18px; transition: .2s; }
.sp-navigation .sp-mega-link:hover::after { color: var(--sp-red); transform: translateX(3px); }
.sp-header__contacts { display: flex; grid-column: 3; align-items: center; gap: 0; }
.sp-header__contacts > div { display: grid; width: 145px; gap: 3px; margin-right: 25px; }
.sp-header__contacts > div a { font: 400 14px/18px "PT Sans", Arial, sans-serif; }
.sp-header__contacts .sp-button { width: 160px; min-height: 49px; margin-left: 30px; padding: 8px 12px; font: 600 20px/31px "PT Sans", Arial, sans-serif; }
.sp-header__contacts a { text-decoration: none; white-space: nowrap; }
.sp-social {
    display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: #050505;
    border-radius: 50%;
}
.sp-social:hover { color: #fff; background: var(--sp-red); }
.sp-social svg { width: 20px; height: 20px; fill: currentColor; }
.sp-menu-toggle { display: none; width: 44px; height: 42px; padding: 9px; border: 0; background: transparent; }

@media (min-width: 1520px) {
    .sp-navigation { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}
.sp-menu-toggle > span:not(.visually-hidden) { display: block; height: 2px; margin: 5px 0; background: var(--sp-ink); transition: transform .2s, opacity .2s; }
.sp-menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.sp-menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sp-button {
    display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 22px;
    color: #fff; background: var(--sp-red); border: 0; border-radius: var(--sp-radius);
    font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background .18s, transform .18s;
}
.sp-button:hover { color: #fff; background: var(--sp-red-dark); transform: translateY(-1px); }
.sp-button--small { min-height: 38px; padding: 8px 14px; font-size: 15px; }

.sp-main { min-height: 55vh; }
.sp-service-hero {
    position: relative; min-height: 570px; display: flex; align-items: center; color: var(--sp-ink);
    background: #f7f7f7 url("../images/hero.webp") center/cover no-repeat;
}
.sp-service-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 82%) 44%, rgb(255 255 255 / 8%) 74%); }
.sp-service-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; padding-block: 75px; }
.sp-service-hero__content { width: min(680px, 100%); }
.sp-service-hero__lead { color: var(--sp-ink); font-size: 18px; }
.sp-service-hero__lead ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.sp-service-hero__lead li { position: relative; padding-left: 28px; }
.sp-service-hero__lead li::before { content: "✓"; position: absolute; left: 0; color: var(--sp-red); font-weight: 800; }
.sp-service__content > section, .sp-content-section { padding: 64px 0; }
.sp-service__content > section:nth-child(even), .sp-section--soft { background: var(--sp-soft); }
.sp-service__content > section > .sp-container { max-width: 1120px; }
.sp-copy { font-size: 17px; }
.sp-copy h2 { margin-top: 1.6em; }
.sp-copy h2:first-child { margin-top: 0; }
.sp-copy li + li { margin-top: .45rem; }
.sp-summary { background: var(--sp-soft); }
.sp-summary__box { padding: clamp(24px, 5vw, 58px); background: #fff; box-shadow: var(--sp-shadow); }

.sp-faq { background: var(--sp-soft); }
.sp-faq details { background: #fff; border-bottom: 1px solid var(--sp-line); }
.sp-faq summary { position: relative; padding: 20px 58px 20px 22px; color: var(--sp-ink); font-weight: 700; cursor: pointer; list-style: none; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; color: var(--sp-red); font-size: 30px; line-height: 1; }
.sp-faq details[open] summary::after { content: "−"; }
.sp-faq__answer { padding: 0 22px 20px; }

.sp-module-section { padding: 64px 0; }
.sp-module-section:nth-of-type(even) { background: var(--sp-soft); }
#order { scroll-margin-top: 100px; }
.sp-placeholder {
    width: min(calc(100% - 40px), var(--sp-container)); margin: 24px auto; padding: 24px;
    color: var(--sp-muted); border: 2px dashed var(--sp-line); text-align: center;
}

.com-content-article, .blog, .blog-featured, .com-content-category-blog {
    width: min(calc(100% - 40px), 1120px); margin-inline: auto; padding-block: 60px;
}
.com-content-article .page-header h1, .com-content-article .page-header h2 { color: var(--sp-red); }
.blog-items, .items-leading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.blog-item, .items-leading > div { padding: 28px; background: #fff; box-shadow: var(--sp-shadow); }
.blog-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sp-blog-index { padding: 0 0 70px; color: #6c6d74; font-family: "PT Serif", Georgia, serif; font-size: 16px; line-height: 1.625; }
.sp-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1170px; }
.sp-blog-card { min-width: 0; }
.sp-blog-card__image { display: block; width: 100%; margin: 0 0 20px; }
.sp-blog-card__image img { display: block; width: 100%; height: auto; aspect-ratio: 363 / 204; object-fit: cover; }
.sp-blog-card h2 { margin: 0; color: #2d2e33; font-family: "Playfair Display", Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1.2; }
.sp-blog-card h2 a { color: inherit; text-decoration: none; }
.sp-blog-card__intro { margin-top: 30px; }
.sp-blog-card__intro p { margin: 0 0 20px; }
.sp-blog-card__more { margin: 30px 0 0; }
.sp-blog-card__more a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 30px; border: 1px solid var(--sp-red); color: #fff; background: var(--sp-red); font-family: "PT Sans", Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 40px; text-decoration: none; text-transform: uppercase; transition: background .2s ease, border-color .2s ease; }
.sp-blog-card__more a:hover, .sp-blog-card__more a:focus-visible { color: #fff; background: #c80014; border-color: #c80014; }
.sp-blog-pagination { margin-top: 50px; }
.sp-blog-article, .sp-default-article { padding: 0 0 70px; color: #6c6d74; font-family: "PT Serif", Georgia, serif; font-size: 16px; line-height: 26px; }
.sp-blog-article > .sp-container, .sp-default-article > .sp-container { max-width: 1170px; }
.sp-blog-article h1, .sp-default-article h1 { margin: 0 0 40px; color: #2d2e33; font-family: "Playfair Display", Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1.2; }
.sp-blog-article__body p, .sp-blog-article__body ul, .sp-blog-article__body ol { margin: 0 0 20px; }
.sp-blog-article__body h2 { margin: 40px 0 20px; color: #2d2e33; font-family: "Playfair Display", Georgia, serif; font-size: 36px; font-weight: 400; line-height: 1.3; }
.sp-blog-article__body h3 { margin: 40px 0 20px; color: #2d2e33; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.35; }
.sp-blog-article__body img { max-width: 100%; height: auto; }
.pagination ul { display: flex; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.pagination a { display: block; padding: 8px 12px; border: 1px solid var(--sp-line); text-decoration: none; }

.sp-footer { min-height: 376px; padding: 27px 40px; color: #ddd; background: #222; }
.sp-footer a { color: #fff; }
.sp-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sp-footer__links { display: grid; justify-items: end; align-content: start; gap: 8px; }
.sp-cookie {
    position: fixed; z-index: 2000; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between;
    gap: 20px; width: 100%; max-width: none; padding: 14px 40px; color: #111; background: #fff;
    border-top: 2px solid var(--sp-red); border-radius: 0; box-shadow: none;
}
.sp-cookie[hidden] { display: none; }
.sp-cookie p { margin: 0; }
.sp-cookie a { color: #111; }
.sp-cookie .sp-button { width: 190px; min-height: 32px; padding: 4px 12px; background: var(--sp-red); font: 600 16px/1.2 "PT Sans", Arial, sans-serif; }
.sp-error-page { display: grid; min-height: 100vh; place-items: center; }
.sp-error { padding-block: 80px; text-align: center; }
.sp-error__code { margin: 0; color: var(--sp-red); font-size: clamp(6rem, 20vw, 13rem); font-weight: 800; line-height: .9; }

/* Home page */
.sp-home { overflow: hidden; }
.sp-home-section { padding: clamp(64px, 8vw, 108px) 0; }
.sp-eyebrow { margin: 0 0 12px; color: var(--sp-red); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sp-section-heading { width: min(700px, 100%); margin-bottom: 44px; }
.sp-section-heading h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.25rem); }
.sp-section-heading > p:last-child { margin-bottom: 0; font-size: 18px; }
.sp-section-heading--light h2, .sp-section-heading--light > p:last-child { color: #fff; }
.sp-text-link { color: var(--sp-ink); font-weight: 700; text-decoration: none; }
.sp-text-link span { color: var(--sp-red); font-size: 1.25em; }

.sp-home-hero {
    position: relative; min-height: 650px; display: flex; align-items: center;
    background: #f4f4f4 url("../images/hero.webp") center/cover no-repeat;
}
.sp-home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 94%) 38%, rgb(255 255 255 / 18%) 72%); }
.sp-home-hero__inner { position: relative; z-index: 1; padding-block: 70px; }
.sp-home-hero__content { width: min(650px, 100%); }
.sp-home-hero h1 { max-width: 620px; margin-bottom: 20px; font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.04em; }
.sp-home-hero__lead { max-width: 590px; color: var(--sp-ink); font-size: clamp(18px, 2vw, 22px); }
.sp-home-hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.sp-home-facts { display: flex; gap: 34px; margin: 48px 0 0; padding: 0; list-style: none; }
.sp-home-facts li { display: grid; padding-left: 16px; border-left: 3px solid var(--sp-red); }
.sp-home-facts strong { color: var(--sp-ink); font-size: 20px; }
.sp-home-facts span { font-size: 13px; }

.sp-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sp-line); border-left: 1px solid var(--sp-line); }
.sp-service-card { min-height: 245px; padding: 28px; border-right: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); text-decoration: none; transition: background .2s, transform .2s; }
.sp-service-card:hover { position: relative; color: var(--sp-muted); background: #fff; box-shadow: var(--sp-shadow); transform: translateY(-4px); }
.sp-service-card__number { color: var(--sp-red); font-size: 13px; font-weight: 800; }
.sp-service-card h3 { margin-top: 46px; font-size: 22px; }
.sp-service-card p { margin: 0; }

.sp-advantages, .sp-reviews { color: #d9d9dc; background: #24252a; }
.sp-advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgb(255 255 255 / 18%); }
.sp-advantage-grid > div { min-height: 250px; padding: 32px; background: #24252a; }
.sp-advantage-grid strong { color: var(--sp-red); font-size: 14px; }
.sp-advantage-grid h3 { margin-top: 56px; color: #fff; font-size: 22px; }

.sp-portfolio { background: #f4f4f4; }
.sp-portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sp-portfolio-card { position: relative; min-height: 280px; margin: 0; overflow: hidden; background: #ddd; }
.sp-portfolio-card:nth-child(1), .sp-portfolio-card:nth-child(6) { grid-column: span 2; }
.sp-portfolio-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .45s; }
.sp-portfolio-card:hover img { transform: scale(1.035); }
.sp-portfolio-card figcaption { position: absolute; inset: auto 14px 14px; width: fit-content; padding: 7px 11px; color: #fff; background: rgb(0 0 0 / 72%); font-weight: 700; }

.sp-materials__layout { display: grid; grid-template-columns: .9fr 1.35fr; gap: 70px; align-items: center; }
.sp-material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-material-grid > div { min-height: 270px; padding: 28px 24px; background: var(--sp-soft); }
.sp-material-grid img { width: 76px; height: 76px; object-fit: contain; }
.sp-material-grid h3 { margin-top: 34px; }

.sp-process { background: var(--sp-soft); }
.sp-process-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sp-process-list li { position: relative; min-height: 230px; padding: 30px 30px 24px; background: #fff; border-right: 1px solid var(--sp-line); }
.sp-process-list li:last-child { border: 0; }
.sp-process-list li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 28px; right: -13px; color: var(--sp-red); font-size: 22px; }
.sp-process-list span { color: var(--sp-red); font-weight: 800; }
.sp-process-list h3 { margin-top: 48px; }

.sp-clients { padding-block: 54px; border-block: 1px solid var(--sp-line); }
.sp-clients__title { color: var(--sp-ink); font-weight: 700; text-align: center; }
.sp-client-strip { display: grid; grid-template-columns: repeat(9, minmax(70px, 1fr)); gap: 26px; align-items: center; }
.sp-client-strip img { width: 100%; max-height: 55px; object-fit: contain; filter: grayscale(1); opacity: .72; }

.sp-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sp-team-grid figure { margin: 0; }
.sp-team-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; background: var(--sp-soft); }
.sp-team-grid figcaption { padding: 14px 0; color: var(--sp-ink); font-weight: 700; }

.sp-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sp-review-grid blockquote { margin: 0; padding: 32px; color: var(--sp-ink); background: #fff; }
.sp-review-grid blockquote > div { color: var(--sp-red); letter-spacing: .18em; }
.sp-review-grid blockquote p { margin-block: 24px; font-size: 17px; }
.sp-review-grid blockquote footer { color: var(--sp-muted); font-weight: 700; }

.sp-home-copy { padding-bottom: 0; }
.sp-home-copy__inner > .sp-content-section { padding: 64px 0; }
.sp-home-copy__inner > .sp-content-section > .sp-container { width: 100%; max-width: 1080px; }
.sp-home-copy__inner > .sp-content-section:first-child { padding-top: 0; }
.sp-home-copy__inner .sp-summary { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.sp-home-copy__inner .sp-faq { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }

.sp-order { color: #fff; background: var(--sp-red); }
.sp-order .sp-eyebrow { color: #fff; opacity: .75; }
.sp-order h2 { color: #fff; }
.sp-order__box { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.sp-order__box > div:first-child { max-width: 680px; }
.sp-order__actions { display: grid; gap: 12px; min-width: 260px; }
.sp-order .sp-button { color: var(--sp-red); background: #fff; }
.sp-order .sp-button--dark { color: #fff; background: var(--sp-ink); }
.sp-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.sp-contact__links { display: grid; justify-items: end; gap: 8px; }
.sp-contact__links a { color: var(--sp-ink); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; text-decoration: none; }

@media (max-width: 1180px) {
    .sp-header__inner { grid-template-columns: auto auto 1fr; gap: 14px; }
    .sp-header__contacts .sp-button { margin-left: 0; }
    .sp-menu-toggle { display: block; }
    .sp-navigation {
        display: none; position: absolute; inset: 79px 0 auto; max-height: calc(100vh - 79px); padding: 20px;
        overflow: auto; background: #fff; border-top: 1px solid var(--sp-line); box-shadow: var(--sp-shadow);
    }
    .sp-navigation.is-open { display: block; }
    .sp-navigation > ul, .sp-navigation .mod-menu { display: grid; justify-content: stretch; gap: 0; }
    .sp-navigation > .mod-menu > li > ul,
    .sp-navigation > .mod-menu > li:hover > ul,
    .sp-navigation > .mod-menu > li:focus-within > ul {
        display: grid; position: static; width: auto; max-height: none; grid-template-columns: 1fr;
        gap: 8px; padding: 4px 0 10px 18px; border: 0; box-shadow: none;
        opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    }
    .sp-navigation > .mod-menu > li > ul::before { display: none; }
    .sp-navigation > .mod-menu > li > ul > li { min-height: 0; padding: 0; border-right: 0; }
    .sp-navigation > .mod-menu > li > ul > li > .separator { margin: 10px 0 4px; }
    .sp-header__contacts { justify-self: end; }
    .sp-service-grid, .sp-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-advantage-grid, .sp-process-list, .sp-team-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-materials__layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
    .sp-container { width: min(calc(100% - 28px), var(--sp-container)); }
    .sp-header__contacts > div, .sp-header__contacts .sp-social { display: none; }
    .sp-header__inner { min-height: 68px; }
    .sp-logo { width: 120px; height: auto; }
    .sp-navigation { inset-block-start: 68px; max-height: calc(100vh - 68px); }
    .sp-service-hero { min-height: 520px; background-position: 62% center; }
    .sp-service-hero::before { inset: 0; height: auto; background: rgb(255 255 255 / 70%); }
    .sp-service-hero__inner { padding-block: 52px; }
    .sp-service__content > section, .sp-content-section, .sp-module-section { padding-block: 44px; }
    .blog-items, .items-leading, .sp-footer__grid { grid-template-columns: 1fr; }
    .sp-footer__links { justify-items: start; }
    .sp-cookie { align-items: stretch; flex-direction: column; gap: 10px; inset: auto 10px 10px; }
    .sp-home-section { padding-block: 58px; }
    .sp-home-hero { min-height: 630px; background-position: 61% center; }
    .sp-home-hero::before { background: rgb(255 255 255 / 72%); }
    .sp-home-hero h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
    .sp-home-facts { display: grid; gap: 14px; }
    .sp-home-hero__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .sp-service-grid, .sp-portfolio-grid, .sp-advantage-grid, .sp-process-list,
    .sp-material-grid, .sp-team-grid, .sp-review-grid, .sp-order__box, .sp-contact__grid { grid-template-columns: 1fr; }
    .sp-portfolio-card:nth-child(1), .sp-portfolio-card:nth-child(6) { grid-column: auto; }
    .sp-process-list li { border-right: 0; border-bottom: 1px solid var(--sp-line); }
    .sp-process-list li:not(:last-child)::after { top: auto; right: 24px; bottom: -15px; transform: rotate(90deg); }
    .sp-client-strip { grid-template-columns: repeat(3, 1fr); }
    .sp-order__actions { min-width: 0; }
    .sp-contact__links { justify-items: start; }
    .sp-contact__links a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Shared original-page sections */
.sp-original-calculator, .sp-module-section--service-calculator { padding: 60px 0 40px; background: #f2f2f2; }
.sp-original-calculator h2, .sp-module-section--service-calculator h2 { margin: 0 0 40px; color: var(--sp-red); font: 600 30px/1.55 "PT Sans", Arial, sans-serif; text-align: center; }
#calcs_flex { display: flex; min-height: 262px; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 0; }
#calcs_flex > div { display: flex; flex: 0 0 172px; justify-content: center; }
#calcs_flex input[type="radio"] { position: absolute; opacity: 0; }
#calcs_flex label { display: flex; width: 160px; height: 230px; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 0; color: var(--sp-red); background: #fff; border: 2px solid transparent; border-radius: 10px; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); font: 600 20px/1.35 "PT Sans", Arial, sans-serif; text-align: center; cursor: pointer; }
@media (min-width: 761px) {
    #calcs_flex > div:nth-child(2) label { padding-inline: 8px; font-size: 18px; letter-spacing: -.1px; }
}
#calcs_flex img { width: 96px; height: 96px; object-fit: contain; }
#calcs_flex input[type="radio"]:checked + label { border-color: var(--sp-red); }
#calcs_flex input[type="radio"]:focus-visible + label { outline: 2px solid var(--sp-red); outline-offset: 3px; }
#forms_calc { max-width: 1170px; margin-inline: auto; color: #000; font: 400 20px/1.55 "PT Sans", Arial, sans-serif; }
#forms_calc .counts, #forms_calc .razmer { display: flex; min-height: 63px; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 0; padding-left: 6px; }
#forms_calc .counts > div, #forms_calc .razmer > div { min-width: 184px; }
#forms_calc #quantity, #forms_calc #additional_option { width: 156px; min-height: 38px; padding: 4px 8px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
#forms_calc .dop_uslug { display: flex; flex-direction: column; gap: 3px; margin: 0; padding-left: 6px; }
#forms_calc .dop_uslug label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
#forms_calc .dop_uslug input { accent-color: var(--sp-red); }
#forms_calc #result { margin: 20px 0 0; color: var(--sp-red); font: 600 30px/1.55 "PT Sans", Arial, sans-serif; text-align: center; }
#forms_calc .sp-calcs-order { display: flex; justify-content: center; margin-top: 45px; }
#forms_calc .sp-calcs-order .sp-button { width: 160px; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); }
.sp-original-section { padding: 60px 0; }
.sp-original-section > .sp-container > h2,
.sp-original-contact h2,
.sp-original-reviews h2 {
    margin-bottom: 40px; color: var(--sp-red); font: 600 30px/1.55 "PT Sans", Arial, sans-serif;
    text-align: center;
}
.sp-original-hero {
    background: #fff url("../images/home/banner.webp") 50% 100% / auto no-repeat;
}
.sp-original-hero__inner { display: flex; align-items: center; padding-block: 75px; }
.sp-original-hero__content { width: 100%; text-align: center; }
.sp-original-hero h1 { max-width: 810px; margin: 0 auto 6px; font: 600 clamp(2.75rem, 5vw, 60px)/1.55 "IBM Plex Sans", Arial, sans-serif; text-align: center; }
.sp-original-hero ul { display: grid; width: min(709px, 100%); grid-auto-flow: column; grid-template-columns: 312px minmax(0, 1fr); grid-template-rows: repeat(3, 46px); gap: 0; margin: 0 auto; padding: 0; color: var(--sp-ink); list-style: none; text-align: left; }
.sp-original-hero li { padding-top: 5px; font: 400 16px/18.4px Aptos, "PT Sans", Arial, sans-serif; }
.sp-original-hero .sp-button { width: 160px; margin-bottom: 150px; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); }
.sp-original-hero__lead { margin-bottom: 30px; }
.sp-original-hero__lead ul { margin-bottom: 0; }

.sp-original-pros { padding-block: 40px 60px; }
.sp-original-pros__grid { display: grid; width: min(1200px, calc(100vw - 40px)); grid-template-columns: repeat(4, minmax(0, 300px)); gap: 0; margin-inline: auto; text-align: center; }
.sp-original-pros__grid > div { display: flex; width: 260px; height: 260px; flex-direction: column; align-items: center; justify-content: flex-start; margin-inline: 15px; padding: 0; background: #fff; border: 3px solid transparent; border-radius: 10px; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); }
.sp-original-pros__grid img { width: 170px; height: auto; object-fit: contain; }
.sp-original-pros__grid > div:first-child img { width: 200px; }
.sp-original-pros__grid > div:last-child img { width: 132px; }
.sp-original-pros__grid > div:nth-child(2) img { margin-top: 20px; }
.sp-original-pros__grid > div:nth-child(3) img { margin-top: 25px; }
.sp-original-pros__grid h3 { width: 100%; margin: 0; padding: 10px 20px; border: 3px solid transparent; font: 400 20px/31px "PT Sans", Arial, sans-serif; }
.sp-original-pros__grid p { margin: 0; font-size: 20px; line-height: 1.3; }

.sp-original-gallery { padding-block: 50px 75px; background: #f2f2f2; }
.sp-original-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: 40px; }
.sp-original-gallery__grid a { display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.sp-original-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.sp-original-gallery__grid a:hover img { transform: scale(1.025); }

.sp-original-partners { padding-block: 70px; }
.sp-original-partners__grid { display: flex; max-width: 1000px; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 50px; margin-inline: auto; }
.sp-original-partners__grid img { width: 160px; height: 120px; object-fit: contain; }

.sp-original-about { display: grid; grid-template-columns: 1fr 1fr; min-height: 370px; }
.sp-original-about__image { min-height: 370px; background: url("../images/home/banner2.png") center / cover no-repeat; }
.sp-original-about__content { display: flex; align-items: center; padding: 19px 20px 22px; color: #fff; background: var(--sp-red); }
.sp-original-about__content > div { max-width: 565px; }
.sp-original-about h2 { margin-bottom: 12px; color: #fff; font: 600 30px/1.55 "PT Sans", Arial, sans-serif; text-transform: none; }
.sp-original-about p { margin-bottom: 20px; color: #fff; font: 400 16px/30px "PT Sans", Arial, sans-serif; }
.sp-original-about p span { font: 400 18.6667px/1.15 "Times New Roman", serif; }
.sp-original-about .sp-button { width: 160px; margin-top: 25px; color: var(--sp-red); background: #fff; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); }
.sp-original-about .sp-button:hover { color: var(--sp-red-dark); background: #f7f7f7; }
.sp-original-copy > .sp-copy-main { padding: 75px 0; background: #fff; }
.sp-original-copy > .sp-copy-main > .sp-container { max-width: 1170px; }
.sp-original-copy .sp-copy { font: 400 16px/26px "PT Serif", Georgia, serif; }
.sp-original-copy .sp-copy h2 { margin: 0 0 20px; font: 400 36px/46.8px "Playfair Display", Georgia, serif; }
.sp-original-copy .sp-copy h2:not(:first-child) { margin-top: 40px; }
.sp-original-copy .sp-copy h3 { margin: 40px 0 20px; font: 400 28px/39.2px "Playfair Display", Georgia, serif; }
.sp-original-copy .sp-copy p { margin: 20px 0; }
.sp-original-copy .sp-copy span { font: 400 18.6667px/1.15 "Times New Roman", serif; }
.sp-original-copy .sp-copy a { color: var(--sp-red); text-decoration: none; }

.sp-original-team { padding: 50px 0 65px; background: #f2f2f2; }
.sp-original-team h2 { margin-bottom: 8px !important; color: var(--sp-ink) !important; }
.sp-original-subtitle { margin-bottom: 38px; color: var(--sp-ink); font-size: 19px; text-align: center; }
.sp-original-team__grid { display: grid; width: min(1200px, calc(100vw - 40px)); grid-template-columns: repeat(4, minmax(0, 300px)); gap: 0; margin-inline: auto; }
.sp-original-team__grid figure { display: flex; min-height: 330px; flex-direction: column; align-items: center; justify-content: center; margin: 0 15px; padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 5px 10px rgb(0 0 0 / 20%); text-align: center; }
.sp-original-team__grid img { width: 220px; height: 220px; border-radius: 5px; object-fit: cover; }
.sp-original-team__grid figcaption { display: grid; gap: 5px; padding-top: 0; font: 400 16px/25px "PT Sans", Arial, sans-serif; }
.sp-original-team__grid strong { color: var(--sp-ink); font: 600 20px/31px "PT Sans", Arial, sans-serif; }

.sp-original-faq > .sp-faq { padding: 75px 0; background: #fff; }
.sp-original-faq .sp-faq > .sp-container { max-width: 1170px; }
.sp-original-faq .sp-faq h2 { margin-bottom: 40px; color: var(--sp-red); font: 600 30px/1.55 "PT Sans", Arial, sans-serif; text-align: center; text-transform: none; }
.sp-original-faq .sp-faq details { overflow: hidden; margin-bottom: 10px; background: #fff; border: 1px solid #d5d7e0; border-radius: 4px; }
.sp-original-faq .sp-faq details:last-child { margin-bottom: 0; }
.sp-original-faq .sp-faq summary { min-height: 46px; padding: 10px 30px 10px 15px; font: 700 14px/22.75px "PT Serif", Georgia, serif; }
.sp-original-faq .sp-faq summary::after { top: 8px; right: 15px; font-size: 25px; }
.sp-original-faq .sp-faq details[open] .sp-faq__answer { padding: 20px 22px 12px; border-top: 1px solid #d5d7e0; }
.sp-original-faq .sp-faq__answer p:last-child { margin-bottom: 0; }
.sp-original-reviews { padding: 80px 0 50px; background: #f2f2f2; }
.sp-original-reviews__grid { display: grid; grid-template-columns: repeat(3, 370px); justify-content: center; gap: 26px; }
.sp-original-reviews iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

.sp-original-contact { padding: 50px 0 57px; background: #fff; }
.sp-original-contact__grid { display: grid; max-width: 1170px; grid-template-columns: repeat(4, 270px); justify-content: space-between; gap: 24px; margin-inline: auto; }
.sp-original-contact__grid > * { display: block; padding-left: 3px; color: var(--sp-ink); text-align: left; text-decoration: none; }
.sp-original-contact__grid img { width: 48px; height: 48px; margin-right: 8px; object-fit: contain; vertical-align: middle; }
.sp-original-contact__grid span { overflow-wrap: anywhere; font: 400 20px/40px "PT Sans", Arial, sans-serif; }

@media (min-width: 1025px) {
    .sp-original-contact__grid > * { display: flex; align-items: center; }
    .sp-original-contact__grid span { overflow-wrap: normal; white-space: nowrap; }
    .sp-footer { color: var(--sp-muted); }
    .sp-footer .sp-container { width: 100%; max-width: none; }
    .sp-footer__grid { position: relative; }
    .sp-footer__grid strong { display: block; font-weight: 400; margin-bottom: 20px; }
    .sp-footer__grid p { margin: 0 0 20px; }
    .sp-footer a { color: var(--sp-muted); }
    .sp-footer__links { gap: 20px; }
    .sp-footer__links > a:first-child { position: absolute; top: 276px; left: 0; }
}
.sp-original-map iframe { display: block; border: 0; }

/* Internal service pages repeat the original builder sections in the same order. */
.sp-service--original .sp-original-hero__lead ul { margin-bottom: 0; }
.sp-service--original .sp-original-hero__lead li { position: relative; padding-left: 20px; }
.sp-service--original .sp-original-hero__lead li::before { content: "✓"; position: absolute; left: 0; color: var(--sp-red); }
.sp-service-about .sp-summary { padding: 0; background: transparent; }
.sp-service-about .sp-summary > .sp-container { width: 100%; padding: 0; }
.sp-service-about .sp-summary__box { padding: 0; color: #fff; background: transparent; box-shadow: none; }
.sp-service-about h2 { color: #fff; text-transform: none; }

@media (max-width: 900px) {
    .sp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
    .sp-original-calculator, .sp-module-section--service-calculator { padding-bottom: 76px; }
    .sp-original-calculator h2, .sp-module-section--service-calculator h2 { margin-bottom: 0; font-size: 20px; }
    #calcs_flex { min-height: 1072px; flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: 20px; }
    #calcs_flex > div { flex: 0 0 auto; }
    #calcs_flex label { width: 110px; height: 160px; gap: 8px; padding: 8px; font-size: 14px; }
    #calcs_flex img { width: 66px; height: 66px; }
    .sp-original-hero { min-height: 673px; }
    .sp-original-pros { padding: 40px 0 185px; }
    .sp-original-pros__grid { display: flex; overflow-x: auto; gap: 24px; scroll-snap-type: x mandatory; }
    .sp-original-pros__grid > div { flex: 0 0 260px; margin-inline: 0; scroll-snap-align: start; }
    .sp-original-gallery__grid { display: flex; height: 400px; justify-content: flex-start; overflow-x: auto; gap: 40px; scroll-snap-type: x mandatory; }
    .sp-original-gallery__grid a { flex: 0 0 min(360px, 100%); height: 360px; scroll-snap-align: start; }
    .sp-original-partners { padding-block: 50px; }
    .sp-original-about__content { padding-block: 0; }
    .sp-original-copy > .sp-copy-main > .sp-container { width: 100%; }
    .sp-original-team__grid { display: flex; justify-content: flex-start; overflow-x: auto; }
    .sp-original-team__grid figure { flex: 0 0 260px; }
    .sp-original-team { padding-bottom: 70px; }
    .sp-original-reviews { padding-bottom: 54px; }
    .sp-original-reviews__grid { display: flex; overflow-x: auto; gap: 30px; }
    .sp-original-reviews iframe { flex: 0 0 220px; width: 220px; height: 124px; aspect-ratio: auto; }
    .sp-original-contact__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sp-original-contact__grid > * { display: flex; min-height: 54px; align-items: center; }
    .sp-original-contact__grid img { flex: 0 0 48px; }
    .sp-original-about { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 900px) {
    .sp-original-copy > .sp-copy-main { padding-bottom: 117px; }
    .sp-original-contact { padding-bottom: 68px; }
}

@media (max-width: 600px) {
    .sp-blog-grid { grid-template-columns: 1fr; gap: 36px; }
    .sp-blog-card h2, .sp-blog-article h1, .sp-default-article h1 { font-size: 34px; }
    .sp-blog-article__body h2 { font-size: 30px; }
    .sp-header__inner { width: calc(100% - 76px); min-height: 79px; display: flex; justify-content: space-between; gap: 0; }
    .sp-mobile-contact { display: grid; width: 30px; height: 30px; place-items: center; color: var(--sp-red); }
    .sp-mobile-contact svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .sp-header__contacts { display: none; }
    .sp-logo { width: 140px; height: 55px; }
    .sp-menu-toggle { width: 36px; }
    .sp-navigation { inset-block-start: 79px; max-height: calc(100vh - 79px); }
    .sp-original-hero { height: 673px; background-position: 62% calc(100% + 70px); }
    #forms_calc { font-size: 20px; }
    #forms_calc .counts { min-height: 100px; }
    #forms_calc .razmer { min-height: 93px; }
    #forms_calc .counts > div, #forms_calc .razmer > div { min-width: 160px; }
    .sp-original-hero__inner { align-items: flex-start; padding: 3px 0 0; }
    .sp-original-hero__content { padding: 0; background: transparent; text-align: center; }
    .sp-original-hero h1 { margin-bottom: 17px; font-size: 36px; line-height: 1.25; letter-spacing: 0; text-align: center; }
    .sp-original-hero .sp-button { margin: 74px 0 35px; }
    .sp-original-hero ul { width: calc(100% - 48px); grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
    .sp-original-hero li { min-height: 45px; padding-top: 0; }
    .sp-original-team__grid, .sp-original-contact__grid,
    .sp-original-reviews__grid { grid-template-columns: 1fr; }
    .sp-original-gallery__grid { gap: 18px; }
    .sp-original-partners__grid { gap: 26px 16px; }
    .sp-original-partners__grid img { width: min(42%, 160px); height: 100px; }
    .sp-original-partners { padding: 98px 0; }
    .sp-original-about { display: flex; flex-direction: column; }
    .sp-original-about__content { order: 0; min-height: 763px; padding-inline: 28px; }
    .sp-original-about__image { order: 1; min-height: 200px; height: 200px; }
    .sp-original-copy > .sp-copy-main { padding-bottom: 60px; }
    .sp-original-team__grid { display: grid; overflow: visible; }
    .sp-original-team__grid figure { width: auto; }
    .sp-original-team { padding-bottom: 78px; }
    .sp-original-faq > .sp-faq { padding-bottom: 47px; }
    .sp-original-reviews { padding-bottom: 69px; }
    .sp-original-reviews__grid { display: grid; overflow: visible; gap: 20px; }
    .sp-original-reviews iframe { width: 270px; height: 152px; justify-self: center; }
    .sp-original-contact__grid { gap: 0; }
    .sp-original-contact { padding-bottom: 51px; }
    .sp-footer { padding: 17px 40px; }
    .sp-footer__grid { gap: 10px; }
    .sp-footer__links { gap: 4px; }
    .sp-cookie { inset: auto 0 0; min-height: 181px; align-items: stretch; justify-content: flex-start; gap: 12px; padding: 14px 10px; }
    .sp-cookie .sp-button { width: 100%; min-height: 30px; }
}
