﻿.asoft-services-page {
    background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.07), transparent 22%), radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.07), transparent 18%), linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
    color: var(--asoft-text);
}

/* HERO - page specific only */
.asoft-inner-hero.asoft-services-hero {
}

.asoft-inner-hero-grid.asoft-services-hero-grid {
}

.asoft-inner-hero-visual.asoft-services-hero-visual {
}

.asoft-services-visual-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(226,232,240,0.92);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    position: relative;
}

    .asoft-services-visual-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.24), transparent 36%);
        pointer-events: none;
    }

.asoft-services-visual-top {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(226,232,240,0.78);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
    z-index: 1;
}

    .asoft-services-visual-top span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
    }

.asoft-services-visual-body {
    padding: 22px;
    position: relative;
    z-index: 1;
}

.asoft-services-hero-media-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.10);
}

.asoft-services-hero-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 260px;
    object-fit: cover;
}

.asoft-services-visual-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.asoft-services-kpi {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.88);
    border-radius: 18px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}

    .asoft-services-kpi small {
        display: block;
        color: #64748b;
        margin-bottom: 10px;
        font-size: 0.84rem;
    }

    .asoft-services-kpi strong {
        color: var(--asoft-primary);
        font-size: 1.2rem;
        font-weight: 900;
    }

.asoft-services-visual-lines {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(226,232,240,0.88);
    border-radius: 18px;
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

    .asoft-services-visual-lines span {
        display: block;
        height: 12px;
        border-radius: 999px;
        background: linear-gradient(90deg, #dbe7f4 0%, #f1f6fb 100%);
        margin-bottom: 14px;
    }

        .asoft-services-visual-lines span:last-child {
            margin-bottom: 0;
        }

.w-90 {
    width: 90%;
}

.w-85 {
    width: 85%;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

/* SECTIONS - page specific only */
.asoft-inner-section.asoft-services-section {
}

.asoft-inner-section.asoft-inner-section-soft.asoft-services-section.asoft-services-section-soft {
}

.asoft-services-intro,
.asoft-services-head {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

    .asoft-services-intro h2,
    .asoft-services-head h2 {
        margin: 0 0 14px;
        font-size: clamp(2rem, 4vw, 2.95rem);
        line-height: 1.18;
        font-weight: 900;
        letter-spacing: -0.02em;
        color: var(--asoft-primary);
    }

    .asoft-services-intro p {
        margin: 0;
        color: var(--asoft-text-soft);
        line-height: 1.95;
        font-size: 1.05rem;
    }

/* AI FEATURE */
.asoft-inner-section.asoft-services-ai-section {
    position: relative;
    padding-top: 28px;
    padding-bottom: 104px;
    overflow: hidden;
}

    .asoft-inner-section.asoft-services-ai-section::before {
        content: "";
        position: absolute;
        top: 10%;
        right: -130px;
        width: 360px;
        height: 360px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 70%);
        pointer-events: none;
    }

    .asoft-inner-section.asoft-services-ai-section::after {
        content: "";
        position: absolute;
        bottom: 4%;
        left: -130px;
        width: 360px;
        height: 360px;
        background: radial-gradient(circle, rgba(14, 165, 233, 0.10), transparent 70%);
        pointer-events: none;
    }

.asoft-services-ai-box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    background: radial-gradient(circle at 16% 18%, rgba(56, 189, 248, 0.14), transparent 22%), radial-gradient(circle at 82% 24%, rgba(37, 99, 235, 0.16), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.94) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

    .asoft-services-ai-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 34%);
        pointer-events: none;
    }

.asoft-services-ai-content,
.asoft-services-ai-visual {
    position: relative;
    z-index: 1;
}

.asoft-services-ai-content {
    padding: 18px 8px 18px 0;
}

    .asoft-services-ai-content h2 {
        margin: 0 0 18px;
        font-size: clamp(2.1rem, 4vw, 3.15rem);
        font-weight: 900;
        line-height: 1.16;
        letter-spacing: -0.02em;
        color: var(--asoft-primary);
    }

    .asoft-services-ai-content p {
        max-width: 760px;
        margin: 0 0 24px;
        font-size: 1.06rem;
        line-height: 2;
        color: var(--asoft-text-soft);
    }

.asoft-services-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0 0 26px;
}

