/* BAC Rescue v1.1.0 — stability and visual corrections.
 * CHAT 03: values normalized; dead footer override removed with parity proof. */
html{scroll-padding-top:var(--bac-space-9)}
html,body{min-width:0}
.site-main{min-height:40vh}
.bac-dev-notice{display:none!important}
.site-header{isolation:isolate;box-shadow:0 1px 0 rgb(7 47 73/.04)}
.header-shell{height:88px;grid-template-columns:170px minmax(0,1fr);gap:var(--bac-space-4)}
.brand{width:158px;height:72px;display:flex;align-items:center;overflow:hidden}
.brand picture{display:flex;align-items:center;width:100%;height:100%}
.brand img{width:auto;max-width:100%;height:auto;max-height:68px;object-fit:contain;object-position:left center}
.site-nav{min-width:0}
.nav-links{min-width:0;gap:0}
.nav-links>a,.family-nav>a{font-size:var(--bac-type-label);letter-spacing:.01em;padding-inline:var(--bac-space-1)}
.nav-cta{font-size:var(--bac-type-label);padding-inline:var(--bac-space-3)}
.family-submenu{top:calc(100% + 14px);border:1px solid rgb(255 255 255/.12)}
.page-hero{min-height:clamp(560px,72vh,720px);background:radial-gradient(circle at 82% 20%,rgb(255 255 255/.075),transparent 27%),linear-gradient(135deg,#072f49 0%,#082b40 58%,#0b394f 100%)}
.hero-layout{grid-template-columns:minmax(0,8fr) minmax(230px,3fr);padding-block:var(--bac-rhythm-hero);gap:clamp(2.5rem,7vw,8rem)}
.hero-copy h1{font-size:var(--bac-type-h1-home);line-height:var(--bac-leading-display);max-width:15ch;letter-spacing:var(--bac-tracking-display)}
.hero-lead{max-width:var(--bac-measure-reading)}
.hero-signature{width:min(100%,290px);border-color:rgb(255 255 255/.18);background:rgb(255 255 255/.025)}
.section{scroll-margin-top:var(--bac-space-8)}
.content-card,.problem-grid article,.problem-grid a{transition:transform .18s ease,background .18s ease,border-color .18s ease}
.content-card:hover,.problem-grid a:hover{transform:translateY(-3px)}
.footer-brand picture{display:block;max-width:260px}
.footer-brand img{width:100%;height:auto;max-height:130px;object-fit:contain;object-position:left center}
.not-found{padding-block:var(--bac-space-9)}
.not-found h1{max-width:13ch}
body.admin-bar .site-header{top:32px}
@media(max-width:1100px){.header-shell{grid-template-columns:150px minmax(0,1fr);gap:var(--bac-space-2)}.brand{width:142px}.nav-links>a,.family-nav>a{font-size:.69rem;padding-inline:.38rem}.nav-cta{font-size:.69rem;padding-inline:.72rem}}
@media(max-width:900px){.header-shell{height:76px;display:flex;justify-content:space-between}.brand{width:138px;height:64px}.brand img{max-height:60px}.site-nav{z-index:var(--bac-z-navigation)}.nav-links>a,.family-nav>a{font-size:clamp(1.8rem,6vw,3.2rem)}.hero-layout{grid-template-columns:1fr}.hero-signature{justify-self:start;width:220px;opacity:.65}}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:430px){.dev-strip{height:auto;min-height:28px;padding-block:.35rem;line-height:1.25}.header-shell{height:70px}.brand{width:122px;height:58px}.brand img{max-height:54px}.page-hero{min-height:calc(100svh - 98px)}}
@media(prefers-reduced-motion:reduce){.content-card,.problem-grid article,.problem-grid a{transition:none}.content-card:hover,.problem-grid a:hover{transform:none}}
/* Contact is intentionally fail-closed until its gate approves transport. */
.bac-contact-unavailable [data-bac-contact-open],.bac-contact-unavailable [data-action="open-contact-general"],.bac-contact-unavailable [data-action="open-contact-contextual"],.bac-contact-unavailable [href*="/contacto/"]{display:none!important}
.bac-route-row,.bac-service-evaluation-link{min-height:44px}
