/* =========================================================
   ARPIVA TECHNOLOGIES
   ORTHOPEDIC REVENUE CYCLE PAGE
   PREMIUM ENTERPRISE DESIGN
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.orthopedic-page {
    --ortho-navy: #0b1b34;
    --ortho-navy-2: #112846;
    --ortho-navy-3: #183553;
    --ortho-blue: #2466a8;
    --ortho-light-blue: #dcecf9;
    --ortho-orange: #ff9d1c;
    --ortho-orange-2: #ffb64a;
    --ortho-white: #ffffff;
    --ortho-text: #c9d4df;
    --ortho-dark-text: #2a3850;
    --ortho-light-bg: #f5f8fc;
    --ortho-border: rgba(255,255,255,.12);

    color: var(--ortho-dark-text);
    overflow: hidden;
    background: #ffffff;
}

.orthopedic-page *,
.orthopedic-page *::before,
.orthopedic-page *::after {
    box-sizing: border-box;
}

.orthopedic-page img {
    display: block;
    max-width: 100%;
}

.orthopedic-page a {
    text-decoration: none;
}

.ortho-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   SECTION COMMON
========================================================= */

.ortho-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ortho-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 18px;
}

.ortho-section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--ortho-orange),
        var(--ortho-orange-2)
    );
}

.orthopedic-page h1,
.orthopedic-page h2,
.orthopedic-page h3,
.orthopedic-page p {
    margin-top: 0;
}

.orthopedic-page h2 {
    color: var(--ortho-navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.orthopedic-page h2 span {
    display: block;
    color: var(--ortho-orange);
}

.orthopedic-page p {
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   HERO
========================================================= */

.ortho-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 110px 0 85px;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    overflow: hidden;
}

.ortho-hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(255, 157, 28, .12);
    filter: blur(90px);
    left: -280px;
    bottom: -280px;
    z-index: -1;
    animation: orthoGlow 8s ease-in-out infinite;
}

.ortho-hero::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 220px;
    right: 8%;
    top: 50%;
    background: linear-gradient(
        transparent,
        rgba(255,157,28,.8),
        transparent
    );
    opacity: .6;
    animation: orthoLine 4s ease-in-out infinite;
}

.ortho-hero-content {
    width: min(650px, 100%);
    position: relative;
    z-index: 2;
}

.ortho-hero-tag {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid rgba(255,157,28,.3);
    background: rgba(255,157,28,.08);
    color: var(--ortho-orange-2);
    border-radius: 100px;
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 800;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: orthoFadeUp .8s ease both;
}

.ortho-hero h1 {
    color: #ffffff;
    font-size: clamp(48px, 5.4vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 850;
    margin-bottom: 26px;
    animation: orthoFadeUp .9s ease both;
    animation-delay: .08s;
}

.ortho-hero h1 span {
    display: block;
    color: var(--ortho-orange);
}

.ortho-hero p {
    max-width: 610px;
    color: rgba(255,255,255,.76);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 32px;
    animation: orthoFadeUp .9s ease both;
    animation-delay: .16s;
}

.ortho-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: orthoFadeUp .9s ease both;
    animation-delay: .24s;
}

.ortho-btn {
    min-height: 54px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.ortho-btn:hover {
    transform: translateY(-3px);
}

.ortho-btn-primary {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--ortho-orange),
        #ff8a00
    );
    box-shadow: 0 12px 28px rgba(255,137,0,.28);
}

.ortho-btn-primary:hover {
    box-shadow: 0 18px 38px rgba(255,137,0,.42);
}

.ortho-btn-primary span {
    font-size: 20px;
    transition: transform .3s ease;
}

.ortho-btn-primary:hover span {
    transform: translateX(4px);
}

.ortho-btn-secondary {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(10px);
}

.ortho-btn-secondary:hover {
    background: rgba(255,255,255,.1);
}

.ortho-hero-highlights {
    display: flex;
    gap: 30px;
    margin-top: 48px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.14);
    animation: orthoFadeUp .9s ease both;
    animation-delay: .32s;
}

.ortho-hero-highlights > div {
    position: relative;
}

.ortho-hero-highlights > div:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 32px;
    right: -16px;
    top: 5px;
    background: rgba(255,255,255,.16);
}

.ortho-hero-highlights strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.ortho-hero-highlights span {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 11px;
}


/* =========================================================
   INTRO
========================================================= */

.ortho-intro {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255,157,28,.07),
            transparent 28%
        ),
        #ffffff;
}

.ortho-intro-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: center;
}

.ortho-intro-content p {
    max-width: 600px;
    color: #667386;
}

.ortho-intro-features {
    display: grid;
    gap: 14px;
}

.ortho-intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5ebf2;
    box-shadow: 0 14px 35px rgba(10,30,55,.05);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.ortho-intro-feature:hover {
    transform: translateX(7px);
    border-color: rgba(255,157,28,.35);
    box-shadow: 0 20px 45px rgba(10,30,55,.09);
}

