/* LoMásCerca V53 — editorial / premium business profile.
   Only affects .empresa-page.lmc-v53; does not touch shared layout. */
.empresa-page.lmc-v33.lmc-v53{
 --p53-green:#008d6b;--p53-deep:#053d34;--p53-ink:#092e29;--p53-line:#dcece6;
 background:linear-gradient(180deg,#f4faf7 0,#fff 680px,#f7fbf9 100%);
}
.empresa-page.lmc-v33.lmc-v53 .company-hero{padding:24px 0 0!important;background:transparent!important;border:0!important;overflow:visible!important}
.empresa-page.lmc-v33.lmc-v53 .company-hero .empresa-shell{
 width:min(calc(100% - 48px),1560px)!important;max-width:1560px!important;
 margin-inline:auto!important;padding:0!important;position:relative!important;
}
/* The actual photo never gets cropped. The backdrop fills otherwise empty space. */
.empresa-page.lmc-v33.lmc-v53 .company-cover{
 position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
 width:100%!important;height:clamp(310px,34vw,510px)!important;min-height:0!important;
 border-radius:30px!important;overflow:hidden!important;
 background:radial-gradient(circle at 72% 20%,#19ad89,#064c3e 70%)!important;
 box-shadow:0 22px 62px rgba(4,46,35,.14)!important;
}
.empresa-page.lmc-v33.lmc-v53 .company-cover.lmc-cover-has-photo{background:#080d0b!important}
.empresa-page.lmc-v33.lmc-v53 .company-cover.lmc-cover-has-photo::before,
.empresa-page.lmc-v33.lmc-v53 .company-cover.lmc-cover-has-photo::after{
 display:none!important;content:none!important;background:none!important;
}
/* Existing uploaded photo displayed entirely, in front of a blurred copy. */
.empresa-page.lmc-v33.lmc-v53 .company-cover .p53-backdrop{
 position:absolute;inset:-36px;z-index:0;pointer-events:none;
 background-position:center;background-size:cover;background-repeat:no-repeat;
 filter:blur(32px) saturate(.85) brightness(.58);opacity:.9;transform:scale(1.05);
}
.empresa-page.lmc-v33.lmc-v53 .company-cover.lmc-cover-has-photo>img{
 position:absolute!important;inset:0!important;z-index:1!important;display:block!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:contain!important;object-position:center center!important;
 filter:none!important;transform:none!important;opacity:1!important;
}
/* Keep label visible without casting a dark veil across the company artwork. */
.empresa-page.lmc-v33.lmc-v53 .company-cover>:not(img):not(.p53-backdrop){position:relative;z-index:3}
.empresa-page.lmc-v33.lmc-v53 .company-cover .category-pill,
.empresa-page.lmc-v33.lmc-v53 .company-cover .company-category{
 background:rgba(5,29,24,.62)!important;backdrop-filter:blur(12px);border-color:rgba(255,255,255,.32)!important;
}
/* Clearly differentiated, premium editorial profile panel. */
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity{
 width:calc(100% - 84px)!important;max-width:none!important;
 margin:-46px auto 48px!important;padding:30px 38px!important;min-height:156px!important;
 background:linear-gradient(110deg,#fff 0%,#fff 71%,#f3fbf7 100%)!important;
 border:1px solid rgba(218,236,227,.9)!important;border-radius:26px!important;
 box-shadow:0 24px 70px rgba(4,52,39,.13),0 3px 9px rgba(4,52,39,.035)!important;
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:22px!important;
 position:relative!important;z-index:8!important;overflow:visible!important;box-sizing:border-box!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity::before{
 content:"";position:absolute;left:38px;right:38px;top:0;height:3px;
 border-radius:0 0 100px 100px;background:linear-gradient(90deg,transparent,#22af87 35%,#d9b569 70%,transparent);
 opacity:.65;pointer-events:none;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-logo,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-avatar,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-logo,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-avatar,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .business-logo{
 flex:0 0 130px!important;width:130px!important;height:130px!important;
 margin:-65px 0 -8px!important;padding:6px!important;box-sizing:border-box!important;
 border:5px solid #fff!important;border-radius:30px!important;background:#fff!important;
 box-shadow:0 15px 38px rgba(0,43,30,.23),0 0 0 1px #dcebe5!important;
 position:relative!important;z-index:9!important;overflow:hidden!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-logo img,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-avatar img,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-logo img,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-avatar img,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .business-logo img{
 width:100%!important;height:100%!important;object-fit:contain!important;border-radius:20px!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity h1{
 font-size:clamp(2.1rem,2.7vw,3.2rem)!important;line-height:1.05!important;
 letter-spacing:-.055em!important;color:var(--p53-ink)!important;font-weight:850!important;
 margin:4px 0 9px!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 gap:11px!important;margin-left:auto!important;padding-left:22px!important;
 border-left:1px solid #e6efe9;justify-content:flex-end!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions a,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions button,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions a,
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions button{
 min-height:48px!important;border-radius:999px!important;letter-spacing:-.01em;
 transition:transform .17s ease,box-shadow .17s ease!important;
}
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions a[href*="whatsapp"],
.empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions a[href*="whatsapp"]{
 box-shadow:0 10px 26px rgba(0,136,98,.2)!important;
}
@media(hover:hover){
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions :is(a,button):hover,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions :is(a,button):hover{transform:translateY(-2px)}
}
/* The rest of the business page receives a lighter, tighter visual system. */
.empresa-page.lmc-v33.lmc-v53 .empresa-card{
 border-radius:23px!important;border:1px solid #e1eee8!important;
 box-shadow:0 12px 38px rgba(16,69,52,.055)!important;
}
.empresa-page.lmc-v33.lmc-v53 .empresa-card h2{letter-spacing:-.035em!important}
.empresa-page.lmc-v33.lmc-v53 .contact-list>a{
 border-radius:15px!important;transition:background .18s ease,transform .18s ease!important;
}
@media(hover:hover){.empresa-page.lmc-v33.lmc-v53 .contact-list>a:hover{transform:translateX(3px)}}
@media(max-width:1050px){
 .empresa-page.lmc-v33.lmc-v53 .company-hero .empresa-shell{width:calc(100% - 28px)!important}
 .empresa-page.lmc-v33.lmc-v53 .company-cover{height:clamp(275px,40vw,410px)!important;border-radius:24px!important}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity{width:calc(100% - 36px)!important;padding:26px!important;margin:-38px auto 34px!important}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions{width:100%!important;margin-left:0!important;padding:15px 0 0!important;border-left:0;border-top:1px solid #e6efe9;justify-content:flex-start!important}
}
@media(max-width:600px){
 .empresa-page.lmc-v33.lmc-v53 .company-hero{padding-top:10px!important}
 .empresa-page.lmc-v33.lmc-v53 .company-hero .empresa-shell{width:calc(100% - 16px)!important}
 .empresa-page.lmc-v33.lmc-v53 .company-cover{height:clamp(195px,54vw,270px)!important;border-radius:20px!important}
 .empresa-page.lmc-v33.lmc-v53 .company-cover .p53-backdrop{filter:blur(18px) brightness(.56)}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity{
  width:calc(100% - 10px)!important;margin:-22px auto 25px!important;
  padding:20px 16px!important;border-radius:20px!important;min-height:0!important;gap:10px!important;
 }
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity::before{left:20px;right:20px}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-logo,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-avatar,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-logo,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-avatar,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .business-logo{
  flex-basis:90px!important;width:90px!important;height:90px!important;
  margin:-43px 0 0!important;border-width:4px!important;border-radius:23px!important;padding:3px!important;
 }
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity h1{font-size:1.8rem!important}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions,
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions{gap:8px!important}
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .company-actions :is(a,button),
 .empresa-page.lmc-v33.lmc-v53 .lmc51-identity .empresa-actions :is(a,button){min-height:44px!important;font-size:.85rem!important}
}
@media(prefers-reduced-motion:reduce){.empresa-page.lmc-v33.lmc-v53 *{transition:none!important}}
