/* Hero */

.pseo-hero {
    position: relative;
    min-height: 520px;
}

.pseo-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0, 169, 208, 0.22) 0%, rgba(0, 169, 208, 0) 60%),
        linear-gradient(180deg, rgba(12, 16, 18, 0.35) 0%, rgba(12, 16, 18, 0.78) 100%);
    pointer-events: none;
}

.pseo-hero .parallax-content {
    position: relative;
    z-index: 2;
    min-height: 520px;
}

.pseo-hero .parallax-header__inner {
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.pseo-hero__kicker {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #7fdcf0;
}

.pseo-hero__meta {
    margin: 18px 0 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.pseo-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 22px;
    margin: 26px 0 22px;
}

.pseo-hero__actions .button {
    margin: 0;
}

.pseo-hero .pseo-hero__ghost,
.pseo-hero .pseo-hero__ghost:active,
.pseo-hero .pseo-hero__ghost:focus {
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pseo-hero .pseo-hero__ghost:hover {
    border-color: #00A9D0;
    background: rgba(0, 169, 208, 0.12);
    color: #fff;
}

/* Вступление с фото сбоку */

.pseo-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
    gap: 32px 56px;
    align-items: center;
}

.pseo-lead--solo {
    grid-template-columns: minmax(0, 68ch);
}

.pseo-lead__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pseo-lead__copy .lead-form__kicker {
    margin: 0;
}

.pseo-lead__photo {
    position: relative;
    margin: 0 18px 18px 0;
}

.pseo-lead__photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid #00A9D0;
    z-index: 0;
}

.pseo-lead__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 24px 48px -24px rgba(12, 16, 18, 0.45);
}

.pseo-intro__text,
.pseo-prose {
    margin: 0;
    max-width: none;
    font-size: 18px;
    line-height: 1.65;
    color: #1a1a1a;
}

.pseo-lead--solo .pseo-intro__text,
.pseo-narrow .pseo-prose {
    max-width: 68ch;
}

.pseo-solution .pseo-prose + .pseo-prose {
    margin-top: 16px;
}

.pseo-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.pseo-facts div {
    padding: 16px 16px 0 0;
}

.pseo-facts div + div {
    padding-left: 16px;
    border-left: 1px solid rgba(26, 26, 26, 0.1);
}

.pseo-facts dt {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00A9D0;
    font-weight: 600;
}

.pseo-facts dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Общие блоки */

.pseo-band {
    background: #f4f8f9;
}

.pseo-h2 {
    margin: 0 0 26px;
    font-size: 34px;
    line-height: 1.2;
}

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

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

.pseo-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pseo-card {
    position: relative;
    padding: 24px 24px 22px 28px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pseo-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #00A9D0;
}

.pseo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -20px rgba(12, 16, 18, 0.35);
}

.pseo-card--numbered {
    padding-top: 22px;
}

.pseo-card__num {
    display: block;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 169, 208, 0.28);
}

.pseo-card h3,
.pseo-steps h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.pseo-card p,
.pseo-steps p,
.pseo-solution__side p,
.pseo-faq p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.55;
}

.pseo-card--feature::before {
    display: none;
}

.pseo-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(0, 169, 208, 0.1);
    color: #00A9D0;
}

.pseo-card__icon .fa {
    font-size: 19px;
    line-height: 1;
}

.pseo-solution,
.pseo-links {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
    gap: 32px;
    align-items: start;
}

.pseo-solution__side {
    position: sticky;
    top: 110px;
    padding: 28px 28px 24px 32px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    box-shadow: 0 20px 40px -28px rgba(12, 16, 18, 0.4);
}

.pseo-solution__side::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #00A9D0;
}

.pseo-solution__side > p {
    margin-bottom: 18px;
}

.pseo-solution__side .task-sheet__link {
    margin-bottom: 22px;
}

.pseo-solution__side .button {
    margin-top: 0;
}

/* Похожие проекты */

.pseo-cases__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
}

.pseo-cases__head .pseo-h2 {
    margin: 0;
}

.pseo-cases__all {
    font-weight: 700;
    white-space: nowrap;
}

.pseo-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pseo-case,
.pseo-case:active,
.pseo-case:focus {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    color: #1a1a1a;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pseo-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -24px rgba(12, 16, 18, 0.45);
    color: #1a1a1a;
}

/* Обложки работ сняты 1920×991: рамка под эту пропорцию, остальные вписываются без обрезки логотипов. */
.pseo-case__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1920 / 991;
    background: #eef3f5;
}

.pseo-case__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.pseo-case:hover .pseo-case__image img {
    transform: scale(1.04);
}

.pseo-case__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 20px 22px 22px;
}

.pseo-case__type {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00A9D0;
    font-weight: 600;
}

.pseo-case__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.pseo-case__more {
    margin-top: auto;
    padding-top: 6px;
    font-weight: 700;
    color: #00A9D0;
}

