/* =========================================================
   SINPHO CATEGORY PAGE
========================================================= */

.category-page {
    background: #fff;
    color: #171426;
}

/* HERO */

.cat-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 95px;
    background:
        radial-gradient(circle at 80% 20%, rgba(216,0,91,.13), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(46,25,110,.08), transparent 28%),
        linear-gradient(135deg,#ffffff 0%,#faf8fc 100%);
}

.cat-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(194,0,79,.08);
    border-radius: 50%;
    right: -260px;
    top: -180px;
}

.cat-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 75px;
    align-items: center;
}

.cat-breadcrumb {
    margin-bottom: 30px;
    color: #7d7784;
    font-size: 13px;
}

.cat-breadcrumb a {
    color: #c70056;
    text-decoration: none;
    font-weight: 700;
}

.cat-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: #ca0058;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cat-label:before {
    content: "";
    width: 30px;
    height: 2px;
    background: #ca0058;
}

.cat-hero h1 {
    margin: 0;

    font-size: clamp(45px,5.3vw,76px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 900;

    color: #171426;
}

.cat-hero-text {
    max-width: 650px;

    margin: 27px 0 0;

    color: #6d6875;
    font-size: 17px;
    line-height: 1.8;
}

.cat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 12px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition: .25s ease;
}

.cat-btn:hover {
    transform: translateY(-3px);
}

.cat-btn-main {
    color: #fff;
    background: linear-gradient(135deg,#e00061,#a9004c);
    box-shadow: 0 14px 30px rgba(190,0,76,.22);
}

.cat-btn-main:hover {
    color: #fff;
    box-shadow: 0 20px 38px rgba(190,0,76,.30);
}

.cat-btn-light {
    color: #211a2d;
    background: #fff;
    border: 1px solid #e6e1e9;
}

.cat-btn-light:hover {
    color: #c70056;
}

/* HERO IMAGE */

.cat-visual {
    position: relative;
}

.cat-image-card {
    position: relative;

    padding: 11px;

    border-radius: 30px;

    background: rgba(255,255,255,.85);

    border: 1px solid #fff;

    box-shadow:
        0 35px 80px rgba(32,20,55,.14),
        0 5px 20px rgba(32,20,55,.06);
}

.cat-image-inner {
    position: relative;

    height: 460px;

    overflow: hidden;

    border-radius: 22px;

    background: linear-gradient(135deg,#21134d,#c50057);
}

.cat-image-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cat-image-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(13,7,30,.72)
    );
}

.cat-image-caption {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 25px;

    color: #fff;
}

.cat-image-caption small {
    display: block;
    margin-bottom: 6px;

    color: rgba(255,255,255,.68);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cat-image-caption strong {
    display: block;
    font-size: 25px;
    line-height: 1.2;
}

.cat-no-image {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background:
        radial-gradient(circle,rgba(255,255,255,.13) 1px,transparent 1px),
        linear-gradient(135deg,#21134d,#c50057);

    background-size: 22px 22px,auto;
}

.cat-no-image span {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);

    font-size: 38px;
    font-weight: 900;
}

/* SERVICES */

.cat-services {
    padding: 105px 0 120px;
}

.cat-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 42px;
}

.cat-section-label {
    display: block;

    margin-bottom: 12px;

    color: #c90058;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.cat-section-head h2 {
    margin: 0;

    font-size: clamp(36px,4vw,54px);
    line-height: 1;
    letter-spacing: -2px;
}

.cat-section-intro {
    max-width: 430px;

    color: #77717f;

    font-size: 14px;
    line-height: 1.75;
}

.cat-services-grid {
    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 24px;
}

/* CARD */

.cat-service-card {
    height: 100%;
}

.cat-service-link {
    display: block;
    height: 100%;

    overflow: hidden;

    color: inherit;
    text-decoration: none;

    border: 1px solid #ebe6ee;
    border-radius: 22px;

    background: #fff;

    box-shadow: 0 8px 28px rgba(30,20,45,.04);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.cat-service-link:hover {
    color: inherit;

    transform: translateY(-8px);

    border-color: rgba(205,0,82,.2);

    box-shadow:
        0 25px 55px rgba(30,20,45,.12);
}

.cat-service-image {
    position: relative;

    height: 310px;

    overflow: hidden;

    background: #faf9f8;
}

.cat-service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.cat-service-link:hover .cat-service-image img {
    transform: none;
}

@media(min-width:1024px) {
    .cat-service-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .cat-service-image img {
        object-fit: contain;
        object-position: center;
    }
}

.cat-service-number {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: #fff;

    background: rgba(20,12,38,.86);

    backdrop-filter: blur(8px);

    font-size: 12px;
    font-weight: 900;
}

.cat-service-body {
    padding: 24px;
}

.cat-service-body h3 {
    margin: 0;

    color: #191526;

    font-size: 20px;
    line-height: 1.25;
}

.cat-service-body p {
    min-height: 48px;

    margin: 12px 0 20px;

    color: #77717f;

    font-size: 13px;
    line-height: 1.7;
}

.cat-service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #c70056;

    font-size: 13px;
    font-weight: 900;
}

.cat-service-more span {
    transition: transform .2s ease;
}

.cat-service-link:hover .cat-service-more span {
    transform: translateX(5px);
}

/* EMPTY */

.cat-empty {
    padding: 70px 20px;

    text-align: center;

    border: 1px dashed #ddd7e1;
    border-radius: 22px;

    background: #faf9fb;
}

.cat-empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: #c70056;
    background: #fff;

    box-shadow: 0 10px 25px rgba(30,20,40,.06);

    font-weight: 900;
    font-size: 25px;
}

.cat-empty h3 {
    margin: 0 0 8px;
}

.cat-empty p {
    margin: 0;
    color: #77717f;
}

/* RESPONSIVE */

@media(max-width:1050px) {

    .cat-hero-grid {
        grid-template-columns: 1fr;
    }

    .cat-visual {
        max-width: 720px;
    }

    .cat-services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:700px) {

    .cat-hero {
        padding: 55px 0 65px;
    }

    .cat-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .cat-hero-text {
        font-size: 16px;
    }

    .cat-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cat-btn {
        width: 100%;
    }

    .cat-image-inner {
        height: 330px;
    }

    .cat-services {
        padding: 65px 0 80px;
    }

    .cat-section-head {
        display: block;
    }

    .cat-section-intro {
        margin-top: 15px;
    }

    .cat-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cat-service-image {
        height: 330px;
        aspect-ratio: auto;
    }

    .cat-service-image img {
        object-fit: cover;
    }
}
