.service-page {
    background-color: var(--light-background);
}

.service-main {
    overflow: hidden;
}

.service-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 600;
}

.service-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #0093e9;
    box-shadow: 0 0 0 5px rgba(0, 147, 233, 0.12);
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(50px, 7vw, 120px);
    min-height: 700px;
    padding: 100px 7% 120px;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-content .service-eyebrow {
    margin-bottom: 28px;
    opacity: 0;
    animation: serviceTextIn 0.65s ease 0.15s forwards;
}

.service-hero h1 {
    max-width: 760px;
    color: var(--dark-color);
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -4.5px;
    opacity: 0;
    transform: translateY(35px);
    animation: serviceTextIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.service-hero-description {
    max-width: 680px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: serviceTextIn 0.75s ease 0.42s forwards;
}

.service-primary-link,
.service-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.service-primary-link {
    position: relative;
    z-index: -1;
    overflow: hidden;
    isolation: isolate;
    margin-top: 38px;
    padding: 16px 24px;
    border-radius: 12px;
    background-color: var(--white-color);
    color: var(--dark-color);
    opacity: 0;
    transform: translateY(25px);
    animation: serviceTextIn 0.65s ease 0.58s forwards;
}

.service-primary-link > span {
    position: relative;
    z-index: 1;
}

.service-primary-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0093e9;
    /* transform: translateX(-102%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); */

    clip-path: circle(
        0 at var(--hover-x, 100%) var(--hover-y, 100%)
    );
    transition: clip-path 0.4s ease;
}

.service-primary-link:hover::before {
    /* transform: translateX(0); */

    clip-path: circle(
        150% at var(--hover-x, 100%) var(--hover-y, 100%)
    );
}

.service-primary-link:hover {
    color: var(--white-color);
}

.service-hero-media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(10, 43, 85, 0.12);
    border-radius: 28px;
    --service-hero-image: none;

    background-image:
        linear-gradient(135deg, rgba(10, 43, 85, 0.95), rgba(0, 147, 233, 0.56)),
        var(--service-hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    box-shadow: 0 30px 70px rgba(10, 43, 85, 0.16);
    opacity: 0;
    transform: translateX(60px) scale(0.96);
    animation: serviceImageIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.service-hero-media::before,
.service-hero-media::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.service-hero-media::before {
    width: 360px;
    height: 360px;
    right: -90px;
    bottom: -120px;
}

.service-hero-media::after {
    width: 180px;
    height: 180px;
    right: 25px;
    bottom: -35px;
}

.service-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(60px, 10vw, 170px);
    padding: 130px 7%;
    border-radius: 28px 28px 0 0;
    background-color: var(--white-color);
}

.service-section-heading h2,
.service-features-heading h2,
.service-help h2 {
    margin-top: 24px;
    color: var(--dark-color);
    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -3.5px;
}

.service-section-heading h2 span,
.service-features-heading h2 span,
.service-help h2 span {
    color: #0093e9;
}

.service-overview-copy {
    padding-top: 45px;
}

.service-overview-copy p,
.service-help-copy > p {
    font-size: 17px;
    line-height: 1.85;
}

.service-overview-copy p + p {
    margin-top: 24px;
}

.service-features {
    padding: 130px 7% 145px;
    background-color: var(--light-background);
}

