.service-hero {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 64px;
    background: #fff;
}

.service-hero::before {
    display: none;
}

.service-hero::after {
    display: none;
}

.service-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.service-hero__content h1 {
    font-size: clamp(2.2rem, 4.7vw, 4rem);
    margin-bottom: 16px;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}

.service-hero__content p {
    max-width: 62ch;
}

.service-hero + .section-soft-bg .section-head h2,
.service-hero + .section-soft-bg + .section-bg-image .section-head h2,
.service-hero + .section-soft-bg + .section-bg-image + .section-padding .section-head h2,
.service-hero + .section-soft-bg + .section-bg-image + .section-padding + .section-soft-bg .section-head h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.section-bg-image.parallax-section:not(.faq)::before {
    background:
        linear-gradient(180deg, rgba(6, 12, 24, 0.68), rgba(6, 12, 24, 0.56)),
        linear-gradient(135deg, rgba(10, 16, 32, 0.22), rgba(180, 110, 60, 0.10));
}

.section-bg-image.parallax-section:not(.faq) .section-head h2,
.section-bg-image.parallax-section:not(.faq) .section-head p {
    color: #f8fafc;
}

.section-bg-image.parallax-section:not(.faq) .section-head p {
    color: rgba(226, 232, 240, 0.82);
}

.service-hero__visual {
    position: relative;
}

.service-hero__visual::after {
    display: none;
}

.service-hero__visual img {
    height: 560px;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 18px;
}

.switcher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cards-4>* {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.cards-4>*::before {
    content: none;
}

.cards-4>* > * {
    position: relative;
    z-index: 1;
}

.cards-4 i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-title);
    animation: none;
}

.cards-4>*:hover i,
.cards-4>*:focus-within i {
    animation: none;
}

.cards-4>*:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    border-color: rgba(7, 18, 37, 0.18);
}

.cards-4>*:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.cards-2 {
    counter-reset: categoryStats;
}

.cards-2>* {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.cards-2>*::before {
    content: none;
}

.cards-2>*::after {
    content: none;
}

.cards-2>*:hover {
    transform: translateY(-2px);
    border-color: rgba(7, 18, 37, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.cards-2 h3,
.cards-2 p,
.cards-2 i,
.cards-2 span {
    position: relative;
    z-index: 1;
}

.cards-2 i {
    animation: none;
}

.cards-2 h3 {
    color: var(--color-title);
}

.cards-2 p {
    color: var(--color-text-soft);
}

.switcher-card {
    position: relative;
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    overflow: hidden;
}

.switcher-card::before {
    content: none;
}

.switcher-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    border-color: rgba(7, 18, 37, 0.18);
}

.switcher-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-title);
    margin-bottom: 18px;
    font-size: 1rem;
    animation: none;
}

.switcher-card h3 {
    margin-bottom: 10px;
}

.checklist-box {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.26);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111827;
    position: relative;
    flex-shrink: 0;
}

.checklist-item span::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.scenario-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scenario-card {
    position: relative;
    min-height: 230px;
    padding: 28px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.scenario-card:hover {
    transform: translateY(-2px);
    border-color: rgba(7, 18, 37, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.scenario-card:nth-child(even):hover {
    transform: translateY(-2px);
}

.scenario-card--large {
    background: #fff;
    color: inherit;
}

.scenario-card::after {
    content: none;
}

.scenario-card::before {
    content: none;
}

.scenario-card--large::before {
    content: none;
}

.scenario-card>* {
    position: relative;
    z-index: 2;
}

.scenario-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-title);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    animation: none;
}

.scenario-card--large i {
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-title);
}

.scenario-card h3 {
    margin-bottom: 10px;
    color: var(--color-title);
}

.scenario-card p {
    color: var(--color-text-soft);
}

.scenario-card--large h3 {
    color: var(--color-title);
}

.scenario-card--large p {
    color: var(--color-text-soft);
}

.faq-grid {
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq.section-bg-image::before {
    background:
        linear-gradient(180deg, rgba(6, 12, 24, 0.76), rgba(6, 12, 24, 0.62)),
        linear-gradient(135deg, rgba(10, 16, 32, 0.20), rgba(180, 110, 60, 0.08));
}

.faq .section-copy h2 {
    color: #f8fafc;
}

.faq-item {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.22);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    padding: 18px 20px;
}

.faq-item.active {
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.24);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-weight: 800;
    color: var(--color-title);
    line-height: 1.3;
    vertical-align: middle;
    padding: 4px 0;
}

.faq-question i {
    transition: transform 0.35s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 220px;
    margin-top: 14px;
}

.faq-answer p {
    color: #64748b;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.cta-box::before {
    content: none;
}

.cta-box h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    max-width: 740px;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

@media (max-width: 991px) {

    .service-hero__grid,
    .cards-4,
    .switcher-grid,
    .scenario-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .scenario-card:hover,
    .scenario-card:nth-child(even):hover {
        transform: translateY(-2px);
    }

    .service-hero__visual img {
        height: 460px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .service-hero {
        padding-top: 90px;
        padding-bottom: 56px;
    }

    .service-hero__grid,
    .cards-4,
    .switcher-grid,
    .scenario-gallery {
        grid-template-columns: 1fr;
    }

    .service-hero__visual img {
        height: 320px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .checklist-box,
    .cta-box {
        padding: 20px 16px;
    }

    .scenario-card {
        min-height: 200px;
        padding: 22px 18px;
    }

    .cards-4>*:hover,
    .cards-4>*:focus-within {
        transform: translateY(-1px);
    }

    .cards-2>* {
        padding: 20px 16px;
    }

    .scenario-card:hover,
    .scenario-card:nth-child(even):hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scenario-card {
        transition: none;
    }

    .cards-4>* {
        transition: none;
    }

    .cards-4>*::before {
        animation: none;
    }

    .cards-2>*::before,
    .switcher-card::before,
    .scenario-card::before,
    .cards-2 i,
    .cards-4 i,
    .switcher-card i,
    .scenario-card i {
        animation: none;
    }

    .scenario-card:hover,
    .scenario-card:nth-child(even):hover {
        transform: none;
    }

    .cards-4>*:hover,
    .cards-4>*:focus-within {
        transform: none;
    }
}

/* Shared service-page modernization */
.cards-4>*,
.cards-2>*,
.switcher-card,
.checklist-box,
.scenario-card {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cards-4>*::before,
.cards-2>*::before,
.cards-2>*::after,
.switcher-card::before,
.scenario-card::before,
.scenario-card::after {
    content: none;
}

.cards-4>*:hover,
.cards-4>*:focus-within,
.cards-2>*:hover,
.switcher-card:hover,
.scenario-card:hover,
.scenario-card:nth-child(even):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cards-2 p,
.checklist-item,
.scenario-card p {
    color: var(--color-text-soft);
}

.cards-2>* {
    padding-top: 26px;
}

.switcher-card i,
.cards-4 i,
.cards-2 i {
    background: rgba(17, 24, 39, 0.05);
    animation: none;
}

.checklist-box {
    background: #fff;
}

.checklist-item {
    border-bottom-color: var(--color-border);
}
