/* =====================================
   G1S RELATED SERVICES SECTION
===================================== */

.g1rs-section {
    padding: 65px 20px;
    background: #f7f8fa;
}

.g1rs-container {
    max-width: 1140px;
    margin: 0 auto;
}

.g1rs-heading {
    max-width: 680px;
    margin: 0 auto 35px;
    text-align: center;
}

.g1rs-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff5b00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.g1rs-heading h2 {
    margin: 0 0 14px;
    color: #17243a;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.3;
}

.g1rs-heading p {
    margin: 0;
    color: #626b78;
    font-size: 16px;
    line-height: 1.7;
}

.g1rs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.g1rs-card {
    position: relative;
    padding: 28px 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(23, 36, 58, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.g1rs-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff5b00;
}

.g1rs-card:hover {
    transform: translateY(-4px);
    border-color: #ffd0b8;
    box-shadow: 0 12px 28px rgba(23, 36, 58, 0.09);
}

.g1rs-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.g1rs-number {
    color: #ff5b00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.g1rs-accent {
    width: 38px;
    height: 3px;
    border-radius: 5px;
    background: #ff5b00;
    opacity: 0.7;
}

.g1rs-card h3 {
    margin: 0 0 12px;
    color: #17243a;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.g1rs-card p {
    margin: 0 0 22px;
    color: #626b78;
    font-size: 15px;
    line-height: 1.75;
}

.g1rs-card a.g1rs-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ff5b00;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.g1rs-card a.g1rs-link:hover {
    gap: 14px;
    color: #d94c00;
}

.g1rs-card a.g1rs-link:focus-visible {
    outline: 2px solid #ff5b00;
    outline-offset: 5px;
    border-radius: 2px;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .g1rs-section {
        padding: 45px 16px;
    }

    .g1rs-heading {
        margin-bottom: 26px;
    }

    .g1rs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .g1rs-card {
        padding: 24px 22px;
    }

    .g1rs-card h3 {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .g1rs-card,
    .g1rs-card a.g1rs-link {
        transition: none;
    }

    .g1rs-card:hover {
        transform: none;
    }
}

