:root {
  --mh-night: #0c0e12;
  --mh-stage: #141820;
  --mh-rack: #1b212c;
  --mh-rack-soft: #222937;
  --mh-amber: #e69d38;
  --mh-filament: #f4dd5b;
  --mh-copper: #c26d35;
  --mh-bone: #f1ede6;
  --mh-muted: #a6b0bd;
  --mh-border: #2a3240;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--mh-bone);
  background: var(--mh-night);
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mh-amber);
  text-decoration: none;
}

a:hover {
  color: var(--mh-filament);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.17;
  color: var(--mh-bone);
}

p {
  margin: 0 0 14px;
  color: #d6d2ca;
}

.escena-loja {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 26px;
}

.barra-escena-loja {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 14, 18, 0.96);
  border-bottom: 1px solid var(--mh-border);
  backdrop-filter: blur(8px);
}

.fila-barra-mh {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 26px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.emblema-loja-mh {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--mh-bone);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.emblema-loja-mh img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.emblema-loja-mh:hover {
  color: var(--mh-filament);
}

.nav-escena-mh {
  display: flex;
  align-items: center;
}

.menu-escena-mh {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-escena-mh > li {
  position: relative;
}

.menu-escena-mh > li > a {
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dedad2;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.menu-escena-mh > li > a:hover,
.menu-escena-mh > li > a.es-actual-mh {
  color: var(--mh-filament);
  border-bottom-color: var(--mh-amber);
}

.submenu-valvulas-mh {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 295px;
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-top: 2px solid var(--mh-amber);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: none;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55);
  z-index: 100;
}

.menu-escena-mh > li:hover .submenu-valvulas-mh,
.menu-escena-mh > li:focus-within .submenu-valvulas-mh {
  display: block;
}

.submenu-valvulas-mh a {
  display: block;
  padding: 9px 16px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--mh-bone);
}

.submenu-valvulas-mh a:hover {
  background: var(--mh-rack-soft);
  color: var(--mh-filament);
}

.dial-ruc-loja {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--mh-muted);
  white-space: nowrap;
}

.escenario-tubos-highway {
  position: relative;
  min-height: 615px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--mh-night);
  border-bottom: 1px solid var(--mh-border);
}

.fondo-estudio-mh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.velo-filamento-mh {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.45) 0%, rgba(12, 14, 18, 0.74) 55%, rgba(12, 14, 18, 0.96) 100%);
}

.rejilla-escenario-pie {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 58px 0 46px;
  display: grid;
  grid-template-columns: 1.38fr 0.82fr;
  gap: 34px;
  align-items: end;
}

.sello-valvula-mh {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mh-filament);
  margin-bottom: 12px;
}

.bloque-titulo-highway h1 {
  font-size: clamp(1.95rem, 3.1vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: 14px;
  color: var(--mh-bone);
}

.bajada-estudio-mh {
  font-size: 1.03rem;
  color: #ddd8cf;
  max-width: 630px;
  margin-bottom: 22px;
}

.acciones-escena-mh {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-ambar-mh {
  display: inline-block;
  padding: 12px 20px;
  background: var(--mh-amber);
  color: var(--mh-night);
  font-size: 0.81rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--mh-amber);
  white-space: nowrap;
}

.btn-ambar-mh:hover {
  background: var(--mh-filament);
  border-color: var(--mh-filament);
  color: var(--mh-night);
}

.btn-filamento-outline {
  display: inline-block;
  padding: 12px 20px;
  background: rgba(12, 14, 18, 0.65);
  color: var(--mh-bone);
  font-size: 0.81rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--mh-amber);
  white-space: nowrap;
}

.btn-filamento-outline:hover {
  background: var(--mh-rack-soft);
  color: var(--mh-filament);
}

.consola-impedancia-hero {
  background: rgba(20, 24, 32, 0.9);
  border: 1px solid var(--mh-border);
  border-top: 3px solid var(--mh-amber);
  padding: 18px 20px;
}

.cabecera-consola-mh {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mh-filament);
  margin-bottom: 12px;
}

.rejilla-dial-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.celda-dial-mh {
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--mh-border);
  padding: 9px 11px;
}

.celda-dial-mh span {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--mh-muted);
}

.celda-dial-mh strong {
  display: block;
  margin-top: 3px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: var(--mh-bone);
  white-space: nowrap;
}

.modulo-simulador-valvulas {
  padding: 58px 0;
  scroll-margin-top: 70px;
  background: var(--mh-stage);
  border-bottom: 1px solid var(--mh-border);
}

.kicker-loja {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mh-amber);
  margin-bottom: 8px;
}

.rejilla-simulador-mh {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 22px;
}

.panel-controles-mh {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-left: 4px solid var(--mh-amber);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.etiqueta-grupo-mh {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mh-filament);
  margin-bottom: 9px;
}

