/* V117 — shared Inicio header for internal pages only. */
:root{--home-header-h:74px}
.home-top-header{
  position:fixed;z-index:5000;left:18px;right:18px;top:14px;height:var(--home-header-h);
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;
  padding:0 18px 0 20px;border:0;border-radius:16px;
  background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(18px) saturate(1.1);backdrop-filter:blur(18px) saturate(1.1);
  box-shadow:0 10px 34px rgba(0,0,0,.08);color:#000000;
}
.home-top-brand{display:flex;align-items:center;width:136px;height:54px;overflow:visible;text-decoration:none;flex:0 0 auto}
.home-top-brand img{display:block;width:auto;height:50px;max-width:136px;max-height:50px;object-fit:contain;object-position:left center}
.home-top-nav{justify-self:end;display:flex;align-items:center;gap:clamp(22px,2.4vw,42px)}
.home-top-nav a,.home-top-menu{color:#000000;text-decoration:none;text-transform:uppercase;font:600 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.13em}
.home-top-nav a{position:relative;padding:10px 0;white-space:nowrap}
.home-top-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:4px;height:1px;background:#b47f3a;transition:right .25s ease}
.home-top-nav a:hover::after{right:0}
.home-top-nav a.is-contact{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:999px;background:#000000;color:#fff}
.home-top-nav a.is-contact::after{display:none}
.home-top-nav a.is-contact:hover{background:#b47f3a}
.home-top-menu{display:none;appearance:none;border:0;background:transparent;padding:10px 0;cursor:pointer}

/* Remove the old rail reservation without altering the internal section composition. */
body.shared-header-page{padding-left:0!important;padding-top:0!important}
body.shared-header-page .side-rail,
body.shared-header-page .mobile-header,
body.shared-header-page .lf-side-rail,
body.shared-header-page .lf-mobile-header{display:none!important}

@media (min-width:1025px){
  body.shared-header-page .horizontal-page{padding-left:0!important}
  body.shared-header-page.cases-page .cases-intro-panel,
  body.shared-header-page.cases-page .cases-pair-panel,
  body.shared-header-page.cases-page .cases-closing-panel,
  body.shared-header-page.cases-page .footer-panel,
  body.shared-header-page.contact-page .contact-intro-panel,
  body.shared-header-page.contact-page .contact-form-panel,
  body.shared-header-page.contact-page .footer-panel{width:100vw!important}
  body.shared-header-page .team-story,
  body.shared-header-page .team-sticky{width:100vw!important}
  body.shared-header-page .team-track>.panel{flex-basis:100vw!important;width:100vw!important}
}

/* Drawers stay above the floating header, same behavior as Inicio. */
body.shared-header-page .menu-backdrop,
body.shared-header-page .lf-menu-backdrop{z-index:5200!important;top:0!important}
body.shared-header-page .menu-drawer,
body.shared-header-page .lf-menu-drawer{z-index:5201!important;top:0!important;height:100vh!important}

@media (max-width:1180px){
  .home-top-header{grid-template-columns:auto 1fr auto;gap:18px}
  .home-top-brand{width:118px;height:48px}
  .home-top-brand img{height:44px;max-width:118px;max-height:44px}
  .home-top-nav{gap:18px}
  .home-top-nav a{font-size:8px;letter-spacing:.1em}
}
@media (max-width:900px){
  :root{--home-header-h:60px}
  .home-top-header{left:10px;right:10px;top:8px;height:60px;grid-template-columns:1fr auto;padding:0 14px;border-radius:14px}
  .home-top-brand{width:110px;height:46px}
  .home-top-brand img{height:42px;max-width:110px;max-height:42px}
  .home-top-nav{display:none}
  .home-top-menu{display:block}
  body.shared-header-page .horizontal-page,
  body.shared-header-page .cases-horizontal{padding-top:0!important}
}
@media (max-width:560px){
  .home-top-header{left:8px;right:8px;top:7px;padding:0 12px}
  .home-top-brand{width:100px}
  .home-top-brand img{height:38px;max-width:100px;max-height:38px}
}
