/* Logo completo aprobado por N@RMAK: símbolo y nombre dentro de la imagen. */
.site-header .header-inner { min-height: 95px; }
.brand { gap: 15px; }
.brand-lockup {
  position: relative;
  display: block;
  flex: 0 0 110px;
  width: 110px;
  height: 86px;
  overflow: hidden;
  background: #fff;
}
.brand-lockup img {
  position: absolute;
  display: block;
  width: 151px;
  height: 151px;
  max-width: none;
  left: -21px;
  top: -33px;
  object-fit: fill;
}
.brand strong { font-size: 38px; }
.brand strong span { font-size: 21px; }
.brand small { display: block; font-size: 12px; letter-spacing: .05em; white-space: nowrap; }

@media (max-width: 1200px) {
  .site-header .header-inner { min-height: 95px; }
  .brand { gap: 12px; }
  .brand-lockup { flex-basis: 102px; width: 102px; height: 80px; }
  .brand-lockup img { width: 140px; height: 140px; left: -20px; top: -30px; }
  .brand strong { font-size: 34px; }
  .brand strong span { font-size: 19px; }
  .brand small { font-size: 10px; }
}

@media (max-width: 800px) {
  .site-header .header-inner { min-height: 88px; }
  .brand { gap: 10px; }
  .brand-lockup { flex-basis: 96px; width: 96px; height: 75px; }
  .brand-lockup img { width: 132px; height: 132px; left: -19px; top: -29px; }
  .brand strong { font-size: 31px; }
  .brand strong span { font-size: 17px; }
  .brand small { font-size: 9px; }
}

@media (max-width: 650px) {
  .site-header .header-inner { min-height: 86px; }
  .brand { gap: 8px; }
  .brand-lockup { flex-basis: 90px; width: 90px; height: 70px; }
  .brand-lockup img { width: 124px; height: 124px; left: -18px; top: -27px; }
  .brand strong { font-size: 28px; }
  .brand strong span { font-size: 15px; }
  .brand small { font-size: 8px; letter-spacing: .025em; }
}

@media (max-width: 500px) {
  .site-header .header-inner { min-height: 82px; gap: 8px; }
  .brand-lockup { flex-basis: 83px; width: 83px; height: 65px; }
  .brand-lockup img { width: 114px; height: 114px; left: -16px; top: -25px; }
  .brand strong { font-size: 26px; }
  .brand strong span { font-size: 14px; }
  .brand small { font-size: 8px; letter-spacing: .02em; white-space: normal; line-height: 1.25; }
}

@media (max-width: 420px) {
  .site-header .header-inner { min-height: 78px; }
  .brand { gap: 6px; }
  .brand-lockup { flex-basis: 75px; width: 75px; height: 59px; }
  .brand-lockup img { width: 103px; height: 103px; left: -15px; top: -22px; }
  .brand strong { font-size: 23px; }
  .brand strong span { font-size: 12px; }
  .brand small { font-size: 7px; }
}

@media (max-width: 360px) {
  .site-header .header-inner { min-height: 74px; }
  .brand-lockup { flex-basis: 68px; width: 68px; height: 53px; }
  .brand-lockup img { width: 93px; height: 93px; left: -13px; top: -20px; }
  .brand strong { font-size: 20px; }
  .brand strong span { font-size: 11px; }
  .brand small { font-size: 6px; }
}

/* El menú permanece visible en la franja blanca también en móvil. */
@media (max-width: 800px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
    padding-top: 4px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .site-header .menu-toggle { display: none; }
  .site-header .header-inner nav {
    display: flex;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 9px;
    max-height: none;
    overflow: visible;
    min-height: 42px;
    padding: 5px 0 8px;
    border-top: 1px solid #edf0ec;
    box-shadow: none;
    font-size: 11px;
  }
  .site-header .header-inner nav > a:not(.nav-quote),
  .site-header .nav-services > a { padding: 4px 1px; border: 0; }
  .site-header .nav-services { align-self: auto; }
  .site-header .submenu-toggle { padding: 4px 2px; }
  .site-header .nav-quote { margin: 0; padding: 5px 8px; gap: 4px; }
}
@media (max-width: 500px) {
  .site-header .header-inner nav { font-size: 10px; gap: 2px 6px; }
}