.grupo-btns-mh {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.btn-selector-mh {
  padding: 8px 11px;
  background: var(--mh-night);
  border: 1px solid var(--mh-border);
  color: #ddd8cf;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-selector-mh:hover {
  border-color: var(--mh-amber);
}

.btn-selector-mh[aria-pressed="true"] {
  background: var(--mh-amber);
  border-color: var(--mh-amber);
  color: var(--mh-night);
}

.visor-osciloscopio-mh {
  background: var(--mh-night);
  border: 1px solid var(--mh-border);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.cabecera-osc-mh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--mh-border);
  padding-bottom: 10px;
}

.cabecera-osc-mh strong {
  color: var(--mh-bone);
  font-size: 0.96rem;
}

.cabecera-osc-mh span {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--mh-filament);
}

.pantalla-svg-mh {
  background: #080a0d;
  border: 1px solid #232a36;
  padding: 8px;
}

.pantalla-svg-mh svg {
  width: 100%;
  height: auto;
  display: block;
}

.tira-metricas-osc {
  display: grid;
  grid-template-columns: 0.92fr 0.85fr 0.95fr 1.28fr;
  gap: 8px;
}

.celda-osc-mh {
  background: var(--mh-rack);
  border-top: 2px solid var(--mh-copper);
  padding: 10px 9px;
  min-width: 0;
}

.celda-osc-mh span {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--mh-muted);
}

.celda-osc-mh strong {
  display: block;
  margin-top: 3px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--mh-filament);
  white-space: nowrap;
}

.banda-noche-mh {
  padding: 56px 0;
  background: var(--mh-night);
  border-bottom: 1px solid var(--mh-border);
}

.banda-rack-mh {
  padding: 56px 0;
  background: var(--mh-stage);
  border-bottom: 1px solid var(--mh-border);
}

.rejilla-6040-mh {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 34px;
  align-items: start;
}

.rejilla-4060-mh {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 34px;
  align-items: start;
}

.rejilla-par-mh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.rejilla-escenario-pie > *,
.rejilla-simulador-mh > *,
.rejilla-6040-mh > *,
.rejilla-4060-mh > *,
.rejilla-par-mh > *,
.galeria-highway-tres > * {
  min-width: 0;
}

.galeria-highway-tres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.tarjeta-highway-mh {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  display: flex;
  flex-direction: column;
}

.tarjeta-highway-mh img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.cuerpo-highway-mh {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.cuerpo-highway-mh h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cuerpo-highway-mh p {
  font-size: 0.89rem;
  color: var(--mh-muted);
  margin: 0;
}

.enlace-filamento-mh {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mh-filament);
  border-bottom: 2px solid var(--mh-copper);
  align-self: flex-start;
  padding-bottom: 2px;
}

.trio-datos-mh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.bloque-dato-mh {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-top: 3px solid var(--mh-amber);
  padding: 18px;
}

.bloque-dato-mh h3 {
  font-size: 0.98rem;
  color: var(--mh-filament);
}

.bloque-dato-mh p {
  font-size: 0.88rem;
  color: #ccc7bf;
  margin: 0;
}

.marco-estudio-foto {
  margin: 0;
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  padding: 8px;
}

.marco-estudio-foto img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.marco-foto-cuadrada-mh img {
  aspect-ratio: 1 / 1;
}

.foto-panoramica-mh {
  margin: 0 0 26px;
}

.foto-panoramica-mh img {
  aspect-ratio: 21 / 9;
}

.marco-estudio-foto figcaption {
  padding: 9px 6px 2px;
  font-size: 0.79rem;
  color: var(--mh-muted);
}

.nota-acustica-mh {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-left: 4px solid var(--mh-amber);
  padding: 20px 22px;
  margin: 0 0 22px;
}

.nota-acustica-mh h3 {
  color: var(--mh-filament);
  font-size: 0.99rem;
  margin-bottom: 8px;
}

.nota-acustica-mh p {
  font-size: 0.91rem;
  margin: 0 0 8px;
}

.nota-acustica-mh p:last-child {
  margin-bottom: 0;
}

.tabla-mh-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
}

.tabla-mh {
  width: 100%;
  border-collapse: collapse;
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  font-size: 0.89rem;
}

.tabla-mh th {
  background: #0a0c10;
  color: var(--mh-filament);
  text-align: left;
  padding: 11px 13px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--mh-copper);
}

.tabla-mh td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--mh-border);
  color: #e4dfd7;
  vertical-align: top;
}

.tabla-mh tr:nth-child(even) td {
  background: var(--mh-rack-soft);
}

.dl-loja {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.dl-loja > div {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-left: 3px solid var(--mh-copper);
  padding: 15px 17px;
}

.dl-loja dt {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--mh-filament);
  margin-bottom: 5px;
}

.dl-loja dd {
  margin: 0;
  font-size: 0.88rem;
  color: #ccc7bf;
}

.lista-loja-mh {
  margin: 16px 0 22px;
  padding-left: 20px;
  color: #dad5cd;
}

.lista-loja-mh li {
  margin-bottom: 10px;
}

