:root { --header-height: 72px; }
.site-header .site-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 72px;
}
.site-header [data-brand] {
  grid-column: 1;
  justify-self: center;
  font-size: clamp(1rem, calc((100vw - 160px) / 9), 2.5rem);
  line-height: 1.25;
}
.site-header .brand-initial { color: #e53935; }
.site-header [data-menu-toggle] {
  grid-column: 2;
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
}
.site-header .site-nav-row {
  gap: 4px 12px;
  min-height: 56px;
  padding-bottom: 12px;
}
.site-header .site-nav-row > :is(button, a):not([data-nav-contact]) {
  padding: 10px 6px;
  color: #f9fafb;
}
.site-header.is-scrolled .site-nav-row > :is(button, a):not([data-nav-contact]) { color: #374151; }
.site-header .site-nav-row > :is(button, a):not([data-nav-contact]):hover { color: #b5d8ff; }
.site-header.is-scrolled .site-nav-row > :is(button, a):not([data-nav-contact]):hover { color: #3075d0; }
.site-header :is(button, a, [data-brand]):focus-visible { outline: 2px solid #468ce0; outline-offset: 3px; }
.site-header #menu-movil { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
#inicio { padding-top: calc(var(--header-height) + 24px); padding-bottom: 48px; }
section[id], #tienes-prisa { scroll-margin-top: calc(var(--header-height) + 16px); }
@media (min-width: 1024px) {
  :root { --header-height: 152px; }
  .site-header .site-brand-row { grid-template-columns: minmax(0, 1fr); min-height: 96px; padding-block: 8px; }
  .site-header [data-brand] { grid-column: 1; font-size: 56px; }
}

/* Símbolo profesional aportado por el titular, junto al nombre aprobado. */
.site-header [data-brand] {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  padding-block: 10px;
}
.site-header .site-brand-name { white-space: nowrap; }
.site-header .site-professional-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 6px;
}
@media (min-width: 1024px) {
  .site-header [data-brand] { flex-direction: row; gap: 42px; padding-block: 0; }
  .site-header .site-professional-logo { width: 92px; height: 92px; transform: translateX(-40px); }
  .site-header .site-brand-row { min-height: 104px; }
}
