/* Gentle shared motion with a static reduced-motion presentation. */
.footer-brand{position:relative;animation:footer-float 5.5s ease-in-out infinite}.footer-brand::before{content:'';position:absolute;inset:9% 4% 7%;background:radial-gradient(ellipse,#21baff5c 0%,#009ae026 42%,transparent 72%);filter:blur(15px);pointer-events:none;animation:footer-aura 5.5s ease-in-out infinite}.footer-brand .brand-logo{position:relative;z-index:1}.footer-brand:hover,.footer-brand:focus-visible{animation-play-state:paused}
@keyframes footer-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes footer-aura{0%,100%{opacity:.6;transform:scale(.96)}50%{opacity:1;transform:scale(1.07)}}
.service-card{position:relative;isolation:isolate;overflow:hidden;background:#fff}.service-card::before{content:'';position:absolute;inset:0;z-index:-1;background-image:var(--card-photo);background-size:cover;background-position:var(--card-position,center 45%);opacity:0;transform:scale(1.035);transition:opacity .35s ease,transform .65s ease;pointer-events:none}.service-card::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#ffffff30,#ffffffa8 85%)}.service-card:hover::before,.service-card:focus-visible::before{opacity:.23;transform:scale(1)}.service-card:hover,.service-card:focus-visible{border-color:#58b8e9;box-shadow:0 10px 24px #062d6510}.service-card-general{--card-photo:url('assets/presion.webp');--card-position:65% 47%}.service-card-women{--card-photo:url('assets/papanicolaou.webp');--card-position:75% 34%}.service-card-lab{--card-photo:url('assets/diabetes.webp');--card-position:70% 49%}.service-card-urgent{--card-photo:url('assets/consulta.webp');--card-position:75% 40%}.service-card>.text-link{display:inline-flex;align-items:center;gap:7px}.card-chevron{width:17px;height:17px;transition:transform .3s}.service-card:hover .card-chevron,.service-card:focus-visible .card-chevron{transform:translateX(4px)}
.decorative-section{position:relative}.ambient-art{position:absolute;top:22px;right:26px;width:85px;height:85px;color:#3aaee9;opacity:.3;pointer-events:none;user-select:none}.ambient-art svg{display:block;width:100%;height:100%;overflow:visible}.orbit-ring{transform-origin:50px 50px;animation:ambient-orbit 16s linear infinite}.orbit-arrows{animation:ambient-drift 3.8s ease-in-out infinite}.closing>.ambient-art{top:auto;bottom:10px;left:46%;right:auto;width:58px;height:58px;color:#b7edff;opacity:.28}.night>.ambient-art{color:#82d9ff;right:24px;top:24px;width:72px;height:72px;opacity:.25}.community>.ambient-art{top:auto;bottom:16px;right:28px;width:85px;height:85px}.page-banner>.ambient-art{top:auto;bottom:28px;right:4%;width:106px;height:106px;opacity:.28}.transport>.ambient-art{width:53px;height:53px;top:13px;right:14px;opacity:.25}.decorative-section>.wrap,.transport>div{position:relative}.decorative-section>.wrap{z-index:1}
@keyframes ambient-orbit{to{transform:rotate(360deg)}}@keyframes ambient-drift{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
@media(max-width:1050px){.page-banner>.ambient-art{width:66px;height:66px;right:20px;bottom:15px}.closing>.ambient-art{left:auto;right:12px;bottom:8px;opacity:.16}}
@media(max-width:700px){.ambient-art{width:48px;height:48px;opacity:.18}.night>.ambient-art{width:55px;height:55px;right:18px;top:20px}.community>.ambient-art{width:48px;height:48px;right:16px;bottom:14px;opacity:.2}.page-banner>.ambient-art{width:46px;height:46px;bottom:13px;right:15px;opacity:.15}.transport>.ambient-art{width:38px;height:38px;opacity:.18}.closing>.ambient-art{width:48px;height:48px;right:15px;bottom:15px}.service-card .card-chevron{width:14px}.footer-brand{animation-duration:6.5s}}
@media(hover:none){.service-card::before{opacity:.1;transform:none}}
.motion-paused .service-card::before,.motion-paused .card-chevron{transition:none}
@media(prefers-reduced-motion:reduce){.footer-brand,.footer-brand::before,.orbit-ring,.orbit-arrows{animation:none!important}.service-card::before,.card-chevron{transition:none;transform:none!important}.footer-brand::before{opacity:.7}.service-card:hover{transform:none}}
.service-card::before{background-size:auto 260%}.service-card-general{--card-position:right 52%}.service-card-women{--card-position:right 20%}.service-card-lab{--card-position:right 44%}.service-card-urgent{--card-position:right 32%}
.footer-brand{mix-blend-mode:lighten}
.footer-brand::before{z-index:2;inset:-12px -10px;background:radial-gradient(ellipse,transparent 28%,#27bdff55 50%,transparent 73%);mix-blend-mode:screen;filter:blur(13px)}
/* Keep the clinician's face in view without showing the flyer copy behind the card text. */
.service-card-urgent{--card-position:right top}
.service-card-urgent::before{background-size:auto 260%;-webkit-mask-image:linear-gradient(90deg,transparent 12%,#000 62%);mask-image:linear-gradient(90deg,transparent 12%,#000 62%)}
.service-card-urgent::after{background:linear-gradient(90deg,#fff 4%,#ffffffd9 40%,#ffffff45 100%)}
.service-card-urgent:hover::before,.service-card-urgent:focus-visible::before{opacity:.72}
@media(hover:none){.service-card-urgent::before{opacity:.62}}