.acordeon-loja details {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  margin-bottom: 10px;
  padding: 13px 16px;
}

.acordeon-loja summary {
  font-weight: 700;
  color: var(--mh-filament);
  cursor: pointer;
}

.acordeon-loja details p {
  margin: 9px 0 0;
  font-size: 0.9rem;
  color: #ccc7bf;
}

.form-estudio-mh {
  background: var(--mh-rack);
  border: 1px solid var(--mh-border);
  border-top: 3px solid var(--mh-amber);
  padding: 26px 28px;
}

.malla-form-mh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.campo-mh {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.campo-mh-full {
  grid-column: 1 / -1;
}

.campo-mh label {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--mh-bone);
}

.campo-mh input,
.campo-mh select,
.campo-mh textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 10px 11px;
  border: 1px solid #353f50;
  background: var(--mh-night);
  color: var(--mh-bone);
  width: 100%;
}

.campo-mh input:focus,
.campo-mh select:focus,
.campo-mh textarea:focus {
  outline: 2px solid var(--mh-amber);
  border-color: var(--mh-amber);
}

.casilla-lopdp-mh {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.82rem;
  color: var(--mh-muted);
  cursor: pointer;
}

.casilla-lopdp-mh input {
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-enviar-mh {
  width: 100%;
  padding: 13px 20px;
  background: var(--mh-amber);
  color: var(--mh-night);
  border: 1px solid var(--mh-amber);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.btn-enviar-mh:hover {
  background: var(--mh-filament);
  border-color: var(--mh-filament);
}

.loja-ficha-bobinado {
  margin-top: 18px;
  background: #0a0c10;
  border: 1px solid var(--mh-amber);
  padding: 16px 20px 18px;
}

.loja-ficha-bobinado legend {
  padding: 0 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mh-filament);
}

.loja-ficha-bobinado p {
  font-size: 0.85rem;
  color: #d6d1c8;
  margin-bottom: 12px;
}

.rejilla-ficha-mh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.linea-ficha-mh {
  border-bottom: 1px solid var(--mh-border);
  padding-bottom: 5px;
  font-size: 0.82rem;
}

.linea-ficha-mh span {
  color: var(--mh-amber);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-transform: uppercase;
  font-size: 0.72rem;
  display: block;
}

.linea-ficha-mh strong {
  color: var(--mh-bone);
}

.cabecera-interior-mh {
  background: linear-gradient(135deg, #0b0d11 0%, #1c222e 100%);
  padding: 46px 0 42px;
  border-bottom: 2px solid var(--mh-copper);
}

.miga-loja-mh {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mh-muted);
  margin-bottom: 12px;
}

.miga-loja-mh a {
  color: var(--mh-filament);
}

.cabecera-interior-mh h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  max-width: 920px;
}

.cabecera-interior-mh p {
  max-width: 780px;
  margin: 0;
  color: #d6d1c8;
}

.pie-loja-mh {
  background: #080a0d;
  border-top: 2px solid var(--mh-amber);
  padding: 46px 0 28px;
}

.malla-pie-mh {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--mh-border);
}

.pie-loja-mh h4 {
  color: var(--mh-filament);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pie-loja-mh p {
  font-size: 0.86rem;
  color: var(--mh-muted);
  margin-bottom: 10px;
}

.pie-loja-mh ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pie-loja-mh li {
  margin-bottom: 7px;
  font-size: 0.86rem;
}

.pie-loja-mh a {
  color: #e6e2da;
}

.pie-loja-mh a:hover {
  color: var(--mh-filament);
}

.cierre-pie-mh {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.79rem;
  color: #8f98a6;
}

@media (max-width: 1080px) {
  .dial-ruc-loja {
    display: none;
  }
  .rejilla-escenario-pie,
  .rejilla-simulador-mh,
  .rejilla-6040-mh,
  .rejilla-4060-mh,
  .rejilla-par-mh,
  .galeria-highway-tres,
  .trio-datos-mh {
    grid-template-columns: 1fr;
  }
  .tira-metricas-osc {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .fila-barra-mh {
    flex-direction: column;
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
  }
  .nav-escena-mh {
    display: flex !important;
    width: 100%;
    justify-content: center;
  }
  .menu-escena-mh {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }
  .menu-escena-mh > li > a {
    font-size: 0.75rem;
    padding: 4px 2px;
  }
  .submenu-valvulas-mh {
    display: none !important;
  }
  .escena-loja {
    padding: 0 18px;
  }
  .escenario-tubos-highway {
    min-height: 520px;
  }
  .rejilla-dial-hero,
  .tira-metricas-osc,
  .dl-loja,
  .malla-form-mh,
  .malla-pie-mh,
  .rejilla-ficha-mh {
    grid-template-columns: 1fr;
  }
  .form-estudio-mh {
    padding: 20px 18px;
  }
  .btn-ambar-mh,
  .btn-contorno-mh {
    white-space: normal;
    width: 100%;
    text-align: center;
  }
}
