/* LoMásCerca V51 — public business hero refresh. Scoped exclusively to empresa-page. */
.empresa-page.lmc-v33.lmc-v51 {
  --lmc51-ink:#073a32;
  --lmc51-muted:#648078;
  --lmc51-emerald:#008b66;
}
/* A photo-forward, clear cover, in place of the opaque brand veil. */
.empresa-page.lmc-v33.lmc-v51 .company-hero {
  background:transparent !important;
  border:0 !important;
}
.empresa-page.lmc-v33.lmc-v51 .empresa-shell { position:relative; }
.empresa-page.lmc-v33.lmc-v51 .company-cover {
  height:clamp(270px,32vw,375px) !important;
  border-radius:24px !important;
  isolation:isolate;
  position:relative;
  background:radial-gradient(circle at 83% 13%,rgba(112,236,172,.28),transparent 34%),linear-gradient(115deg,#073a32,#087d66 73%,#21a785) !important;
  box-shadow:0 14px 40px rgba(8,62,46,.12);
  overflow:hidden;
}
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo {
  background:#dcece7 !important;
}
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo:before,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo:after {
  content:none !important;
  display:none !important;
  background:none !important;
  opacity:0 !important;
}
.empresa-page.lmc-v33.lmc-v51 .company-cover > img {
  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;
  display:block;
}
/* The company name lives in the white identity card, not over an uploaded photo. */
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > h1,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > h2,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > .cover-title,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > .cover-content,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > .company-cover-title,
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo > .cover-overlay {
  display:none !important;
}
/* New identity surface: Facebook-like composition, but LoMásCerca's palette. */
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity {
  position:relative !important;
  z-index:5 !important;
  margin:-64px 26px 24px !important;
  padding:22px 26px !important;
  min-height:120px;
  border-radius:20px !important;
  background:rgba(255,255,255,.985) !important;
  border:1px solid rgba(216,232,226,.94) !important;
  box-shadow:0 24px 55px rgba(10,61,48,.12),0 3px 9px rgba(10,61,48,.04) !important;
  display:flex;
  flex-wrap:wrap;
  align-items:center !important;
  gap:18px !important;
  backdrop-filter:blur(10px);
}
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity h1 {
  color:var(--lmc51-ink) !important;
  font-size:clamp(1.55rem,2.3vw,2.3rem) !important;
  letter-spacing:-.045em !important;
  line-height:1.16 !important;
  margin:0 0 5px !important;
  overflow-wrap:anywhere;
}
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity small,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .text-muted { color:var(--lmc51-muted); }
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions {
  margin-left:auto !important;
  display:flex !important;
  align-items:center;
  gap:9px !important;
  flex-wrap:wrap;
}
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions a,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions button,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions a,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions button {
  min-height:42px;
  border-radius:999px !important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
@media(hover:hover) {
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions a:hover,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions button:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,91,66,.10);
  }
}
/* Profile image / logo gets a high-contrast frame and natural prominence. */
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-logo,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-avatar,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-logo img,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-avatar img {
  border-radius:18px !important;
}
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-logo img,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-avatar img {
  width:92px !important;
  height:92px !important;
  max-width:92px !important;
  object-fit:contain !important;
  background:#fff;
  padding:5px;
  border:1px solid #e4ede9;
  box-shadow:0 7px 22px rgba(3,47,35,.10);
}
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-logo,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-avatar { flex:0 0 auto; }
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-badges,
.empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-badges { display:flex; flex-wrap:wrap; gap:6px; }
@media (max-width:840px) {
  .empresa-page.lmc-v33.lmc-v51 .company-cover { height:260px !important; border-radius:18px !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity { margin:-42px 12px 20px !important; padding:18px !important; gap:12px !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions { margin-left:0 !important; width:100%; }
}
@media (max-width:540px) {
  .empresa-page.lmc-v33.lmc-v51 .company-cover { height:210px !important; border-radius:16px !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity { margin:-28px 7px 18px !important; border-radius:16px !important; padding:15px !important; gap:10px !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity h1 { font-size:1.45rem !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-logo img,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-avatar img { height:65px !important; width:65px !important; }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions > *,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .empresa-actions > * { min-width:0; }
}
@media (prefers-reduced-motion:reduce) {
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions a,
  .empresa-page.lmc-v33.lmc-v51 .lmc51-identity .company-actions button { transition:none !important; }
}
.empresa-page.lmc-v33.lmc-v51 .company-cover.lmc-cover-has-photo .lmc51-duplicate-title {display:none !important;}
