/* CRM Libre 1.3.40 — public header visual shell.
 * Design-only refresh inspired by the CompraEnPuntaCana portal header.
 * Navigation labels, destinations and public routes stay owned by PHP and are
 * intentionally not redefined here. Loaded after frontend.css so legacy header
 * experiments cannot alter this shell. */
.shcrm-public-site{
  --shcrm-public-header-offset:0px;
  --shcrm-header-navy:#06182a;
  --shcrm-header-blue:#0171bb;
  --shcrm-header-text:#172331;
  --shcrm-header-line:rgba(15,23,42,.08);
}
body.admin-bar .shcrm-public-site{--shcrm-public-header-offset:32px}

/* The standalone public shell owns the full viewport. WordPress may inject an
 * admin-bar html margin even when its toolbar is hidden; neutralize that space
 * so the topbar sits flush against the viewport edge. */
html{margin-top:0!important;padding-top:0!important}
body.shcrm-standalone-public{margin:0!important;padding-top:0!important}
body.shcrm-standalone-public > .shcrm-public-site{margin-top:0!important;padding-top:0!important}

.shcrm-public-site > .shcrm-site-header-placeholder,
.shcrm-public-site > .sticky-header-placeholder,
.shcrm-public-site > .header-spacer,
.shcrm-public-site > .elementor-sticky__spacer,
[data-shcrm-hidden-header-spacer="1"]{
  display:none!important;width:0!important;height:0!important;min-height:0!important;max-height:0!important;
  margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;
}

.shcrm-public-site > .shcrm-site-header,
.shcrm-public-site > .shcrm-site-header.reference-header,
.shcrm-public-site > .shcrm-site-header.shcrm-reference-header,
.shcrm-public-site > .shcrm-site-header.is-compact,
.shcrm-public-site > .shcrm-site-header.is-scrolled,
.shcrm-public-site > .shcrm-site-header.is-sticky{
  position:sticky!important;inset:auto!important;top:var(--shcrm-public-header-offset)!important;z-index:9990!important;
  display:block!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;background-image:none!important;
  border:0!important;border-bottom:1px solid var(--shcrm-header-line)!important;border-radius:0!important;
  box-shadow:0 1px 0 rgba(15,23,42,.07),0 10px 35px rgba(5,22,36,.035)!important;
  opacity:1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:none!important;transition:none!important;animation:none!important;isolation:isolate!important;
}

.shcrm-public-site > .shcrm-site-header::before,
.shcrm-public-site > .shcrm-site-header::after,
.shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner::before,
.shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner::after{
  content:none!important;display:none!important;
}

/* Same two-band visual language used by CompraEnPuntaCana. */
.shcrm-public-site > .shcrm-site-header > .shcrm-site-topbar{
  display:block!important;width:100%!important;min-height:32px!important;margin:0!important;padding:0!important;
  background:var(--shcrm-header-navy)!important;color:#fff!important;border:0!important;box-shadow:none!important;
}
.shcrm-public-site > .shcrm-site-header > .shcrm-site-topbar > .shcrm-site-topbar-inner{
  display:flex!important;box-sizing:border-box!important;width:min(1280px,calc(100% - 48px))!important;min-height:32px!important;
  margin:0 auto!important;padding:0!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;
  color:rgba(255,255,255,.92)!important;font-size:11px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:.04em!important;
}
.shcrm-public-site > .shcrm-site-header > .shcrm-site-topbar span{color:inherit!important;white-space:nowrap!important}

.shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner{
  position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(240px,280px) minmax(0,1fr) auto!important;
  box-sizing:border-box!important;width:min(1280px,calc(100% - 48px))!important;height:148px!important;min-height:148px!important;max-height:148px!important;
  margin:0 auto!important;padding:0!important;align-items:center!important;align-content:center!important;justify-items:stretch!important;gap:26px!important;
  overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;transition:none!important;animation:none!important;
}

.shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand{
  position:relative!important;inset:auto!important;display:flex!important;flex:none!important;box-sizing:border-box!important;
  width:260px!important;min-width:0!important;max-width:260px!important;height:140px!important;min-height:140px!important;max-height:140px!important;
  margin:0!important;padding:0!important;align-self:center!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;
  background:transparent!important;border:0!important;box-shadow:none!important;line-height:0!important;transform:none!important;text-decoration:none!important;
}
.shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand > img{
  position:static!important;inset:auto!important;display:block!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:260px!important;
  height:auto!important;min-height:0!important;max-height:136px!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:left center!important;
  transform:none!important;transition:none!important;animation:none!important;
}

.shcrm-public-site > .shcrm-site-header .shcrm-site-nav,
.shcrm-public-site > .shcrm-site-header .shcrm-site-contact,
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu{margin:0!important;align-self:center!important;transform:none!important}

