/*
|--------------------------------------------------------------------------
| Catalog
|--------------------------------------------------------------------------
*/

.catalog-page {
    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Catalog Hero
|--------------------------------------------------------------------------
*/

.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 95px;
    color: var(--wc-white);
    background: var(--wc-black);
}

.catalog-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.catalog-hero::after {
    position: absolute;
    top: -250px;
    right: -180px;
    width: 650px;
    height: 650px;
    content: "";
    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.14) 0%,
        rgba(37, 99, 235, 0.04) 35%,
        transparent 70%
    );
}

.catalog-hero .container {
    position: relative;
    z-index: 1;
}

.catalog-hero-content {
    max-width: 850px;
}

.catalog-hero .section-label {
    color: #8eb8ff;
}

.catalog-hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    color: var(--wc-white);
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.catalog-hero p {
    max-width: 680px;
    margin: 0;
    color: #aeb5be;
    font-size: 1.1rem;
    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Catalog Sections
|--------------------------------------------------------------------------
*/

.catalog-section {
    padding: 105px 0;
    background: var(--wc-white);
    scroll-margin-top: 90px;
}

.catalog-section-dark {
    position: relative;
    overflow: hidden;
    color: var(--wc-white);
    background: var(--wc-dark);
}

.catalog-section-dark::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        );

    background-size: 50px 50px;
}

.catalog-section-dark .container {
    position: relative;
    z-index: 1;
}


/*
|--------------------------------------------------------------------------
| Section Heading
|--------------------------------------------------------------------------
*/

.catalog-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: end;
    gap: 60px;
    margin-bottom: 55px;
}

.catalog-section-heading .section-label {
    margin-bottom: 18px;
    color: var(--wc-blue);
}

.catalog-section-dark .catalog-section-heading .section-label {
    color: #8eb8ff;
}

.catalog-section-heading h2 {
    margin: 0;
    color: var(--wc-black);
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.catalog-section-dark .catalog-section-heading h2 {
    color: var(--wc-white);
}

.catalog-section-heading > p {
    margin: 0;
    color: var(--wc-muted);
    line-height: 1.7;
}

.catalog-section-dark .catalog-section-heading > p {
    color: #969da7;
}


/*
|--------------------------------------------------------------------------
| Catalog Cards
|--------------------------------------------------------------------------
*/

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    padding: 30px;
    overflow: hidden;

    background: var(--wc-white);
    border: 1px solid var(--wc-border);
    border-radius: 12px;

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

.catalog-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    content: "";
    background: var(--wc-blue);
    transition: width 0.3s ease;
}

