:root {
    color-scheme: light;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    color: #173b44;
    background: #f3faf9;
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.links-page {
    min-height: 100vh;
    min-height: 100svh;
    background: radial-gradient(ellipse at 100% 0, #d9f1ee 0, transparent 52%), #f3faf9;
    padding: 32px 16px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
}
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #bb6500; outline-offset: 5px; }
.links-shell { width: 100%; max-width: 480px; margin: 0 auto; }
.links-header { text-align: center; margin-bottom: 26px; }
.links-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 120px; height: 120px; padding: 8px; background: #fff;
    border-radius: 32px; border: 1px solid #d9eae7;
    box-shadow: 0 10px 30px #173b440b; text-decoration: none;
}
.links-logo img { display: block; width: 104px; height: 104px; object-fit: contain; }
.links-brand { margin: 14px 0 5px; color: #087d88; font-size: 17px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(22px, 5.8vw, 29px); font-weight: 800; line-height: 1.65; }
.links-intro { margin: 6px 0 0; color: #526b72; font-size: 14px; line-height: 1.9; }
.links-list { display: grid; gap: 12px; }
.links-card {
    display: flex; align-items: center; gap: 15px; min-height: 84px;
    padding: 17px 18px; background: #fff; border: 1px solid #dce9e6;
    border-radius: 19px; color: #173b44; text-decoration: none;
    box-shadow: 0 4px 14px #173b4404;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.links-card:hover { transform: translateY(-2px); border-color: #8dc8c4; box-shadow: 0 8px 24px #173b4410; }
.links-icon {
    flex: 0 0 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; background: #edf7f6; color: #087d88;
}
.links-icon svg { width: 26px; height: 26px; }
.links-copy { flex: 1; min-width: 0; }
.links-copy strong { display: block; font-weight: 800; font-size: 17px; line-height: 1.65; }
.links-copy small { display: block; color: #526b72; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.links-copy small[dir="ltr"] { text-align: right; font-size: 14px; letter-spacing: .5px; }
.links-arrow { flex: 0 0 auto; color: #638087; font-family: Arial, sans-serif; font-size: 23px; }
.links-card--website { background: #087d88; border-color: #087d88; color: #fff; }
.links-card--website .links-icon { background: #ffffff1f; color: #fff; }
.links-card--website .links-copy small, .links-card--website .links-arrow { color: #edf9f8; }
.links-card--whatsapp .links-icon { color: #147441; background: #e9f7ed; }
.links-card--facebook .links-icon { color: #2460b7; background: #eef3ff; }
.links-card--doctors { border-style: dashed; background: #ffffff99; }
.links-footer { text-align: center; margin-top: 25px; font-size: 13px; line-height: 2; }
.links-footer a { display: inline-block; padding: 5px 3px; color: #45646c; text-underline-offset: 4px; }
.links-footer p { margin: 2px 0; font-size: 12px; }
.links-footer small { color: #62777c; font-size: 11px; }
@media (max-width: 359px) {
    .links-page { padding: 24px 12px; }
    .links-card { padding: 15px 12px; gap: 11px; }
    .links-copy strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .links-card { transition: none; }
    .links-card:hover { transform: none; }
}
