:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #172f32;
  background: #f6f5ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin: 0 auto; }
.masthead { border-bottom: 1px solid #cfD0c7; }
.brand { min-height: 4.8rem; display: flex; align-items: center; gap: .75rem; font-weight: 650; letter-spacing: -.02em; }
.brand img { object-fit: cover; }
.intro { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; margin: clamp(1.75rem, 4vw, 4rem) 0; overflow: hidden; border-radius: .75rem; background: #182e32; color: #fff; }
.intro-text { align-self: center; padding: clamp(2rem, 4.8vw, 4.5rem); }
h1 { margin: 0; font-size: clamp(2.4rem, 5.2vw, 4.7rem); font-weight: 550; letter-spacing: -.065em; line-height: 1.03; }
.intro p { margin: 1.4rem 0 0; max-width: 30ch; color: #e0e8e5; font-size: clamp(1rem, 1.5vw, 1.24rem); line-height: 1.5; }
figure { position: relative; margin: 0; min-height: 17rem; }
figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
figcaption { position: absolute; right: .9rem; bottom: .8rem; padding: .35rem .6rem; border-radius: .3rem; background: #14282aeb; color: white; font-size: .75rem; }
figcaption span { padding: 0 .14rem; }
.directory { padding-bottom: 3rem; }
h2 { margin: 0 0 1.15rem; font-size: 1.5rem; letter-spacing: -.045em; }
#empresas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
#empresas a { display: flex; gap: 1rem; align-items: center; min-height: 5.8rem; padding: 1rem 1.5rem; border-radius: .6rem; border: 1px solid #c9cfc6; color: inherit; background: #fff; text-decoration: none; }
#empresas a:hover { background: #fdfcf7; border-color: #57716e; }
.company { display: grid; gap: .18rem; min-width: 0; overflow-wrap: anywhere; }
.company strong { font-size: 1.12rem; line-height: 1.4; }
.company small { color: #506465; font-size: .85rem; }
.access { margin-left: auto; flex-shrink: 0; font-weight: 650; font-size: .9rem; }
.access span { font-size: 1.15rem; margin-left: .25rem; }
#status:not(:empty) { margin: .75rem 0; }
button { min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid #526c67; border-radius: .4rem; background: white; color: inherit; cursor: pointer; font: inherit; }
:focus-visible { outline: 3px solid #8b5822; outline-offset: 3px; }
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { min-height: 4rem; }
  .intro { grid-template-columns: 1fr; margin: 1.4rem 0 2rem; }
  .intro-text { padding: 2rem 1.35rem; }
  figure { min-height: clamp(8rem, 36vw, 13rem); }
  figure img { object-position: 50% 60%; }
  #empresas a { padding: .85rem 1rem; gap: .5rem; }
}
