:root { scroll-padding-top: 6rem; }

[hidden] { display: none !important; }

:where(a, button, summary, input):focus-visible {
  outline: 2px solid #765936;
  outline-offset: 4px;
}

a.site-skip-link {
  position: fixed;
  z-index: 1500;
  inset: .75rem auto auto .75rem;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  background: #fff;
  color: #10293f;
}
a.site-skip-link:focus { transform: none; }

body header details.mobile-menu nav {
  max-height: calc(100dvh - 6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
body header details.mobile-menu summary,
#pagina-inicio header details.mobile-menu summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
body header details.mobile-menu nav a[aria-current] {
  background-color: #f7f5f1 !important;
  color: #765936 !important;
  box-shadow: inset 3px 0 #a78957;
}

details.service > summary {
  min-height: 44px;
}
details.service[open] > summary {
  background: #f7f5f1;
  color: #10293f;
}

@media (max-width: 480px) {
  #pagina-inicio .brtt-classic-support { font-size: 1rem; }
  #pagina-inicio .brtt-classic-eyebrow { font-size: .875rem; letter-spacing: .14em; }
  #pagina-inicio .brtt-classic-hero-grid { padding-block: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root, * { scroll-behavior: auto !important; }
}

a.skip-link:focus { z-index: 1500; }

/* Preserve each photo's full composition at every breakpoint. */
#brtt-preview .profile img.profile-pic,
#brtt-preview .article-card img.card-img,
body.bt-minimal-article .hero .hero-figure img,
body.bt-minimal-article .three-cards .feature img,
body.bt-minimal-article .hero .hero-photo img,
body.bt-minimal-article .hero .hero-image img,
body.bt-minimal-article .article .fig img,
body.bt-minimal-article .intro figure img,
body.bt-minimal-article figure.inline-photo img,
body.bt-minimal-article picture img.brtt-article-svg-diagram {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  align-self: start;
}
#brtt-preview .profile img.profile-pic { width: 100%; }
body.bt-minimal-article .hero .hero-photo,
body.bt-minimal-article .hero .hero-image {
  align-self: center;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#brtt-preview .brand img,
#brtt-uniform-header .brand img,
#brtt-preview .brtt-classic-hero-art img,
#brtt-preview .brtt-juridical-art { object-fit: contain !important; }

.contact-card a.office-address {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}
