/* Case Audit - Clinical Report */
.case-audit-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0 clamp(58px, 7vw, 92px);
    border-bottom: 1px solid #dce8f3;
    background:
        linear-gradient(120deg, rgba(248,251,254,.98) 0%, rgba(255,255,255,.96) 58%, rgba(232,243,253,.9) 100%),
        radial-gradient(circle at 82% 16%, rgba(0,102,204,.12), transparent 35%);
}

.case-audit-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10,31,58,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,31,58,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 78%);
}

.case-audit-hero .container,
.case-audit-page .container {
    position: relative;
    z-index: 1;
}

.case-audit-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 38px;
    color: #0066cc;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.case-audit-back:hover {
    color: #004f9f;
}

.case-audit-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
    gap: clamp(40px, 7vw, 112px);
    align-items: end;
}

.case-audit-hero__grid > div > span,
.case-audit-method b,
.case-audit-report__id,
.case-audit-timeline__content > span,
.case-audit-comparison__head span,
.case-audit-notice span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0066cc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.case-audit-hero__grid > div > span::before,
.case-audit-timeline__content > span::before,
.case-audit-comparison__head span::before,
.case-audit-notice span::before {
    content: "";
    width: 34px;
    height: 1px;
    background: #0066cc;
}

.case-audit-hero h1 {
    max-width: 980px;
    margin: 18px 0 22px;
    color: #071f3d;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(40px, 5.4vw, 70px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

.case-audit-hero p {
    max-width: 780px;
    margin: 0;
    color: #43566f;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.85;
}

.case-audit-hero aside {
    padding: 28px;
    border: 1px solid #d7e5f2;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 28px 70px rgba(10,45,84,.08);
}

.case-audit-hero aside small,
.case-audit-hero aside span {
    display: block;
    color: #6b7d94;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.case-audit-hero aside strong {
    display: block;
    margin: 10px 0 4px;
    color: #071f3d;
    font-size: 72px;
    font-weight: 900;
    line-height: .95;
}

.case-audit-page {
    padding: clamp(46px, 7vw, 86px) 0 clamp(68px, 9vw, 116px);
    background:
        linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
}

.case-audit-method {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: clamp(34px, 5vw, 62px);
    overflow: hidden;
    border: 1px solid #dce8f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(10,45,84,.05);
}

.case-audit-method div {
    min-height: 118px;
    padding: 24px;
    border-right: 1px solid #dce8f3;
}

.case-audit-method div:last-child {
    border-right: 0;
}

.case-audit-method b {
    color: #b38a33;
}

.case-audit-method span {
    display: block;
    margin-top: 16px;
    color: #0a2544;
    font-size: 20px;
    font-weight: 900;
}

.case-audit-list {
    display: grid;
    gap: clamp(34px, 5vw, 60px);
}

.case-audit-report {
    overflow: hidden;
    border: 1px solid #d9e6f2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(10,45,84,.09);
}

.case-audit-report__cover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
    gap: 28px;
    align-items: end;
    padding: clamp(30px, 4.5vw, 54px);
    border-bottom: 1px solid #e4eef7;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbfe 100%),
        linear-gradient(90deg, rgba(0,102,204,.08), transparent);
}

.case-audit-report__id {
    color: #b38a33;
}

.case-audit-report__id::before {
    content: "";
    width: 34px;
    height: 1px;
    background: #b38a33;
}

.case-audit-report h2 {
    max-width: 860px;
    margin: 14px 0 0;
    color: #071f3d;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 700;
    line-height: 1.14;
}

.case-audit-patient-card {
    padding: 20px 22px;
    border: 1px solid #cfe1f1;
    border-radius: 16px;
    background: #f3f8fe;
}

.case-audit-patient-card small {
    display: block;
    margin-bottom: 10px;
    color: #0066cc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.case-audit-patient-card p {
    margin: 0;
    color: #16314f;
    font-weight: 850;
    line-height: 1.65;
}

.case-audit-report__body {
    padding: clamp(26px, 4vw, 48px);
}

.case-audit-timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.case-audit-timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 1px;
    background: #c8dbec;
}

.case-audit-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(220px, 300px);
    gap: clamp(18px, 3vw, 34px);
    padding: 0 0 clamp(28px, 4vw, 44px);
}

