/* LoMásCerca V52 — premium wide business profile. Only the public empresa profile. */
.empresa-page.lmc-v33.lmc-v52 {--v52-ink:#063f35;--v52-border:#dcebe5;--v52-green:#008b68;}
.empresa-page.lmc-v33.lmc-v52 .company-hero{background:transparent!important;border:0!important;padding-top:22px!important;overflow:visible!important;}
/* A wider panoramic cover, independent of the content grid below. */
.empresa-page.lmc-v33.lmc-v52 .company-hero .empresa-shell{
  width:calc(100% - 48px)!important;max-width:1510px!important;margin-inline:auto!important;
  padding-inline:0!important;position:relative!important;
}
.empresa-page.lmc-v33.lmc-v52 .company-cover{
  height:clamp(295px,27vw,410px)!important;min-height:0!important;
  position:relative!important;isolation:isolate!important;
  border-radius:26px!important;overflow:hidden!important;
  background:radial-gradient(circle at 80% 10%,#24a98a 0%,transparent 44%),linear-gradient(130deg,#05372e,#087c65)!important;
  box-shadow:0 14px 34px rgba(0,48,35,.09)!important;
}
.empresa-page.lmc-v33.lmc-v52 .company-cover.lmc-cover-has-photo{
  background:#e2eee9!important;
}
.empresa-page.lmc-v33.lmc-v52 .company-cover.lmc-cover-has-photo::before,
.empresa-page.lmc-v33.lmc-v52 .company-cover.lmc-cover-has-photo::after{
  content:none!important;display:none!important;opacity:0!important;background:none!important;
}
.empresa-page.lmc-v33.lmc-v52 .company-cover>img{
  display:block!important;position:absolute!important;inset:0!important;
  z-index:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
}
/* Category label stays legible but doesn't darken the artwork. */
.empresa-page.lmc-v33.lmc-v52 .company-cover .eyebrow,
.empresa-page.lmc-v33.lmc-v52 .company-cover .category-pill,
.empresa-page.lmc-v33.lmc-v52 .company-cover .company-category{
  position:relative;z-index:2;
}
/* Floating information bar inspired by Facebook's profile-header rhythm. */
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity{
  position:relative!important;z-index:6!important;
  width:calc(100% - 68px)!important;max-width:none!important;
  box-sizing:border-box!important;
  margin:-42px auto 38px!important;
  padding:26px 32px 25px!important;
  min-height:148px!important;overflow:visible!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid rgba(215,232,225,.96)!important;
  box-shadow:0 23px 56px rgba(5,55,42,.12),0 4px 13px rgba(5,55,42,.045)!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:20px!important;flex-wrap:wrap!important;
}
/* Logo framed like a genuine page avatar, lifted across the photo edge. */
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-logo,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-avatar,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-logo,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-avatar,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .business-logo{
  position:relative!important;z-index:8!important;
  flex:0 0 116px!important;width:116px!important;height:116px!important;
  margin-top:-66px!important;margin-bottom:-13px!important;
  display:grid!important;place-items:center!important;
  padding:6px!important;border:5px solid white!important;border-radius:26px!important;
  background:white!important;
  box-shadow:0 15px 32px rgba(0,45,34,.20)!important;
  box-sizing:border-box!important;
}
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-logo img,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-avatar img,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-logo img,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-avatar img,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .business-logo img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
  padding:0!important;object-fit:contain!important;border:0!important;
  border-radius:17px!important;box-shadow:none!important;background:#fff!important;
}
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity h1{
  font-size:clamp(1.85rem,2.25vw,2.7rem)!important;line-height:1.1!important;
  font-weight:850!important;letter-spacing:-.05em!important;color:var(--v52-ink)!important;
  margin:3px 0 7px!important;text-wrap:balance;
}
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions{
  margin-left:auto!important;display:flex!important;align-items:center!important;
  justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px!important;
}
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions a,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions button,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions a,
.empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions button{
  min-height:45px!important;border-radius:14px!important;
  font-weight:750!important;transition:transform .16s ease,box-shadow .16s ease!important;
}
@media(hover:hover){
 .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions a:hover,
 .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions button:hover{
  transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,85,61,.12);
 }
}
/* Adapt from desktop to tablet without squashing the CTA buttons. */
@media(max-width:1050px){
  .empresa-page.lmc-v33.lmc-v52 .company-hero .empresa-shell{width:calc(100% - 30px)!important;}
  .empresa-page.lmc-v33.lmc-v52 .company-cover{height:clamp(260px,34vw,335px)!important;border-radius:20px!important;}
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity{width:calc(100% - 34px)!important;margin:-34px auto 26px!important;padding:22px!important;gap:15px!important;}
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions{margin-left:0!important;width:100%!important;justify-content:flex-start!important;}
}
@media(max-width:600px){
  .empresa-page.lmc-v33.lmc-v52 .company-hero{padding-top:10px!important;}
  .empresa-page.lmc-v33.lmc-v52 .company-hero .empresa-shell{width:calc(100% - 20px)!important;}
  .empresa-page.lmc-v33.lmc-v52 .company-cover{height:215px!important;border-radius:17px!important;}
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity{
    width:calc(100% - 12px)!important;margin:-23px auto 22px!important;
    padding:17px 16px 18px!important;border-radius:19px!important;
    gap:11px!important;min-height:0!important;
  }
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-logo,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-avatar,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-logo,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-avatar,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .business-logo{
    flex-basis:78px!important;width:78px!important;height:78px!important;
    padding:3px!important;border-width:4px!important;border-radius:21px!important;
    margin-top:-47px!important;margin-bottom:0!important;
  }
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity h1{font-size:1.55rem!important;}
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions{
    display:flex!important;width:100%!important;flex-wrap:wrap!important;gap:8px!important;
  }
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions a,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .company-actions button,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions a,
  .empresa-page.lmc-v33.lmc-v52 .lmc51-identity .empresa-actions button{
    min-height:42px!important;font-size:.85rem!important;
  }
}
@media(prefers-reduced-motion:reduce){.empresa-page.lmc-v33.lmc-v52 .lmc51-identity *{transition:none!important;}}