.ortho-feature-number {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--ortho-navy),
        var(--ortho-blue)
    );
}

.ortho-intro-feature h3 {
    color: var(--ortho-navy);
    font-size: 18px;
    margin-bottom: 6px;
}

.ortho-intro-feature p {
    color: #6d7888;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}


/* =========================================================
   EXPERTISE
========================================================= */

.ortho-expertise {
    position: relative;
    padding: 120px 0;
    background: var(--ortho-light-bg);
}

.ortho-expertise-layout {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 85px;
    align-items: center;
}

.ortho-expertise-image {
    position: relative;
    padding: 18px;
}

.ortho-expertise-image::before {
    content: "";
    position: absolute;
    inset: 0 45px 45px 0;
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            var(--ortho-orange),
            transparent 70%
        );
    opacity: .2;
}

.ortho-expertise-image img {
    position: relative;
    width: 100%;
    min-height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(11,27,52,.16);
}

.ortho-image-badge {
    position: absolute;
    right: -10px;
    bottom: 55px;
    width: 170px;
    padding: 20px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--ortho-orange),
        #e97e00
    );
    box-shadow: 0 20px 40px rgba(255,137,0,.25);
}

.ortho-image-badge strong {
    display: block;
    font-size: 24px;
    letter-spacing: 1px;
}

.ortho-image-badge span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.5;
    opacity: .9;
}

.ortho-lead {
    color: #647185;
    margin-bottom: 25px;
}

.ortho-expertise-list {
    display: grid;
    gap: 13px;
}

.ortho-expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ortho-expertise-item > span {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--ortho-orange);
    font-size: 12px;
    font-weight: 800;
    margin-top: 2px;
}

.ortho-expertise-item p {
    margin: 0;
    color: #5f6b7d;
    font-size: 14px;
}


/* =========================================================
   SOLUTIONS
========================================================= */

.ortho-solutions {
    position: relative;
    padding: 120px 0;
    background: var(--ortho-navy);
    overflow: hidden;
}

.ortho-solutions::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    right: -350px;
    top: -300px;
    background: rgba(36,102,168,.3);
    filter: blur(80px);
}

.ortho-section-heading {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.ortho-solutions .ortho-section-label {
    justify-content: center;
}

.ortho-solutions h2 {
    color: #ffffff;
}

.ortho-solutions h2 span {
    color: var(--ortho-orange);
}

.ortho-section-heading > p {
    color: rgba(255,255,255,.64);
}

.ortho-solutions-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ortho-solution-card {
    position: relative;
    min-height: 290px;
    padding: 32px;
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );
    border: 1px solid rgba(255,255,255,.1);
    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.ortho-solution-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -70px;
    bottom: -70px;
    background: rgba(255,157,28,.1);
}

.ortho-solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,157,28,.45);
    background: rgba(255,255,255,.09);
}

.ortho-solution-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(255,255,255,.18);
    font-size: 12px;
    font-weight: 800;
}

.ortho-solution-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--ortho-orange);
    font-size: 27px;
    background: rgba(255,157,28,.09);
    border: 1px solid rgba(255,157,28,.2);
    margin-bottom: 25px;
}

.ortho-solution-card h3 {
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 12px;
}

.ortho-solution-card p {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 0;
}


/* =========================================================
   WORKFLOW
========================================================= */

.ortho-workflow-section {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(36,102,168,.08),
            transparent 30%
        ),
        #ffffff;
}

.ortho-workflow-heading {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}

.ortho-workflow-heading .ortho-section-label {
    justify-content: center;
}

.ortho-workflow-heading p {
    color: #687486;
}

.ortho-workflow-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ortho-workflow-timeline::before {
    content: "";
    position: absolute;
    height: 2px;
    top: 44px;
    left: 12%;
    right: 12%;
    background:
        linear-gradient(
            90deg,
            var(--ortho-orange),
            rgba(36,102,168,.55)
        );
    z-index: 0;
}

.ortho-workflow-step {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e7edf4;
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.ortho-workflow-step:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(11,27,52,.1);
}

.ortho-workflow-top {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ortho-orange);
    background: #ffffff;
    border: 2px solid var(--ortho-orange);
    box-shadow: 0 10px 25px rgba(11,27,52,.08);
}

.workflow-step-number {
    position: absolute;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    top: -7px;
    right: -4px;
    color: #ffffff;
    background: var(--ortho-navy);
    font-size: 9px;
    font-weight: 800;
}

.workflow-step-icon {
    font-size: 28px;
    line-height: 1;
}

.ortho-workflow-step h3 {
    color: var(--ortho-navy);
    font-size: 19px;
    margin-bottom: 8px;
}

.ortho-workflow-step p {
    color: #718093;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 0;
}

.ortho-workflow-results {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #e4eaf1;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(11,27,52,.06);
}

