/* ============================================================
   HospiSmart — LIS & RIS product pages
   File: assets/css/lis-ris.css
   Used only by:
     laboratory-management-software.html  (.lr-page--lis)
     radiology-information-system.html    (.lr-page--ris)
   Header, footer and Book Demo modal keep their existing styles
   from style.css. Every class here is prefixed "lr-" and scoped
   under .lr-main so nothing leaks to other pages.
   Font: Plus Jakarta Sans (already used by the blog/pricing pages)
   ============================================================ */

.lr-main {
    --lr-ink: #13213d;
    --lr-body: #4f5b6b;
    --lr-muted: #8a94a3;
    --lr-blue: #2a5ea8;
    --lr-blue-soft: #eef3fb;
    --lr-orange: #e4572a;
    --lr-orange-2: #f07a22;
    --lr-orange-soft: #fff3ec;
    --lr-navy: #0f1b33;
    --lr-navy-2: #1b3265;
    --lr-line: #e6ebf3;
    --lr-bg: #f6f8fc;
    --lr-white: #ffffff;
    --lr-green: #16a34a;
    --lr-shadow: 0 14px 38px rgba(19, 33, 61, 0.08);
    --lr-shadow-sm: 0 4px 16px rgba(19, 33, 61, 0.06);
    --lr-radius: 18px;
    --lr-grad: linear-gradient(90deg, var(--lr-blue) 0%, var(--lr-orange) 100%);

    display: block;
    font-family: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--lr-body);
    background: var(--lr-white);
    overflow-x: hidden;
}

.lr-main p {
    font-size: 1.15rem;
    color: var(--lr-body);
}

.lr-main h1,
.lr-main h2,
.lr-main h3,
.lr-main h4 {
    font-family: inherit;
}

.lr-main a:not(.lr-btn):not(.lr-btn-navy) {
    color: var(--lr-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 94, 168, 0.3);
}

.lr-main a:not(.lr-btn):not(.lr-btn-navy):hover {
    border-bottom-color: var(--lr-blue);
}

.lr-main :focus-visible {
    outline: 3px solid rgba(42, 94, 168, 0.45);
    outline-offset: 2px;
}

.lr-blue { color: var(--lr-blue); }
.lr-orange { color: var(--lr-orange); }

/* Anchors clear the fixed navbar */
.lr-main section[id] {
    scroll-margin-top: 110px;
}

/* ---------- Blank image containers ---------- */
.lr-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--lr-radius);
    background:
        linear-gradient(135deg, rgba(42, 94, 168, 0.08), rgba(228, 87, 42, 0.06)),
        #eef2f8;
}

.lr-img img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* Hide the broken-image glyph until a real src is added */
.lr-img img[src=""],
.lr-img img:not([src]) {
    visibility: hidden;
}

/* ---------- Buttons ---------- */
/* style.css sets ".btn { font-size: 1.2rem !important }";
   these buttons are <a>/<button> without .btn so no override is needed. */
