/* ==========================================================================
   Home — "OUR SERVICES" / Business Verticals (tabbed)
   Figma: naDmoRxQbZWeyxxvqBY4eb / Home / node 1:873
   ========================================================================== */

.home-services {
    background: #e6eeff;
    padding: 36px 0 55px;
}

/* Header ---------------------------------------------------------------- */

.home-services__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.home-services__title {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 700;
    letter-spacing: -0.32px;
    text-transform: uppercase;
    color: #1c1b1b;
}

.home-services__subtitle {
    padding-bottom: 8px;
    font-size: 24px;
    line-height: 31.2px;
    font-weight: 600;
    color: #875200;
}

.home-services__rule {
    display: block;
    width: 96px;
    height: 6px;
    background: #875200;
}

/* Tabs ------------------------------------------------------------------ */

.home-services__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-top: 38px;
}

.home-services__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 33px;
    border: 1px solid #c6c5d3;
    border-radius: 8px;
    background: var(--gg-white);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1.6px;
    text-align: center;
    text-transform: uppercase;
    color: #151c78;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease;
}

.home-services__tab:hover {
    border-color: #151c78;
}

.home-services__tab:focus-visible {
    outline: 2px solid #151c78;
    outline-offset: 2px;
}

.home-services__tab.is-active {
    background: #151c78;
    border-color: transparent;
    color: var(--gg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Panel ----------------------------------------------------------------- */

.home-services__panel {
    margin-top: 38px;
    padding: 49px;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    background: var(--gg-white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.home-services__panel[hidden] {
    display: none;
}

.home-services__panel:focus-visible {
    outline: 2px solid #151c78;
    outline-offset: 4px;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.home-services__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
}

.home-services__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 40px;
    border-radius: 8px;
    background: rgba(21, 28, 120, 0.1);
    color: #151c78;
}

.home-services__icon svg {
    display: block;
}

.home-services__panel-title {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 700;
    letter-spacing: -0.32px;
    color: #151c78;
}

.home-services__text {
    padding-top: 1px;
    font-size: 16px;
    line-height: 26px;
    color: #464652;
}

/* Feature list ---------------------------------------------------------- */

.home-services__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    padding-top: 9px;
}

.home-services__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
}

.home-services__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(135, 82, 0, 0.1);
    color: #875200;
}

.home-services__feature-icon svg {
    display: block;
}

.home-services__feature-label {
    font-size: 16px;
    line-height: 24px;
    color: #1b1b21;
}

/* Media ----------------------------------------------------------------- */

.home-services__media {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--gg-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.home-services__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-services__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.home-services__dots span {
    width: 8px;
    height: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
    .home-services__panel {
        padding: 36px;
    }

    .home-services__grid {
        gap: 36px;
    }

    .home-services__panel-title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (max-width: 900px) {
    .home-services {
        padding: 48px 0;
    }

    .home-services__title {
        font-size: 26px;
        line-height: 32px;
    }

    .home-services__subtitle {
        font-size: 19px;
        line-height: 27px;
    }

    .home-services__tabs {
        gap: 12px;
        margin-top: 28px;
    }

    .home-services__tab {
        padding: 13px 20px;
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .home-services__panel {
        margin-top: 28px;
        padding: 28px;
        border-radius: 20px;
    }

    .home-services__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .home-services__media {
        height: 320px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .home-services {
        padding: 40px 0;
    }

    .home-services__title {
        font-size: 22px;
        line-height: 28px;
    }

    .home-services__subtitle {
        font-size: 17px;
        line-height: 25px;
    }

    .home-services__tabs {
        gap: 8px;
    }

    .home-services__tab {
        flex: 1 1 100%;
        padding: 12px 16px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .home-services__tab.is-active {
        transform: none;
    }

    .home-services__panel {
        padding: 20px;
        border-radius: 16px;
    }

    .home-services__panel-title {
        font-size: 24px;
        line-height: 30px;
    }

    .home-services__features {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .home-services__media {
        height: 240px;
    }
}
