/* =========================================================
   MegVolt Tech
   Services Page — Catalog
   v0.2
   ========================================================= */


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.services-page {
    background: #111111;
    color: #FFFFFF;
}


/* ---------------------------------------------------------
   SHARED LABELS
   --------------------------------------------------------- */

.services-eyebrow,
.services-section-label {
    display: inline-block;
    color: #D71920;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 6rem;
    background:
        radial-gradient(
            circle at 82% 36%,
            rgba(215, 25, 32, 0.18) 0%,
            rgba(215, 25, 32, 0.07) 24%,
            rgba(215, 25, 32, 0) 54%
        ),
        linear-gradient(
            112deg,
            #0B0B0B 0%,
            #111111 60%,
            #1B0D0F 100%
        );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -100px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(215, 25, 32, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.services-hero::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -250px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(215, 25, 32, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

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

.services-hero__content {
    max-width: 920px;
}

.services-eyebrow {
    margin-bottom: 1.25rem;
}

.services-hero__title {
    margin: 0;
    max-width: 920px;
    color: #FFFFFF;
    font-size: clamp(2.8rem, 5.2vw, 5.1rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.services-hero__description {
    max-width: 780px;
    margin: 1.75rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   SERVICES CATALOG
   ========================================================= */

.services-catalog {
    padding: 6.5rem 0 7rem;
    background: #111111;
}


/* ---------------------------------------------------------
   SECTION HEADER
   --------------------------------------------------------- */

.services-catalog__header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 3rem;
}

.services-catalog__header .services-section-label {
    margin-bottom: 1rem;
}

.services-catalog__header h2 {
    margin: 0;
    max-width: 720px;
    color: #FFFFFF;
    font-size: clamp(2rem, 3.3vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.services-catalog__header > p {
    margin: 0;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.98rem;
    line-height: 1.75;
}


/* =========================================================
   GRID
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    padding: 2.75rem;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.026) 0%,
            rgba(255, 255, 255, 0.008) 100%
        ),
        #151515;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.service-card::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(215, 25, 32, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle,
        rgba(215, 25, 32, 0.08) 0%,
        rgba(215, 25, 32, 0) 68%
    );
    pointer-events: none;
}


/* ---------------------------------------------------------
   CARD TOP
   --------------------------------------------------------- */

.service-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}

.service-card__number {
    color: rgba(255, 255, 255, 0.09);
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
}


/* ---------------------------------------------------------
   STATUS BADGES
   --------------------------------------------------------- */

.service-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-card__status--active {
    color: #FFFFFF;
    background: rgba(215, 25, 32, 0.18);
    border-color: rgba(215, 25, 32, 0.58);
}

.service-card__status--developing {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.16);
}

.service-card__status--future {
    color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}


/* ---------------------------------------------------------
   CARD BODY
   --------------------------------------------------------- */

.service-card__body {
    position: relative;
    z-index: 1;
    flex: 1;
}

.service-card__body h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.service-card__description {
    max-width: 650px;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   POINTS
   --------------------------------------------------------- */

.service-card__points {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.service-card__points li {
    position: relative;
    padding-left: 1.4rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

.service-card__points li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    background: #D71920;
    border-radius: 50%;
}


/* ---------------------------------------------------------
   CARD FOOTER
   --------------------------------------------------------- */

.service-card__footer {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

.service-card__link {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    line-height: 1.4;
    text-decoration: none;
}

.service-card__link span {
    color: #D71920;
    font-size: 1.15rem;
    line-height: 1;
}


/* ---------------------------------------------------------
   ACTIVE RENTAL CARD
   --------------------------------------------------------- */

.service-card:first-child {
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(215, 25, 32, 0.13) 0%,
            rgba(215, 25, 32, 0) 45%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035) 0%,
            rgba(255, 255, 255, 0.008) 100%
        ),
        #161313;
    border-color: rgba(215, 25, 32, 0.38);
    border-bottom: 2px solid #D71920;
}


/* ---------------------------------------------------------
   FUTURE CAPABILITY VISUAL TREATMENT
   --------------------------------------------------------- */

.service-card:nth-child(3),
.service-card:nth-child(4) {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.018) 0%,
            rgba(255, 255, 255, 0.006) 100%
        ),
        #131313;
}

.service-card:nth-child(3) .service-card__number,
.service-card:nth-child(4) .service-card__number {
    color: rgba(255, 255, 255, 0.06);
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) {

    .service-card {
        transition:
            border-color 0.25s ease,
            transform 0.25s ease;
    }

    .service-card:hover {
        border-color: rgba(215, 25, 32, 0.4);
        transform: translateY(-3px);
    }

    .service-card__link {
        transition: color 0.2s ease;
    }

    .service-card__link span {
        transition: transform 0.2s ease;
    }

    .service-card__link:hover {
        color: #D71920;
    }

    .service-card__link:hover span {
        transform: translateX(4px);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .services-hero {
        padding: 6rem 0 5.5rem;
    }

    .services-catalog {
        padding: 5.5rem 0 6rem;
    }

    .services-catalog__header {
        gap: 3rem;
    }

    .service-card {
        min-height: 500px;
        padding: 2.4rem;
    }

    .service-card__number {
        font-size: 3.8rem;
    }

}


/* =========================================================
   SMALL TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .services-hero {
        padding: 4.75rem 0 4.5rem;
    }

    .services-hero__title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1;
    }

    .services-hero__description {
        margin-top: 1.4rem;
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .services-catalog {
        padding: 4.5rem 0 5rem;
    }

    .services-catalog__header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .services-catalog__header > p {
        max-width: 650px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 2.25rem;
    }

    .service-card__top {
        margin-bottom: 2.75rem;
    }

    .service-card__number {
        font-size: 3.6rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-hero {
        padding: 4rem 0;
    }

    .services-catalog {
        padding: 4rem 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card__top {
        flex-direction: column;
        gap: 1.25rem;
        margin-bottom: 2.25rem;
    }

    .service-card__number {
        font-size: 3.3rem;
    }

    .service-card__status {
        align-self: flex-start;
    }

    .service-card__description {
        font-size: 0.95rem;
    }

    .service-card__points li {
        font-size: 0.9rem;
    }

    .service-card__footer {
        padding-top: 2rem;
    }

}