.asoft-services-ai-mini {
    position: relative;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

    .asoft-services-ai-mini::before {
        content: "";
        position: absolute;
        top: 22px;
        right: 0;
        width: 4px;
        height: 34px;
        border-radius: 999px 0 0 999px;
        background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
    }

    .asoft-services-ai-mini strong {
        display: block;
        margin-bottom: 7px;
        color: var(--asoft-primary);
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.45;
    }

    .asoft-services-ai-mini span {
        display: block;
        color: var(--asoft-text-soft);
        line-height: 1.8;
        font-size: 0.95rem;
    }

.asoft-services-ai-visual {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asoft-services-ai-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 430px;
    border-radius: 30px;
    overflow: hidden;
    background: radial-gradient(circle at 28% 20%, rgba(14, 165, 233, 0.22), transparent 28%), radial-gradient(circle at 78% 28%, rgba(37, 99, 235, 0.24), transparent 24%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 56%, #0284c7 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.18);
}

    .asoft-services-ai-image-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 42%);
        pointer-events: none;
        z-index: 1;
    }

    .asoft-services-ai-image-frame::after {
        content: "";
        position: absolute;
        inset: 22px;
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.14);
        pointer-events: none;
        z-index: 2;
    }

.asoft-services-ai-main-image {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.asoft-services-ai-placeholder {
    position: relative;
    z-index: 3;
    min-height: 430px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #ffffff;
}

.asoft-services-ai-icon {
    width: 86px;
    height: 86px;
    border-radius: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 18px 34px rgba(15, 23, 42, 0.18);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.asoft-services-ai-placeholder strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.4;
}

.asoft-services-ai-placeholder span {
    display: block;
    max-width: 360px;
    color: rgba(255,255,255,0.82);
    line-height: 1.85;
}

.asoft-services-ai-floating-card {
    position: absolute;
    z-index: 4;
    min-width: 158px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(226, 232, 240, 0.84);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
}

    .asoft-services-ai-floating-card small {
        display: block;
        margin-bottom: 6px;
        color: var(--asoft-text-faint);
        font-size: 0.78rem;
        font-weight: 800;
        direction: ltr;
        text-align: right;
    }

    .asoft-services-ai-floating-card strong {
        display: block;
        color: var(--asoft-primary);
        font-size: 1.02rem;
        font-weight: 900;
    }

.asoft-services-ai-floating-card-top {
    top: 34px;
    right: -12px;
}

.asoft-services-ai-floating-card-bottom {
    bottom: 34px;
    left: -12px;
}

/* STACK */
.asoft-services-stack {
    display: grid;
    gap: 24px;
}

.asoft-service-block {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 20px;
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

    .asoft-service-block::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 34%);
        pointer-events: none;
    }

    .asoft-service-block:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 46px rgba(15, 23, 42, 0.10);
        border-color: rgba(37, 99, 235, 0.18);
    }

.asoft-service-block-featured {
    background: radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.12), transparent 22%), radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.13), transparent 24%), rgba(255,255,255,0.94);
    border-color: rgba(37, 99, 235, 0.20);
}

.asoft-service-index {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #081225 0%, #1d4ed8 58%, #0ea5e9 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
    position: relative;
    overflow: hidden;
}

    .asoft-service-index::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 42%);
        pointer-events: none;
    }

.asoft-service-content h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--asoft-primary);
    line-height: 1.35;
}

.asoft-service-content > p {
    margin: 0 0 18px;
    color: var(--asoft-text-soft);
    line-height: 1.95;
    font-size: 1rem;
}

.asoft-service-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 8px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    font-size: 0.84rem;
    font-weight: 800;
    border: 1px solid rgba(59,130,246,0.10);
}

.asoft-service-media {
    position: relative;
    margin: 0 0 18px;
    min-height: 220px;
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 18%, rgba(14, 165, 233, 0.20), transparent 26%), radial-gradient(circle at 80% 24%, rgba(37, 99, 235, 0.22), transparent 24%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #0284c7 100%);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

    .asoft-service-media::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 44%);
        pointer-events: none;
        z-index: 1;
    }

.asoft-service-media-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
}

