.integral-solutions-page {
    background: #f5f6f8;
    color: #161a22;
}

.integral-solutions-section {
    min-height: calc(100vh - var(--nav-height));
    margin-top: 0;
    padding: clamp(2rem, 3vw, 3rem) 0 clamp(5rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 12% 14%, rgba(231, 62, 29, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f5f6f8 44%, #eef1f5 100%);
}

.datasystem-integral-solutions {
    scroll-margin-top: var(--nav-height);
}

.integral-solutions-header {
    max-width: 48rem;
    margin: 0 auto clamp(2rem, 4vw, 3.2rem);
    text-align: center;
}

.integral-solutions-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e73e1d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.integral-solutions-kicker::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #e73e1d;
}

.integral-solutions-title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: 0;
    color: #1f232b;
    margin: 0;
}

.integral-solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.integral-solution-card {
    position: relative;
    min-height: 12.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(3, 23, 59, 0.1);
    border-radius: 0.75rem;
    padding: 1.35rem;
    box-shadow: 0 12px 28px -22px rgba(3, 23, 59, 0.55);
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease, min-height 0.32s ease;
}

.integral-solution-card::after {
    content: "";
    position: absolute;
    inset: auto 1.35rem 1rem 1.35rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(231, 62, 29, 0.45), transparent);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.integral-solution-card:hover,
.integral-solution-card:focus {
    min-height: 22rem;
    justify-content: flex-start;
    background: #03173b;
    transform: translateY(-0.45rem);
    border-color: #03173b;
    box-shadow: 0 30px 46px -22px rgba(3, 23, 59, 0.65);
    outline: none;
}

.integral-solution-card:hover::after,
.integral-solution-card:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

.integral-solution-card:hover::after,
.integral-solution-card:focus::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent);
}

.integral-solution-number {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: rgba(231, 62, 29, 0.18);
    margin-bottom: 0.8rem;
}

.integral-solution-title {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.32;
    font-weight: 600;
    color: #2b3039;
    margin: 0;
    max-width: 21rem;
}

.integral-solution-card:hover .integral-solution-number,
.integral-solution-card:focus .integral-solution-number {
    color: rgba(255, 255, 255, 0.22);
}

.integral-solution-card:hover .integral-solution-title,
.integral-solution-card:focus .integral-solution-title {
    color: #ffffff;
}

.integral-solution-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(0.7rem);
    margin-top: 0;
    padding-top: 0;
    transition: max-height 0.36s ease, opacity 0.3s ease, transform 0.32s ease, margin-top 0.3s ease, padding-top 0.3s ease;
}

.integral-solution-detail p {
    color: #555f6f;
    font-size: 0.94rem;
    line-height: 1.68;
    margin: 0;
}

.integral-solution-card:hover .integral-solution-detail,
.integral-solution-card:focus .integral-solution-detail {
    max-height: 32rem;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.28);
}

.integral-solution-card:hover .integral-solution-detail p,
.integral-solution-card:focus .integral-solution-detail p {
    color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 768px) {
    .integral-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .integral-solutions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

@media (max-width: 991.98px), (hover: none), (pointer: coarse) {
    .integral-solution-card {
        min-height: auto;
        justify-content: flex-start;
    }

    .integral-solution-detail {
        max-height: none;
        opacity: 1;
        transform: none;
        margin-top: 0.95rem;
        padding-top: 0.95rem;
        border-top: 1px dashed rgba(231, 62, 29, 0.26);
    }
}