.ortho-result {
    padding: 26px 22px;
    text-align: center;
}

.ortho-result:not(:last-child) {
    border-right: 1px solid #e7edf3;
}

.ortho-result strong {
    display: block;
    color: var(--ortho-navy);
    font-size: 14px;
    margin-bottom: 7px;
}

.ortho-result span {
    display: block;
    color: #7a8796;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   CTA
========================================================= */

.ortho-cta-section {
    padding: 120px 0;
    background: var(--ortho-light-bg);
}

.ortho-cta {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(36,102,168,.25),
            transparent 45%
        ),
        var(--ortho-navy);
    box-shadow: 0 30px 70px rgba(11,27,52,.2);
}

.ortho-cta-content {
    position: relative;
    z-index: 2;
    padding: 65px;
}

.ortho-cta h2 {
    color: #ffffff;
    font-size: clamp(34px, 4vw, 50px);
    margin-bottom: 20px;
}

.ortho-cta h2 span {
    color: var(--ortho-orange);
}

.ortho-cta-content > p {
    max-width: 570px;
    color: rgba(255,255,255,.68);
    margin-bottom: 30px;
}

.ortho-cta-image {
    position: relative;
    height: 100%;
    min-height: 430px;
}

.ortho-cta-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            var(--ortho-navy) 0%,
            rgba(11,27,52,.4) 30%,
            transparent 75%
        );
}

.ortho-cta-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes orthoFadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes orthoGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: .5;
    }

    50% {
        transform: scale(1.15);
        opacity: .8;
    }

}

@keyframes orthoLine {

    0%,
    100% {
        transform: translateY(-20px);
        opacity: .2;
    }

    50% {
        transform: translateY(20px);
        opacity: .8;
    }

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .ortho-hero {
        min-height: auto;
        padding: 95px 0 75px;
        background-position: 65% center;
    }

    .ortho-intro-layout,
    .ortho-expertise-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .ortho-expertise-image {
        max-width: 650px;
    }

    .ortho-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ortho-workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .ortho-workflow-timeline::before {
        display: none;
    }

    .ortho-workflow-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .ortho-result:nth-child(2) {
        border-right: none;
    }

    .ortho-result:nth-child(-n+2) {
        border-bottom: 1px solid #e7edf3;
    }

    .ortho-cta {
        grid-template-columns: 1fr;
    }

    .ortho-cta-image {
        display: none;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 680px) {

    .ortho-container {
        width: min(100% - 32px, 1180px);
    }

    .ortho-hero {
        padding: 80px 0 65px;
        background-position: 60% center;
    }

    .ortho-hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .ortho-hero p {
        font-size: 16px;
    }

    .ortho-buttons {
        flex-direction: column;
    }

    .ortho-btn {
        width: 100%;
    }

    .ortho-hero-highlights {
        gap: 15px;
        justify-content: space-between;
    }

    .ortho-hero-highlights strong {
        font-size: 12px;
    }

    .ortho-hero-highlights span {
        font-size: 9px;
    }

    .ortho-hero-highlights > div:not(:last-child)::after {
        right: -8px;
    }

    .ortho-intro,
    .ortho-expertise,
    .ortho-solutions,
    .ortho-workflow-section,
    .ortho-cta-section {
        padding: 80px 0;
    }

    .orthopedic-page h2 {
        font-size: 35px;
        letter-spacing: -1.2px;
    }

    .ortho-intro-layout,
    .ortho-expertise-layout {
        gap: 40px;
    }

    .ortho-intro-feature {
        padding: 20px;
    }

    .ortho-expertise-image {
        padding: 8px;
    }

    .ortho-expertise-image img {
        min-height: 320px;
    }

    .ortho-image-badge {
        right: 0;
        bottom: 20px;
    }

    .ortho-solutions-grid {
        grid-template-columns: 1fr;
    }

    .ortho-solution-card {
        min-height: auto;
    }

    .ortho-workflow-heading {
        margin-bottom: 40px;
    }

    .ortho-workflow-timeline {
        grid-template-columns: 1fr;
    }

    .ortho-workflow-step {
        display: grid;
        grid-template-columns: 75px 1fr;
        column-gap: 18px;
        text-align: left;
        padding: 22px;
    }

    .ortho-workflow-top {
        grid-row: span 2;
        width: 70px;
        height: 70px;
        margin: 0;
    }

    .ortho-workflow-step h3 {
        margin: 4px 0 5px;
    }

    .ortho-workflow-step p {
        margin: 0;
    }

    .ortho-workflow-results {
        grid-template-columns: 1fr;
    }

    .ortho-result,
    .ortho-result:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid #e7edf3;
    }

    .ortho-result:last-child {
        border-bottom: none;
    }

    .ortho-cta {
        border-radius: 20px;
    }

    .ortho-cta-content {
        padding: 42px 25px;
    }

}