/* Queue Management Software page. Scoped to preserve the shared Mediquince site styles. */
.qms-page, .qms-page *:not(i) { font-family: "Poppins", sans-serif; }
.qms-page { color: #373030; background: #fff; overflow: hidden; }
.qms-page p { color: #666; font-size: 17px; line-height: 1.7; margin: 0; }
.qms-page h1, .qms-page h2 { color: #111b45; font-weight: 700; line-height: 1.2; margin: 0; }
.qms-page img { display: block; max-width: 100%; height: auto; }
.qms-hero { position: relative; overflow: hidden; padding: 34px 0 0; background: linear-gradient(to right, rgba(254, 188, 47, 0.6), rgba(255, 81, 50, 0.6)); }
.qms-hero .container { position: relative; z-index: 1; }
.qms-hero .row { min-height: 440px; }
.qms-breadcrumb { margin-bottom: 20px !important; color: #30344b !important; font-size: 14px !important; }
.qms-breadcrumb a { color: #e93d49; font-weight: 600; text-decoration: underline; }
.qms-breadcrumb span { padding: 0 5px; }
.qms-hero h1 { font-size: clamp(38px, 4vw, 46px); letter-spacing: -.025em; }
.qms-hero .qms-lead { margin-top: 14px; max-width: 480px; color: #373030; font-size: 18px; }
.qms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.qms-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 23px; border: 1px solid #ed3e48; border-radius: 7px; background: #ed3e48; color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.qms-button:hover, .qms-button:focus { background: #d92f3a; border-color: #d92f3a; color: #fff !important; transform: translateY(-1px); }
.qms-button-outline { background: transparent; color: #d92f3a !important; }
.qms-button-outline:hover, .qms-button-outline:focus { background: #ed3e48; color: #fff !important; }
.qms-hero-art { display: flex; align-items: end; justify-content: end; min-width: 0; }
.qms-hero-art img { width: 100%; max-width: 820px; object-fit: contain; object-position: bottom right; }
.qms-benefits { padding: 24px 0; background: #fff; box-shadow: 0 8px 28px rgba(33, 28, 69, .04); }
.qms-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; }
.qms-benefit-grid li { display: flex; min-height: 88px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border-right: 1px solid #d9d9e8; color: #101b49; text-align: center; font-size: 16px; font-weight: 600; line-height: 1.4; }
.qms-benefit-grid li:last-child { border-right: 0; }
.qms-benefit-grid i { color: #ed3e48; font-size: 29px; }
.qms-section { padding: 64px 0; }
.qms-intro { padding-bottom: 20px; }
.qms-intro-panel { display: grid; grid-template-columns: 200px minmax(280px, 1fr) minmax(270px, .9fr); align-items: center; gap: 34px; padding: 24px 32px; border-radius: 28px; background: linear-gradient(110deg, #fff4f6 0%, #fff 50%, #f6f0ff 100%); }
.qms-doctor-art { align-self: end; margin-top: -34px; }
.qms-doctor-art img { width: 200px; max-height: 280px; object-fit: contain; object-position: bottom; }
.qms-eyebrow { display: inline-flex; width: fit-content; align-items: center; margin-bottom: 10px !important; padding: 7px 15px; border: 1px solid rgba(237, 62, 72, .16); border-radius: 50px; background: rgba(237, 62, 72, .08); color: #ed3e48 !important; font-size: 13px !important; font-weight: 700; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.qms-intro-copy h2, .qms-heading h2, .qms-operations-copy h2, .qms-insights-copy h2 { font-size: clamp(30px, 3.2vw, 40px); }
.qms-page h2 span { color: #ed3e48; }
.qms-intro-copy > p:last-child { margin-top: 10px; }
.qms-check-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.qms-check-list li { position: relative; padding-left: 25px; color: #111b45; font-size: 16px; font-weight: 600; line-height: 1.55; }
.qms-check-list li::before { content: "\f00c"; position: absolute; top: 2px; left: 0; display: grid; width: 15px; height: 15px; place-items: center; border-radius: 3px; background: #ed3e48; color: #fff; font-family: "Font Awesome 6 Free"; font-size: 9px; font-weight: 900; }
.qms-key-section { padding-top: 48px; }
.qms-heading { max-width: 820px; margin: 0 auto 36px; }
.qms-heading > p:last-child { max-width: 620px; margin: 8px auto 0; }
.qms-feature-network { display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); align-items: center; gap: 34px; max-width: 1080px; margin: 0 auto; padding: 14px 0; }
.qms-feature-column { display: grid; align-content: center; gap: 20px; }
.qms-feature-pill { display: flex; min-height: 78px; align-items: center; gap: 18px; padding: 15px 22px; border: 1px solid; border-radius: 42px; background: #fff; box-shadow: 0 8px 22px rgba(35, 33, 80, .07); color: #111b45; font-size: 15px; font-weight: 600; line-height: 1.4; transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease; }
.qms-feature-pill:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(35, 33, 80, .11); }
.qms-feature-pill i { display: grid; min-width: 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 23px; text-align: center; }
.qms-feature-pill span { white-space: nowrap; }
.qms-purple { border-color: #d3c3ff; color: #5828db; background: #fcfaff; }
.qms-pink { border-color: #ffc2e5; color: #ec1998; background: #fff9fd; }
.qms-green { border-color: #b8ebcb; color: #14a95a; background: #f8fff9; }
.qms-orange { border-color: #ffd0ad; color: #ff790e; background: #fffaf6; }
.qms-blue { border-color: #bfd5ff; color: #2675f4; background: #f8fbff; }
.qms-violet { border-color: #dcc5ff; color: #792be7; background: #fcf9ff; }
.qms-feature-pill.qms-purple:hover { border-color: #9b7bff; background: #f5f0ff; box-shadow: 0 12px 26px rgba(88,40,219,.16); }
.qms-feature-pill.qms-pink:hover { border-color: #ff79c6; background: #fff2fa; box-shadow: 0 12px 26px rgba(236,25,152,.14); }
.qms-feature-pill.qms-green:hover { border-color: #52ce88; background: #effcf4; box-shadow: 0 12px 26px rgba(20,169,90,.14); }
.qms-feature-pill.qms-orange:hover { border-color: #ff9c56; background: #fff4eb; box-shadow: 0 12px 26px rgba(255,121,14,.14); }
.qms-feature-pill.qms-blue:hover { border-color: #6ea4ff; background: #eff6ff; box-shadow: 0 12px 26px rgba(38,117,244,.14); }
.qms-feature-pill.qms-violet:hover { border-color: #a77bff; background: #f6f0ff; box-shadow: 0 12px 26px rgba(121,43,231,.14); }
.qms-feature-hub { position: relative; display: flex; width: 100%; max-width: 250px; min-height: 218px; flex-direction: column; align-items: center; justify-content: center; justify-self: center; align-self: center; margin: auto; overflow: hidden; border: 1px solid #ded6ff; border-radius: 26px; background: linear-gradient(145deg, #fff 0%, #f8f6ff 48%, #eeeaff 100%); box-shadow: 0 16px 36px rgba(78, 54, 175, .13), inset 0 1px 0 rgba(255,255,255,.95); color: #121b4b; text-align: center; }
.qms-feature-hub::before { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 4px; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, #8d5cff, #5424d7, #bd8bff); }
.qms-hub-icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: linear-gradient(145deg, #8d60ff, #5123d5); box-shadow: 0 8px 18px rgba(83, 37, 213, .25); color: #fff; font-size: 30px; }
.qms-feature-hub strong { font-size: 19px; line-height: 1.4; }
.qms-journey-panel { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; overflow: hidden; border-radius: 28px; background: linear-gradient(110deg, #fff0df, #fff8fb 55%, #f6f0ff); }
.qms-journey-art { align-self: stretch; display: flex; align-items: center; min-width: 0; }
.qms-journey-art img { width: 100%; height: 100%; max-height: 390px; object-fit: contain; object-position: center; }
.qms-journey-content { padding: 28px 30px 28px 14px; }
.qms-journey-content h2 { color: #111b45; font-size: clamp(28px, 2.9vw, 36px); }
.qms-journey-content > p:not(.qms-eyebrow) { margin-top: 8px; }
.qms-journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.qms-journey-steps li { display: flex; min-height: 108px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 7px; border: 1px solid rgba(95,75,190,.1); border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 7px 16px rgba(34,30,88,.08); color: #111b45; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35; }
.qms-journey-steps i { color: #6929ed; font-size: 23px; }
.qms-journey-steps li:last-child i { color: #2bb96b; }
.qms-operations-section { padding-top: 15px; }
.qms-operations-copy { padding-left: 32px; }
.qms-operations-copy > p:not(.qms-eyebrow) { max-width: 410px; margin: 10px 0 16px; }
.qms-operations-art img { width: 100%; object-fit: contain; }
.qms-integration-section { padding-top: 32px; }
.qms-integration-art { max-width: 1060px; margin: 22px auto 0; }
.qms-integration-art img { width: 100%; object-fit: contain; }
.qms-insights-section { padding: 6px 0 22px; }
.qms-insights-panel { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(100px, .55fr)) 1.1fr; align-items: center; gap: 15px; margin: 0 20px; padding: 32px; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; background: linear-gradient(110deg, #fff8f5 0%, #f7f5ff 100%); box-shadow: 0 18px 48px rgba(48, 39, 104, .09); }
.qms-insights-copy h2 { font-size: clamp(26px, 2.5vw, 32px); }
.qms-insights-copy > p:last-child { margin-top: 8px; font-size: 15px; }
.qms-metric { display: flex; min-height: 112px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 8px; border: 1px solid rgba(255,255,255,.95); border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(38,32,90,.09); color: #111b45; text-align: center; }
.qms-metric i { color: #6d31ed; font-size: 22px; }
.qms-metric:nth-of-type(3) i { color: #ff8b27; }
.qms-metric:nth-of-type(4) i { color: #20b36a; }
.qms-metric strong { font-size: 19px; }
.qms-metric span { font-size: 12px; }
.qms-insights-art img { width: 100%; object-fit: contain; }
.qms-cta-section { padding: 42px 0 44px; background: linear-gradient(110deg, #fff4f6 0%, #fff 50%, #f6f0ff 100%); }
.qms-cta-section h2 { color: #111b45; font-size: clamp(27px, 2.9vw, 36px); }
.qms-cta-section p { max-width: 640px; margin: 8px auto 0; color: #433743; }
.qms-cta-section .qms-actions { margin-top: 18px; }
.qms-button-light { min-width: 155px; background: #fff; color: #ed3e48 !important; }
.qms-button-light:hover, .qms-button-light:focus { background: #fff8f6; color: #d92f3a !important; }

@media (max-width: 1199px) {
    .qms-intro-panel { grid-template-columns: 160px minmax(240px, 1fr) minmax(230px, .9fr); gap: 22px; }
    .qms-doctor-art img { width: 160px; }
    .qms-feature-network { grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr); gap: 20px; }
    .qms-feature-hub { max-width: 220px; min-height: 196px; }
    .qms-insights-panel { grid-template-columns: 1.2fr repeat(3, minmax(92px, .55fr)) 1fr; gap: 9px; margin: 0 12px; padding: 24px; }
}
@media (max-width: 991px) {
    .qms-hero { padding-top: 26px; }
    .qms-hero .row { min-height: 0; }
    .qms-page p { font-size: 16px; }
    .qms-hero h1 { font-size: 40px; }
    .qms-hero .qms-lead { font-size: 17px; }
    .qms-hero-copy { position: relative; z-index: 2; }
    .qms-hero-art { margin-top: -10px; }
    .qms-hero-art img { max-width: 680px; }
    .qms-intro-panel { grid-template-columns: 145px 1fr; }
    .qms-doctor-art { grid-row: span 2; }
    .qms-doctor-art img { width: 145px; }
    .qms-check-list { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qms-journey-panel { grid-template-columns: 1fr; }
    .qms-journey-art img { max-height: 340px; }
    .qms-journey-content { padding: 4px 28px 28px; }
    .qms-operations-copy { padding-left: 16px; }
    .qms-insights-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .qms-insights-copy { grid-column: 1 / -1; }
    .qms-insights-art { grid-column: 1 / -1; max-width: 480px; justify-self: center; }
    .qms-feature-network { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; }
    .qms-feature-hub { grid-column: 1 / -1; grid-row: 1; max-width: 260px; min-height: 190px; }
    .qms-feature-column { grid-row: 2; gap: 14px; }
}
@media (max-width: 767px) {
    .qms-page .container { padding-right: 20px; padding-left: 20px; }
    .qms-hero { padding-top: 20px; }
    .qms-hero h1 { font-size: clamp(31px, 8vw, 40px); }
    .qms-page p { font-size: 15px; }
    .qms-hero .qms-lead { font-size: 16px; }
    .qms-actions { gap: 9px; }
    .qms-hero .qms-actions { justify-content: center; margin-bottom: 22px; }
    .qms-button { min-height: 42px; padding: 9px 15px; font-size: 13px; }
    .qms-hero-art { margin: 0 -8px; }
    .qms-benefits { padding: 16px 0; }
    .qms-benefit-grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
    .qms-benefit-grid li:nth-child(2) { border-right: 0; }
    .qms-benefit-grid li:nth-child(3), .qms-benefit-grid li:nth-child(4) { border-top: 1px solid #e7e4ed; padding-top: 12px; }
    .qms-section { padding: 42px 0; }
    .qms-intro { padding-bottom: 14px; }
    .qms-intro-panel { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; border-radius: 20px; }
    .qms-intro-copy { order: 1; }
    .qms-check-list { order: 2; }
    .qms-doctor-art { order: 3; align-self: center; margin: 8px auto -12px; }
    .qms-doctor-art img { width: 150px; max-height: 220px; }
    .qms-intro-copy h2 { font-size: clamp(20px, 5.7vw, 27px); }
    .qms-intro-copy > p:last-child { font-size: 13px; }
    .qms-check-list { grid-column: auto; grid-template-columns: 1fr; gap: 7px; }
    .qms-check-list li { font-size: 12px; }
    .qms-feature-network { grid-template-columns: 1fr 1fr; gap: 14px; }
    .qms-feature-hub { grid-column: 1 / -1; grid-row: 1; max-width: 230px; min-height: 174px; }
    .qms-feature-column { gap: 10px; }
    .qms-feature-pill { min-height: 68px; gap: 9px; padding: 10px; border-radius: 16px; font-size: 13px; }
    .qms-feature-pill i { min-width: 27px; width: 27px; height: 27px; font-size: 17px; }
    .qms-feature-pill span { white-space: normal; }
    .qms-feature-hub strong { font-size: 17px; }
    .qms-journey-panel { border-radius: 20px; }
    .qms-journey-art img { max-height: none; }
    .qms-journey-content { padding: 0 18px 20px; }
    .qms-journey-steps { gap: 7px; margin-top: 16px; }
    .qms-journey-steps li { min-height: 88px; font-size: 11px; }
    .qms-journey-steps i { font-size: 20px; }
    .qms-operations-section { padding-top: 0; }
    .qms-operations-copy { padding: 0 10px; }
    .qms-operations-art { margin-top: 14px; }
    .qms-integration-section { padding-top: 15px; }
    .qms-integration-art { margin-top: 16px; }
    .qms-insights-section { padding: 4px 0 18px; }
    .qms-insights-panel { gap: 9px; margin: 0; padding: 18px; border-radius: 20px; }
    .qms-metric { min-height: 92px; }
}
@media (max-width: 420px) {
    .qms-intro-panel { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 14px; }
    .qms-doctor-art { margin: 8px auto -12px; }
    .qms-doctor-art img { width: 135px; max-height: 190px; }
    .qms-intro-copy h2 { font-size: 20px; }
    .qms-feature-network { gap: 9px; }
    .qms-feature-pill { gap: 6px; padding: 9px 7px; font-size: 10px; }
    .qms-journey-content { padding-right: 12px; padding-left: 12px; }
    .qms-journey-steps { gap: 5px; }
    .qms-journey-steps li { padding: 8px 3px; font-size: 10px; }
    .qms-insights-panel { grid-template-columns: 1fr 1fr; }
    .qms-metric { min-height: 86px; }
    .qms-metric:nth-of-type(4) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .qms-page *, .qms-page *::before, .qms-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