.service-features-heading {
    max-width: 900px;
    margin-bottom: 70px;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.service-feature-card {
    position: relative;
    grid-column: span 2;
    min-height: 320px;
    overflow: hidden;
    padding: 38px 34px;
    border: 1px solid #e1e5e9;
    border-radius: 22px;
    background-color: #f7f9fb;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.service-feature-grid--five
    .service-feature-card:nth-last-child(2) {
    grid-column: 2 / span 2;
}

.service-feature-grid--five
    .service-feature-card:last-child {
        grid-column: 4 / span 2;
}

.service-feature-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: rgba(0, 147, 233, 0.09);
    transform: scale(0.35);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-feature-card:hover {
    border-color: rgba(0, 147, 233, 0.55);
    box-shadow: 0 22px 50px rgba(10, 43, 85, 0.12);
    transform: translateY(-10px);
}

.service-feature-card:hover::before {
    transform: scale(2.1);
}

.service-feature-number {
    position: relative;
    display: block;
    margin-bottom: 55px;
    color: #0093e9;
    font-size: 14px;
    font-weight: 600;
}

.service-feature-card h3 {
    position: relative;
    color: var(--dark-color);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.service-feature-card p {
    position: relative;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
}

.service-help {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(60px, 9vw, 150px);
    margin: 0 1% 12px;
    padding: 120px 6%;
    overflow: hidden;
    border-radius: 28px;
    background-color: #0a2b55;
}

.service-help .service-eyebrow,
.service-help h2,
.service-help-copy > p {
    color: var(--white-color);
}

.service-help .service-eyebrow::before {
    background-color: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.service-help-copy {
    align-self: end;
}

.service-help-copy > p {
    color: rgba(255, 255, 255, 0.76);
}

.service-secondary-link {
    margin-top: 34px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.service-secondary-link:hover {
    border-color: #0093e9;
    color: #3eb4f7;
}

.service-reveal {
    opacity: 0;
    transform: translateY(55px);
    transition:
        opacity 0.75s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-reveal.service-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-feature-card:nth-child(2),
.service-feature-card:nth-child(5) {
    transition-delay: 0.08s;
}

.service-feature-card:nth-child(3) {
    transition-delay: 0.16s;
}

@keyframes serviceTextIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceImageIn {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 1200px) {
    .service-hero {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
        gap: 55px;
        min-height: 630px;
        padding-inline: 5%;
    }

    .service-hero-media {
        min-height: 500px;
    }

    .service-feature-card {
        grid-column: span 3;
    }

    .service-feature-grid--five
        .service-feature-card:nth-last-child(2) {
        grid-column: span 3;
    }
    
    .service-feature-grid--five
        .service-feature-card:last-child {
        grid-column: 2 / span 4;
    }
    
    .service-help-copy .service-disclaimer {
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 13px;
        font-style: italic;
        line-height: 1.6;
    }
}

@media (max-width: 992px) {
    .service-hero {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 85px 6% 100px;
    }

    .service-hero-content {
        max-width: 760px;
    }

    .service-hero-media {
        min-height: 460px;
    }

    .service-overview,
    .service-help {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-overview,
    .service-features {
        padding: 100px 6%;
    }

    .service-overview-copy {
        padding-top: 0;
    }

    .service-help-copy {
        max-width: 700px;
    }
    
    .service-help-copy .service-disclaimer {
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 13px;
        font-style: italic;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .service-hero {
        gap: 42px;
        padding: 70px 20px 80px;
    }

    .service-hero h1 {
        font-size: clamp(39px, 10vw, 56px);
        letter-spacing: -2.8px;
    }

    .service-hero-description,
    .service-overview-copy p,
    .service-help-copy > p {
        font-size: 16px;
    }
    
    .service-feature-card {
        min-height: 280px;
    }

    .service-hero-media {
        min-height: 370px;
        border-radius: 22px;
    }

    .service-overview,
    .service-features {
        padding: 80px 20px;
    }

    .service-section-heading h2,
    .service-features-heading h2,
    .service-help h2 {
        font-size: clamp(35px, 9vw, 48px);
        letter-spacing: -2.2px;
    }

    .service-features-heading {
        margin-bottom: 45px;
    }

    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-grid--five
        .service-feature-card:nth-last-child(2),
    .service-feature-grid--five
        .service-feature-card:last-child {
        grid-column: auto;
    }

    .service-help {
        margin-inline: 8px;
        padding: 80px 28px;
        border-radius: 22px;
    }
    
    .service-help-copy .service-disclaimer {
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 13px;
        font-style: italic;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 58px 16px 65px;
    }

    .service-hero-content .service-eyebrow {
        margin-bottom: 22px;
    }

    .service-hero h1 {
        font-size: 37px;
        letter-spacing: -2px;
    }

    .service-hero-description {
        margin-top: 22px;
        line-height: 1.7;
    }

    .service-primary-link {
        width: 100%;
        margin-top: 30px;
    }

    .service-hero-media {
        min-height: 280px;
        border-radius: 18px;
    }

    .service-overview,
    .service-features {
        padding: 65px 16px;
    }

    .service-feature-card {
        min-height: 0;
        padding: 30px 25px;
    }

    .service-feature-number {
        margin-bottom: 38px;
    }

    .service-help {
        gap: 36px;
        margin-inline: 6px;
        padding: 65px 22px;
    }
    
    .service-help-copy .service-disclaimer {
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 13px;
        font-style: italic;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hero-content .service-eyebrow,
    .service-hero h1,
    .service-hero-description,
    .service-primary-link,
    .service-hero-media,
    .service-reveal {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}