.lr-btn,
.lr-btn-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lr-btn {
    background: linear-gradient(90deg, var(--lr-orange) 0%, #d9481d 100%);
    box-shadow: 0 10px 24px rgba(228, 87, 42, 0.28);
    color: var(--lr-white);
}

.lr-page--ris .lr-btn {
    background: linear-gradient(90deg, var(--lr-orange-2) 0%, var(--lr-orange) 100%);
}

.lr-btn:hover,
.lr-btn:focus {
    color: var(--lr-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(228, 87, 42, 0.34);
}

.lr-btn-navy {
    background: linear-gradient(90deg, var(--lr-navy) 0%, var(--lr-navy-2) 100%);
    color: var(--lr-white);
}

.lr-btn-navy:hover,
.lr-btn-navy:focus {
    color: var(--lr-white);
    transform: translateY(-2px);
}

/* ---------- Section scaffolding ---------- */
.lr-sec {
    padding: 90px 0;
}

.lr-sec--tint {
    background:
        radial-gradient(700px 380px at 100% 0%, #eaf1fc 0%, rgba(234, 241, 252, 0) 65%),
        radial-gradient(620px 380px at 0% 100%, #fdeee5 0%, rgba(253, 238, 229, 0) 60%),
        var(--lr-bg);
}

.lr-sec--soft {
    background: var(--lr-bg);
}

.lr-head {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.lr-head--left {
    margin-left: 0;
    text-align: left;
}

.lr-h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lr-bar {
    display: block;
    width: 60px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: var(--lr-grad);
}

.lr-head--left .lr-bar,
.lr-bar--left {
    margin-left: 0;
}

.lr-head p {
    margin: 18px auto 0;
    font-size: 1.08rem;
}

/* RIS eyebrow pill */
.lr-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 5px 13px;
    border: 1px solid #fbd9c6;
    border-radius: 40px;
    background: var(--lr-orange-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lr-orange);
}

.lr-pill i {
    font-size: 0.85rem;
}

/* ============================================================
   HERO (both pages)
   ============================================================ */
.lr-hero {
    padding: 150px 0 90px;
    background:
        radial-gradient(820px 520px at 100% 0%, #e6eefb 0%, rgba(230, 238, 251, 0) 62%),
        radial-gradient(700px 460px at 0% 100%, #fdeadf 0%, rgba(253, 234, 223, 0) 58%),
        var(--lr-bg);
}

.lr-hero-title {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.14;
   
}

.lr-hero .lr-bar {
    width: 92px;
    margin: 22px 0 26px;
}

.lr-hero-lead {
    margin: 0 0 16px;
    font-size: 1.12rem;
}

.lr-hero-sub {
    margin: 0 0 30px;
    font-size: 1rem;
    color: #667085 !important;
}

.lr-hero-img {
    box-shadow: var(--lr-shadow);
}

/* RIS hero callout + dark media card */
.lr-callout {
    margin: 0 0 30px;
    padding: 18px 22px;
    border: 1px solid #fbe1d2;
    border-left: 4px solid var(--lr-orange);
    border-radius: 0 14px 14px 0;
    background: #fffaf6;
}

.lr-main .lr-callout p {
    margin: 0;
    font-size: 1rem;
}

.lr-callout strong {
    color: var(--lr-ink);
}

.lr-dark-card {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(160deg, #1c2f55 0%, var(--lr-navy) 100%);
    box-shadow: 0 24px 50px rgba(15, 27, 51, 0.28);
}

.lr-dark-card .lr-img {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.lr-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.lr-status i {
    margin-right: 8px;
    color: #34d399;
}

.lr-tag-dark {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(228, 87, 42, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ff9a6c;
}

/* ============================================================
   "WHAT IS" section
   ============================================================ */

.lr-topcard {
    position: relative;
    padding: 34px 32px;
    border: 1px solid var(--lr-line);
    border-radius: var(--lr-radius);
    background: var(--lr-white);
    box-shadow: var(--lr-shadow);
}

.lr-topcard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--lr-radius) var(--lr-radius) 0 0;
    background: var(--lr-grad);
}

.lr-main .lr-topcard p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* RIS variant: orange left rule */
.lr-sidecard {
    padding: 30px 32px;
    border: 1px solid var(--lr-line);
    border-left: 4px solid var(--lr-orange);
    border-radius: 0 var(--lr-radius) var(--lr-radius) 0;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow);
}

.lr-main .lr-sidecard .lr-sidecard-lead {
    margin: 0 0 14px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--lr-ink);
}

.lr-main .lr-sidecard p {
    margin: 0;
}

/* Image card with caption overlay (RIS) */
.lr-capcard {
    position: relative;
    aspect-ratio: 4 / 3;
    box-shadow: var(--lr-shadow);
}

.lr-capcard-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 22px 20px;
    background: linear-gradient(180deg, rgba(15, 27, 51, 0) 0%, rgba(15, 27, 51, 0.92) 70%);
    color: var(--lr-white);
}

.lr-capcard-cap span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff9a6c;
}

.lr-main .lr-capcard-cap p {
    margin: 4px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--lr-white);
}

/* ============================================================
   FEATURES — LIS (tabbed card with autoplay)
   ============================================================ */
.lr-feat {
    position: relative;
    padding: 40px 36px 34px;
    border: 1px solid var(--lr-line);
    border-radius: 22px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow);
}

.lr-feat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--lr-blue) 0%, var(--lr-orange) 50%, var(--lr-blue) 100%);
}

.lr-feat .lr-h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.lr-feat-intro {
    margin: 18px 0 22px;
    font-size: 1rem;
}

