.block.about .container {
    padding: 48px;
}

.block.about .row {
    --bs-gutter-x: 32px;
    --bs-gutter-y: 0;
}

.block.about .row > [class*="col-"] {
    display: flex;
}

.block.about .about-item {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 24px;
    text-align: center;
}

.block.about .about-item h4 {
    margin: 0 0 12px;
    line-height: 1.2;
}

.block.about .about-item p {
    margin: 0;
}

.block.services,
.block.faq {
    padding-top: var(--section-space, 60px);
    padding-bottom: var(--section-space, 60px);
}

.block.services .section-intro,
.block.faq .section-intro {
    max-width: 680px;
    margin: 0 auto var(--section-space, 60px);
    text-align: center;
}

.block.portfolio .section-intro .dev-heading__tag,
.section-intro .dev-heading__tag {
    margin-bottom: 14px;
}

.block.portfolio .section-intro h2,
.block.portfolio .section-intro .dev-heading h2,
.section-intro h2,
.section-intro .dev-heading h2 {
    margin: 0 0 14px;
}

.block.services .section-intro p,
.block.faq .section-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.82;
}

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 28px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: 0 12px 32px rgba(20, 33, 61, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 224, 98, 0.35);
    box-shadow: 0 18px 40px rgba(11, 224, 98, 0.12);
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0be062 0%, #009b3f 100%);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
}

.service-card p {
    margin: 0 0 18px;
    flex: 1;
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.86;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card__tags li {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 224, 98, 0.1);
    color: #009b3f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.services-cta {
    margin-top: var(--section-space, 60px);
    text-align: center;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 24px rgba(20, 33, 61, 0.05);
}

.faq-item .accordion {
    width: 100%;
    margin: 0;
    padding: 22px 56px 22px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
}

.faq-item .accordion::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 224, 98, 0.12);
    color: #009b3f;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item .accordion.is-open {
    color: #009b3f;
    background: rgba(11, 224, 98, 0.06);
}

.faq-item .accordion.is-open::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
    background: rgba(11, 224, 98, 0.18);
}

.faq-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item .accordion-content p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.88;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .block.about .container {
        padding: 32px;
    }

    .block.about .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 24px;
    }

    .block.about .about-item {
        padding: 20px 16px;
    }

    .block.services,
    .block.faq {
        --section-space: 48px;
    }

    .service-card {
        padding: 22px 20px 20px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .faq-item .accordion {
        padding: 18px 48px 18px 18px;
        font-size: 17px;
    }
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

[data-theme="dark"] .service-card:hover {
    border-color: rgba(11, 224, 98, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .service-card__tags li {
    background: rgba(11, 224, 98, 0.14);
    color: #0be062;
}

[data-theme="dark"] .faq-item .accordion.is-open {
    color: #0be062;
    background: rgba(11, 224, 98, 0.08);
}

[data-theme="dark"] .faq-item .accordion::after {
    color: #0be062;
}