.asoft-service-media-placeholder {
    position: relative;
    margin: 0 0 18px;
    min-height: 180px;
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 18%, rgba(14, 165, 233, 0.20), transparent 26%), radial-gradient(circle at 80% 24%, rgba(37, 99, 235, 0.22), transparent 24%), linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #0284c7 100%);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

    .asoft-service-media-placeholder::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 44%);
        pointer-events: none;
    }

.asoft-service-media-placeholder-content {
    position: relative;
    z-index: 1;
    min-height: 180px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: #ffffff;
}

    .asoft-service-media-placeholder-content strong {
        display: block;
        font-size: 1.2rem;
        font-weight: 900;
    }

    .asoft-service-media-placeholder-content span {
        display: block;
        color: rgba(255,255,255,0.78);
        line-height: 1.7;
    }

.asoft-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.asoft-service-mini {
    background: linear-gradient(180deg, rgba(248,250,252,0.96) 0%, rgba(241,245,249,0.92) 100%);
    border: 1px solid rgba(226,232,240,0.88);
    border-radius: 18px;
    padding: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .asoft-service-mini:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
        border-color: rgba(37, 99, 235, 0.16);
    }

    .asoft-service-mini strong {
        display: block;
        margin-bottom: 10px;
        color: var(--asoft-primary);
        font-size: 1rem;
        font-weight: 800;
    }

    .asoft-service-mini p {
        margin: 0;
        color: var(--asoft-text-soft);
        line-height: 1.85;
    }

/* WHY */
.asoft-services-why-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.asoft-why-card {
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

    .asoft-why-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 34%);
    }

    .asoft-why-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 40px rgba(15, 23, 42, 0.09);
        border-color: rgba(37, 99, 235, 0.18);
    }

.asoft-why-card-media {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}

.asoft-why-card-image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.asoft-why-card h3 {
    margin: 0 0 12px;
    color: var(--asoft-primary);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.asoft-why-card p {
    margin: 0;
    color: var(--asoft-text-soft);
    line-height: 1.85;
    position: relative;
    z-index: 1;
}

/* CTA - page specific only */
.asoft-inner-cta-wrap.asoft-services-cta-wrap {
}

.asoft-inner-cta.asoft-services-cta {
    position: relative;
    overflow: hidden;
}

.asoft-services-cta-visual-layer {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
}

.asoft-services-cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.asoft-services-cta-content {
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .asoft-services-why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .asoft-services-ai-box {
        grid-template-columns: 1fr 1fr;
    }

    .asoft-services-ai-floating-card-top {
        right: 18px;
    }

    .asoft-services-ai-floating-card-bottom {
        left: 18px;
    }
}

@media (max-width: 991.98px) {
    .asoft-service-grid,
    .asoft-services-ai-grid {
        grid-template-columns: 1fr;
    }

    .asoft-services-visual-kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .asoft-services-why-grid,
    .asoft-service-block,
    .asoft-services-ai-box {
        grid-template-columns: 1fr;
    }

    .asoft-service-block,
    .asoft-why-card {
        padding: 22px;
    }

    .asoft-service-index {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .asoft-services-hero-image {
        min-height: 180px;
        max-height: 200px;
    }

    .asoft-why-card-image {
        height: 130px;
    }

    .asoft-services-cta-visual-layer {
        opacity: 0.12;
    }

    .asoft-inner-section.asoft-services-ai-section {
        padding-top: 18px;
        padding-bottom: 72px;
    }

    .asoft-services-ai-box {
        padding: 22px;
        border-radius: 26px;
    }

    .asoft-services-ai-content {
        padding: 0;
    }

    .asoft-services-ai-visual,
    .asoft-services-ai-image-frame,
    .asoft-services-ai-placeholder {
        min-height: 320px;
    }

    .asoft-services-ai-main-image {
        min-height: 320px;
    }

    .asoft-services-ai-floating-card {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 14px;
    }

    .asoft-services-ai-floating-card-top,
    .asoft-services-ai-floating-card-bottom {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .asoft-service-media,
    .asoft-service-media-image,
    .asoft-service-media-placeholder,
    .asoft-service-media-placeholder-content {
        min-height: 150px;
    }
}