.lr-tablist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lr-feat-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e4e4e4;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    color: var(--lr-body);
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left-color: var(--lr-orange);
    background: #fff;
    font-weight: 700;
}

.lr-feat-tab:hover {
    background: #f5f7fb;
    color: var(--lr-ink);
}

.lr-feat-tab[aria-selected="true"] {
    border-left-color: var(--lr-orange);
    background: var(--lr-blue-soft);
    font-weight: 700;
    color: var(--lr-blue);
}

.lr-feat-tab[aria-selected="true"]::after {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lr-orange);
}

.lr-ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.lr-ctrl-arrows {
    display: flex;
    gap: 8px;
}

.lr-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--lr-line);
    border-radius: 8px;
    background: var(--lr-white);
    font-size: 0.95rem;
    color: var(--lr-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-arrow:hover {
    background: #f5f7fb;
}

.lr-arrow--solid {
    border-color: var(--lr-blue);
    background: var(--lr-blue);
    color: var(--lr-white);
}

.lr-arrow--solid:hover {
    background: #214b88;
}

.lr-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--lr-line);
    border-radius: 8px;
    background: #f5f7fb;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lr-body);
}

.lr-play i {
    color: var(--lr-orange);
}

.lr-feat-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 26px 22px;
    border: 1px solid var(--lr-line);
    border-radius: 16px;
    background: #f9fbfe;
}

.lr-feat-panel[hidden] {
    display: none;
}

.lr-tag {
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: 6px;
    background: var(--lr-blue-soft);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lr-blue);
}

.lr-feat-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0 14px;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 800;
    line-height: 1.3;
}

.lr-ico {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--lr-orange-soft);
    font-size: 1.15rem;
    color: var(--lr-orange);
}

.lr-ico--blue {
    background: var(--lr-blue-soft);
    color: var(--lr-blue);
}

.lr-main .lr-feat-panel p {
    margin: 0 0 12px;
    font-size: 1rem;
}

.lr-levels {
    display: grid;
    gap: 10px;
    margin: 4px 0 8px;
    padding: 0;
    list-style: none;
}

.lr-levels li {
    padding: 12px 14px;
    border: 1px solid var(--lr-line);
    border-left: 3px solid var(--lr-blue);
    border-radius: 0 10px 10px 0;
    background: var(--lr-white);
    font-size: 0.94rem;
    line-height: 1.6;
}

.lr-levels li strong {
    color: var(--lr-ink);
}

.lr-feat-media {
    position: relative;
    margin-top: auto;
    aspect-ratio: 16 / 6;
    min-height: 325px;
    border-radius: 12px;
    background: var(--lr-navy);
}

.lr-feat-media-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(15, 27, 51, 0) 0%, rgba(15, 27, 51, 0.85) 100%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lr-white);
}

.lr-feat-media-cap small {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ff9a6c;
}

.lr-feat-media + .lr-feat-media-spacer {
    display: none;
}

/* ============================================================
   FEATURES — RIS (navy active tab, pager, highlights)
   ============================================================ */
.lr-rtab {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--lr-line);
    border-left: 4px solid transparent;
    border-radius: 12px;
    background: var(--lr-white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    color: var(--lr-ink);
    box-shadow: var(--lr-shadow-sm);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lr-rtab + .lr-rtab {
    margin-top: 10px;
}

.lr-rtab span.lr-rtab-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lr-rtab .lr-ico {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f4f9;
    font-size: 1rem;
    color: var(--lr-ink);
}

.lr-rtab > .bi-chevron-right {
    font-size: 0.85rem;
    color: var(--lr-muted);
}

.lr-rtab:hover {
    border-color: #c9d6ee;
    background: #f7f9fd;
}

.lr-rtab[aria-selected="true"] {
    border-color: var(--lr-navy-2);
    border-left-color: var(--lr-orange);
    background: linear-gradient(90deg, var(--lr-navy) 0%, var(--lr-navy-2) 100%);
    color: var(--lr-white);
}

.lr-rtab[aria-selected="true"] .lr-ico {
    background: rgba(255, 255, 255, 0.14);
    color: var(--lr-white);
}

.lr-rtab[aria-selected="true"] > .bi-chevron-right {
    color: #ff9a6c;
}

.lr-rpanel {
    padding: 28px 30px;
    border: 1px solid var(--lr-line);
    border-radius: 18px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow);
}

