.corporate-services {
    background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
    position: relative;
    overflow: hidden
}

.corporate-services:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 181, 31, .14), transparent 68%);
    right: -220px;
    top: -180px;
    pointer-events: none
}

.services-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 42px
}

.services-heading h2 {
    max-width: 750px;
    margin-bottom: 0
}

.services-heading>p {
    color: #65707c;
    font-size: 1.04rem;
    line-height: 1.75;
    margin: 0 0 4px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.category-card {
    background: #fff;
    border: 1px solid #eee5dc;
    border-radius: 26px;
    padding: 30px;
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(69, 42, 18, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.category-card:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #f15a24, #ffb51f);
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform .25s ease
}

.category-card:hover {
    transform: translateY(-7px);
    border-color: #f6bf91;
    box-shadow: 0 22px 50px rgba(104, 52, 10, .12)
}

.category-card:hover:before {
    transform: scaleX(1)
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff1e7, #ffe6bc);
    display: grid;
    place-items: center;
    color: #c45a06;
    margin-bottom: 25px
}

.category-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.category-no {
    position: absolute;
    right: 25px;
    top: 28px;
    font: 700 .78rem/1 'Plus Jakarta Sans', sans-serif;
    color: #b7a89b;
    letter-spacing: .12em
}

.category-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #24211f
}

.category-card>p,
.wide-copy>p {
    color: #72706e;
    line-height: 1.65;
    margin: 0 0 18px
}

.category-card ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 10px
}

.category-card li {
    color: #4d4a47;
    font-size: .91rem;
    line-height: 1.4;
    padding-left: 18px;
    position: relative
}

.category-card li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f47a24;
    box-shadow: 0 0 0 4px #fff1e7
}

.category-card>a {
    margin-top: auto;
    color: #a94707;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #eee8e2
}

.category-card>a b {
    font-size: 1.1rem;
    transition: transform .2s
}

.category-card:hover>a b {
    transform: translateX(4px)
}

.category-card.featured {
    background: linear-gradient(145deg, #2b211b, #472b1d);
    border-color: #472b1d
}

.category-card.featured h3,
.category-card.featured li {
    color: #fff
}

.category-card.featured>p {
    color: #d9ccc4
}

.category-card.featured .category-no {
    color: #a98c7b
}

.category-card.featured .category-icon {
    background: linear-gradient(145deg, #f26a26, #ffb520);
    color: #fff
}

.category-card.featured li:before {
    box-shadow: 0 0 0 4px rgba(255, 181, 31, .15);
    background: #ffb51f
}

.category-card.featured>a {
    color: #ffbd55;
    border-color: rgba(255, 255, 255, .14)
}

.wide-card {
    grid-column: span 2;
    min-height: 285px;
    display: grid;
    grid-template-columns: 64px 1fr 190px;
    gap: 22px;
    align-items: start
}

.wide-card .category-icon {
    grid-column: 1
}

.wide-card .category-no {
    top: 30px
}

.wide-card .wide-copy {
    grid-column: 2
}

.wide-card .wide-copy ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0
}

.wide-card>a {
    grid-column: 3;
    align-self: end
}

.services-bottom {
    margin-top: 24px;
    background: linear-gradient(100deg, #f26a21, #d95012);
    border-radius: 26px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    box-shadow: 0 18px 40px rgba(201, 76, 14, .2)
}

.services-bottom div {
    display: grid;
    gap: 4px
}

.services-bottom b {
    font-size: 1.18rem
}

.services-bottom span {
    color: #ffe7d8
}

.services-bottom .btn {
    background: #fff;
    color: #a63d0a;
    border-color: #fff;
    white-space: nowrap
}

@media(max-width:980px) {
    .services-heading {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .wide-card {
        grid-column: span 2
    }

    .category-card {
        min-height: 390px
    }
}

@media(max-width:680px) {
    .services-heading {
        margin-bottom: 28px
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .category-card {
        min-height: auto;
        padding: 25px;
        border-radius: 22px
    }

    .wide-card {
        grid-column: span 1;
        display: flex;
        gap: 0
    }

    .wide-card .wide-copy {
        display: block
    }

    .wide-card .wide-copy ul {
        grid-template-columns: 1fr
    }

    .wide-card>a {
        width: 100%
    }

    .services-bottom {
        border-radius: 22px;
        padding: 25px;
        display: grid
    }

    .services-bottom .btn {
        text-align: center
    }

    .category-card:hover {
        transform: none
    }
}

@import url("wine-theme.css");