/* Implemented from the approved Higgsfield design board */
:root{--ink:#174a47;--surface:#fff;--muted:#607572;--line:#e6eeea}body{background:#fff}header{top:0;margin:0;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.nav{width:min(1240px,calc(100% - 64px));min-height:82px;flex-wrap:nowrap}.nav .brand img{width:160px}.hf-menu{margin-left:auto}.hf-menu summary{display:none}.hf-menu:not([open])>nav{display:flex}.hf-menu nav{width:auto;gap:28px;font-size:13px}.hf-menu-budget{display:none!important}.button{border-radius:9px;background:#6fa481;border-color:#6fa481;color:white}.nav>.button{margin-left:22px}.hf-hero{min-height:335px;background:#edf6f3 url('higgsfield-hero.png') center 53%/cover no-repeat;display:flex;align-items:center}.hf-hero .wrap{padding-top:45px;padding-bottom:45px}.hf-hero h1{font-size:clamp(36px,4vw,58px);letter-spacing:-1.7px;line-height:1.1;margin:18px 0;color:#124743;max-width:600px}.hf-hero p:not(.eyebrow){font-size:18px;line-height:1.6;max-width:510px}.hf-hero .eyebrow{font-size:10px;letter-spacing:1.5px}.hf-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:28px 0 24px}.hf-actions>a,.hf-actions>button{border:0;text-align:left;font:inherit;text-decoration:none;background:#f1faf7;border-radius:10px;padding:22px;display:flex;align-items:center;gap:17px;color:var(--ink);cursor:pointer}.hf-actions>:first-child{background:#edfbdc}.hf-actions svg{width:30px;height:30px;flex-shrink:0}.hf-actions svg:last-child{width:19px;margin-left:auto}.hf-actions strong{font-size:17px;display:block}.hf-actions small{display:block;font-size:12px;line-height:1.4;max-width:205px;margin-top:6px;color:var(--muted)}.hf-services{padding:24px 0!important}.hf-services>.eyebrow{font-size:11px;letter-spacing:1.5px}.hf-services>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.hf-services a{border:1px solid var(--line);border-radius:12px;padding:23px;text-decoration:none;transition:background .2s,transform .2s}.hf-services a:hover{background:#f2faf6;transform:translateY(-3px)}.hf-services svg{width:34px;height:34px}.hf-services h2{font-size:19px!important;letter-spacing:0!important;margin:16px 0 8px}.hf-services p{font-size:13px;line-height:1.5;color:var(--muted);margin:0;max-width:200px}.hf-services a>span{display:block;margin-top:14px}.hf-budget{display:grid;grid-template-columns:130px 1fr 1.4fr;align-items:center;gap:25px;background:#f0f8f3;border-radius:14px;padding:28px;margin-top:12px;margin-bottom:20px}.hf-upload{background:#e3f6ca;border-radius:12px;height:120px;display:grid;place-items:center}.hf-upload svg{width:60px;height:60px}.hf-budget h2{font-size:29px;line-height:1.16;letter-spacing:-.6px;margin:0 0 12px}.hf-budget p{font-size:13px;line-height:1.5;margin:0;max-width:300px}.hf-budget .service-link{font-size:13px}.hf-budget ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0;margin:0;text-align:center}.hf-budget li{display:flex;align-items:center;flex-direction:column}.hf-budget li svg{width:42px;height:42px;padding:9px;background:#eaf8d9;border-radius:50%;box-sizing:content-box;margin-bottom:10px}.hf-budget strong{font-size:13px}.hf-budget small{font-size:11px;color:var(--muted);margin-top:5px;max-width:110px}#especialidades{padding-top:24px;padding-bottom:42px}#especialidades .section-heading{margin-bottom:22px;display:block}#especialidades h2{font-size:27px;letter-spacing:-.5px}#especialidades .section-heading>p{display:none}#especialidades .catalogue-grid{gap:0 26px}#especialidades .study{padding:15px 0;min-height:0;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;display:block}#especialidades .study h3{font-size:16px;margin:0}#especialidades .study .service-link{font-size:12px;min-height:32px}#technology{border-top:1px solid var(--line)}.hf-brand-video{margin-top:25px}.hf-brand-video summary{cursor:pointer;padding:18px;background:#f0f8f3;border-radius:9px}.hf-brand-video .motion-panel{max-width:580px;margin:20px auto}.hf-menu nav a{white-space:nowrap}.hf-menu nav a:after{display:none}
@media(max-width:1000px){.hf-menu nav{gap:15px}.nav{gap:16px}.nav>.button{margin-left:0}.hf-actions>a,.hf-actions>button{padding:17px;gap:10px}.hf-actions strong{font-size:15px}.hf-budget{grid-template-columns:90px 1fr}.hf-budget ol{grid-column:1/-1}.hf-hero{background-position:60% center}.hf-services a{padding:18px}}
@media(max-width:700px){.nav{width:calc(100% - 32px);min-height:65px;position:relative}.nav .brand img{width:133px}.nav>.button{display:none}.hf-menu summary{display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:23px;min-width:44px;min-height:44px}.hf-menu:not([open])>nav{display:none}.hf-menu[open]>nav{display:flex;position:absolute;left:-16px;right:-16px;top:65px;background:white;padding:12px 22px 22px;box-shadow:0 12px 18px #174a4712;flex-direction:column;align-items:stretch;gap:0}.hf-menu nav a{min-height:44px}.hf-menu-budget{display:flex!important}.hf-hero{min-height:290px;background-position:67% center;align-items:flex-start;position:relative;isolation:isolate}.hf-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f0f7f5e8,#f0f7f580 58%,transparent);z-index:-1}.hf-hero .wrap{padding-top:28px;padding-bottom:30px}.hf-hero h1{font-size:35px;letter-spacing:-1px;max-width:285px;margin:14px 0}.hf-hero p:not(.eyebrow){font-size:13px;max-width:245px}.hf-hero p br{display:none}.hf-hero .eyebrow{font-size:8px}.hf-actions{grid-template-columns:1fr;gap:9px;padding:18px 0}.hf-actions>a,.hf-actions>button{padding:14px 17px;min-height:75px}.hf-actions svg{width:26px;height:26px}.hf-actions strong{font-size:16px}.hf-actions small{font-size:12px;max-width:240px;margin-top:3px}.hf-services{padding:14px 0!important}.hf-services>div{grid-template-columns:1fr;gap:9px}.hf-services a{padding:14px;display:flex;align-items:center;gap:14px;min-height:61px}.hf-services h2{font-size:15px!important;margin:0}.hf-services p{display:none}.hf-services a>span{margin:0 0 0 auto}.hf-services svg{width:26px;height:26px}.hf-budget{padding:20px;grid-template-columns:44px 1fr;gap:17px;border-radius:10px;margin-top:12px}.hf-upload{height:58px;border-radius:8px}.hf-upload svg{width:30px;height:30px}.hf-budget h2{font-size:23px}.hf-budget p{font-size:12px}.hf-budget ol{gap:10px;border-top:1px solid #dce9df;padding-top:18px}.hf-budget li svg{width:23px;height:23px;padding:8px}.hf-budget small{font-size:10px}.hf-budget strong{font-size:12px}#especialidades h2{font-size:23px}#especialidades .catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}#especialidades .study h3{font-size:14px}#especialidades .study{padding:12px 0}.floating-wa{font-size:11px;padding:10px;bottom:10px}html{scroll-padding-top:85px}}
.hf-menu summary{padding:0;margin:0;border:0;list-style:none}.hf-menu summary:after,.hf-menu summary::marker{display:none!important;content:none!important}.hf-menu{border:0;margin-top:0;margin-bottom:0;padding:0}.hf-services>.eyebrow{display:block!important;max-width:none!important;margin:0 0 18px!important}
:root{--ink:#0f3c44;--blue:#0f3c44;--green:#5bdd67;--mid:#357266}.hf-hero h1{color:var(--ink)}.button{background:var(--green);border-color:var(--green);color:var(--ink)}.button:hover{background:#86e88f;color:var(--ink)}.hf-actions>:first-child{background:#e5f9e7}.hf-upload,.hf-budget li svg{background:#def5e1}.hf-services a:hover{border-color:#5bdd67}.hf-hero .eyebrow{color:var(--mid)}
/* Original CIDIMED logo: brief heartbeat on arrival and interaction. */
header .brand img{transform-origin:center;animation:cidimed-logo-heartbeat 2.8s ease-in-out 1;will-change:auto}
header .brand:hover img,header .brand:focus-visible img{animation:cidimed-logo-hover 1.2s ease-in-out 1}
@keyframes cidimed-logo-heartbeat{0%,35%,60%,100%{transform:scale(1);filter:drop-shadow(0 0 0 transparent)}15%,45%{transform:scale(1.055);filter:drop-shadow(0 3px 7px #5bdd6738)}25%,52%{transform:scale(1.015)}}
@keyframes cidimed-logo-hover{0%,100%{transform:scale(1)}35%,65%{transform:scale(1.04)}50%{transform:scale(1.01)}}
@media(prefers-reduced-motion:reduce){header .brand img,header .brand:hover img,header .brand:focus-visible img{animation:none!important;transform:none!important;filter:none!important}}
/* Native Higgsfield animation of the actual CIDIMED cross. */
.hf-hero.corporate-motion{position:relative;isolation:isolate;background:#f0f7f5 url('cidimed-cruz-poster.png') center/cover no-repeat;overflow:hidden}.corporate-motion>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.corporate-motion>.wrap{position:relative;z-index:1;pointer-events:none}.corporate-video-toggle{position:absolute;right:24px;bottom:15px;z-index:3;border:1px solid #bdd5c9;border-radius:25px;background:#ffffffed;color:#0f3c44;padding:11px 15px;font:700 12px Nunito,Arial,sans-serif;cursor:pointer;min-height:44px}.corporate-motion:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffffb3,transparent 62%);z-index:-1}.corporate-video-toggle:focus-visible{outline:3px solid #357266;outline-offset:3px}
@media(max-width:700px){.hf-hero.corporate-motion{min-height:445px;background-position:85% bottom;background-size:auto 300px;background-repeat:no-repeat;background-color:#f0f7f5}.corporate-motion>video{top:auto;bottom:0;height:270px;object-fit:cover;object-position:85% center}.corporate-motion>.wrap{padding-bottom:245px}.corporate-motion:before{background:linear-gradient(180deg,#f0f7f5 30%,transparent 65%)}.corporate-video-toggle{right:16px;bottom:10px;font-size:11px;min-height:40px;padding:8px 12px}.hf-hero.corporate-motion h1{max-width:320px}.hf-hero.corporate-motion p:not(.eyebrow){max-width:310px}}