.lr-rpanel[hidden] {
    display: none;
}

.lr-rpanel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.lr-cap-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lr-orange);
}

.lr-pager {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lr-muted);
}

.lr-pager .lr-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.lr-rpanel h3 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.3;
}

.lr-main .lr-rpanel > p {
    margin: 0 0 14px;
    font-size: 1.02rem;
}

.lr-hl-title {
    display: block;
    margin: 20px 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lr-ink);
}

.lr-hl {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lr-hl--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lr-hl li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--lr-line);
    border-radius: 10px;
    background: #fafbfd;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--lr-body);
}

.lr-hl li i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lr-orange);
}

.lr-info {
    display: flex;
    gap: 10px;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f3f6fb;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--lr-body);
}

.lr-info i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lr-muted);
}

.lr-rmedia {
    position: relative;
    aspect-ratio: 16 / 8;
    margin-top: 22px;
    border-radius: 14px;
    background: var(--lr-navy);
}

.lr-rmedia-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(15, 27, 51, 0) 0%, rgba(15, 27, 51, 0.88) 100%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lr-white);
}

.lr-rmedia-cap small {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(228, 87, 42, 0.25);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffb08c;
}

.lr-dots-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--lr-muted);
}

.lr-dots {
    display: flex;
    gap: 6px;
}

.lr-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #d5dce8;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.lr-dot[aria-current="true"] {
    width: 26px;
    background: var(--lr-orange);
}

.lr-dots-row strong {
    color: var(--lr-ink);
}

/* ============================================================
   BENEFITS — LIS cards / RIS rows
   ============================================================ */
.lr-bcard {
    position: relative;
    height: 100%;
    padding: 30px 26px 28px;
    border: 1px solid var(--lr-line);
    border-radius: 16px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lr-bcard::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: var(--lr-blue);
}

.lr-bcard--orange::before {
    background: var(--lr-orange);
}

.lr-bcard h3 {
    margin: 20px 0 10px;
    font-size: 1.18rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

.lr-main .lr-bcard p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.65;
}

.lr-bcard:hover {
    border-color: var(--lr-blue);
    box-shadow: var(--lr-shadow);
}

.lr-bcard:hover h3 {
    color: var(--lr-blue);
}

.lr-bcard:hover .lr-ico {
    background: var(--lr-blue);
    color: var(--lr-white);
}

.lr-bcard .lr-ico {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-rows {
    overflow: hidden;
    border: 1px solid var(--lr-line);
    border-radius: 18px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
}

.lr-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 0.9fr) minmax(0, 1.5fr) 20px;
    align-items: center;
    gap: 22px;
    padding: 20px 26px;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lr-row + .lr-row {
    border-top: 1px solid var(--lr-line);
}

.lr-row h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
}

.lr-main .lr-row p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.6;
}

.lr-row .lr-ico {
    width: 46px;
    height: 46px;
    background: var(--lr-blue-soft);
    color: var(--lr-blue);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-row > .bi-chevron-right {
    color: #c3cad6;
    transition: color 0.2s ease;
}

.lr-row:hover {
    border-left-color: var(--lr-orange);
    background: #fffaf7;
}

.lr-row:hover .lr-ico {
    background: var(--lr-navy);
    color: var(--lr-white);
}

.lr-row:hover > .bi-chevron-right {
    color: var(--lr-orange);
}

/* RIS integrated software cards */
.lr-scard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 22px 20px;
    border: 1px solid var(--lr-line);
    border-radius: 16px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lr-scard::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lr-orange), var(--lr-navy-2));
}

.lr-scard .lr-ico {
    width: 40px;
    height: 40px;
    background: #f1f4f9;
    color: var(--lr-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-scard h3 {
    margin: 18px 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
}

.lr-main .lr-scard p {
    margin: 0 0 18px;
    font-size: 0.93rem;
    line-height: 1.6;
}

.lr-scard::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5dce8;
    transition: background-color 0.2s ease;
}

.lr-scard:hover {
    border-color: var(--lr-navy);
    box-shadow: var(--lr-shadow);
}

.lr-scard:hover .lr-ico {
    background: var(--lr-navy);
    color: var(--lr-white);
}

.lr-scard:hover::after {
    background: var(--lr-orange);
}

/* ============================================================
   LIMS (LIS) — image + text with highlight card
   ============================================================ */
.lr-lims-img {
    max-height: 480px;
}

.lr-main .lr-prose p {
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.lr-prose strong {
    color: var(--lr-ink);
}

.lr-quote {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid var(--lr-line);
    border-left: 4px solid var(--lr-blue);
    border-radius: 0 14px 14px 0;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
}

.lr-main .lr-quote p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lr-ink);
}

