/* ============================================================
   ABOGADO LABORAL — HEADER + FOOTER ÚNICOS PARA PÁGINAS INTERNAS
   ============================================================ */
:root{--shell-gold:#c6a15b;--shell-black:#000;--shell-white:#fff;}

/* Ocultar shells antiguos y elementos flotantes duplicados */
body.shared-header-page > .home-top-header,
body.shared-header-page > .menu-backdrop,
body.shared-header-page > .menu-drawer,
body.al-nosotros-page > .home-top-header,
body.al-nosotros-page > .lf-menu-backdrop,
body.al-nosotros-page > .lf-menu-drawer,
body.services-black-gold > .services-home-header,
body.services-black-gold > .services-home-mobile,
body.services-black-gold > #site-header,
body .lf-footer,
body .calc-footer,
body .contact-footer,
body > .footer-panel:not(.uniform-site-footer),
body .al-whatsapp,
body .floating-whatsapp{
  display:none!important;
}

/* HEADER ÚNICO */
.uniform-site-header{
  position:fixed;
  z-index:7000;
  left:18px;right:18px;top:12px;
  height:74px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:0 18px 0 20px;
  background:#000!important;
  border:1px solid rgba(198,161,91,.62);
  border-radius:18px;
  box-shadow:0 12px 34px rgba(0,0,0,.16);
  color:#fff;
}
body.services-black-gold .uniform-site-header{z-index:150;}
.uniform-site-brand{display:flex;align-items:center;width:145px;height:58px;text-decoration:none;flex:0 0 auto}
.uniform-site-brand img{display:block;width:auto;height:54px;max-width:145px;max-height:54px;object-fit:contain;object-position:left center}
.uniform-site-nav{justify-self:end;display:flex;align-items:center;gap:clamp(24px,2.6vw,44px)}
.uniform-site-nav a,.uniform-menu-button{
  color:#fff;text-decoration:none;text-transform:uppercase;
  font:600 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.13em;
}
.uniform-site-nav a{position:relative;padding:12px 0;white-space:nowrap;transition:color .25s ease}
.uniform-site-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:5px;height:1px;background:var(--shell-gold);transition:right .25s ease}
.uniform-site-nav a:hover,.uniform-site-nav a[aria-current="page"]{color:var(--shell-gold)}
.uniform-site-nav a:hover::after,.uniform-site-nav a[aria-current="page"]::after{right:0}
.uniform-site-nav a.is-contact{min-height:40px;padding:0 21px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--shell-gold);color:#000;border:1px solid var(--shell-gold)}
.uniform-site-nav a.is-contact::after{display:none}
.uniform-site-nav a.is-contact:hover{background:#fff;border-color:#fff;color:#000}
.uniform-menu-button{display:none;appearance:none;background:transparent;border:1px solid rgba(198,161,91,.55);border-radius:999px;padding:12px 16px;cursor:pointer}

/* DRAWER ÚNICO */
.uniform-menu-backdrop{position:fixed;inset:0;z-index:7998;background:rgba(0,0,0,.66);opacity:0;visibility:hidden;transition:.28s ease}
.uniform-menu-drawer{position:fixed;z-index:7999;right:0;top:0;width:min(460px,94vw);height:100dvh;padding:28px;background:#000;color:#fff;border-left:1px solid rgba(198,161,91,.38);transform:translateX(100%);visibility:hidden;transition:transform .38s cubic-bezier(.22,.61,.36,1),visibility .38s;display:flex;flex-direction:column}
body.uniform-menu-open .uniform-menu-backdrop{opacity:1;visibility:visible}
body.uniform-menu-open .uniform-menu-drawer{transform:none;visibility:visible}
.uniform-menu-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid rgba(198,161,91,.28);font:600 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.16em}
.uniform-menu-close{appearance:none;border:1px solid rgba(198,161,91,.45);width:42px;height:42px;border-radius:50%;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.uniform-menu-nav{display:flex;flex-direction:column;padding:22px 0}
.uniform-menu-nav a{display:flex;justify-content:space-between;align-items:baseline;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none;color:#fff;font:500 clamp(30px,8vw,50px)/.92 "Cormorant Garamond",Georgia,serif}
.uniform-menu-nav a[aria-current="page"]{color:var(--shell-gold)}
.uniform-menu-nav sup{font:600 9px/1 Montserrat,Arial,sans-serif;color:var(--shell-gold);letter-spacing:.12em}
.uniform-menu-bottom{margin-top:auto;padding-top:22px;border-top:1px solid rgba(198,161,91,.28);display:grid;gap:15px}
.uniform-menu-bottom p{margin:0;color:#fff;font:500 24px/1.04 "Cormorant Garamond",Georgia,serif}
.uniform-menu-socials{display:flex;gap:16px;flex-wrap:wrap}
.uniform-menu-socials a{color:var(--shell-gold);text-decoration:none;font:600 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}

/* FOOTER ÚNICO */
.uniform-site-footer{
  position:relative!important;
  z-index:10;
  width:100%!important;
  min-height:520px!important;
  height:auto!important;
  padding:54px clamp(28px,6vw,76px) 28px!important;
  background:#000!important;
  color:#fff!important;
  border:0!important;
  border-top:1px solid rgba(198,161,91,.38)!important;
  overflow:hidden;
}
.uniform-footer-inner{width:min(1580px,100%);margin:0 auto;display:flex;flex-direction:column;gap:46px}
.uniform-footer-top{display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(360px,.95fr);gap:70px;align-items:start}
.uniform-footer-cta p{margin:0 0 18px;color:#fff;font:400 clamp(20px,2vw,30px)/1.15 "Cormorant Garamond",Georgia,serif}
.uniform-footer-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid var(--shell-gold);background:var(--shell-gold);color:#000;text-decoration:none;font:600 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;transition:.25s}
.uniform-footer-cta a:hover{background:#fff;border-color:#fff}
.uniform-footer-navwrap{display:grid;grid-template-columns:1fr .7fr;gap:56px;position:relative;padding-left:30px}
.uniform-footer-navwrap::before{content:"";position:absolute;left:calc(50% - 28px);top:0;bottom:0;width:1px;background:rgba(198,161,91,.28)}
.uniform-footer-nav,.uniform-footer-socials{display:flex;flex-direction:column;gap:13px}
.uniform-footer-nav a,.uniform-footer-socials a{color:#fff;text-decoration:none;font:500 15px/1.35 Montserrat,Arial,sans-serif;transition:.25s}
.uniform-footer-nav a:hover,.uniform-footer-socials a:hover{color:var(--shell-gold)}
.uniform-footer-logo{display:flex;justify-content:center;align-items:center;padding:8px 0 2px}
.uniform-footer-logo img{display:block;width:clamp(260px,29vw,450px);max-width:92%;height:auto;margin:auto}
.uniform-footer-bottom{display:flex;justify-content:space-between;gap:24px;padding-top:18px;border-top:1px solid rgba(198,161,91,.42);color:#fff;font:500 12px/1.4 Montserrat,Arial,sans-serif}
.uniform-footer-bottom span:last-child{text-align:right}

/* Las internas nunca deben reservar rail lateral viejo */
body.shared-header-page,body.al-nosotros-page,body.services-black-gold{padding-left:0!important}

@media(max-width:900px){
  .uniform-site-header{left:9px;right:9px;top:8px;height:60px;padding:0 14px;border-radius:14px;grid-template-columns:1fr auto}
  .uniform-site-brand{width:112px;height:46px}.uniform-site-brand img{height:42px;max-width:112px;max-height:42px}
  .uniform-site-nav{display:none}.uniform-menu-button{display:block}
  .uniform-site-footer{min-height:0!important;padding:46px 24px 24px!important}
  .uniform-footer-top{grid-template-columns:1fr;gap:38px}
  .uniform-footer-navwrap{padding-left:0;grid-template-columns:1fr 1fr;gap:28px}
  .uniform-footer-navwrap::before{display:none}
  .uniform-footer-logo img{width:min(360px,78vw)}
}
@media(max-width:560px){
  .uniform-site-header{left:7px;right:7px;top:6px;padding:0 11px}
  .uniform-site-brand{width:100px}.uniform-site-brand img{height:38px;max-width:100px;max-height:38px}
  .uniform-footer-navwrap{grid-template-columns:1fr;gap:24px}
  .uniform-footer-bottom{flex-direction:column;gap:8px}.uniform-footer-bottom span:last-child{text-align:left}
}


/* Hard-fix: jamás mostrar footers viejos o botones WA heredados en internas */
body.shared-header-page .calc-footer,
body.shared-header-page .floating-whatsapp,
body.contact-page .contact-footer,
body.contact-page .al-whatsapp,
body.al-nosotros-page .lf-footer,
body.al-nosotros-page .al-whatsapp{display:none!important;}