.pseo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pseo-tag {
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f5f6;
    font-size: 12px;
    color: #41516A;
}

/* Шаги */

.pseo-steps {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.pseo-steps::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 24px;
    height: 2px;
    background: linear-gradient(90deg, #00A9D0 0%, rgba(0, 169, 208, 0.15) 100%);
}

.pseo-steps li {
    position: relative;
    display: block;
}

.pseo-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border: 2px solid #00A9D0;
    border-radius: 50%;
    background: #fff;
    font-size: 15px;
    font-weight: 800;
    color: #00A9D0;
}

.pseo-steps li:first-child span {
    background: #00A9D0;
    color: #fff;
}

/* Цена */

.pseo-price {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 32px 56px;
    align-items: center;
    padding: 44px 48px;
    background: #1a2126;
    background-image: radial-gradient(ellipse at 100% 0%, rgba(0, 169, 208, 0.28) 0%, rgba(0, 169, 208, 0) 55%);
    color: #fff;
}

.pseo-price .pseo-h2 {
    margin-bottom: 14px;
    color: #fff;
}

.pseo-price__value {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.pseo-price__comment {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.pseo-price__main .button {
    margin: 0;
}

.pseo-price__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-price__list li {
    position: relative;
    display: block;
    padding: 11px 0 11px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.pseo-price__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 16px;
    width: 12px;
    height: 7px;
    border-left: 2px solid #00A9D0;
    border-bottom: 2px solid #00A9D0;
    transform: rotate(-45deg);
}

/* FAQ */

.pseo-narrow {
    max-width: 820px;
}

.pseo-faq details {
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.pseo-faq details:last-child {
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.pseo-faq summary {
    position: relative;
    padding: 18px 40px 18px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    color: #1a1a1a;
    list-style: none;
}

.pseo-faq summary::-webkit-details-marker {
    display: none;
}

.pseo-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: #00A9D0;
    transition: transform 0.2s;
}

.pseo-faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.pseo-faq summary:hover {
    color: #00A9D0;
}

.pseo-faq p {
    padding: 0 40px 18px 0;
}

/* Перелинковка */

.pseo-links h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.pseo-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-links li {
    display: block;
    margin: 0;
}

.pseo-links a {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.pseo-links a:hover {
    border-color: #00A9D0;
    color: #00A9D0;
}

.pseo-cta {
    font-size: 20px;
    font-weight: 600;
}

.pseo-credit {
    margin: 22px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #9a9a9a;
}

.pseo-credit a,
.pseo-credit span {
    color: inherit;
}

.pseo-credit a + a,
.pseo-credit span + a,
.pseo-credit a + span {
    margin-left: 14px;
}

.pseo-links__hubs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 0 0 28px;
    font-weight: 700;
}

.pseo-links--single {
    grid-template-columns: 1fr;
}

/* Страница работы из портфолио */

.pseo-lead__photo--wide img {
    aspect-ratio: auto;
    object-fit: contain;
    max-height: 560px;
}

.pseo-facts dd a {
    color: #1a1a1a;
}

.pseo-facts dd a:hover {
    color: #00A9D0;
}

.work-story {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-story h3 {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00A9D0;
}

.work-story p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #1a1a1a;
}

.work-story .pseo-list li {
    padding-top: 8px;
    padding-bottom: 8px;
}

.work-story .pseo-list li::before {
    top: 15px;
}

.work-story__result {
    position: relative;
    padding: 18px 22px 18px 26px;
    background: #f4f8f9;
}

.work-story__result::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #00A9D0;
}

.work-screen {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(12, 16, 18, 0.45);
}

.work-screen + .work-screen {
    margin-top: 48px;
}

.work-screen__bar {
    display: block;
    width: 100%;
}

.work-screen__viewport {
    position: relative;
    max-height: 900px;
    overflow: hidden;
}

.work-screen__viewport img {
    display: block;
    width: 100%;
    height: auto;
}

.work-screen:not(.is-open) .work-screen__viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(244, 248, 249, 0) 0%, #f4f8f9 100%);
}

.work-screen.is-short .work-screen__viewport::after,
.work-screen.is-short .work-screen__toggle {
    display: none;
}

.work-screen.is-open .work-screen__viewport {
    max-height: none;
}

.work-screen__toggle {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 2;
    transform: translateX(-50%);
    padding: 12px 26px;
    border: 0;
    background: #00A9D0;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(0, 169, 208, 0.8);
}

.work-screen.is-open .work-screen__toggle {
    position: sticky;
    display: block;
    bottom: 16px;
    margin: -60px auto 16px;
    transform: none;
}

/* Каталог /sayty и хабы ниш */

.pseo-hero--catalog,
.pseo-hero--catalog .parallax-content,
.pseo-hero--catalog .parallax-header__inner {
    min-height: 440px;
}

.pseo-niches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pseo-niche {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: box-shadow 0.25s;
}

.pseo-niche:hover {
    box-shadow: 0 24px 44px -24px rgba(12, 16, 18, 0.4);
}

.pseo-niche__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a2126 0%, #0f5f73 100%);
}