/* ============================================================
   WHO CAN USE (LIS list)
   ============================================================ */
.lr-who {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.lr-who li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    border-left: 4px solid var(--lr-blue);
    border-radius: 0 12px 12px 0;
    transition: background-color 0.2s ease;
}

.lr-who li:nth-child(even) {
    border-left-color: var(--lr-orange);
}

.lr-who li + li {
    margin-top: 10px;
}

.lr-who li:hover {
    background: #f5f8fd;
}

.lr-who .lr-ico {
    width: 40px;
    height: 40px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-who li:nth-child(odd) .lr-ico {
    background: var(--lr-blue-soft);
    color: var(--lr-blue);
}

.lr-who li:hover .lr-ico {
    background: var(--lr-blue);
    color: var(--lr-white);
}

.lr-who h3 {
    margin: 2px 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

.lr-who li:hover h3 {
    color: var(--lr-blue);
}

.lr-main .lr-who p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ============================================================
   WHY CHOOSE (LIS)
   ============================================================ */
.lr-why {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lr-why li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--lr-line);
    border-left: 4px solid var(--lr-blue);
    border-radius: 12px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--lr-ink);
    transition: border-color 0.2s ease;
}

.lr-why li:nth-child(even) {
    border-left-color: var(--lr-orange);
}

.lr-why li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
}

.lr-why li:nth-child(odd) .lr-ico {
    background: var(--lr-blue-soft);
    color: var(--lr-blue);
}

.lr-why li:hover {
    border-color: var(--lr-blue);
}

.lr-why li:hover .lr-ico {
    background: var(--lr-blue);
    color: var(--lr-white);
}

.lr-why-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--lr-line);
}

.lr-main .lr-why-foot p {
    max-width: 620px;
    margin: 0;
    font-size: 1.05rem;
}

/* ============================================================
   WHO CAN BENEFIT (RIS) — diagram + timeline accordion
   ============================================================ */
.lr-eco {
    position: sticky;
    top: 120px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(165deg, #1a2d55 0%, var(--lr-navy) 100%);
    box-shadow: 0 24px 50px rgba(15, 27, 51, 0.25);
    color: #cbd5e1;
}

.lr-eco-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lr-white);
}

.lr-eco-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lr-eco-head span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lr-orange);
}

.lr-eco-head small {
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #e2e8f0;
}

.lr-eco-map {
    position: relative;
    aspect-ratio: 1 / 0.9;
    margin: 18px 0 8px;
}

.lr-eco-map svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lr-eco-map line {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.5;
    transition: stroke 0.25s ease;
}

.lr-eco-map line.is-active {
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 2;
}

.lr-node,
.lr-hub {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translate(-50%, -50%);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: #94a3b8;
}

.lr-node i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #e2e8f0;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lr-node.is-active {
    color: #ff9a6c;
}

.lr-node.is-active i {
    border-color: #ffb08c;
    background: var(--lr-orange);
    box-shadow: 0 0 0 6px rgba(228, 87, 42, 0.18);
    color: var(--lr-white);
}

.lr-hub {
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 2px solid var(--lr-orange);
    border-radius: 50%;
    background: var(--lr-navy);
    box-shadow: 0 0 0 8px rgba(228, 87, 42, 0.12), 0 0 30px rgba(228, 87, 42, 0.35);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--lr-white);
    gap: 2px;
}

.lr-hub small {
    font-size: 0.55rem;
    color: #ff9a6c;
}

.lr-eco-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.lr-eco-foot strong {
    font-weight: 700;
    text-align: right;
    color: #ff9a6c;
}

.lr-tl {
    position: relative;
    padding-left: 38px;
}

.lr-tl::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 9px;
    width: 2px;
    background: var(--lr-line);
}

.lr-tl-item {
    position: relative;
}

