:root {
    --primary: #1769e8;
    --primary-dark: #0d4fc1;
    --primary-soft: #eaf3ff;
    --navy: #10284c;
    --text: #53647e;
    --muted: #8190a6;
    --line: #e3ebf5;
    --surface: #ffffff;
    --surface-soft: #f7faff;
    --success: #16a67a;
    --warning: #f5a524;
    --danger: #f05f5f;
    --shadow: 0 18px 55px rgba(27, 72, 131, .1);
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.medicare-site {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    line-height: 1.2;
}
.site-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: linear-gradient(180deg, #fbfdff, #f7faff); }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-bottom: 11px; font-size: clamp(32px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--text); font-size: 18px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid #cfe1fb;
    border-radius: 999px;
    color: var(--primary);
    background: #f5f9ff;
    font-size: 14px;
    font-weight: 700;
}
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; border-color: var(--primary); background: linear-gradient(135deg, #2478ee, #0757d7); box-shadow: 0 10px 24px rgba(23,105,232,.22); }
.button-primary:hover { color: #fff; background: var(--primary-dark); }
.button-outline { color: var(--primary); border-color: #77a8f1; background: #fff; }
.button-outline:hover { color: var(--primary-dark); border-color: var(--primary); }
.button-white { color: var(--primary-dark); background: #fff; }
.button-small { min-height: 44px; padding-inline: 20px; font-size: 14px; }

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(227,235,245,.85);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(27,72,131,.08); }
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px; }
.brand-mark { position: relative; display: block; width: 34px; height: 34px; }
.brand-mark span { position: absolute; border: 3px solid var(--primary); border-radius: 4px; background: #fff; }
.brand-mark span:first-child { top: 0; left: 11px; width: 12px; height: 34px; }
.brand-mark span:last-child { top: 11px; left: 0; width: 34px; height: 12px; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.1; }
.brand-copy strong { color: var(--primary-dark); font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: 29px; }
.primary-nav a { color: var(--navy); font-size: 14px; font-weight: 600; }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 22px; }
.login-link { color: var(--primary-dark); font-size: 14px; font-weight: 700; }
.mobile-nav-actions { display: none; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 8px; background: var(--primary-soft); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--navy); transition: .2s ease; }

.hero { position: relative; overflow: hidden; padding: 70px 0 62px; background: radial-gradient(circle at 74% 30%, #e9f3ff 0, rgba(233,243,255,0) 35%), linear-gradient(180deg,#fff,#fbfdff); }
.hero:before { position: absolute; top: 15%; left: -8%; width: 340px; height: 340px; border-radius: 50%; background: rgba(224,240,255,.6); filter: blur(80px); content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 68px; }
.hero-copy h1 { margin-bottom: 22px; font-size: clamp(46px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.055em; }
.hero-copy h1 span { display: block; color: var(--primary); }
.hero-copy > p { max-width: 550px; margin-bottom: 26px; font-size: 18px; line-height: 1.7; }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 28px; padding: 0; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 8px; color: #47627b; font-size: 14px; font-weight: 600; }
.trust-list li:before { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #54c4a3; border-radius: 50%; color: var(--success); content: "✓"; font-size: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

.dashboard-shell { overflow: hidden; border: 1px solid #e5edf7; border-radius: 15px; background: #fff; box-shadow: 0 30px 70px rgba(27,72,131,.14); transform: perspective(1200px) rotateY(-1.5deg); }
.dashboard-layout { display: grid; min-height: 470px; grid-template-columns: 126px 1fr; }
.dash-sidebar { padding: 18px 10px; border-right: 1px solid var(--line); }
.dash-brand { display: flex; align-items: center; gap: 7px; margin: 0 6px 20px; color: var(--navy); font-size: 12px; font-weight: 800; }
.mini-cross { position: relative; width: 16px; height: 16px; }
.mini-cross:before,.mini-cross:after { position: absolute; border-radius: 2px; background: var(--primary); content: ""; }
.mini-cross:before { top: 0; left: 5px; width: 6px; height: 16px; }
.mini-cross:after { top: 5px; left: 0; width: 16px; height: 6px; }
.dash-menu { display: grid; gap: 5px; }
.dash-menu span { padding: 8px 9px; border-radius: 6px; color: #6e7f94; font-size: 8px; }
.dash-menu span.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.dash-main { padding: 19px; background: #fcfdff; }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-top strong { color: var(--navy); font-size: 15px; }
.dash-user { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; }
.dash-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.stat-card,.dash-card { border: 1px solid #edf1f7; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(44,74,112,.04); }
.stat-card { padding: 12px 10px; }
.stat-label { color: #7f8ca0; font-size: 7px; }
.stat-value { margin: 6px 0 2px; color: var(--navy); font-size: 14px; font-weight: 800; }
.stat-up { color: var(--success); font-size: 6px; }
.stat-up.down { color: var(--danger); }
.dash-content-grid { display: grid; margin-top: 10px; grid-template-columns: .95fr 1.25fr; gap: 10px; }
.dash-card { padding: 12px; }
.dash-card h4 { margin-bottom: 11px; font-size: 9px; font-weight: 800; }
.appointment-row { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid #f0f3f7; font-size: 6px; }
.appointment-row:last-child { border: 0; }
.appointment-row strong { color: var(--navy); font-size: 7px; }
.status-pill { padding: 3px 5px; border-radius: 20px; color: var(--success); background: #eafaf4; }
.chart { position: relative; height: 150px; margin-top: 10px; background: repeating-linear-gradient(to bottom, transparent 0 29px, #eff3f8 30px); }
.chart svg { position: absolute; inset: 10px 0 0; width: 100%; height: 120px; overflow: visible; }
.chart-labels { display: flex; justify-content: space-between; color: #9aa6b6; font-size: 6px; }
.dash-bottom { display: grid; margin-top: 10px; grid-template-columns: .8fr 1.2fr; gap: 10px; }
.donut-wrap { display: flex; align-items: center; gap: 13px; }
.donut { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(var(--primary) 0 38%, #24b6c6 38% 68%, #7bd6bf 68% 86%, #f5c85b 86%); mask: radial-gradient(circle, transparent 42%, #000 44%); }
.legend { display: grid; gap: 5px; color: #718197; font-size: 6px; }
.activity { display: grid; gap: 7px; }
.activity span { display: flex; gap: 7px; color: #718197; font-size: 7px; }
.activity i { display: block; flex: 0 0 8px; height: 8px; margin-top: 2px; border-radius: 50%; background: var(--primary); }

.logo-strip { padding: 22px 0 34px; background: #fbfdff; }
.logo-panel { padding: 15px 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 10px 35px rgba(27,72,131,.04); }
.logo-panel > p { margin: 0 0 14px; color: #6380a3; text-align: center; font-size: 14px; font-weight: 700; }
.logo-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.hospital-logo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; border-right: 1px solid var(--line); }
.hospital-logo:last-child { border: 0; }
.hospital-symbol { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: 18px; font-weight: 800; }
.hospital-logo:nth-child(2) .hospital-symbol { color: #11a7b5; }
.hospital-logo:nth-child(3) .hospital-symbol { color: #19aa70; }
.hospital-logo:nth-child(4) .hospital-symbol { color: #eca700; }
.hospital-logo:nth-child(5) .hospital-symbol { color: #268bb8; }
.hospital-logo strong { display: block; color: #315077; font-size: 14px; line-height: 1.1; }
.hospital-logo small { color: #8a9aaf; font-size: 10px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { display: flex; min-height: 166px; gap: 16px; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #bdd7fa; box-shadow: var(--shadow); }
.feature-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 10px; color: var(--primary); background: var(--primary-soft); }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { margin: 3px 0 8px; font-size: 16px; font-weight: 800; }
.feature-card p { margin: 0; color: #75849a; font-size: 13px; line-height: 1.65; }
.section-action { margin-top: 30px; text-align: center; }

.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.capability-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: linear-gradient(145deg,#fff 35%,#f3f8ff);
    box-shadow: 0 10px 34px rgba(27,72,131,.05);
}
.capability-card:after { position: absolute; right: -45px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: rgba(23,105,232,.06); content: ""; }
.capability-number { display: inline-flex; margin-bottom: 38px; color: var(--primary); font-family: "Manrope",sans-serif; font-size: 15px; font-weight: 800; }
.capability-card h3 { margin-bottom: 12px; font-size: 20px; font-weight: 800; }
.capability-card p { margin-bottom: 23px; color: var(--text); font-size: 14px; line-height: 1.7; }
.capability-card a { position: relative; z-index: 1; color: var(--primary); font-size: 13px; font-weight: 800; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 25px 20px 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.price-card.popular { border: 1.5px solid var(--primary); box-shadow: 0 18px 45px rgba(23,105,232,.12); }
.popular-badge { position: absolute; top: -12px; left: 50%; padding: 4px 12px; border-radius: 30px; color: #fff; background: var(--primary); font-size: 9px; font-weight: 700; transform: translateX(-50%); }
.price-card h3 { margin-bottom: 3px; font-size: 18px; font-weight: 800; text-align: center; }
.price-card > p { margin-bottom: 16px; color: var(--muted); text-align: center; font-size: 12px; }
.price { margin-bottom: 18px; color: var(--navy); text-align: center; font-family: "Manrope",sans-serif; font-size: 34px; font-weight: 800; }
.price sup { font-size: 16px; }
.price small { color: var(--text); font-size: 9px; font-weight: 500; }
.price-list { flex: 1; margin: 0 0 20px; padding: 0; list-style: none; }
.price-list li { position: relative; padding: 6px 0 6px 20px; color: #50637c; font-size: 13px; }
.price-list li:before { position: absolute; left: 0; color: var(--success); content: "✓"; font-weight: 800; }
.price-card .button { width: 100%; min-height: 44px; font-size: 13px; }
.pricing-note { margin-top: 22px; color: var(--muted); text-align: center; font-size: 13px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { position: relative; padding: 30px 27px 25px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 10px 34px rgba(27,72,131,.06); }
.quote-mark { color: var(--primary); font-family: Georgia,serif; font-size: 38px; line-height: .6; }
.testimonial-card > p { min-height: 105px; margin: 14px 0 22px; color: #50637c; font-size: 15px; line-height: 1.65; }
.testimonial-person { display: flex; align-items: center; gap: 11px; }
.testimonial-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; color: var(--navy); font-size: 13px; }
.testimonial-person small { color: var(--muted); font-size: 11px; }
.testimonial-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.testimonial-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d8e2ef; }
.testimonial-dots span.active { width: 18px; border-radius: 10px; background: var(--primary); }

.team-value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.team-value-card { display: flex; min-height: 165px; align-items: flex-start; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .25s ease; }
.team-value-card:hover { transform: translateY(-4px); border-color: #bdd7fa; box-shadow: var(--shadow); }
.team-value-icon { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: 22px; font-weight: 800; }
.team-value-card h3 { margin: 2px 0 8px; font-size: 20px; font-weight: 800; }
.team-value-card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.7; }

.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 10px 34px rgba(27,72,131,.05); }
.resource-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.resource-heading h2 { margin-bottom: 5px; font-size: clamp(32px,3vw,42px); font-weight: 800; letter-spacing: -.04em; }
.resource-heading p { margin: 0; font-size: 16px; }
.resource-heading > a { flex-shrink: 0; padding-bottom: 5px; color: var(--primary); font-size: 15px; font-weight: 800; }
.resource-card img { width: 100%; height: 190px; object-fit: cover; }
.resource-content { padding: 20px; }
.resource-tag { display: inline-block; margin-bottom: 9px; padding: 4px 9px; border-radius: 5px; color: var(--primary); background: var(--primary-soft); font-size: 10px; font-weight: 700; }
.resource-content h3 { min-height: 48px; margin-bottom: 14px; font-size: 17px; font-weight: 800; }
.resource-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

.demo-section { padding: 92px 0; background: #f8fbff; }
.demo-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.demo-copy h2 { margin-bottom: 15px; font-size: 42px; font-weight: 800; letter-spacing: -.04em; }
.demo-copy > p { margin-bottom: 28px; font-size: 17px; }
.demo-benefits { display: grid; gap: 15px; }
.demo-benefits div { display: flex; align-items: center; gap: 11px; color: var(--navy); font-size: 14px; }
.demo-benefits span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; color: var(--success); background: #eafaf4; font-weight: 800; }
.demo-form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { color: var(--navy); font-size: 13px; font-weight: 700; }
.form-field input,.form-field select,.form-field textarea {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    outline: 0;
    color: var(--navy);
    background: #fbfdff;
    font: inherit;
    font-size: 14px;
}
.form-field textarea { min-height: 80px; resize: vertical; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,105,232,.08); }
.form-error { min-height: 14px; color: var(--danger); font-size: 10px; }
.demo-submit { grid-column: 1/-1; width: 100%; border: 0; cursor: pointer; }

.contact-form {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff !important;
    box-shadow: var(--shadow);
}
.contact-form .form-group { margin-bottom: 16px; }
.contact-form .form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dbe5f0;
    border-radius: 9px;
    color: var(--navy);
    background: #fbfdff;
    box-shadow: none;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.contact-form textarea.form-control { min-height: 150px; resize: vertical; }
.contact-form .form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23,105,232,.08);
}
.contact-form .error-message { min-height: 18px; font-size: 12px; font-weight: 600; }
.contact-form .btn { min-height: 48px; border-radius: 9px; font-weight: 800; }

.cta-section { padding: 28px 0 72px; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 34px 48px; border-radius: 13px; color: #fff; background: linear-gradient(120deg,#2781ef,#0752cf); box-shadow: 0 18px 40px rgba(16,89,207,.2); }
.cta-copy { display: flex; align-items: center; gap: 20px; }
.cta-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 10px; color: #fff; background: rgba(255,255,255,.16); font-size: 27px; }
.cta-panel h2 { margin-bottom: 5px; color: #fff; font-size: 30px; font-weight: 800; }
.cta-panel p { margin: 0; color: #dceaff; font-size: 15px; }
.cta-actions { display: flex; flex-shrink: 0; gap: 12px; }
.cta-actions .button-outline { color: #fff; border-color: rgba(255,255,255,.65); background: transparent; }
.cta-actions .button-outline:hover { background: rgba(255,255,255,.1); }

.site-footer { padding: 66px 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 42px; }
.footer-brand p { max-width: 330px; margin: 22px 0; color: #687b94; font-size: 15px; line-height: 1.75; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--navy); background: #eef3f9; font-size: 13px; font-weight: 800; }
.footer-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h3 { margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.footer-column a,.footer-column span { max-width: 100%; color: #667991; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 21px; border-top: 1px solid var(--line); color: #74869d; font-size: 13px; }

.inner-page-shell { min-height: 60vh; padding-top: 45px; }
.is-inner-page main > section:first-child { margin-top: 0 !important; padding-top: 70px !important; }
.is-inner-page .ftco-section { background: #f8fbff !important; }
.is-inner-page .container-fluid { max-width: 1180px; margin-inline: auto; }

.modal-backdrop-custom { position: fixed; z-index: 2000; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(7,25,54,.72); backdrop-filter: blur(6px); }
.modal-backdrop-custom.is-open { display: grid; }
.appointment-modal-card { position: relative; width: min(760px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 35px 90px rgba(0,0,0,.25); }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; color: var(--navy); background: var(--primary-soft); cursor: pointer; font-size: 20px; }

@media (max-width: 1050px) {
    .primary-nav { gap: 17px; }
    .primary-nav a { font-size: 12px; }
    .hero-grid { gap: 30px; }
    .feature-grid,.pricing-grid { grid-template-columns: repeat(2,1fr); }
    .capability-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 38px; }
    .footer-brand { grid-column: 1/-1; }
    .footer-brand p { max-width: 560px; }
}

@media (max-width: 860px) {
    .header-inner { min-height: 68px; }
    .menu-toggle { display: block; margin-left: auto; }
    .primary-nav { position: fixed; z-index: 999; top: 68px; right: 0; left: 0; display: flex; max-height: calc(100vh - 68px); align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; padding: 15px 20px 25px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 25px 40px rgba(20,51,94,.12); opacity: 0; visibility: hidden; transform: translateY(-24px); transition: transform .5s cubic-bezier(.22,.8,.25,1), opacity .4s ease, visibility 0s linear .5s; }
    .primary-nav > a { padding: 13px 7px; border-bottom: 1px solid #edf2f8; font-size: 14px; opacity: 0; transform: translateY(-8px); transition: opacity .28s ease, transform .36s cubic-bezier(.22,.8,.25,1); }
    .primary-nav .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding-top: 18px; opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .38s cubic-bezier(.22,.8,.25,1); }
    .primary-nav .mobile-nav-actions a { min-height: 46px; border: 0; }
    .primary-nav .mobile-login { display: flex; align-items: center; justify-content: center; border: 1px solid #b8d2f7 !important; border-radius: 8px; color: var(--primary); font-weight: 800; }
    .menu-open .primary-nav { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
    .menu-open .primary-nav > a { opacity: 1; transform: translateY(0); }
    .menu-open .primary-nav > a:nth-child(1) { transition-delay: .1s; }
    .menu-open .primary-nav > a:nth-child(2) { transition-delay: .14s; }
    .menu-open .primary-nav > a:nth-child(3) { transition-delay: .18s; }
    .menu-open .primary-nav > a:nth-child(4) { transition-delay: .22s; }
    .menu-open .primary-nav > a:nth-child(5) { transition-delay: .26s; }
    .menu-open .primary-nav > a:nth-child(6) { transition-delay: .3s; }
    .menu-open .primary-nav .mobile-nav-actions { opacity: 1; transform: translateY(0); transition-delay: .34s; }
    .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-actions { display: none; }
    .hero { padding-top: 48px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .trust-list,.hero-actions { justify-content: center; }
    .dashboard-shell { max-width: 650px; margin-inline: auto; transform: none; }
    .logo-list { grid-template-columns: repeat(3,1fr); }
    .hospital-logo { border-bottom: 1px solid var(--line); }
    .testimonial-grid,.resource-grid { grid-template-columns: 1fr; }
    .testimonial-card > p { min-height: 0; }
    .resource-heading { align-items: flex-start; flex-direction: column; }
    .demo-layout { grid-template-columns: 1fr; }
    .demo-copy { text-align: center; }
    .demo-benefits { max-width: 500px; margin-inline: auto; text-align: left; }
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .primary-nav,
    .primary-nav > a,
    .primary-nav .mobile-nav-actions,
    .menu-toggle span {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

@media (max-width: 600px) {
    .site-container { width: min(100% - 28px, 1180px); }
    .section { padding: 65px 0; }
    .header-inner { gap: 12px; }
    .header-inner > .brand { min-width: 0; max-width: calc(100% - 54px); }
    .brand-copy strong { max-width: 100%; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
    .brand-copy small { font-size: 8px; }
    .hero { padding-top: 42px; }
    .hero-copy h1 { font-size: clamp(36px,10.5vw,42px); }
    .hero-copy > p { font-size: 16px; }
    .trust-list { gap: 13px 16px; }
    .hero-actions .button { width: 100%; }
    .dashboard-shell { width: 100%; }
    .dashboard-layout { min-height: auto; grid-template-columns: 78px 1fr; }
    .dash-sidebar { padding-inline: 6px; }
    .dash-brand { margin-inline: 3px; font-size: 8px; }
    .dash-menu span { padding-inline: 4px; font-size: 6px; }
    .dash-main { padding: 10px; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
    .dash-content-grid { grid-template-columns: 1fr; }
    .dash-bottom { grid-template-columns: 1fr; }
    .logo-list { grid-template-columns: 1fr 1fr; }
    .hospital-logo { justify-content: flex-start; border-right: 0; }
    .logo-panel { padding-inline: 16px; }
    .feature-grid,.pricing-grid,.capability-grid,.team-value-grid { grid-template-columns: 1fr; }
    .feature-card h3 { font-size: 17px; }
    .feature-card p { font-size: 14px; }
    .section-heading h2,.resource-heading h2 { font-size: 31px; }
    .section-heading p,.resource-heading p { font-size: 15px; }
    .resource-heading > a { font-size: 14px; }
    .price-card { max-width: 420px; width: 100%; margin-inline: auto; }
    .capability-card { min-height: 245px; }
    .demo-layout { padding: 28px 18px; }
    .demo-copy h2 { font-size: 31px; }
    .demo-form-grid { grid-template-columns: 1fr; }
    .form-field.full,.demo-submit { grid-column: auto; }
    .cta-panel { padding: 28px 22px; }
    .cta-panel h2 { font-size: 24px; }
    .cta-copy { align-items: flex-start; }
    .cta-icon { width: 48px; height: 48px; flex-basis: 48px; font-size: 22px; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .button { width: 100%; }
    .site-footer { padding-top: 52px; }
    .footer-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-brand { grid-column: auto; padding-bottom: 30px; }
    .footer-brand p { max-width: none; font-size: 15px; }
    .footer-column { padding: 24px 0; border-top: 1px solid var(--line); gap: 11px; }
    .footer-column h3 { margin-bottom: 5px; font-size: 18px; }
    .footer-column a,.footer-column span { font-size: 15px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
    .appointment-modal-card { padding: 28px 18px 20px; }
    .contact-form { padding: 24px 18px !important; }
    .contact-form .btn { width: 100%; }
}

@media (max-width: 380px) {
    .site-container { width: min(100% - 22px,1180px); }
    .brand-mark { width: 30px; height: 30px; }
    .brand-mark span:first-child { left: 10px; width: 10px; height: 30px; }
    .brand-mark span:last-child { top: 10px; width: 30px; height: 10px; }
    .brand-copy strong { font-size: 15px; }
    .brand-copy small { display: none; }
    .eyebrow { padding-inline: 10px; font-size: 12px; }
    .hero-copy h1 { font-size: 34px; }
    .dashboard-layout { grid-template-columns: 68px 1fr; }
    .dash-user span:last-child { display: none; }
    .stat-value { font-size: 12px; }
    .primary-nav .mobile-nav-actions { grid-template-columns: 1fr; }
    .cta-copy { gap: 13px; }
    .cta-icon { display: none; }
}