@supports (animation-timeline: view()) {
    .case-audit-timeline__item {
        opacity: 0;
        transform: translateY(18px);
        animation: caseAuditFadeInUp .7s cubic-bezier(.22, 1, .36, 1) both;
        animation-timeline: view();
        animation-range: entry 8% cover 32%;
    }
}

.case-audit-timeline__item:last-child {
    padding-bottom: 0;
}

.case-audit-timeline__marker {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #bcd5ec;
    border-radius: 50%;
    background: #fff;
    color: #0066cc;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 0 0 8px #fff;
}

.case-audit-timeline__content {
    min-width: 0;
    padding: 2px 0 0;
}

.case-audit-timeline__content h3,
.case-audit-comparison__head h3,
.case-audit-notice h2 {
    color: #071f3d;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-weight: 700;
    letter-spacing: 0;
}

.case-audit-timeline__content h3 {
    margin: 12px 0 14px;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.22;
}

.case-audit-timeline__content p {
    margin: 0;
    color: #425672;
    font-size: 16px;
    line-height: 1.88;
}

.case-audit-note {
    align-self: start;
    position: relative;
    margin-top: 30px;
    padding: 18px 18px 18px 20px;
    border: 1px solid #d9e7f4;
    border-radius: 16px;
    background: #fbfdff;
    box-shadow: 0 16px 40px rgba(10,45,84,.06);
}

.case-audit-note::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -7px;
    width: 12px;
    height: 12px;
    border-left: 1px solid #d9e7f4;
    border-bottom: 1px solid #d9e7f4;
    background: #fbfdff;
    transform: rotate(45deg);
}

.case-audit-note strong {
    display: block;
    margin-bottom: 8px;
    color: #0066cc;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.case-audit-note p {
    margin: 0;
    color: #4b6078;
    font-size: 14px;
    line-height: 1.7;
}

.case-audit-steps {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.case-audit-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid #e2edf7;
    border-radius: 14px;
    background: #f8fbfe;
}

.case-audit-steps b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #eaf5ff;
    color: #0066cc;
    font-size: 11px;
    font-weight: 950;
}

.case-audit-steps p {
    padding-top: 2px;
    font-size: 15px;
    line-height: 1.78;
}

.case-audit-outcome-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.case-audit-outcome-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #dce8f3;
    border-radius: 14px;
    background: #f8fbfe;
    color: #16314f;
    font-weight: 800;
}

.case-audit-check {
    flex: 0 0 auto;
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    margin-top: 4px;
    border: 1px solid rgba(0, 102, 204, .32);
    border-radius: 50%;
    background: #fff;
    color: #0066cc;
}

.case-audit-check svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.case-audit-metric {
    color: #0066cc;
    font-weight: 600;
}

.case-audit-comparison {
    margin-top: clamp(30px, 5vw, 54px);
    padding: clamp(24px, 3.4vw, 38px);
    border: 1px solid rgba(0, 102, 204, .18);
    border-left: 3px solid #0066cc;
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}

.case-audit-comparison__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.case-audit-comparison__head h3 {
    margin: 10px 0 0;
    font-size: clamp(24px, 2.4vw, 34px);
}

.case-audit-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #d8e7f4;
    border-radius: 16px;
    background: #fff;
}

.case-audit-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    table-layout: fixed;
    color: #243b55;
    font-size: 14px;
}

.case-audit-table th {
    padding: 16px 18px;
    background: #082747;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-align: left;
}

.case-audit-table td {
    padding: 17px 18px;
    border-bottom: 1px solid #e5edf5;
    background: #fff;
    line-height: 1.68;
    overflow-wrap: anywhere;
    transition: background .3s ease, color .3s ease;
}

.case-audit-table tbody tr {
    transition: background .3s ease;
}

.case-audit-table tbody tr:hover td {
    background: #eef7ff;
}

.case-audit-table tr:last-child td {
    border-bottom: 0;
}

.case-audit-table td:first-child {
    color: #071f3d;
    font-weight: 900;
}

.case-audit-table td:nth-child(3) {
    background: #f7fbff;
}

.case-audit-table tbody tr:hover td:nth-child(3) {
    background: #e7f3ff;
}

.case-audit-table td:last-child strong {
    display: inline-grid;
    min-width: 34px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: #e6f3ff;
    color: #0066cc;
    font-weight: 950;
}

