/* =========================================================
   RABIE RIDGE INK HOUSE
   SERVICES
   FUTURISTIC DARK THEME
   ========================================================= */

.services {
    position: relative;
    isolation: isolate;
    padding: 140px 0 130px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(225, 6, 19, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(225, 6, 19, 0.05),
            transparent 28%
        ),
        #050505;
    overflow: hidden;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.services-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.services-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;

    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: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 15%,
            black 85%,
            transparent
        );
}


/* =========================================================
   RED GLOWS
   ========================================================= */

.services-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(225, 6, 19, 0.08);
    filter: blur(100px);
}

.services-glow-one {
    top: 10%;
    left: -200px;
}

.services-glow-two {
    right: -200px;
    bottom: 10%;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.services-container {
    width: min(1380px, calc(100% - 60px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.services-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.services-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;

    color: var(--rr-red-bright);

    font-family: var(--rr-display-font);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.services-eyebrow-line {
    width: 45px;
    height: 1px;
    background: var(--rr-red);
    box-shadow: 0 0 10px rgba(225, 6, 19, 0.7);
}


/* =========================================================
   TITLE
   ========================================================= */

.services-title {
    margin: 0;

    color: #ffffff;

    font-family: var(--rr-display-font);
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.services-title span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.35);

    text-shadow:
        0 0 25px rgba(255, 255, 255, 0.05);
}


/* =========================================================
   INTRO
   ========================================================= */

.services-intro {
    max-width: 680px;
    margin: 25px auto 0;

    color: #8d8d8d;

    font-family: var(--rr-body-font);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
}


/* =========================================================
   DEMO NOTICE
   ========================================================= */

.services-notice {
    display: flex;
    align-items: center;
    gap: 18px;

    max-width: 850px;
    margin: 0 auto 45px;
    padding: 18px 22px;

    border: 1px solid rgba(225, 6, 19, 0.25);
    border-left: 2px solid var(--rr-red);

    background:
        rgba(225, 6, 19, 0.045);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.services-notice-icon {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 1px solid var(--rr-red);
    border-radius: 50%;

    color: #ffffff;
    background: rgba(225, 6, 19, 0.15);

    font-family: var(--rr-display-font);
    font-weight: 900;
}

.services-notice strong {
    display: block;

    margin-bottom: 4px;

    color: var(--rr-red-bright);

    font-family: var(--rr-display-font);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
}

.services-notice p {
    margin: 0;

    color: #777777;

    font-family: var(--rr-body-font);
    font-size: 0.9rem;
}


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

.services-grid-cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


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

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 590px;

    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   CARD TOP RED LINE
   ========================================================= */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--rr-red-bright),
            transparent
        );

    opacity: 0.7;
}


/* =========================================================
   CARD CORNER
   ========================================================= */

.service-card::after {
    content: "";

    position: absolute;

    top: 18px;
    right: 18px;

    width: 25px;
    height: 25px;

    border-top: 1px solid rgba(255, 23, 36, 0.7);
    border-right: 1px solid rgba(255, 23, 36, 0.7);
}


.service-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(225, 6, 19, 0.4);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(225, 6, 19, 0.08);
}


/* =========================================================
   CARD NUMBER
   ========================================================= */

.service-card-number {
    position: absolute;

    top: 25px;
    right: 35px;

    color: rgba(255, 255, 255, 0.08);

    font-family: var(--rr-display-font);
    font-size: 2rem;
    font-weight: 900;
}


/* =========================================================
   ICON
   ========================================================= */

.service-card-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    margin-bottom: 28px;

    border: 1px solid rgba(225, 6, 19, 0.5);

    color: var(--rr-red-bright);

    font-family: var(--rr-display-font);
    font-size: 1.3rem;

    background:
        rgba(225, 6, 19, 0.07);

    box-shadow:
        inset 0 0 20px rgba(225, 6, 19, 0.04),
        0 0 20px rgba(225, 6, 19, 0.06);
}


/* =========================================================
   CARD HEADING
   ========================================================= */

.service-card-label {
    display: block;

    margin-bottom: 8px;

    color: var(--rr-red-bright);

    font-family: var(--rr-display-font);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.service-card h3 {
    margin: 0;

    color: #ffffff;

    font-family: var(--rr-display-font);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.05em;
}

.service-card-heading p {
    max-width: 430px;

    margin: 12px 0 28px;

    color: #777777;

    font-family: var(--rr-body-font);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* =========================================================
   PRICING
   ========================================================= */

.service-pricing {
    margin-top: auto;
    margin-bottom: 30px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.service-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 13px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.service-price-row span {
    color: #9a9a9a;

    font-family: var(--rr-body-font);
    font-size: 0.95rem;
    font-weight: 600;
}

.service-price-row strong {
    color: #ffffff;

    font-family: var(--rr-display-font);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.06em;

    white-space: nowrap;
}


/* =========================================================
   BOOK BUTTON
   ========================================================= */

.service-book-btn {
    position: relative;

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

    width: 100%;
    min-height: 53px;

    padding: 0 18px;

    color: #ffffff;

    border: 1px solid var(--rr-red);

    background:
        rgba(225, 6, 19, 0.1);

    text-decoration: none;

    font-family: var(--rr-display-font);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.12em;

    overflow: hidden;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.service-book-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}

.service-book-btn:hover {
    background: var(--rr-red);

    box-shadow:
        0 0 15px rgba(225, 6, 19, 0.6),
        0 0 35px rgba(225, 6, 19, 0.2);

    transform: translateY(-2px);
}

.service-book-btn:hover::before {
    left: 150%;
}

.service-book-arrow {
    font-size: 1rem;

    transition:
        transform 0.3s ease;
}

.service-book-btn:hover .service-book-arrow {
    transform:
        translate(3px, -3px);
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.services-bottom {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 70px;
}

.services-bottom-line {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.12)
        );
}

.services-bottom-line:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12),
            transparent
        );
}

.services-bottom p {
    margin: 0;

    color: #777777;

    font-family: var(--rr-display-font);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    white-space: nowrap;
}

.services-bottom p span {
    color: #ffffff;
}

.services-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 17px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff;

    text-decoration: none;

    font-family: var(--rr-display-font);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;

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

.services-contact-btn:hover {
    border-color: var(--rr-red);

    background:
        rgba(225, 6, 19, 0.1);
}

.services-contact-btn span {
    color: var(--rr-red-bright);
}


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

@media (max-width: 900px) {

    .services {
        padding: 110px 0;
    }

    .services-container {
        width: calc(100% - 40px);
    }

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

    .service-card {
        min-height: auto;
    }

    .services-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-bottom-line {
        display: none;
    }

}


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

@media (max-width: 600px) {

    .services {
        padding: 90px 0;
    }

    .services-container {
        width: calc(100% - 28px);
    }

    .services-title {
        font-size: 2.5rem;
    }

    .services-intro {
        font-size: 0.95rem;
    }

    .services-notice {
        align-items: flex-start;
        padding: 16px;
    }

    .service-card {
        padding: 27px 22px;
    }

    .service-card-number {
        right: 22px;
    }

    .service-price-row {
        gap: 10px;
    }

    .service-price-row span {
        font-size: 0.88rem;
    }

    .service-price-row strong {
        font-size: 0.58rem;
    }

    .services-bottom {
        flex-direction: column;
    }

    .services-bottom p {
        white-space: normal;
        text-align: center;
    }

    .services-contact-btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .services-container {
        width: calc(100% - 22px);
    }

    .service-card {
        padding: 24px 18px;
    }

    .service-price-row span {
        font-size: 0.82rem;
    }

}