/* LoMásCerca V54 / AURORA: visual-only company profile enhancement.
   Appended after V53. Scoped to public business profiles. */
.empresa-page.lmc-v33.lmc-v54{
 --v54-night:#073d33;--v54-green:#008f68;--v54-bright:#05a77a;--v54-line:#dcece6;
 background:radial-gradient(ellipse 75% 440px at 48% 0,rgba(17,177,121,.115),transparent 85%),linear-gradient(180deg,#f5faf8 0%,#fbfdfc 45%,#f4faf7 100%)!important;
 color:#153d35;
}
/* Wider, more intentional art gallery / cover — image is never cropped. */
.empresa-page.lmc-v33.lmc-v54 .company-hero{padding-top:22px!important;background:transparent!important;border:0!important;overflow:visible!important}
.empresa-page.lmc-v33.lmc-v54 .company-hero .empresa-shell{
 width:min(calc(100% - 48px),1620px)!important;max-width:1620px!important;margin-inline:auto!important;padding:0!important;
}
.empresa-page.lmc-v33.lmc-v54 .company-cover{
 width:100%!important;height:clamp(340px,32vw,510px)!important;min-height:0!important;
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 border-radius:30px!important;background:radial-gradient(circle at 65% 25%,#0c8c6c,#084c3d 65%,#032e27)!important;
 box-shadow:0 26px 65px rgba(5,45,36,.19),0 2px 2px rgba(5,45,36,.04)!important;
}
.empresa-page.lmc-v33.lmc-v54 .company-cover.lmc-cover-has-photo{background:#080c0c!important}
.empresa-page.lmc-v33.lmc-v54 .company-cover.lmc-cover-has-photo::before,
.empresa-page.lmc-v33.lmc-v54 .company-cover.lmc-cover-has-photo::after{content:none!important;display:none!important}
.empresa-page.lmc-v33.lmc-v54 .company-cover .p53-backdrop{
 inset:-40px!important;z-index:0!important;filter:blur(35px) brightness(.48) saturate(1.02)!important;opacity:.9!important;
}
.empresa-page.lmc-v33.lmc-v54 .company-cover.lmc-cover-has-photo > img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:50% 50%!important;
 transform:none!important;filter:none!important;z-index:1!important;opacity:1!important;
}
/* Photographic edge: tiny bottom line provides separation without hiding images. */
.empresa-page.lmc-v33.lmc-v54 .company-cover .lmc54-cover-line{
 pointer-events:none!important;position:absolute!important;inset:auto 0 0!important;height:3px!important;
 background:linear-gradient(90deg,transparent 4%,rgba(228,189,99,.6),rgba(65,222,158,.7),transparent 96%)!important;
 z-index:3!important;opacity:.8;
}
/* Category sits on photo only where a cover exists; isolated glass chip. */
.empresa-page.lmc-v33.lmc-v54 .company-cover .company-category,
.empresa-page.lmc-v33.lmc-v54 .company-cover .category-pill{
 border:1px solid rgba(255,255,255,.48)!important;color:#fff!important;
 background:rgba(5,27,24,.65)!important;backdrop-filter:blur(14px)!important;
 box-shadow:0 4px 14px rgba(0,0,0,.12)!important;
}
/* Real overlapping profile panel, more presence and much clearer hierarchy. */
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity{
 width:calc(100% - 72px)!important;max-width:none!important;min-height:166px!important;
 padding:28px 38px 28px!important;margin:-42px auto 0!important;box-sizing:border-box!important;
 background:linear-gradient(115deg,rgba(255,255,255,.99) 0%,#fff 64%,#f1faf6 100%)!important;
 border:1px solid rgba(211,232,222,.96)!important;border-radius:28px!important;
 box-shadow:0 24px 60px rgba(9,65,49,.14),0 2px 10px rgba(9,65,49,.04)!important;
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:24px!important;position:relative!important;
 isolation:isolate!important;overflow:visible!important;z-index:10!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity::before{
 content:""!important;position:absolute!important;top:0!important;left:34px!important;right:34px!important;
 height:3px!important;background:linear-gradient(90deg,#16b88b 5%,#d5bc73 55%,transparent 90%)!important;
 border-radius:0 0 100px 100px!important;opacity:.88!important;pointer-events:none;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-logo,.company-avatar,.empresa-logo,.empresa-avatar,.business-logo){
 flex:0 0 132px!important;width:132px!important;height:132px!important;min-width:132px!important;
 margin:-72px 0 -5px!important;padding:5px!important;box-sizing:border-box!important;
 border:5px solid white!important;border-radius:30px!important;background:white!important;
 box-shadow:0 17px 37px rgba(0,41,32,.21),0 0 0 1px #c9e4d8!important;overflow:hidden!important;z-index:11!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-logo,.company-avatar,.empresa-logo,.empresa-avatar,.business-logo) img{
 display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:20px!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity h1{
 font-size:clamp(2.2rem,3vw,3.15rem)!important;line-height:1.04!important;letter-spacing:-.057em!important;
 color:#073b30!important;font-weight:850!important;margin:5px 0 10px!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity .company-actions,
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity .empresa-actions{
 margin-left:auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;
 justify-content:flex-end!important;gap:10px!important;padding-left:26px!important;border-left:1px solid #e3eee8!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions) :is(a,button){
 min-height:48px!important;padding-inline:17px!important;border-radius:15px!important;font-weight:750!important;
 transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions) a[href*="whatsapp"],
.empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions) a[href*="type=whatsapp"]{
 background:linear-gradient(110deg,#09aa7e,#007c5c)!important;color:white!important;border-color:transparent!important;
 box-shadow:0 9px 23px rgba(0,137,96,.22)!important;
}
@media(hover:hover){
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions) :is(a,button):hover{
 transform:translateY(-3px)!important;box-shadow:0 12px 24px rgba(0,100,70,.16)!important;
 }
}
/* Useful accessible section shortcuts, inserted only for headings actually on page. */
.empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:calc(100% - 72px);margin:18px auto 44px;
 padding:5px 0 0;box-sizing:border-box;
}
.empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav a{
 display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 14px;
 border:1px solid #d7e9e1;border-radius:999px;background:rgba(255,255,255,.9);
 color:#24554a;text-decoration:none;font-size:.86rem;font-weight:750;
 box-shadow:0 3px 10px rgba(3,48,34,.025);transition:background .18s ease,transform .18s ease;
}
.empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav a:hover,
.empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav a:focus-visible{
 background:#e6f8f0;color:#006d51;transform:translateY(-1px);
}
.empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav a:focus-visible{outline:3px solid #24c391;outline-offset:2px}
.empresa-page.lmc-v33.lmc-v54 [id$="-heading"]{scroll-margin-top:110px}
/* Clean premium content cards - readable copy and meaningful hierarchy. */
.empresa-page.lmc-v33.lmc-v54 .empresa-card{
 border:1px solid #dcebe4!important;border-radius:24px!important;background:#fff!important;
 box-shadow:0 12px 35px rgba(10,67,49,.055),0 1px 2px rgba(10,67,49,.028)!important;
 transition:box-shadow .2s ease,transform .2s ease!important;
}
.empresa-page.lmc-v33.lmc-v54 .empresa-card h2{
 font-size:clamp(1.35rem,1.7vw,1.9rem)!important;line-height:1.17!important;
 letter-spacing:-.04em!important;color:#083c31!important;
}
.empresa-page.lmc-v33.lmc-v54 .empresa-card .eyebrow{
 letter-spacing:.14em!important;font-weight:850!important;color:#507a76!important;
}
.empresa-page.lmc-v33.lmc-v54 .empresa-card p:not(.eyebrow){line-height:1.7}
.empresa-page.lmc-v33.lmc-v54 .contact-list>a{
 border:1px solid #e6f0eb!important;background:#f7fbf9!important;
 border-radius:16px!important;min-height:57px;transition:background .18s ease,transform .18s ease!important;
}
.empresa-page.lmc-v33.lmc-v54 .contact-list>a:hover{background:#eaf8f1!important;transform:translateX(3px)}
.empresa-page.lmc-v33.lmc-v54 .contact-list>a:focus-visible{outline:3px solid #27c996;outline-offset:2px}
.empresa-page.lmc-v33.lmc-v54 .lmc-help-card{
 background:linear-gradient(145deg,#f1fbf5,#dff6e9 90%)!important;
 border-color:#d7eddf!important;
}
/* Make maps avoid hard edges */
.empresa-page.lmc-v33.lmc-v54 .leaflet-container{border-radius:13px!important}
@media(min-width:1100px){
 .empresa-page.lmc-v33.lmc-v54 .empresa-layout,.empresa-page.lmc-v33.lmc-v54 .company-layout{
 gap:24px!important;
 }
}
@media(max-width:1050px){
 .empresa-page.lmc-v33.lmc-v54 .company-hero .empresa-shell{width:calc(100% - 24px)!important}
 .empresa-page.lmc-v33.lmc-v54 .company-cover{height:clamp(280px,40vw,410px)!important;border-radius:24px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity{width:calc(100% - 28px)!important;padding:25px!important;gap:17px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions){width:100%!important;margin-left:0!important;padding:15px 0 0!important;border-left:0!important;border-top:1px solid #e5efe9!important;justify-content:flex-start!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav{width:calc(100% - 28px)}
}
@media(max-width:600px){
 .empresa-page.lmc-v33.lmc-v54 .company-hero{padding-top:10px!important}
 .empresa-page.lmc-v33.lmc-v54 .company-hero .empresa-shell{width:calc(100% - 12px)!important}
 .empresa-page.lmc-v33.lmc-v54 .company-cover{height:clamp(180px,58vw,270px)!important;border-radius:19px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity{
 width:calc(100% - 10px)!important;margin:-20px auto 0!important;padding:18px 15px!important;
 min-height:0!important;gap:11px!important;border-radius:20px!important;
 }
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity::before{left:16px!important;right:16px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-logo,.company-avatar,.empresa-logo,.empresa-avatar,.business-logo){
 flex-basis:86px!important;min-width:86px!important;width:86px!important;height:86px!important;
 margin:-43px 0 0!important;padding:3px!important;border-width:4px!important;border-radius:21px!important;
 }
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-logo,.company-avatar,.empresa-logo,.empresa-avatar,.business-logo) img{border-radius:14px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity h1{font-size:1.85rem!important;letter-spacing:-.047em!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions){gap:7px!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc51-identity :is(.company-actions,.empresa-actions) :is(a,button){min-height:44px!important;padding-inline:13px!important;font-size:.85rem!important}
 .empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav{width:calc(100% - 24px);margin:14px auto 27px;flex-wrap:nowrap;overflow-x:auto;padding:4px 1px 10px;scrollbar-width:thin;scroll-snap-type:x proximity}
 .empresa-page.lmc-v33.lmc-v54 .lmc54-jumpnav a{flex:0 0 auto;scroll-snap-align:start;font-size:.78rem;min-height:34px}
 .empresa-page.lmc-v33.lmc-v54 .empresa-card{border-radius:18px!important}
 .empresa-page.lmc-v33.lmc-v54 .empresa-card h2{font-size:1.35rem!important}
}
@media(prefers-reduced-motion:reduce){.empresa-page.lmc-v33.lmc-v54 *{transition:none!important;scroll-behavior:auto!important}}
