/* -----------------------------------
   HERO
----------------------------------- */

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 7rem;
    background: var(--ryatech-light);
    border-bottom: 1px solid var(--ryatech-border);
}

    .services-hero::before {
        position: absolute;
        top: -280px;
        right: -180px;
        width: 620px;
        height: 620px;
        border: 1px solid rgba(0, 31, 63, 0.07);
        border-radius: 50%;
        content: '';
    }

    .services-hero::after {
        position: absolute;
        top: 80px;
        right: 9%;
        width: 90px;
        height: 5px;
        background: var(--ryatech-gold);
        content: '';
    }

    .services-hero .page-container {
        position: relative;
        z-index: 1;
    }

.services-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.76rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

    .services-hero-eyebrow::before {
        width: 40px;
        height: 2px;
        background: var(--ryatech-gold);
        content: '';
    }

.services-hero h1 {
    max-width: 1000px;
    margin-bottom: 0;
    color: var(--ryatech-navy);
    font-size: clamp(3.2rem, 5.5vw, 6rem);
    letter-spacing: -0.035em;
}

    .services-hero h1 span {
        display: block;
        color: var(--ryatech-muted);
    }

.services-hero-copy {
    margin: 0 0 0 auto;
    color: var(--ryatech-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

/* -----------------------------------
   SERVICE OVERVIEW
----------------------------------- */

.services-overview {
    padding: 8rem 0;
    background: var(--ryatech-white);
}

.services-grid {
    border-top: 1px solid var(--ryatech-border);
}

.service-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    padding: 4rem 0;
    border-bottom: 1px solid var(--ryatech-border);
}

.service-block-icon {
    display: flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ryatech-border);
    color: var(--ryatech-gold);
    font-size: 2rem;
}

.service-block-category {
    margin-bottom: 0.7rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-block h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
}

.service-block-content > p {
    max-width: 850px;
    margin-bottom: 2rem;
    color: var(--ryatech-muted);
    font-size: 1.03rem;
}

.service-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 2rem;
    max-width: 900px;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

    .service-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
        color: var(--ryatech-text);
    }

    .service-feature-list i {
        margin-top: 0.1rem;
        color: var(--ryatech-gold);
    }

.service-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .service-tech-list span {
        padding: 0.35rem 0.6rem;
        border: 1px solid var(--ryatech-border);
        color: var(--ryatech-muted);
        font-family: var(--ryatech-font-brand);
        font-size: 0.62rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

/* -----------------------------------
   .NET
----------------------------------- */

.services-dotnet {
    padding: 8rem 0;
    background: var(--ryatech-navy);
    color: rgba(255, 255, 255, 0.66);
}

    .services-dotnet h2 {
        margin-bottom: 1.5rem;
        color: var(--ryatech-white);
    }

    .services-dotnet p {
        color: rgba(255, 255, 255, 0.62);
    }

.dotnet-capabilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.dotnet-capability {
    display: flex;
    gap: 1rem;
    min-height: 165px;
    padding: 1.7rem;
    background: var(--ryatech-navy-dark);
}

    .dotnet-capability i {
        flex: 0 0 auto;
        color: var(--ryatech-gold);
        font-size: 1.5rem;
    }

    .dotnet-capability strong {
        display: block;
        margin-bottom: 0.45rem;
        color: var(--ryatech-white);
        font-family: var(--ryatech-font-brand);
        font-size: 0.9rem;
    }

    .dotnet-capability span {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.9rem;
        line-height: 1.6;
    }

/* -----------------------------------
   NOPCOMMERCE
----------------------------------- */

.services-commerce {
    padding: 8rem 0;
    background: var(--ryatech-light);
}

    .services-commerce h2 {
        margin-bottom: 1.4rem;
    }

    .services-commerce p {
        color: var(--ryatech-muted);
        font-size: 1.02rem;
    }

.commerce-points {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
}

    .commerce-points span {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .commerce-points i {
        color: var(--ryatech-gold);
    }

.commerce-visual {
    overflow: hidden;
    border: 1px solid var(--ryatech-border);
    background: var(--ryatech-white);
    box-shadow: var(--ryatech-shadow-sm);
}

.commerce-visual-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--ryatech-border);
    background: var(--ryatech-navy);
    color: var(--ryatech-white);
    font-family: var(--ryatech-font-brand);
    font-size: 0.85rem;
}

    .commerce-visual-header i {
        color: var(--ryatech-gold);
        font-size: 1.2rem;
    }

