
/* OUR EXPERTISE SECTION */

.sn-expertise {
    position: relative;
    padding: 85px 20px;
    background: #f5f8fc;
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
}

.sn-expertise__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */

.sn-expertise__header {
    margin-bottom: 38px;
}

.sn-expertise__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #1673e6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.sn-expertise__eyebrow span {
    width: 25px;
    height: 2px;
    background: #1673e6;
}

.sn-expertise__heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.sn-expertise__heading-row h2 {
    max-width: 700px;
    margin: 0 0 14px;
    color: #10223e;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.sn-expertise__heading-row h2 span {
    color: #1673e6;
}

.sn-expertise__subtitle {
    max-width: 590px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.sn-expertise__link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border: 1px solid #d5e3f5;
    border-radius: 8px;
    color: #10223e;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sn-expertise__link span {
    color: #1673e6;
    font-size: 18px;
}

.sn-expertise__link:hover {
    border-color: #1673e6;
    color: #1673e6;
    transform: translateY(-3px);
}

/* GRID */

.sn-expertise__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.expertise-card {
    position: relative;
    display: flex;
    min-height: 265px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #e5edf7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(16, 34, 62, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    border-color: #b8d6ff;
    box-shadow: 0 18px 38px rgba(16, 34, 62, 0.09);
}

.expertise-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}

.expertise-card__icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf5ff;
    font-size: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.expertise-card:hover .expertise-card__icon {
    background: #dcecff;
    transform: scale(1.05);
}

.expertise-card__number {
    color: #a0aec0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.expertise-card h3 {
    margin: 0 0 10px;
    color: #10223e;
    font-size: 18px;
    font-weight: 800;
}

.expertise-card__description {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.expertise-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-right: 28px;
}

.expertise-card__tags span {
    padding: 6px 9px;
    border-radius: 5px;
    color: #47617f;
    background: #f2f6fb;
    font-size: 10px;
    font-weight: 700;
}

.expertise-card__arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1673e6;
    background: #edf5ff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expertise-card__arrow:hover {
    color: #fff;
    background: #1673e6;
}

/* BOTTOM CTA */

.sn-expertise__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
    padding: 19px;
    border: 1px solid #dce9fa;
    border-radius: 10px;
    background: #edf5ff;
    text-align: center;
}

.sn-expertise__bottom p {
    margin: 0;
    color: #52657e;
    font-size: 13px;
}

.sn-expertise__bottom a {
    color: #1269d3;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.sn-expertise__bottom a span {
    margin-left: 4px;
}

/* REVEAL ANIMATION */

.reveal-expertise {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-expertise.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 900px) {
    .sn-expertise {
        padding: 70px 20px;
    }

    .sn-expertise__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .expertise-card {
        min-height: 250px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .sn-expertise {
        padding: 55px 16px;
    }

    .sn-expertise__header {
        margin-bottom: 27px;
    }

    .sn-expertise__heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .sn-expertise__heading-row h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .sn-expertise__subtitle {
        font-size: 13px;
        line-height: 1.7;
    }

    .sn-expertise__link {
        padding: 11px 15px;
        font-size: 12px;
    }

    .sn-expertise__grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .expertise-card {
        min-height: auto;
        padding: 21px;
    }

    .expertise-card__top {
        margin-bottom: 16px;
    }

    .expertise-card h3 {
        font-size: 17px;
    }

    .expertise-card__description {
        font-size: 12px;
    }

    .expertise-card__tags {
        padding-right: 30px;
    }

    .sn-expertise__bottom {
        flex-direction: column;
        margin-top: 25px;
        padding: 16px 12px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .reveal-expertise,
    .expertise-card,
    .expertise-card__icon {
        transition: none;
        transform: none;
    }

    .reveal-expertise {
        opacity: 1;
    }
}