.lr-tl-item + .lr-tl-item {
    margin-top: 14px;
}

.lr-tl-item::before {
    content: "";
    position: absolute;
    top: 30px;
    left: -38px;
    width: 20px;
    height: 20px;
    border: 2px solid #cfd7e3;
    border-radius: 50%;
    background: var(--lr-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lr-tl-item.is-active::before {
    border: 6px solid var(--lr-orange);
    box-shadow: 0 0 0 5px rgba(228, 87, 42, 0.15);
}

.lr-tl-card {
    border: 1px solid var(--lr-line);
    border-left: 4px solid transparent;
    border-radius: 14px;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lr-tl-item.is-active .lr-tl-card {
    border-color: #f6c9b2;
    border-left-color: var(--lr-orange);
    box-shadow: var(--lr-shadow);
}

.lr-tl-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    font-family: inherit;
    text-align: left;
}

.lr-tl-btn .lr-ico {
    width: 42px;
    height: 42px;
    background: #f1f4f9;
    color: var(--lr-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lr-tl-item.is-active .lr-tl-btn .lr-ico {
    background: var(--lr-navy);
    color: var(--lr-white);
}

.lr-tl-txt {
    flex: 1;
    min-width: 0;
}

.lr-tl-txt small {
    display: block;
    margin-bottom: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lr-muted);
}

.lr-tl-item.is-active .lr-tl-txt small {
    color: var(--lr-orange);
}

.lr-tl-txt h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.lr-tl-arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--lr-muted);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lr-tl-item.is-active .lr-tl-arrow {
    transform: rotate(90deg);
    background: var(--lr-orange-soft);
    color: var(--lr-orange);
}

.lr-tl-body {
    padding: 0 20px 20px 78px;
}

.lr-main .lr-tl-body p {
    margin: 0 0 12px;
    font-size: 0.96rem;
    line-height: 1.6;
}

.lr-fit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--lr-blue-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lr-ink);
}

.lr-fit i {
    color: var(--lr-orange);
}

/* ============================================================
   FAQ (Bootstrap accordion, restyled)
   ============================================================ */
.lr-faq {
    max-width: 880px;
    margin: 0 auto;
}

.lr-faq .accordion-item {
    overflow: hidden;
    border: 1px solid var(--lr-line);
    border-radius: 14px;
    background: #fafbfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lr-faq .accordion-item + .accordion-item {
    margin-top: 12px;
}

.lr-faq .accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--lr-line);
}

.lr-faq .accordion-button {
    gap: 16px;
    padding: 20px 22px;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--lr-ink);
}

.lr-faq .accordion-button::after {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--lr-line);
    border-radius: 50%;
    background-color: var(--lr-white);
    background-position: center;
    background-size: 12px;
}

.lr-faq .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--lr-blue);
}

.lr-faq .accordion-button:not(.collapsed)::after {
    border-color: var(--lr-blue);
    background-color: var(--lr-blue);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.lr-faq .accordion-button:focus {
    box-shadow: none;
}

.lr-faq .accordion-button:focus-visible {
    outline: 3px solid rgba(42, 94, 168, 0.45);
    outline-offset: -3px;
}

.lr-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: #b8cbe9;
    background: var(--lr-white);
    box-shadow: var(--lr-shadow);
}

.lr-faq .accordion-body {
    padding: 0 22px 22px;
}

.lr-main .lr-faq .accordion-body p {
    margin: 0;
    font-size: 1rem;
}

/* RIS FAQ: orange accent */
.lr-page--ris .lr-faq .accordion-button:not(.collapsed) {
    color: var(--lr-ink);
}

.lr-page--ris .lr-faq .accordion-button:not(.collapsed)::after {
    border-color: #fbd9c6;
    background-color: var(--lr-orange-soft);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e4572a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.lr-page--ris .lr-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: #e5e9f0;
    border-left: 4px solid var(--lr-orange);
}
/* FAQ hover functionality */

.lr-faq .accordion-collapse {
    display: none;
}

.lr-faq .accordion-collapse.show {
    display: block;
}

