/* Keep the pulse in its own column; no decoration crosses the contact card. */
.footer-expanded .footer-opening{grid-template-columns:1fr 1fr;gap:85px;padding-block:36px 30px;align-items:center}
.footer-message{min-width:0;position:relative}.footer-message .footer-statement{font-size:58px;line-height:1.08;letter-spacing:-1.8px}.footer-message>.eyebrow{margin-bottom:20px}
.footer-opening .footer-message .footer-care-line{display:block;position:static;width:290px;max-width:85%;height:56px;margin:10px 0 0;opacity:1}
.footer-opening .footer-invitation{margin:0;padding:30px 34px;border-color:#809b8f60;background:#315b5f35;align-self:center;border-radius:6px;box-shadow:0 12px 30px #082a301a}
.footer-invitation:before{display:none}.footer-opening .footer-invitation h3{font-size:32px;line-height:1.25;margin-bottom:23px;max-width:100%}.footer-opening .footer-invitation>.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:15px}.footer-invitation-actions{gap:24px}.footer-opening .footer-top-link{top:19px;right:0;width:32px;height:32px;font-size:18px}
/* The emblem draws, breathes and has a visible satellite rather than a static seal. */
.footer-brand-emblem{padding:12px 14px 12px 8px;border:1px solid #8ca99840;border-radius:6px;background:#8ba6880a;gap:12px;max-width:230px;min-height:84px;position:relative;overflow:visible}
.footer-brand-emblem>svg{width:64px;height:64px}.footer-brand-emblem p{font-size:8px;letter-spacing:1px;line-height:1.9}.emblem-line{opacity:.45}.emblem-draw{stroke:#f4d39c;stroke-width:1.6;stroke-dasharray:75 125;opacity:1;animation:emblem-drawing 4s linear infinite}.emblem-orbit{animation-duration:12s;stroke:#d9bd8c;stroke-dasharray:2 6}.emblem-dot{animation:emblem-breathe 2.8s ease-in-out infinite}.emblem-satellite{transform-origin:40px 40px;animation:emblem-satellite-turn 7s linear infinite}
.footer-live-column{position:relative;padding-top:23px}.footer-column-flow{display:block;position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#d7c09455,#91ad9e20);overflow:hidden;pointer-events:none}.footer-column-flow:after{content:'';display:block;width:30%;height:100%;background:linear-gradient(90deg,transparent,#edc996,transparent);animation:column-light 5.5s ease-in-out infinite;animation-delay:var(--column-delay,0s)}
.footer-expanded:after{content:'';position:absolute;z-index:-1;pointer-events:none;right:-80px;bottom:-200px;width:550px;height:550px;border-radius:50%;background:radial-gradient(circle,#b9cdad0f,transparent 65%);border:1px solid #d7bb8c15;box-shadow:0 0 0 45px #9cb5a108,0 0 0 90px #9cb5a106;animation:footer-atmosphere 9s ease-in-out infinite}
.footer-expanded .footer-columns{padding-block:30px 28px;gap:40px}.footer-live-column h3{margin-top:0}.footer-expanded .footer-brand-column>p{margin-top:20px}.footer-expanded .footer-bottom{padding-bottom:60px}
/* Every page gets a fine, animated medical landscape behind its content. */
.clinical-scene{position:relative;isolation:isolate}.clinical-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict;border-radius:inherit;color:#7d9a8c}
.clinical-halo{position:absolute;display:block;border:1px solid #9ab3a44a;border-radius:50%;width:360px;height:360px;background:radial-gradient(circle,#c8d9c829,transparent 68%);animation:clinical-breathe 9s ease-in-out infinite;animation-delay:var(--scene-delay)}
.halo-one{right:-195px;top:15%;box-shadow:0 0 0 40px #a9bca00b,0 0 0 80px #a9bca008}.halo-two{width:210px;height:210px;left:-145px;bottom:8%;animation-delay:calc(var(--scene-delay) - 4s);border-color:#b69b6733;background:transparent;box-shadow:0 0 0 30px #c0ac7a0b}
.body-care-flow{position:absolute;left:0;bottom:-26px;width:100%;height:190px;overflow:visible;opacity:.72}.body-care-flow path{vector-effect:non-scaling-stroke;stroke-linecap:round}.care-flow-base{stroke:#7d9c8e;stroke-width:.8;opacity:.32}.care-flow-trace{stroke:#b08847;stroke-width:1.5;stroke-dasharray:85 915;opacity:.85;animation:clinical-flow 8s linear infinite;animation-delay:var(--scene-delay)}
.care-node{fill:#afc7b9;stroke:#f8f6ef;stroke-width:3;animation:clinical-node 4.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.node-two{animation-delay:-1.4s;fill:#c6ac7d}.node-three{animation-delay:-2.8s}.care-small-cross{stroke:#9eac96;stroke-width:1;opacity:.6;animation:clinical-cross 7s ease-in-out infinite;transform-origin:center}
.body-medical-symbol{position:absolute;width:170px;height:96px;left:43%;bottom:27px;opacity:.65;overflow:visible;animation:clinical-symbol-float 8s ease-in-out infinite}.body-medical-symbol path{vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.symbol-base{stroke:#8ba495;stroke-width:1;opacity:.5}.symbol-trace{stroke:#af8546;stroke-width:1.6;stroke-dasharray:100 400;animation:clinical-symbol-trace 6s linear infinite}
.hero .body-care-flow,.page-hero .body-care-flow{bottom:-5px;height:160px;opacity:.9}.hero .halo-one,.page-hero .halo-one{top:2%;right:-90px;width:460px;height:460px}.hero .halo-two,.page-hero .halo-two{left:-80px;bottom:15%;width:180px;height:180px}
.team .clinical-atmosphere,.contact-section .clinical-atmosphere{color:#d6c39c}.team .care-flow-base,.contact-section .care-flow-base{stroke:#c8d5b6}.team .care-flow-trace,.contact-section .care-flow-trace{stroke:#edd1a1}.team .clinical-halo,.contact-section .clinical-halo{border-color:#b9cdac2b;background:transparent}.team .body-care-flow,.contact-section .body-care-flow{opacity:.45}
.clinic-welcome{box-shadow:0 12px 35px #1f4e5f08}.page-art-image{animation-duration:7s}.gallery-photo-hero{animation:gallery-frame-breathe 9s ease-in-out infinite}
/* Animate only visible scenes. The existing pause button freezes this entire layer. */
.clinical-atmosphere *,.footer-column-flow:after,.emblem-draw,.emblem-satellite,.footer-brand-emblem .emblem-orbit,.footer-brand-emblem .emblem-dot,.site-footer:after,.gallery-photo-hero{animation-play-state:paused}
.clinical-scene.motion-in-view .clinical-atmosphere *,.clinical-scene.motion-in-view .gallery-photo-hero,.site-footer.motion-in-view .footer-column-flow:after,.site-footer.motion-in-view .emblem-draw,.site-footer.motion-in-view .emblem-satellite,.site-footer.motion-in-view .emblem-orbit,.site-footer.motion-in-view .emblem-dot,.site-footer.motion-in-view:after{animation-play-state:running}
@keyframes clinical-flow{to{stroke-dashoffset:-1000}}@keyframes clinical-breathe{0%,100%{transform:translate3d(0,0,0) scale(.94)}50%{transform:translate3d(-14px,12px,0) scale(1.08)}}@keyframes clinical-node{0%,100%{transform:scale(.8);opacity:.4}50%{transform:scale(1.35);opacity:1}}@keyframes clinical-cross{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:.75;transform:translateY(-9px)}}@keyframes clinical-symbol-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes clinical-symbol-trace{to{stroke-dashoffset:-500}}@keyframes emblem-drawing{to{stroke-dashoffset:-200}}@keyframes emblem-satellite-turn{to{transform:rotate(360deg)}}@keyframes column-light{0%{transform:translateX(-110%)}100%{transform:translateX(440%)}}@keyframes footer-atmosphere{0%,100%{transform:translate(0,0) scale(.95)}50%{transform:translate(-25px,-15px) scale(1.1)}}@keyframes gallery-frame-breathe{0%,100%{box-shadow:12px 12px 0 #dfd7c6}50%{box-shadow:17px 15px 0 #d3ddce}}
@media(max-width:1150px){.footer-expanded .footer-opening{gap:50px}.footer-message .footer-statement{font-size:56px}.footer-opening .footer-invitation{padding:28px}.footer-opening .footer-invitation h3{font-size:29px}.body-medical-symbol{left:40%;width:145px}.footer-expanded .footer-columns{gap:28px}}
@media(max-width:800px){.footer-expanded .footer-opening{gap:32px}.footer-message .footer-statement{font-size:49px}.footer-opening .footer-invitation{padding:24px}.footer-opening .footer-invitation h3{font-size:27px}.footer-opening .footer-message .footer-care-line{width:230px;height:60px}.body-care-flow{height:140px;bottom:-30px}.body-medical-symbol{width:130px;left:39%;bottom:20px}.footer-brand-emblem{max-width:215px}.footer-brand-emblem p{font-size:7px}}
@media(max-width:560px){.footer-expanded .footer-opening{grid-template-columns:1fr;gap:28px;padding-block:45px 30px}.footer-message .footer-statement{font-size:56px;max-width:none}.footer-message>.eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:18px}.footer-opening .footer-message .footer-care-line{position:static;width:240px;max-width:100%;height:63px;margin-top:13px}.footer-opening .footer-invitation{padding:24px;width:100%;margin:0}.footer-opening .footer-invitation h3{font-size:29px}.footer-opening .footer-invitation>.eyebrow{font-size:7px;letter-spacing:1.2px}.footer-opening .footer-top-link{top:26px}.footer-invitation-actions{gap:20px}.footer-expanded .footer-columns{gap:29px 24px;padding-top:30px}.footer-brand-emblem{position:relative;right:auto;top:auto;flex-direction:row;max-width:235px;margin-top:23px;display:flex;min-height:82px}.footer-brand-emblem>svg{width:60px;height:60px}.footer-brand-emblem p{text-align:left;font-size:8px;letter-spacing:1px}.footer-columns .footer-brand-column>p{max-width:100%}.footer-live-column{padding-top:22px}.footer-columns .footer-contact{padding-top:25px}.footer-columns .footer-column[aria-label="Explore MR Médica"]>a{display:block}.body-medical-symbol{width:105px;height:60px;left:auto;right:12px;bottom:12px;opacity:.7}.hero .body-medical-symbol{right:15px;bottom:7px}.body-care-flow{height:130px;opacity:.5}.hero .body-care-flow,.page-hero .body-care-flow{height:125px}.halo-one{width:260px;height:260px;right:-185px}.halo-two{width:160px;height:160px;left:-120px}.hero .halo-one,.page-hero .halo-one{width:330px;height:330px;right:-230px}.clinical-halo{animation-duration:12s}.footer-expanded .footer-bottom{padding-bottom:80px}}
.motion-paused .clinical-atmosphere *,.motion-paused .footer-column-flow:after,.motion-paused .footer-brand-emblem *,.motion-paused .site-footer:after,.motion-paused .gallery-photo-hero,.motion-tab-hidden .clinical-atmosphere *,.motion-tab-hidden .footer-column-flow:after,.motion-tab-hidden .footer-brand-emblem *,.motion-tab-hidden .site-footer:after,.motion-tab-hidden .gallery-photo-hero{animation-play-state:paused!important}
.motion-paused .emblem-draw,.motion-paused .symbol-trace,.motion-paused .care-flow-trace{opacity:0}.motion-paused .emblem-line{opacity:1}
@media(prefers-reduced-motion:reduce){.clinical-atmosphere *,.footer-column-flow:after,.footer-brand-emblem *,.site-footer:after,.gallery-photo-hero{animation:none!important}.emblem-draw,.symbol-trace,.care-flow-trace{opacity:0}.emblem-line{opacity:1}}
