/* === FOOTER === */
#site-footer {
    position: relative;
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 32px;
    border-top: 3px solid var(--medical-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin: 18px 0 24px;
    font-size: 0.925rem;
    line-height: 1.7;
    max-width: 36ch;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--medical-blue), var(--medical-blue-light));
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-blue);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
}

.social-link:hover {
    background: var(--medical-blue);
    border-color: var(--medical-blue);
    color: white;
}

.footer-col-title {
    position: relative;
    color: white;
    margin-bottom: 22px;
    padding-bottom: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--medical-blue-light);
    border-radius: 2px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.2s ease-out, transform 0.2s ease-out;
}

.footer-links a i {
    width: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease-out;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links a:hover i {
    color: var(--medical-blue-light);
}

.footer-bottom {
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease-out;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 14px rgba(22, 32, 41, 0.1);
    padding: 12px 16px;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
}

/* Previously undefined — the strong/span had no layout at all, so the
   headline and subtext ran together on one line instead of stacking,
   with nothing stopping the longer subtext from overflowing the bar
   on narrow phones. */
.sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.sticky-cta-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cta-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cta-btn {
    background: var(--medical-blue);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.sticky-cta-btn:hover {
    background: var(--medical-blue-dark);
    box-shadow: var(--shadow-blue);
}