.catalog-card:hover {
    border-color: #cbd9f2;
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.catalog-card:hover::after {
    width: 65px;
}


/*
|--------------------------------------------------------------------------
| Card Icon
|--------------------------------------------------------------------------
*/

.catalog-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 30px;

    flex-shrink: 0;

    color: var(--wc-blue);
    background: var(--wc-blue-light);
    border: 1px solid #dbe7ff;
    border-radius: 10px;

    font-size: 1.1rem;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.catalog-card:hover .catalog-card-icon {
    color: var(--wc-white);
    background: var(--wc-blue);
    border-color: var(--wc-blue);
}


/*
|--------------------------------------------------------------------------
| Card Number
|--------------------------------------------------------------------------
*/

.catalog-card-number {
    position: absolute;
    top: 30px;
    right: 30px;

    color: #c5cad1;

    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.75rem;
    font-weight: 700;
}

.catalog-card-badge {
    position: absolute;
    top: 26px;
    right: 24px;

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

    min-width: 44px;
    padding: 5px 10px;

    color: #fff;
    background: var(--wc-danger, #dc2626);

    border-radius: 6px;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;

    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

.catalog-card h3 {
    max-width: 85%;
    margin: 0 0 14px;

    color: var(--wc-black);

    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
}

.catalog-card p {
    margin: 0 0 28px;

    color: var(--wc-muted);

    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Card Link
|--------------------------------------------------------------------------
*/

.catalog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;

    color: var(--wc-text);
    font-size: 0.95rem;
    font-weight: 700;

    transition: color 0.2s ease;
}

.catalog-card-link i {
    font-size: 0.75rem;

    transition: transform 0.2s ease;
}

.catalog-card-link:hover {
    color: var(--wc-blue);
}

.catalog-card-link:hover i {
    transform: translateX(5px);
}


/*
|--------------------------------------------------------------------------
| Dark Cards
|--------------------------------------------------------------------------
*/

.catalog-card-dark {
    color: var(--wc-white);
    background: #20242a;
    border-color: #343941;
}

.catalog-card-dark:hover {
    border-color: #48505a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.catalog-card-dark .catalog-card-number {
    color: #626a74;
}

.catalog-card-dark .catalog-card-icon {
    color: #8eb8ff;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(142, 184, 255, 0.15);
}

.catalog-card-dark:hover .catalog-card-icon {
    color: var(--wc-white);
    background: var(--wc-blue);
    border-color: var(--wc-blue);
}

.catalog-card-dark h3 {
    color: var(--wc-white);
}

.catalog-card-dark p {
    color: #969da7;
}

.catalog-card-dark .catalog-card-link {
    color: #d9dde2;
}

.catalog-card-dark .catalog-card-link:hover {
    color: #8eb8ff;
}


/*
|--------------------------------------------------------------------------
| Card Price
|--------------------------------------------------------------------------
*/

.catalog-card-price {
    display: flex;
    flex-direction: column;
    gap: 4px;

    margin: 0 0 22px;
    padding: 12px 14px;

    background: var(--wc-blue-light);
    border: 1px solid #dbe7ff;
    border-radius: 8px;
}

.catalog-card-price__from {
    color: var(--wc-blue);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.catalog-card-price__avg {
    color: var(--wc-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.catalog-card-dark .catalog-card-price {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(142, 184, 255, 0.2);
}

.catalog-card-dark .catalog-card-price__from {
    color: #8eb8ff;
}

.catalog-card-dark .catalog-card-price__avg {
    color: #969da7;
}


/*
|--------------------------------------------------------------------------
| Custom Development
|--------------------------------------------------------------------------
*/

.catalog-custom {
    padding: 105px 0;
    background: var(--wc-white);
}

.catalog-custom-inner {
    position: relative;

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

    gap: 50px;

    padding: 65px 70px;

    overflow: hidden;

    background: var(--wc-black);
    border-radius: 14px;
}

.catalog-custom-inner::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.catalog-custom-inner::after {
    position: absolute;
    top: -180px;
    right: -100px;

    width: 450px;
    height: 450px;

    content: "";
    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.13),
        transparent 70%
    );
}

.catalog-custom-inner > div {
    position: relative;
    z-index: 1;
}

.catalog-custom-inner .section-label {
    color: #8eb8ff;
}

.catalog-custom-inner h2 {
    max-width: 700px;
    margin: 0 0 18px;

    color: var(--wc-white);

    font-size: 2.6rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.catalog-custom-inner p {
    max-width: 650px;
    margin: 0;

    color: #aeb5be;

    line-height: 1.7;
}

.catalog-custom-inner .btn {
    white-space: nowrap;
}


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

@media (max-width: 991.98px) {

    .catalog-hero {
        padding: 80px 0;
    }

    .catalog-hero h1 {
        font-size: 3.4rem;
    }

    .catalog-section {
        padding: 80px 0;
    }

    .catalog-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 45px;
    }

    .catalog-section-heading h2 {
        font-size: 2.5rem;
    }

    .catalog-card {
        min-height: 330px;
    }

    .catalog-custom {
        padding: 80px 0;
    }

    .catalog-custom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 55px 45px;
    }

    .catalog-custom-inner h2 {
        font-size: 2.4rem;
    }

}


@media (max-width: 575.98px) {

    .catalog-hero {
        padding: 65px 0;
    }

    .catalog-hero h1 {
        font-size: 2.6rem;
    }

    .catalog-hero p {
        font-size: 1rem;
    }

    .catalog-section {
        padding: 70px 0;
    }

    .catalog-section-heading {
        margin-bottom: 35px;
    }

    .catalog-section-heading h2 {
        font-size: 2.2rem;
    }

    .catalog-card {
        min-height: 320px;
        padding: 26px;
    }

    .catalog-card-number {
        top: 26px;
        right: 26px;
    }

    .catalog-custom {
        padding: 70px 0;
    }

    .catalog-custom-inner {
        padding: 45px 25px;
        border-radius: 12px;
    }

    .catalog-custom-inner h2 {
        font-size: 2.1rem;
    }

    .catalog-custom-inner .btn {
        width: 100%;
    }

}