

html { scroll-behavior: smooth; }

@media screen and (min-width: 1201px) {
    ::-webkit-scrollbar-thumb {
        /* Укажи цвет скроллбара */
        background: #0180EF;
        /* Укажи радиус скругления скроллбара */
        border-radius: 50px;
    }
    ::-webkit-scrollbar {
        /* Укажи ширину вертикального скроллбара */
        width: 6px;
        /* Укажи высоту горизонтального скроллбара */
        height: 6px;
        /* Укажи цвет фона под скроллбаром */
        background: #0C1122;
    }
}

#rec-spasibov-works {
    width: 100%;
}
.spasibov-works-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.spasibov-work-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: #11162a;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease;
}
.spasibov-work-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .5s ease;
}
.spasibov-work-card .spasibov-work-title {
    position: absolute;
    left: 20px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 24px 0 20px;
    border-radius: 70px;
    background: #ffffff;
    color: #1a1a1c;
    font-family: 'rubik', Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
}
.spasibov-work-card .spasibov-work-title::before {
    content: "";
    width: 16px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("https://static.tildacdn.biz/tild6364-6262-4863-a661-396138353836/aee839b7-df24-444b-b.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.spasibov-work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(1, 128, 239, .18);
}
.spasibov-work-card:hover img {
    transform: scale(1.03);
}
@media screen and (max-width: 767px) {
    .spasibov-works-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    .spasibov-work-card .spasibov-work-title {
        font-size: 14px;
        left: 12px;
        bottom: 12px;
    }
}

/* Contacts marquee: tighten gap between bright and dark versions */

/* Hide old "23 группа 2 августа" marquee image above pricing */
#rec1755377501 .tn-elem[data-elem-id="1710596325675"] {
    display: none !important;
}

/* Hero title — shrink so new copy doesn't overflow into chips */
#rec559815773 .tn-elem[data-elem-id="1678139264298"] .tn-atom {
    font-size: 86px !important;
    line-height: 0.95 !important;
    letter-spacing: -1px;
}
@media screen and (max-width: 1199px) {
    #rec559815773 .tn-elem[data-elem-id="1678139264298"] .tn-atom {
        font-size: 72px !important;
    }
}
@media screen and (max-width: 767px) {
    #rec559815773 .tn-elem[data-elem-id="1678139264298"] .tn-atom {
        font-size: 54px !important;
    }
}
@media screen and (max-width: 479px) {
    #rec559815773 .tn-elem[data-elem-id="1678139264298"] .tn-atom {
        font-size: 44px !important;
    }
}

/* ===== Hero: hide broken Tilda chips + H1 + subtitle; overlay new flex chip row ===== */
#rec559815773 .tn-elem[data-elem-id="1678139264298"],  /* H1 "Сайты которые приносят клиентов" */
#rec559815773 .tn-elem[data-elem-id="1678139264302"],  /* subtitle "Цены ниже рынка..." */
#rec559815773 .tn-elem[data-elem-id="1678139264308"],
#rec559815773 .tn-elem[data-elem-id="1678139264310"],
#rec559815773 .tn-elem[data-elem-id="1678139264312"],
#rec559815773 .tn-elem[data-elem-id="1678139264315"],
#rec559815773 .tn-elem[data-elem-id="1678139264316"],
#rec559815773 .tn-elem[data-elem-id="1678139264318"],
#rec559815773 .tn-elem[data-elem-id="1678139264320"],
#rec559815773 .tn-elem[data-elem-id="1678139264322"],
#rec559815773 .tn-elem[data-elem-id="1678139264324"],
#rec559815773 .tn-elem[data-elem-id="1678139264325"] {
    display: none !important;
}

/* Hero content — H1 + chips, vertically centered, left-aligned */
#rec559815773 { position: relative; }
.sps-hero-content {
    position: absolute;
    top: 50%;
    left: max(20px, calc((100% - 1200px) / 2));
    transform: translateY(-50%);
    z-index: 5;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-family: 'rubik', Arial, sans-serif;
    max-width: calc(100% - 40px);
}
.sps-hero-title {
    margin: 0;
    font-family: 'rubik', Arial, sans-serif;
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    color: #ffffff;
    max-width: 1200px;
}
.sps-hero-title-accent {
    color: #007fef;
}
.sps-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.sps-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 28px;
    border-radius: 500px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    box-sizing: border-box;
}
.sps-chip--green {
    background: #70c500;
}
.sps-chip--outline {
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

@media screen and (max-width: 1199px) {
    .sps-hero-title { font-size: 86px; max-width: 860px; }
    .sps-hero-content { gap: 26px; }
    .sps-hero-chips { gap: 10px; }
    .sps-chip { height: 50px; padding: 0 22px; font-size: 18px; }
}
@media screen and (max-width: 767px) {
    .sps-hero-content { left: 16px; }
    .sps-hero-title { font-size: 64px; max-width: 420px; letter-spacing: -1px; }
    .sps-chip { height: 46px; padding: 0 20px; font-size: 15px; }
}
@media screen and (max-width: 479px) {
    .sps-hero-title { font-size: 48px; max-width: 300px; }
}

/* ----- Custom pricing section ----- */
#rec-spasibov-pricing {
    width: 100%;
}
.sps-pricing-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
    font-family: 'rubik', Arial, sans-serif;
}
.sps-pricing-sub {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px;
    letter-spacing: .2px;
}
.sps-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sps-tier {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px 32px;
    border-radius: 28px;
    min-height: 420px;
}
.sps-tier--dark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #ffffff;
}
.sps-tier--blue {
    background: #007fef;
    color: #ffffff;
}
.sps-tier--green {
    background: #70c500;
    color: #ffffff;
}
.sps-tier-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sps-tier-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}
.sps-tier-price {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.sps-tier-sub {
    font-size: 20px;
    font-weight: 700;
    opacity: .85;
}
.sps-tier-desc {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    opacity: .88;
}
.sps-tier--dark .sps-tier-desc {
    color: rgba(255, 255, 255, .72);
}
.sps-tier-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sps-tier-pills li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 20px;
    border-radius: 70px;
    background: #ffffff;
    color: #1a1a1c;
    font-size: 15px;
    line-height: 20px;
    width: fit-content;
    max-width: 100%;
}
.sps-tier-pills li::before {
    content: "";
    width: 16px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("https://static.tildacdn.biz/tild6364-6262-4863-a661-396138353836/aee839b7-df24-444b-b.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
a.sps-tier-cta,
a.sps-tier-cta:link,
a.sps-tier-cta:visited,
a.sps-tier-cta:hover,
a.sps-tier-cta:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 70px;
    background: #70c500;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    width: fit-content;
    transition: transform .2s ease, opacity .2s ease;
}
.sps-tier-cta:hover {
    transform: translateY(-1px);
    opacity: .92;
}
@media screen and (max-width: 979px) {
    .sps-pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sps-tier {
        min-height: auto;
        padding: 28px 24px;
    }
    .sps-tier-price {
        font-size: 34px;
    }
    .sps-pricing-sub {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