.case-audit-case-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin-top: clamp(24px, 4vw, 42px);
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid #d7e6f4;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,248,255,.96)),
        radial-gradient(circle at 88% 0%, rgba(0,102,204,.12), transparent 34%);
}

.case-audit-case-cta span {
    display: inline-block;
    margin-bottom: 9px;
    color: #0066cc;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.case-audit-case-cta h3 {
    margin: 0;
    color: #071f3d;
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.25;
}

.case-audit-case-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: #0066cc;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 16px 34px rgba(0,102,204,.22);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.case-audit-case-cta a:hover {
    transform: translateY(-2px);
    background: #0058b0;
    box-shadow: 0 22px 46px rgba(0,102,204,.27);
}

.case-audit-report__seal {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(20px, 3.5vw, 36px);
    padding-top: 22px;
    border-top: 1px solid #e2edf7;
}

.case-audit-report__seal p {
    margin: 0;
    color: #7a8da3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.case-audit-report__seal div {
    position: relative;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(0,102,204,.45);
    border-radius: 50%;
    color: #0066cc;
    text-align: center;
    transform: rotate(-8deg);
}

.case-audit-report__seal div::before {
    content: "";
    position: absolute;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(0,102,204,.2);
    border-radius: 50%;
}

.case-audit-report__seal span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.case-audit-report__seal strong {
    font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
    font-size: 18px;
    line-height: 1;
}

@keyframes caseAuditFadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-audit-notice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: clamp(38px, 6vw, 72px);
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(0,102,204,.18);
    border-radius: 22px;
    background: linear-gradient(135deg, #071f3d 0%, #0a4c88 100%);
    color: #fff;
}

.case-audit-notice span {
    color: #84c5ff;
}

.case-audit-notice span::before {
    background: #84c5ff;
}

.case-audit-notice h2 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
}

.case-audit-notice p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.84);
    line-height: 1.85;
}

.case-audit-notice a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #0066cc;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.case-audit-notice a:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(0,0,0,.22);
}

@media (max-width: 991px) {
    .case-audit-hero__grid,
    .case-audit-report__cover,
    .case-audit-notice {
        grid-template-columns: 1fr;
    }

    .case-audit-method {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-audit-method div:nth-child(2n) {
        border-right: 0;
    }

    .case-audit-method div:nth-child(-n+2) {
        border-bottom: 1px solid #dce8f3;
    }

    .case-audit-timeline__item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .case-audit-note {
        grid-column: 2;
        margin-top: 0;
    }

    .case-audit-case-cta,
    .case-audit-report__seal {
        grid-template-columns: 1fr;
    }

    .case-audit-report__seal {
        align-items: start;
    }
}

@media (max-width: 575px) {
    .case-audit-hero {
        padding: 42px 0 34px;
    }

    .case-audit-hero h1 {
        font-size: 34px;
    }

    .case-audit-hero aside,
    .case-audit-patient-card {
        padding: 20px;
    }

    .case-audit-method {
        grid-template-columns: 1fr;
    }

    .case-audit-method div,
    .case-audit-method div:nth-child(2n) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #dce8f3;
    }

    .case-audit-method div:last-child {
        border-bottom: 0;
    }

    .case-audit-report {
        border-radius: 18px;
    }

    .case-audit-report__cover,
    .case-audit-report__body,
    .case-audit-notice {
        padding: 22px;
    }

    .case-audit-report h2 {
        font-size: 28px;
    }

    .case-audit-timeline__item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .case-audit-timeline::before {
        left: 20px;
    }

    .case-audit-timeline__marker {
        width: 42px;
        height: 42px;
        box-shadow: 0 0 0 6px #fff;
    }

    .case-audit-note {
        grid-column: 1 / -1;
        margin: 0 0 0 56px;
    }

    .case-audit-note::before {
        display: none;
    }

    .case-audit-table {
        min-width: 700px;
    }

    .case-audit-comparison {
        padding: 20px;
        border-radius: 18px;
    }

    .case-audit-case-cta {
        padding: 20px;
        border-radius: 18px;
    }

    .case-audit-case-cta a {
        width: 100%;
    }

    .case-audit-report__seal div {
        width: 92px;
        height: 92px;
    }

    .case-audit-report__seal div::before {
        width: 78px;
        height: 78px;
    }

    .case-audit-notice a {
        width: 100%;
    }
}
