/* R38 · Encabezado aprobado. Solo la cabecera pública; sin fuentes nuevas. */
.public-header-r38.topbar {
  height:96px!important;
  min-height:96px!important;
  padding:0!important;
  background:#fff!important;
  backdrop-filter:none;
}
.public-header-r38.topbar .container.nav {
  width:calc(100% - clamp(32px,6vw,112px))!important;
  max-width:1800px!important;
  height:96px!important;
  min-height:96px!important;
  margin-inline:auto!important;
  padding:0!important;
  display:flex!important;
  flex-wrap:nowrap;
  align-items:center;
  gap:24px!important;
}
.public-header-r38 .nav-logo-link {flex:0 0 auto;display:flex;align-items:center;}
.public-header-r38 .logo {
  display:block;
  width:clamp(220px,18vw,312px)!important;
  max-width:100%!important;
  height:58px!important;
  max-height:58px!important;
  object-fit:contain;
  object-position:left center;
}
.public-header-r38 .menu {
  display:flex!important;
  flex:1 1 auto;
  min-width:0;
  width:auto;
  margin:0 0 0 auto;
  padding:0;
  justify-content:flex-end;
  align-items:center!important;
  gap:clamp(28px,8.8vw,155px)!important;
  background:transparent!important;
  border:0;
  box-shadow:none;
  font-size:clamp(14px,1.13vw,20px);
  line-height:24px;
}
.public-header-r38 .public-nav-links-r38 {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:4px clamp(24px,3.5vw,64px);
}
.public-header-r38 .menu a {
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:11px 0!important;
  color:#111827!important;
  font-size:inherit!important;
  font-weight:750;
  line-height:24px;
  letter-spacing:.015em;
  white-space:nowrap;
  text-decoration:none!important;
}
.public-header-r38 .menu a::after {
  bottom:4px;
  height:2px;
  background:#07863b;
}
.public-header-r38 .menu a:hover,
.public-header-r38 .menu a[aria-current="page"] {color:#07863b!important;background:transparent!important;}
.public-header-r38 .menu a[aria-current="page"]::after {transform:scaleX(1);}
.public-header-r38 .menu .public-access-r38 {
  flex:0 0 auto;
  justify-content:center;
  gap:10px;
  min-width:200px;
  min-height:46px;
  padding:9px 20px!important;
  border:.8px solid #07863b;
  border-radius:7px;
  background:transparent!important;
  box-shadow:none;
  color:#07863b!important;
}
.public-header-r38 .public-access-r38 svg {width:26px;height:26px;flex:none;}
.public-header-r38 .public-access-r38::after {display:none!important;}
.public-header-r38 a:focus-visible,
.public-header-r38 button:focus-visible {outline:2px solid #07863b;outline-offset:4px;}
.public-header-r38 .mobile-menu-toggle,
.public-header-r38 .social {display:none!important;}
.page-home #solicitar-informacion {scroll-margin-top:112px;}

@media(max-width:1280px) and (min-width:1101px) {
  .public-header-r38 .menu {gap:28px!important;}
  .public-header-r38 .menu .public-access-r38 {min-width:140px;}
  .public-header-r38 .public-nav-links-r38 {gap:4px 24px;}
}
@media(max-width:1100px) {
  .public-header-r38.topbar {height:76px!important;min-height:76px!important;padding:0;}
  .public-header-r38.topbar .container.nav {height:76px!important;min-height:76px!important;gap:12px!important;}
  .public-header-r38 .logo {width:220px!important;height:48px!important;max-height:48px!important;}
  .public-header-r38 .mobile-menu-toggle {
    display:inline-flex!important;
    flex:none;
    margin-left:auto!important;
    width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:10px;
  }
  .public-header-r38 .menu {
    display:flex!important;
    flex-direction:column;
    align-items:stretch!important;
    justify-content:flex-start;
    position:fixed!important;
    top:76px!important;
    left:16px!important;
    right:16px!important;
    width:auto!important;
    max-height:calc(100dvh - 92px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    margin:0;
    padding:12px!important;
    gap:12px!important;
    border:1px solid #dce5e0;
    border-radius:0 0 9px 9px!important;
    background:#fff!important;
    box-shadow:0 12px 28px rgba(16,24,39,.12)!important;
    transform:none!important;
    visibility:hidden;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.menu-open .public-header-r38 .menu {visibility:visible;opacity:1!important;pointer-events:auto!important;}
  .public-header-r38 .public-nav-links-r38 {display:flex;flex-direction:column;align-items:stretch;gap:0;}
  .public-header-r38 .menu a {
    min-height:46px!important;
    padding:11px 12px!important;
    font-size:14px!important;
    line-height:24px!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }
  .public-header-r38 .menu .public-access-r38 {align-self:flex-start;min-width:140px;min-height:44px!important;padding:8px 16px!important;}
  .public-header-r38 .menu a::after {display:none;}
  body.menu-open:has(.public-header-r38) {overflow:hidden;}
}
@media(max-width:380px) {
  .public-header-r38 .logo {width:min(195px,60vw)!important;}
}