.shcrm-public-site > .shcrm-site-header .shcrm-site-nav{
  display:flex!important;min-width:0!important;align-items:center!important;justify-content:center!important;justify-self:center!important;gap:4px!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-nav a{
  display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:8px 8px!important;border-radius:8px!important;
  color:var(--shcrm-header-text)!important;background:transparent!important;text-decoration:none!important;white-space:nowrap!important;
  font-size:13px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:.01em!important;box-shadow:none!important;
  transition:color .18s ease,background .18s ease!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-nav a:hover,
.shcrm-public-site > .shcrm-site-header .shcrm-site-nav a.is-active{
  color:var(--shcrm-header-blue)!important;background:#eef7fd!important;
}

.shcrm-public-site > .shcrm-site-header .shcrm-site-contact{
  display:inline-flex!important;justify-self:end!important;align-items:center!important;justify-content:center!important;min-height:42px!important;height:auto!important;
  padding:0 17px!important;border:0!important;border-radius:8px!important;background:var(--shcrm-header-blue)!important;color:#fff!important;
  font-size:11px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;
  box-shadow:0 8px 22px rgba(1,113,187,.16)!important;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-contact:hover{transform:translateY(-1px)!important;filter:brightness(.96)!important}

.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu{display:none!important;position:relative!important;justify-self:end!important}
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu summary{
  min-height:42px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #dbe5ec!important;border-radius:8px!important;background:#fff!important;color:var(--shcrm-header-text)!important;
  font-size:12px!important;font-weight:800!important;line-height:1!important;cursor:pointer!important;list-style:none!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu summary::-webkit-details-marker{display:none!important}
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu nav{
  position:absolute!important;top:calc(100% + 12px)!important;right:0!important;display:grid!important;width:min(300px,calc(100vw - 28px))!important;
  padding:10px!important;border:1px solid #dbe5ec!important;border-radius:14px!important;background:#fff!important;box-shadow:0 22px 55px rgba(15,23,42,.18)!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu nav a{
  padding:12px!important;border-radius:9px!important;color:#172033!important;font-size:13px!important;font-weight:750!important;text-decoration:none!important;
}
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu nav a:hover,
.shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu nav a.is-active{background:#eef7fd!important;color:var(--shcrm-header-blue)!important}

@media(max-width:1180px){
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner{grid-template-columns:minmax(215px,250px) minmax(0,1fr) auto!important;height:132px!important;min-height:132px!important;max-height:132px!important;gap:18px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand{width:230px!important;max-width:230px!important;height:124px!important;min-height:124px!important;max-height:124px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand > img{width:auto!important;height:auto!important;max-width:230px!important;max-height:120px!important}
  .shcrm-public-site > .shcrm-site-header .shcrm-site-nav{gap:0!important}
  .shcrm-public-site > .shcrm-site-header .shcrm-site-nav a{padding-left:5px!important;padding-right:5px!important;font-size:11.5px!important}
  .shcrm-public-site > .shcrm-site-header .shcrm-site-contact{padding:0 13px!important;font-size:10px!important}
}

@media(max-width:980px){
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-topbar{display:none!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner{
    grid-template-columns:minmax(0,1fr) auto!important;width:min(100% - 28px,1280px)!important;height:132px!important;min-height:132px!important;max-height:132px!important;gap:16px!important;
  }
  .shcrm-public-site > .shcrm-site-header .shcrm-site-nav,
  .shcrm-public-site > .shcrm-site-header .shcrm-site-contact{display:none!important}
  .shcrm-public-site > .shcrm-site-header .shcrm-site-mobile-menu{display:block!important}
}

@media(max-width:700px){
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner{width:calc(100% - 20px)!important;height:118px!important;min-height:118px!important;max-height:118px!important;gap:10px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand{width:205px!important;max-width:205px!important;height:112px!important;min-height:112px!important;max-height:112px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand > img{width:auto!important;height:auto!important;max-width:205px!important;max-height:108px!important}
}

@media(max-width:420px){
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner{height:114px!important;min-height:114px!important;max-height:114px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand{width:min(205px,calc(100vw - 102px))!important;max-width:min(205px,calc(100vw - 102px))!important;height:108px!important;min-height:108px!important;max-height:108px!important}
  .shcrm-public-site > .shcrm-site-header > .shcrm-site-header-inner > .shcrm-site-brand > img{width:auto!important;height:auto!important;max-width:min(205px,calc(100vw - 102px))!important;max-height:104px!important}
}

@media(max-width:782px){body.admin-bar .shcrm-public-site{--shcrm-public-header-offset:46px}}