.pseo-niche__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pseo-niche:hover .pseo-niche__image img {
    transform: scale(1.04);
}

.pseo-niche__count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 12px;
    background: rgba(12, 16, 18, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.pseo-niche__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px 22px 22px;
}

.pseo-niche h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.25;
}

.pseo-niche h3 a {
    color: #1a1a1a;
}

.pseo-niche h3 a:hover {
    color: #00A9D0;
}

.pseo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-chips li {
    display: block;
}

.pseo-chips a {
    display: inline-block;
    padding: 4px 11px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 20px;
    font-size: 13px;
    color: #41516A;
    transition: border-color 0.2s, color 0.2s;
}

.pseo-chips a:hover {
    border-color: #00A9D0;
    color: #00A9D0;
}

.pseo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 56px;
}

.pseo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-list li {
    position: relative;
    display: block;
    padding: 12px 0 12px 32px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    font-size: 17px;
    color: #1a1a1a;
}

.pseo-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 12px;
    height: 7px;
    border-left: 2px solid #00A9D0;
    border-bottom: 2px solid #00A9D0;
    transform: rotate(-45deg);
}

.pseo-list--minus li::before {
    top: 24px;
    width: 14px;
    height: 0;
    border-left: 0;
    border-bottom: 2px solid #c8d2d6;
    transform: none;
}

.pseo-cities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pseo-city,
.pseo-city:active,
.pseo-city:focus {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px 18px 24px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    color: #1a1a1a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pseo-city::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #00A9D0;
}

.pseo-city:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -20px rgba(12, 16, 18, 0.35);
    color: #1a1a1a;
}

.pseo-city__name {
    font-size: 18px;
    font-weight: 700;
}

.pseo-city__region {
    font-size: 13px;
    color: #7a8793;
}

.pseo-city__price {
    margin-top: 6px;
    font-weight: 700;
    color: #00A9D0;
}

.pseo-catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
    margin-top: 28px;
}

.pseo-catalog h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.pseo-catalog ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-catalog li + li {
    margin-top: 8px;
}

.pseo-catalog a {
    color: #1a1a1a;
    font-weight: 700;
}

.pseo-catalog a:hover {
    color: #00A9D0;
}

.pseo-pages {
    margin-top: 32px;
}

.pseo-pages .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pseo-pages .pagination li {
    display: block;
}

.pseo-pages .pagination a,
.pseo-pages .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    color: #1a1a1a;
    text-decoration: none;
}

.pseo-pages .pagination .active span {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.pseo-pages .pagination a:hover {
    border-color: #00A9D0;
    color: #00A9D0;
}

@media (max-width: 991px) {
    .pseo-grid--features,
    .pseo-grid--four,
    .pseo-steps,
    .pseo-links,
    .pseo-cases,
    .pseo-niches {
        grid-template-columns: 1fr 1fr;
    }

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

    .pseo-links--single {
        grid-template-columns: 1fr;
    }

    .pseo-steps::before {
        display: none;
    }

    .pseo-solution,
    .pseo-price {
        grid-template-columns: 1fr;
    }

    .pseo-solution__side {
        position: relative;
        top: 0;
    }

    .pseo-lead {
        gap: 28px 36px;
    }
}

@media (max-width: 767px) {
    .pseo-grid,
    .pseo-grid--features,
    .pseo-grid--four,
    .pseo-steps,
    .pseo-links,
    .pseo-cases,
    .pseo-lead,
    .pseo-catalog,
    .pseo-niches,
    .pseo-duo {
        grid-template-columns: 1fr;
    }

    .pseo-cities {
        grid-template-columns: 1fr 1fr;
    }

    .pseo-h2 {
        font-size: 26px;
    }

    .pseo-lead__photo {
        order: -1;
        margin: 0 12px 12px 0;
    }

    .pseo-lead__photo::before {
        inset: 12px -12px -12px 12px;
    }

    .pseo-lead__photo img {
        aspect-ratio: 16 / 10;
        max-height: 360px;
    }

    .pseo-lead__photo--wide img {
        aspect-ratio: auto;
    }

    .pseo-facts {
        grid-template-columns: 1fr;
    }

    .pseo-facts div,
    .pseo-facts div + div {
        padding: 12px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    }

    .pseo-hero,
    .pseo-hero .parallax-content,
    .pseo-hero .parallax-header__inner {
        min-height: 420px;
    }

    .pseo-hero__meta {
        font-size: 16px;
    }

    .pseo-cases__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pseo-price {
        padding: 32px 24px;
    }

    .pseo-price__value {
        font-size: 38px;
    }
}