/* Disable Bootstrap button interaction styling */
.lr-faq .accordion-button {
    cursor: pointer;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.lr-final {
    padding: 100px 0;
    text-align: center;
    background:
        radial-gradient(700px 400px at 85% 100%, rgba(42, 94, 168, 0.55) 0%, rgba(42, 94, 168, 0) 70%),
        linear-gradient(160deg, #111d36 0%, #15295a 100%);
        border-radius: 42px;
}

.lr-final h2 {
    margin: 0 auto;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--lr-white);
}

.lr-main .lr-final p {
    max-width: 80%;
    margin: 22px auto 34px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* RIS: CTA as a centered navy card on a light section */
.lr-final-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 40px;
    border-radius: 24px;
    text-align: center;
    background:
        radial-gradient(600px 300px at 90% 110%, rgba(42, 94, 168, 0.6) 0%, rgba(42, 94, 168, 0) 70%),
        linear-gradient(160deg, #13213d 0%, #1b3265 100%);
    box-shadow: 0 30px 60px rgba(15, 27, 51, 0.25);
}

.lr-final-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--lr-white);
}

.lr-main .lr-final-card p {
    max-width: 680px;
    margin: 20px auto 30px;
    font-size: 1.08rem;
    color: #cbd5e1;
}

/* ============================================================
   EXISTING FOOTER — wrap fix (these pages only)
   The footer email address is one unbroken word and pushes the
   page wider than a 768px tablet screen. This only lets it wrap;
   the footer markup and style.css are untouched.
   ============================================================ */
.footer-section span {
    overflow-wrap: anywhere;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .lr-row {
        grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1.3fr) 20px;
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .lr-sec {
        padding: 70px 0;
    }

    .lr-hero {
        padding: 130px 0 70px;
    }

    .lr-hero-img,
    .lr-dark-card {
        max-width: 620px;
        margin: 10px auto 0;
    }

    .lr-feat {
        padding: 34px 26px 28px;
    }

    .lr-eco {
        position: static;
        max-width: 520px;
        margin: 0 auto 30px;
    }

    .lr-row {
        grid-template-columns: 46px minmax(0, 1fr) 20px;
        row-gap: 6px;
    }

    .lr-row p {
        grid-column: 2 / 3;
    }

    .lr-row > .bi-chevron-right {
        grid-row: 1;
        grid-column: 3;
    }

    .lr-why-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .lr-sec {
        padding: 56px 0;
    }

    .lr-hero {
        padding: 120px 0 56px;
    }

    .lr-head {
        margin-bottom: 32px;
    }

    .lr-topcard,
    .lr-sidecard {
        padding: 26px 22px;
    }

    .lr-main .lr-topcard p {
        font-size: 1.05rem;
    }

    .lr-feat {
        padding: 30px 18px 22px;
        border-radius: 18px;
    }

    .lr-feat-panel,
    .lr-rpanel {
        padding: 22px 18px;
    }

    .lr-feat-media {
        aspect-ratio: 16 / 8;
    }

    .lr-hl--2 {
        grid-template-columns: 1fr;
    }

    .lr-why {
        grid-template-columns: 1fr;
    }

    .lr-why li:last-child:nth-child(odd) {
        width: 100%;
    }

    .lr-row {
        padding: 18px 18px;
    }

    .lr-tl {
        padding-left: 30px;
    }

    .lr-tl-item::before {
        left: -30px;
        width: 18px;
        height: 18px;
    }

    .lr-tl::before {
        left: 8px;
    }

    .lr-tl-btn {
        padding: 16px;
        gap: 12px;
    }

    .lr-tl-body {
        padding: 0 16px 18px 16px;
    }

    .lr-faq .accordion-button {
        padding: 18px;
        font-size: 1rem;
    }

    .lr-faq .accordion-body {
        padding: 0 18px 18px;
    }

    .lr-final {
        padding: 70px 0;
        border-radius: 0;
    }

    .lr-final-card {
        padding: 46px 22px;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .lr-btn,
    .lr-btn-navy {
        width: 100%;
    }

    .lr-rpanel-top {
        flex-wrap: wrap;
    }

    .lr-rtab {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .lr-rmedia {
        aspect-ratio: 4 / 3;
    }

    .lr-rmedia-cap,
    .lr-feat-media-cap {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lr-node span {
        display: none;
    }

    .lr-hub {
        width: 68px;
        height: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lr-main *,
    .lr-main *::before,
    .lr-main *::after {
        transition: none !important;
    }
}
