/* SEO-посадочные услуг (templates/services/). Цвета и сетка — из style.css. */

.svc-hero{
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}
.svc-hero--single{
    grid-template-columns: 1fr;
}
.svc-hero h1{
    font-size: 44px;
    font-weight: 500;
    line-height: 110%;
    margin-bottom: 1.25rem;
}
.svc-hero__lead{
    font-size: 1.15rem;
    line-height: 150%;
    color: var(--SEC-COLOR);
    max-width: 60ch;
}
.svc-hero__price{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--MAIN-RED);
    background: var(--CARD);
    border-radius: 0 12px 12px 0;
    width: fit-content;
}
.svc-hero__price-label{
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--SEC-COLOR);
}
.svc-hero__price-value{
    font-size: 1.5rem;
    font-weight: 500;
}
.svc-hero__actions{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.svc-hero__phone{
    font-size: 1.15rem;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,.4);
}
.svc-hero__phone:hover{
    border-bottom-style: solid;
}
.svc-hero__facts{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.svc-hero__facts li{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1rem 1.25rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1rem;
}
.svc-hero__facts strong{
    color: #FFF;
    font-size: 1.25rem;
    font-weight: 500;
}
.svc-hero__facts span{
    color: var(--SEC-COLOR);
    font-size: .95rem;
}

.svc-block{
    margin-bottom: 4rem;
}
.svc-block h2{
    margin-bottom: 1.25rem;
}
.svc-block > p{
    color: var(--SEC-COLOR);
    line-height: 150%;
    max-width: 80ch;
    margin-bottom: 1.25rem;
}
.svc-block > p strong, .svc-list strong{
    color: #FFF;
    font-weight: 500;
}
.svc-block--muted{
    padding: 2rem;
    background: var(--CARD);
    border-radius: 1.5rem;
    max-width: 1300px;
}
.svc-block a, .svc-card a, .svc-tariff a, .svc-list a{
    color: #FFF;
    text-decoration: underline;
    text-decoration-color: var(--MAIN-RED);
    text-underline-offset: 3px;
}

.svc-grid{
    display: grid;
    gap: 1rem;
}
.svc-grid--2{ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.svc-grid--3{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc-grid--4{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.svc-card{
    padding: 1.5rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.svc-card h3{
    font-size: 1.2rem;
}
.svc-card p{
    font-size: 1rem;
    line-height: 150%;
    color: var(--SEC-COLOR);
}

.svc-list{
    display: flex;
    flex-direction: column;
    gap: .75rem;
    list-style-position: outside;
    padding-left: 1.25rem;
    color: var(--SEC-COLOR);
    line-height: 150%;
}
.svc-list li{
    color: var(--SEC-COLOR);
    font-size: 1.05rem;
}
.svc-list--compact{
    gap: .4rem;
}
.svc-list--compact li{
    font-size: .95rem;
}

.svc-tariffs{
    align-items: stretch;
}
.svc-tariff{
    padding: 1.75rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.svc-tariff--main{
    border-color: var(--MAIN-RED);
}
.svc-tariff h3{
    font-size: 1.2rem;
}
.svc-tariff__price{
    font-size: 1.6rem;
    font-weight: 500;
    padding-bottom: .75rem;
    border-bottom: 1px solid #2A2A2A;
}
.svc-tariff ul{
    display: flex;
    flex-direction: column;
    gap: .4rem;
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.1rem;
}
.svc-tariff li{
    color: var(--SEC-COLOR);
    font-size: .95rem;
    line-height: 140%;
}
.svc-tariff__for{
    margin-top: auto;
    padding-top: .75rem;
    font-size: .9rem;
    color: var(--SEC-COLOR);
}

.svc-steps__list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    counter-reset: none;
}
.svc-step{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 1rem;
    border-top: 1px solid #343434;
}
.svc-step__num{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--MAIN-RED);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.svc-step h3{
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 130%;
}
.svc-step p{
    font-size: .95rem;
    color: var(--SEC-COLOR);
    line-height: 150%;
}

.svc-compare{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.svc-compare > div{
    padding: 1.5rem;
    background: var(--CARD);
    border-radius: 1.5rem;
    border: 1px solid #2A2A2A;
}
.svc-compare h3{
    margin-bottom: .75rem;
}

.svc-example{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    background: var(--CARD);
    border-radius: 1.5rem;
    border: 1px solid #2A2A2A;
}
.svc-example__q{
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--SEC-COLOR);
}
.svc-example__bubble{
    padding: .75rem 1rem;
    background: #2C2C2C;
    border-radius: 1rem 1rem 1rem 4px;
    font-size: 1rem;
    line-height: 150%;
}
.svc-example__bubble--a{
    background: rgba(191, 35, 48, .15);
    border-radius: 1rem 1rem 4px 1rem;
}
.svc-example__bubble span{
    text-decoration: underline;
    text-decoration-color: var(--MAIN-RED);
}

.svc-report{
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--CARD);
    border-radius: 1.5rem;
    border: 1px dashed #444;
}
.svc-report h3{
    font-size: 1.1rem;
    margin-bottom: .75rem;
}

.svc-ad{
    gap: .35rem;
}
.svc-ad__label{
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--SEC-COLOR);
}
.svc-ad__title{
    color: #8ab4f8;
    font-size: 1.1rem;
}
.svc-ad__text{
    color: #FFF;
}
.svc-ad__links{
    font-size: .85rem;
}

.svc-cases{
    margin-bottom: 4rem;
}
.svc-cases h2{
    margin-bottom: 1.25rem;
}
.svc-cases__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.svc-case{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: border-color .15s ease-in-out;
}
a.svc-case:hover{
    border-color: #f8f8f8;
}
.svc-case img{
    width: 100%;
    aspect-ratio: 400 / 260;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: .5rem;
    background: #2C2C2C;
}
.svc-case__domain{
    font-size: .85rem;
    color: var(--SEC-COLOR);
}
.svc-case__name{
    font-size: 1.2rem;
    font-weight: 500;
}
.svc-case__name a{
    font-size: inherit;
    text-decoration: underline;
    text-decoration-color: var(--MAIN-RED);
}
.svc-case__result{
    font-size: 1rem;
    color: var(--SEC-COLOR);
}
.svc-case--planned{
    border-style: dashed;
}
.svc-cases__more{
    margin-top: 1rem;
}
.svc-cases__more a{
    text-decoration: none;
    border-bottom: 1px solid var(--MAIN-RED);
}

.svc-faq{
    margin-bottom: 4rem;
}
.svc-faq > ul{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: start;
}
.svc-faq li{
    border-radius: 1rem;
    background: rgb(44,44,44);
    padding: 1rem;
    flex-basis: calc(50% - 0.5rem);
    display: flex;
    justify-content: center;
}
.svc-faq .FAquestion > p{
    color: var(--SEC-COLOR);
    line-height: 150%;
}

.svc-related{
    margin-bottom: 4rem;
}
.svc-related__list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.svc-related__list a{
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1rem;
    text-decoration: none;
    height: 100%;
    transition: border-color .15s ease-in-out;
}
.svc-related__list a:hover{
    border-color: #f8f8f8;
}
.svc-related__name{
    font-weight: 500;
}
.svc-related__short{
    font-size: .9rem;
    color: var(--SEC-COLOR);
}

.svc-contacts{
    margin-bottom: 2rem;
}
.svc-contacts__grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.svc-contacts h3{
    font-size: 1.05rem;
    color: var(--SEC-COLOR);
    font-weight: 400;
    margin-bottom: .5rem;
}
.svc-contacts p{
    line-height: 150%;
}
.svc-contacts a{
    text-decoration: none;
    border-bottom: 1px solid var(--MAIN-RED);
}
.svc-muted{
    color: var(--SEC-COLOR) !important;
    font-size: .9rem !important;
}

/* Хаб /uslugi/ */
.svc-index__list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.svc-index__item{
    padding: 1.75rem;
    background: var(--CARD);
    border: 1px solid #2A2A2A;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color .15s ease-in-out;
}
.svc-index__item:hover{
    border-color: #f8f8f8;
}
.svc-index__item h2{
    font-size: 1.4rem;
}
.svc-index__item h2 a{
    font-size: inherit;
    text-decoration: none;
}
.svc-index__item p{
    color: var(--SEC-COLOR);
    font-size: 1rem;
    line-height: 150%;
}
.svc-index__price{
    color: #FFF !important;
    font-size: 1.2rem !important;
    padding-top: .75rem;
    border-top: 1px solid #2A2A2A;
}
.svc-index__link{
    margin-top: auto;
    text-decoration: none;
    border-bottom: 1px solid var(--MAIN-RED);
    width: fit-content;
}
.svc-index__dev a{
    border-bottom: 1px solid var(--MAIN-RED);
    text-decoration: none;
}

@media screen and (max-width: 900px){
    .svc-hero{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .svc-hero h1{
        font-size: 32px;
    }
    .svc-block, .svc-cases, .svc-faq, .svc-related{
        margin-bottom: 3rem;
    }
    .svc-faq li{
        flex-basis: 100%;
    }
    .svc-block--muted{
        padding: 1.25rem;
    }
}