.commerce-visual-body {
    padding: 3rem;
}

.commerce-layer {
    padding: 1.3rem 1.5rem;
    border: 1px solid var(--ryatech-border);
    background: var(--ryatech-light);
}

    .commerce-layer span {
        display: block;
        margin-bottom: 0.3rem;
        color: var(--ryatech-navy);
        font-family: var(--ryatech-font-brand);
        font-size: 0.85rem;
    }

    .commerce-layer small {
        color: var(--ryatech-muted);
    }

.commerce-connector {
    width: 1px;
    height: 35px;
    margin: 0 auto;
    background: var(--ryatech-gold);
}

/* -----------------------------------
   INTEGRATIONS
----------------------------------- */

.services-integrations {
    padding: 8rem 0;
    background: var(--ryatech-white);
}

    .services-integrations h2 {
        margin-bottom: 1.5rem;
    }

    .services-integrations p {
        color: var(--ryatech-muted);
        font-size: 1.03rem;
    }

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--ryatech-border);
    border-left: 1px solid var(--ryatech-border);
}

.integration-item {
    min-height: 210px;
    padding: 1.8rem;
    border-right: 1px solid var(--ryatech-border);
    border-bottom: 1px solid var(--ryatech-border);
}

    .integration-item i {
        display: block;
        margin-bottom: 1.3rem;
        color: var(--ryatech-gold);
        font-size: 1.5rem;
    }

    .integration-item strong {
        display: block;
        margin-bottom: 0.6rem;
        color: var(--ryatech-navy);
        font-family: var(--ryatech-font-brand);
        font-size: 0.9rem;
    }

    .integration-item span {
        color: var(--ryatech-muted);
        font-size: 0.92rem;
        line-height: 1.65;
    }

/* -----------------------------------
   CTA
----------------------------------- */

.services-cta {
    padding: 0 0 7rem;
    background: var(--ryatech-white);
}

.services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem;
    background: var(--ryatech-gold);
}

    .services-cta-inner > div {
        max-width: 850px;
    }

.services-cta-eyebrow {
    margin-bottom: 0.7rem;
    color: rgba(0, 31, 63, 0.6);
    font-family: var(--ryatech-font-brand);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-cta h2 {
    margin-bottom: 1rem;
    color: var(--ryatech-navy);
}

.services-cta p {
    max-width: 760px;
    margin: 0;
    color: rgba(0, 31, 63, 0.68);
}

.services-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border: 1px solid var(--ryatech-navy);
    background: var(--ryatech-navy);
    color: var(--ryatech-white);
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

    .services-cta-button:hover {
        background: transparent;
        color: var(--ryatech-navy);
    }

/* -----------------------------------
   RESPONSIVE
----------------------------------- */

@media (max-width: 991.98px) {
    .services-hero {
        padding: 6rem 0 5rem;
    }

    .services-hero-copy {
        margin-left: 0;
    }

    .services-overview,
    .services-dotnet,
    .services-commerce,
    .services-integrations {
        padding: 6rem 0;
    }

    .service-block {
        grid-template-columns: 90px 1fr;
        gap: 2rem;
    }

    .service-block-icon {
        width: 70px;
        height: 70px;
    }

    .services-cta {
        padding-bottom: 5rem;
    }
}

@media (max-width: 767.98px) {
    .services-hero {
        padding: 4.5rem 0;
    }

    .services-overview,
    .services-dotnet,
    .services-commerce,
    .services-integrations {
        padding: 4.5rem 0;
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
    }

    .service-feature-list {
        grid-template-columns: 1fr;
    }

    .dotnet-capabilities,
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .commerce-visual-body {
        padding: 2rem;
    }

    .services-cta {
        padding-bottom: 4rem;
    }

    .services-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .service-block-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .commerce-visual-body {
        padding: 1.5rem;
    }

    .services-cta-inner {
        padding: 2rem 1.5rem;
    }
}
